[SciPy-user] Scipy Minimizer
robert.kern at gmail.com
Wed Oct 4 14:48:47 CDT 2006
joe stano wrote:
> Thanks xiaojian
> I think solver uses a generalized reduced gradient optimization. My
> biggest problem is that the scipy optimizer constraint functions require
> the constraint to return a single number, whereas I need to return a
> list of numbers, all meeting the constraint (non negative). Maybe it is
> just my implementation but I am not sure.
fmin_cobyla takes a list of constraint functions. Take your single function that
returns multiple numbers and make separate functions each returning one number.
"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 SciPy-user