This is the mail archive of the gsl-discuss@sourceware.cygnus.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: multimin question


I found one problem in the program multimin.c

  gsl_multimin_fdf_minimizer_best_step(s);

needs to be

  if (status == GSL_SUCCESS)
    gsl_multimin_fdf_minimizer_best_step(s);

Without this it goes to the minimum and then heads out to infinity.
Perhaps the best_step should be zero if the function value will not
decrease. The history value for "f" seems to get out of sync in this
case too.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]