25 #include <gsl/gsl_multimin.h>
28 #include "../population.h"
30 #include "gsl_gradient.h"
32 namespace pagmo {
namespace algorithm {
40 gsl_pr::gsl_pr(
int max_iter,
const double &grad_tol,
const double &numdiff_step_size,
const double &step_size,
const double &tol):
41 gsl_gradient(max_iter,grad_tol,numdiff_step_size,step_size,tol) {}
51 return gsl_multimin_fdfminimizer_conjugate_pr;
57 return "Polak-Ribiere conjugate gradient (GSL)";
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base algorithm.
base_ptr clone() const
Clone method.
gsl_pr(int=100, const double &=1E-8, const double &=1E-8, const double &=0.01, const double &=1E-4)
Constructor.
const gsl_multimin_fdfminimizer_type * get_gsl_minimiser_ptr() const
Selected minimiser.
std::string get_name() const
Algorithm name.
Wrapper for GSL minimisers with derivatives.
Wrapper for the GSL Polak-Ribiere conjugate gradient algorithm.