[R] Which package/function for solving weighted linear least squares with inequality and equality constraints?
Thomas Schu
th.schumann at gmx.de
Fri Oct 19 20:00:54 CEST 2012
Dear All,
Which package/function could i use to solve following linear least square
problem?
A over determined system of linear equations is given. The nnls-function may
would be a possibility BUT:
The solving is constrained with
a inequality that all unknowns are >= 0
and a equality that the sum of all unknowns is 1
The influence of the equations according to the solving process is weighted
too.
llAx-bll2 * weight
with xi >=0 and sum(x)=1
I´m pleased about every suggestion.
Thank you and best regards
Thomas
--
View this message in context: http://r.789695.n4.nabble.com/Which-package-function-for-solving-weighted-linear-least-squares-with-inequality-and-equality-constr-tp4646783.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list