BukinFunction Class Reference

The Bukin function, defined by. More...

Public Member Functions

 BukinFunction (const double epsilon=1e-8)
 
double Epsilon () const
 Get the value used for numerical stability. More...

 
double & Epsilon ()
 Modify the value used for numerical stability. More...

 
double Evaluate (const arma::mat &coordinates, const size_t begin, const size_t batchSize) const
 
double Evaluate (const arma::mat &coordinates) const
 
arma::mat GetInitialPoint () const
 Get the starting point. More...

 
void Gradient (const arma::mat &coordinates, const size_t begin, arma::mat &gradient, const size_t batchSize) const
 
void Gradient (const arma::mat &coordinates, arma::mat &gradient)
 
size_t NumFunctions () const
 Return 1 (the number of functions). More...

 
void Shuffle ()
 Shuffle the order of function visitation. More...

 

Detailed Description

The Bukin function, defined by.

\[ f(x) = 100 * \sqrt(\left|x_2 - 0.01 * x_1^2 \right|) + 0.01 * \left|x_1 + 10 \right| \]

This should optimize to f(x) = 0, at x = [-10, 1].

For more information, please refer to:

@article{Jamil2013,
title = {A Literature Survey of Benchmark Functions For Global
Optimization Problems},
author = {Momin Jamil and Xin{-}She Yang},
journal = {CoRR},
year = {2013},
url = {http://arxiv.org/abs/1308.4008}
}

Definition at line 44 of file bukin_function.hpp.

Constructor & Destructor Documentation

◆ BukinFunction()

BukinFunction ( const double  epsilon = 1e-8)

Member Function Documentation

◆ Epsilon() [1/2]

double Epsilon ( ) const
inline

Get the value used for numerical stability.

Definition at line 106 of file bukin_function.hpp.

◆ Epsilon() [2/2]

double& Epsilon ( )
inline

Modify the value used for numerical stability.

Definition at line 108 of file bukin_function.hpp.

◆ Evaluate() [1/2]

double Evaluate ( const arma::mat &  coordinates,
const size_t  begin,
const size_t  batchSize 
) const

◆ Evaluate() [2/2]

double Evaluate ( const arma::mat &  coordinates) const

◆ GetInitialPoint()

arma::mat GetInitialPoint ( ) const
inline

Get the starting point.

Definition at line 64 of file bukin_function.hpp.

References BukinFunction::Evaluate(), and BukinFunction::Gradient().

◆ Gradient() [1/2]

void Gradient ( const arma::mat &  coordinates,
const size_t  begin,
arma::mat &  gradient,
const size_t  batchSize 
) const

◆ Gradient() [2/2]

void Gradient ( const arma::mat &  coordinates,
arma::mat &  gradient 
)

◆ NumFunctions()

size_t NumFunctions ( ) const
inline

Return 1 (the number of functions).

Definition at line 61 of file bukin_function.hpp.

◆ Shuffle()

void Shuffle ( )

Shuffle the order of function visitation.

This may be called by the optimizer.


The documentation for this class was generated from the following file:
  • /home/ryan/src/mlpack.org/_src/mlpack-3.0.4/src/mlpack/core/optimizers/problems/bukin_function.hpp