[SciPy-dev] fmin_cg bug

Robert Cimrman cimrman3 at ntc.zcu.cz
Mon Apr 24 08:22:20 CDT 2006


Nils Wagner wrote:
> Robert Cimrman wrote:

> >>after fix:
>>Optimization terminated successfully.
>>          Current function value: 0.000000
>>          Iterations: 5
>>          Function evaluations: 26
>>          Gradient evaluations: 26
>>
>>I dared to commit the (little :) change to SVN.
>>  
> 
> After fix I get
> 
> Optimization terminated successfully.
>          Current function value: 0.000000
>          Iterations: 5
>          Function evaluations: 31
>          Gradient evaluations: 31
> 
> Is the number of function evaluations a machine-dependent property ?
> 

no, 31 is for 100000 elements of x0, 26 for 10000. I just forgot to 
change the value before posting.

r.




More information about the Scipy-dev mailing list