benchmarkfcns.eggholdern2

benchmarkfcns.eggholdern2(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 Eggholder N. 2 benchmark function. eggholdern2 is an alias for eggholder. Properties:

  • Global minimum: -959.6407

  • Location of global minimum: (512, 404.2319)

  • Number of dimensions: 2

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

  • Modality: multimodal

Mathematical Definition

\[f(x_1, x_2) = -(x_2 + 47) \sin(\sqrt{|x_2 + \frac{x_1}{2} + 47|}) - x_1 \sin(\sqrt{|x_1 - (x_2 + 47)|})\]

Visualization