Himmelblau function
More...
#include <test_problems.h>
|
| Himmelblau (int dim) |
| Constructor. More...
|
|
vec | lBounds () const |
| Method for getting the lower variable bounds. More...
|
|
vec | uBounds () const |
| Method for getting the upper variable bounds. More...
|
|
int | dim () const |
| Method for getting the number of dimensions. More...
|
|
double | min () const |
| Method for getting global minimum value. More...
|
|
vec | optimum () const |
| Method for getting the global minimizer. More...
|
|
std::string | name () const |
| Method for getting the name of the optimization problem. More...
|
|
double | eval (const vec &x) const |
| Method for evaluating the objective function. More...
|
|
vec | evals (const mat &points) const |
| Method for evaluating the objective function at multiple points. More...
|
|
Himmelblau function
Function: \(f(x) = \displaystyle\frac{1}{d}\displaystyle\sum_{i=1}^d \left[x_i^4 - 16x_i^2 + 5x_i \right] \)
Domain: \( -10 \leq x_i \leq 10 \)
Minimum value: \(-78.33\)
Minimizer: \( [-2.90,\ldots,-2.90]\)
- Author
- David Eriksson, dme65.nosp@m.@cor.nosp@m.nell..nosp@m.edu
sot::Himmelblau::Himmelblau |
( |
int |
dim | ) |
|
|
inline |
int sot::Himmelblau::dim |
( |
| ) |
const |
|
inlinevirtual |
Method for getting the number of dimensions.
- Returns
- The number of dimensions
Implements sot::Problem.
double sot::Himmelblau::eval |
( |
const vec & |
point | ) |
const |
|
inlinevirtual |
Method for evaluating the objective function.
- Parameters
-
point | Is the next point for which to evaluate the objective function |
- Returns
- The value of the objective function at the input
Implements sot::Problem.
vec sot::Himmelblau::lBounds |
( |
| ) |
const |
|
inlinevirtual |
Method for getting the lower variable bounds.
- Returns
- Upper variable bounds
Implements sot::Problem.
double sot::Himmelblau::min |
( |
| ) |
const |
|
inlinevirtual |
Method for getting global minimum value.
- Returns
- Value at the global minumum
Implements sot::Problem.
std::string sot::Himmelblau::name |
( |
| ) |
const |
|
inlinevirtual |
Method for getting the name of the optimization problem.
- Returns
- The optimization problem name
Implements sot::Problem.
vec sot::Himmelblau::optimum |
( |
| ) |
const |
|
inlinevirtual |
Method for getting the global minimizer.
- Returns
- The global minimizer
Implements sot::Problem.
vec sot::Himmelblau::uBounds |
( |
| ) |
const |
|
inlinevirtual |
Method for getting the upper variable bounds.
- Returns
- Upper variable bounds
Implements sot::Problem.
int sot::Himmelblau::mDim |
|
protected |
double sot::Himmelblau::mMinimum = -78.3323 |
|
protected |
std::string sot::Himmelblau::mName = "Himmelblau" |
|
protected |
Optimization problem name
vec sot::Himmelblau::mOptimum |
|
protected |
vec sot::Himmelblau::mxLow |
|
protected |
vec sot::Himmelblau::mxUp |
|
protected |
The documentation for this class was generated from the following file: