help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: non-negative least squares


From: Michael Creel
Subject: Re: non-negative least squares
Date: Sat, 28 Feb 2009 00:15:57 -0800 (PST)



Jaana Tommiska wrote:
> 
> Hi,
> how can I solve non-negative least squares 
> 
> min||Ax-b|| subject to x>=0
> 
> using Octave ?
> 
> Jaana Tommiska
> 
> ...................................................................
> Luukku Plus paketilla pääset eroon tila- ja turvallisuusongelmista.
> Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku
> 
> 
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
> 
> 



One way to do it would be to use the simulated annealing solver, setting the
lower bounds to zero and the upper bounds to values known to be larger than
the solution (just re-set them and run again if the solution is on the upper
bound). This works well, and as long as the dimension of x is not too large,
it doesn't take too long.
Michael
-- 
View this message in context: 
http://www.nabble.com/non-negative-least-squares-tp18336410p22259770.html
Sent from the Octave - General mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]