[SciPy-user] lagrange multipliers in python
Mon Jun 18 20:32:24 CDT 2007
> Christian K wrote:
> >> I have found COBYLA(http://www.jeannot.org/~js/code/index.en.html#COBYLA),
> >> and it has a Python interface, which make it very easy to use.
> > You seem not to be aware that cobyla is part of scipy:
> > scipy.optimize.fmin_cobyla
> > Christian
> Oh, my God!
> I have studied fmin_l_bfgs_b, fmin_tnc, and fmin_cobyla before, but I
> don't quit understand the "cons" parameter for fmin_cobyla after I have
> found COBYLA and have seen the example shipped with it.
I used fmin_cobyla once to find the envelope to some noisy signal. Thus I had as
many inequality constraints as data points. See the attached file. This is not
what you want of course, but it gives you an idea of how to use cobyla.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1262 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-user/attachments/20070619/ec4512bf/attachment.py
More information about the SciPy-user