benchmarkfcns.foxholes

benchmarkfcns.foxholes(arg0: Annotated[numpy.typing.NDArray[numpy.float64], '[m, n]', 'flags.c_contiguous']) Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]']

Computes the value of the Foxholes benchmark function. SCORES = foxholes(X) computes the value of the Foxholes function at point X. foxholes accepts a matrix of size M-by-2 and returns a vector SCORES of size M-by-1 in which each row contains the function value for each row of X. Properties:

  • Global minimum: approx 0.998

  • Location of global minimum: (-32, -32)

  • Number of dimensions: 2

  • Recommended domain: [-65.536, 65.536]^2

Mathematical Definition

\[f(\textbf{x}) = f(x_1, x_2) = \left( \frac{1}{500} + \sum_{i=1}^{25} \frac{1}{i + (x_1 - a_{1i})^6 + (x_2 - a_{2i})^6} \right)^{-1}\]

Visualization