From: Molins, Jordi <Jordi.Molins_at_drkw.com>

Date: Tue 27 Jul 2004 - 17:40:50 EST

mobile +49 171 171 64 61

mailto:jordi.molins@drkw.com

The information contained herein is confidential and is inte...{{dropped}}

R-help@stat.math.ethz.ch mailing list

https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jul 27 17:48:19 2004

Date: Tue 27 Jul 2004 - 17:40:50 EST

Hello,

I have a matrix equation, Ax=b, that I need to solve for x. x should be a vector of positive numbers (between 0 and 1). A is not a square matrix in general. This lead me to using the SVD. However, using the SVD gives me positive and negative numbers, as well. I have some constraints included in the A matrix itself (i.e., that the sum of some xi should be equal to 1) but I do not know how to include the constraint that each xi should be non-negative.

Is there in R (or somewhere else) an SVD that includes this kind of constraint? or some other optimizer that can cope with solving non-square matrix equations, including the positivity constraint?

I know that this is not really an R question, sorry for that.

Jordi

Jordi Molins

Short Term Products / Treasury

Capital Markets

> Dresdner Kleinwort Wasserstein

phone +49 69 713 15329 fax +49 69 713 19804

mobile +49 171 171 64 61

mailto:jordi.molins@drkw.com

The information contained herein is confidential and is inte...{{dropped}}

R-help@stat.math.ethz.ch mailing list

https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jul 27 17:48:19 2004

*
This archive was generated by hypermail 2.1.8
: Fri 18 Mar 2005 - 02:39:21 EST
*