25 #ifndef PAGMO_ALGORITHM_GSL_NM2_H
26 #define PAGMO_ALGORITHM_GSL_NM2_H
28 #include <gsl/gsl_multimin.h>
30 #include "../config.h"
31 #include "../serialization.h"
32 #include "gsl_derivative_free.h"
34 namespace pagmo {
namespace algorithm {
45 gsl_nm2(
int max_iter = 100,
const double &tol = 1E-6,
const double &step_size = 1);
47 std::string get_name()
const;
49 const gsl_multimin_fminimizer_type *get_gsl_minimiser_ptr()
const;
51 friend class boost::serialization::access;
52 template <
class Archive>
53 void serialize(Archive &ar,
const unsigned int)
55 ar & boost::serialization::base_object<gsl_derivative_free>(*this);
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base algorithm.
Wrapper for the GSL Nelder-Mead simplex algorithm (version 2).
Wrapper for GSL minimisers without derivatives.