PaGMO
1.1.5
|
Wrapper for the GSL BFGS algorithm. More...
#include <gsl_bfgs.h>
Public Member Functions | |
gsl_bfgs (int=100, const double &=1E-8, const double &=1E-8, const double &=0.01, const double &=1E-4) | |
Constructor. More... | |
base_ptr | clone () const |
Clone method. | |
std::string | get_name () const |
Algorithm name. | |
Public Member Functions inherited from pagmo::algorithm::gsl_gradient | |
void | evolve (population &) const |
Evolve method. More... | |
std::string | human_readable_extra () const |
Extra information in human-readable format. More... | |
Public Member Functions inherited from pagmo::algorithm::base_gsl | |
base_gsl () | |
Default constructor. More... | |
Public Member Functions inherited from pagmo::algorithm::base | |
base () | |
Default constructor. More... | |
virtual | ~base () |
Trivial destructor. More... | |
std::string | human_readable () const |
Return human readable representation of the algorithm. More... | |
void | set_screen_output (const bool p) |
Setter-Getter for protected m_screen_output data. More... | |
bool | get_screen_output () const |
Gets screen output. More... | |
void | reset_rngs (const unsigned int) const |
Resets the seed of the internal rngs using a user-provided seed. More... | |
Protected Member Functions | |
const gsl_multimin_fdfminimizer_type * | get_gsl_minimiser_ptr () const |
Selected minimiser. More... | |
Protected Member Functions inherited from pagmo::algorithm::gsl_gradient | |
gsl_gradient (int, const double &, const double &, const double &, const double &) | |
Constructor. More... | |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
Static Protected Member Functions inherited from pagmo::algorithm::base_gsl | |
static double | objfun_wrapper (const gsl_vector *, void *) |
Objective function wrapper. More... | |
Protected Attributes inherited from pagmo::algorithm::base | |
bool | m_screen_output |
Indicates to the derived class whether to print stuff on screen. | |
rng_double | m_drng |
Random number generator for double-precision floating point values. | |
rng_uint32 | m_urng |
Random number generator for unsigned integer values. | |
unsigned int | m_fevals |
A counter for the number of function evaluations. | |
Wrapper for the GSL BFGS algorithm.
Definition at line 44 of file gsl_bfgs.h.
pagmo::algorithm::gsl_bfgs::gsl_bfgs | ( | int | max_iter = 100 , |
const double & | grad_tol = 1E-8 , |
||
const double & | numdiff_step_size = 1E-8 , |
||
const double & | step_size = 0.01 , |
||
const double & | tol = 1E-4 |
||
) |
Constructor.
Will invoke internally the constructor from algorithm::gsl_gradient with the specified parameters.
Definition at line 40 of file gsl_bfgs.cpp.
|
protectedvirtual |
Selected minimiser.
This function will return a pointer to the GSL minimiser selected by the derived class.
Implements pagmo::algorithm::gsl_gradient.
Definition at line 49 of file gsl_bfgs.cpp.