Mathematical Definition
\[f(x) = \frac{sin(10\pi x)}{2x} + (x-1)^4\]
Plots
Description and Features
- The function is continuous.
- The function is not convex.
- The function is defined on 1-dimensional space.
- The function is unimodal.
Input Domain
The function can be defined on any input domain but it is usually evaluated on $x \in [-0.5, 2.5]$.
Global Minima
The function has one local minimum at: $f(x^*)=-0.869011134989500$ at $\textbf{x}^{\ast} = 0.548563444114526$.
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 Gramacy & Lee Function with MATLAB is provided below.
The function can be represented in Latex as follows:
References: