Tue Mar 6 08:20:12 CST 2007
I use optimize.fmin_cg to find the minimum of 1-dimensional and n-dimensional
For 1-dimensional functions everything is fine, but for n-dimensional
functions I get a strange result.
The function returns an array-of-array-of-arry depending on the number of
iterations, for example I get
In :scipy.optimize.fmin_ncg(a.potstmu, [60.0] ,
Optimization terminated successfully.
Current function value: -3464534650.284432
Function evaluations: 51
Gradient evaluations: 9
Hessian evaluations: 0
The function potstmu is quite complicated, I am still searching for an easier
example which needs more than 1 iteration.
Can anyone confirm this behavior?
Or is it a problem with my function?
More information about the SciPy-user