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

Denis Laxalde denis@laxalde....
Wed Apr 18 20:34:37 CDT 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