scipy.optimize.lbfgsb help please!!!

Robert Kern robert.kern at gmail.com
Sat Jan 20 17:55:56 EST 2007


mclaugb wrote:
> Does anyone out there have a piece of code that demonstrates the use of the 
> lbfgsb multivariate, bounded solver in the scipy.optimize toolkit?  An 
> example would get me started because my code below does not seem to work.

You will probably get better/faster/more answers on the scipy-user mailing list.

  http://www.scipy.org/Mailing_Lists

> Permmin is a function that simply returns a vector array [xmin, ymin]

This is your problem. The function to minimize must return a scalar, not a
vector. This is not a multi-objective optimizer.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list