[SciPy-User] using fmin_tnc

Joel Oren yoelor at gmail.com
Wed May 11 09:55:54 EDT 2011


Hi,

I wish to use scipy.optimize.fmin_tnc for performing a constrained
optimization of a function of 2 numpy matrices.

However, according to the documentation of the method, it only accepts lists
of variables.

Is there a way to still use this function without having to convert the
matrices (and the gradient of the function) to lists on every iteration?

Thanks,
Joel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110511/8c0a3650/attachment.html>


More information about the SciPy-User mailing list