[SciPy-User] Minimize many scalar functions

Poughon Victor Victor.Poughon at cnes.fr
Fri Feb 16 11:16:37 EST 2018


Hi all,

I'd like to minimize hundreds of thousands of scalar valued functions. Is there a faster way than a for-loop over a def of the objective function and a call to scipy.optimize.minimize_scalar? Basically a vectorized version, where I could give a function foo and a 2D numpy array where each row is given as extra data to the objective function.

Thanks,

Victor Poughon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-user/attachments/20180216/e47baa85/attachment.html>


More information about the SciPy-User mailing list