Zakharov Function
Mathematical Definition
\[f(\textbf{x})=f(x_1, ..., x_n)=\sum_{i=1}^n x_i^{2}+(\sum_{i=1}^n 0.5ix_i)^2 + (\sum_{i=1}^n 0.5ix_i)^4\]Plots
The contour of the function:
Description and Features
- The function is continuous.
- The function is convex.
- The function can be defined on n-dimensional space.
- The function is unimodal.
Input Domain
The function can be defined on any input domain but it is usually evaluated on the hypercube $x_i \in [-5, 10]$ for $i = 1…n$.
Global Minima
$f(\textbf{x}^{\ast}) = 0$ at $\textbf{x}^{\ast} = (0, …, 0)$
Implementation
Python
For Python, the function is implemented in the benchmarkfcns package, which can be installed from command line with pip install benchmarkfcns
.
MATLAB
An implementation of the Zakharov Function with MATLAB is provided below.
The function can be represented in Latex as follows:
References:
- http://www.sfu.ca/~ssurjano/zakharov.html