benchmarkfcns.hansen

benchmarkfcns.hansen(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 Hansen benchmark function. SCORES = hansen(X) computes the value of the Hansen function at point X. hansen accepts a matrix of size M-by-2 and returns a vector SCORES of size M-by-1. Properties:

  • Global minimum: -176.541793

  • Location of global minimum: 9 global minima in [-10, 10]^2

  • Number of dimensions: 2

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

  • Modality: multimodal

Mathematical Definition

Visualization

hansen landscape