Mathematical Definition
\[f(x, y) = - \frac{1 + cos(12\sqrt{x^{2} + y^{2}})}{(0.5(x^{2} + y^{2}) + 2)}\]
Plots
The contour of the function:
Description and Features
- The function is continuous.
- The function is not convex.
- The function is defined on 2-dimensional space.
- The function is multimodal.
Input Domain
The function can be defined on any input domain but it is usually evaluated on $x_i \in [-5.2, 5.2]$ for $i = 1, 2$.
Global Minima
$f(\textbf{x}^{\ast}) = -1$ 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 Drop-Wave Function with MATLAB is provided below.
The function can be represented in Latex as follows:
References:
- http://www.sfu.ca/~ssurjano