[SciPy-Dev] scipy minimize with bound
Martin Hofsäß
m.hofsaess at gmail.com
Fri Jan 23 21:33:53 EST 2015
Hi all,
I want to uses the minimize function with bounds,
but I get an error:
ValueError: _lbfgsb.setulb() 13rd argument (iprint) can't be converted to
int
I call the function like this:
spo.minimize(residuals,(3.9,40.,0.2),args=(k,puu,pvv,pww,cuw,stat),method='L-BFGS-B',options={'disp':'True','maxiter':100},tol=5.0e-7,bounds=((0,None),(0,None),(0,None)))
TNC and SLSQP worked with bounds.
I'm using linux 64bit python 2.7.3 with scipy 0.14.0.
Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20150124/6e327b6f/attachment.html>
More information about the SciPy-Dev
mailing list