[SciPy-dev] ticket 390 ("scipy.optimize.fmin_bfgs fails without warning", Reported by: ycopin)

dmitrey openopt@ukr....
Wed Jul 18 06:30:51 CDT 2007

hi all,
the ticket 390
says "fmin_bfgs fails without warning"
however, I guess the user just had chose inappropriate solver.

fmin_bfgs is intended for local minimum, convex funcs.
the user's objfunc is chi2 (chi-square distribution estimation) from the 

def model(pars, x):
    a,b,c = pars
    return a*S.sin(x/b)*S.exp(x/c)      # M

so a,b,c are variables to be estimated (i.e. required solution from 

So, since user has sin(const/b), the func is
1) non-convex
2) has lots of local minimum
So I guess it's nothing special that sometimes fmin_bfgs yields other 
solution (from other start points) than the one the user mentioned.
So I think the ticket should be closed.

However, I don't know how to close tickets.

More information about the Scipy-dev mailing list