I am performing function optimization with scipy.optimize.minimize
. I want the optimization to step when the value of the function is near zero with some tolerance.
If I start with a value near the actual minimum (i have computed with other solver), the optimization stops near zero (missed the goal with 8.320).
minimize(objective_function, 3044684.301964694, method='Nelder-Mead')
But if I start with arbitrary number I get difference of 10000.
minimize(objective_function, 3044000, method='Nelder-Mead')