#include <gsl_mmin_conp.h>
The variable multi_min::tolf is used as the maximum value of the gradient and is be default.
The gsl iterate() function for this minimizer chooses to return GSL_ENOPROG
if the iteration fails to make progress without calling the error handler. This is presumably because the iterate() function can fail to make progress when the algorithm has succeeded in finding the minimum. I prefer to return a non-zero value from a function only in cases where the error handler will also be called, so the user is clear on what an "error" means in the local context. Thus if iterate() is failing to make progress, instead of returning a non-zero value, it sets the value of it_info to a non-zero value.
gsl_vector
to the templated vector type. This can be fixed. Definition at line 63 of file gsl_mmin_conp.h.
Public Member Functions | |
virtual int | iterate () |
Perform an iteration. | |
virtual const char * | type () |
Return string denoting type("gsl_mmin_conp"). |
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page