Forrester Function
Mathematical Definition
\[f(x)= (6x - 2)^{2}sin(12x - 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^*)=-6.0207$ at $\textbf{x}^{\ast} = 0.757249$.
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 Forrester Function with MATLAB is provided below.
The function can be represented in Latex as follows:
References:
- https://www.sfu.ca/~ssurjano/forretal08.html
- Forrester, A., Sobester, A., & Keane, A. (2008). Engineering design via surrogate modelling: a practical guide. Wiley.