[R] SVD with positivity constraints
Molins, Jordi
Jordi.Molins at drkw.com
Tue Jul 27 09:40:50 CEST 2004
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 at drkw.com
--------------------------------------------------------------------------------
The information contained herein is confidential and is inte...{{dropped}}
More information about the R-help
mailing list