25 #ifndef PAGMO_ALGORITHM_GSL_PR_H
26 #define PAGMO_ALGORITHM_GSL_PR_H
28 #include <gsl/gsl_multimin.h>
31 #include "../config.h"
32 #include "../population.h"
33 #include "../serialization.h"
34 #include "gsl_gradient.h"
36 namespace pagmo {
namespace algorithm {
47 gsl_pr(
int = 100,
const double & = 1E-8,
const double & = 1E-8,
const double & = 0.01,
const double & = 1E-4);
49 std::string get_name()
const;
51 const gsl_multimin_fdfminimizer_type *get_gsl_minimiser_ptr()
const;
53 friend class boost::serialization::access;
54 template <
class Archive>
55 void serialize(Archive &ar,
const unsigned int)
57 ar & boost::serialization::base_object<gsl_gradient>(*this);
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base algorithm.
Wrapper for GSL minimisers with derivatives.
Wrapper for the GSL Polak-Ribiere conjugate gradient algorithm.