MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

LeastSquares using LinearProgramming?

  • To: mathgroup at
  • Subject: [mg88986] LeastSquares using LinearProgramming?
  • From: Gareth Russell <russell at>
  • Date: Fri, 23 May 2008 03:05:52 -0400 (EDT)
  • Organization: NJIT


Is it possible to specify a least-squares minimization through the 
LinearProgramming function? In other words, exactly the same as 
LeastSquares, with the extra constraint that all x>=0?

Presumably it comes down to specifying the input c correctly in the 
LinearProgramming function. But I can't see how to do that such that 
what is being minimized is the standard least-squares function 


Gareth Russell

  • Prev by Date: Legends in ListPlot
  • Next by Date: Re: Color space conversion in Mathematica v6.0
  • Previous by thread: Legends in ListPlot
  • Next by thread: Re: LeastSquares using LinearProgramming?