[SciPy-user] bug in fmin_bfgs?

Jason Rennie jrennie at csail.mit.edu
Wed Jan 26 19:27:50 EST 2005


On Wed, Jan 26, 2005 at 05:59:51PM -0500, David M. Cooke wrote:
> BTW, fmin_bfgs != lbfgsb.fmin_l_bfgs_b

Figured the lbfgsb code might be better to use since it's the limited
memory version and it's an interface to the original fortran code.
But, I haven't had any success getting lbfgsb.fmin_l_bfgs_b to
work... (keep getting "failed in converting 15th argument `lsave'"
error)

> What you could is flatten and reshape the parameter vectors:

That works much more nicely than attempting to modify the scipy code :)

Thanks,

Jason




More information about the SciPy-User mailing list