[SciPy-Dev] PR #196: simplification of optimization wrappers

Denis Laxalde denis at laxalde.org
Wed Apr 18 21:34:37 EDT 2012


Pauli Virtanen wrote:
> How about going even further, and not even returning `x`. Rather,
> stuff it inside `info`:
> 
>     sol = minimize(fun, x0, [jac, constraints], options)
>     x = sol.x

Ok, if no one objects, I'm fine with this as well. Actually, x is
already in info['solution'].

-- 
Denis



More information about the SciPy-Dev mailing list