April 19, 2012
12:55 p.m.
On 2012-04-18 7:34 PM, Denis Laxalde wrote:
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'].
Hi, I am a user of various SciPy optimization functions. Since I am interested primarily in 'x', I'm not sure of the benefit of burying this information in a dictionary. Perhaps this can be clarified. Thanks. -gyro