Go to the first, previous, next, last section, table of contents.

Iteration

The following function drives the iteration of each algorithm. The function performs one iteration to update the state of the minimizer. The same function works for all minimizers so that different methods can be substituted at runtime without modifications to the code.

Function: int gsl_multimin_fdfminimizer_iterate (gsl_multimin_fdfminimizer *s)
These functions perform a single iteration of the minimizer s. If the iteration encounters an unexpected problem then an error code will be returned.
The minimizer maintains a current best estimate of the minimum at all times. This information can be accessed with the following auxiliary functions,

Function: gsl_vector * gsl_multiroot_fdfsolver_x (const gsl_multiroot_fdfsolver * s)
Function: double gsl_multiroot_fdfsolver_minimum (const gsl_multiroot_fdfsolver * s)
Function: gsl_vector * gsl_multiroot_fdfsolver_gradient (const gsl_multiroot_fdfsolver * s)
These functions return the current best estimate of the location of the minimum, the value of the function at that point and its gradient, for the minimizer s.

Function: int gsl_multimin_fdfminimizer_restart (gsl_multimin_fdfminimizer *s)
This function resets the minimizer s to use the current point as a new starting point.


Go to the first, previous, next, last section, table of contents.