benchmarkfcns.matyasn2

benchmarkfcns.matyasn2(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 Matyas N. 2 benchmark function. matyasn2 is an alias for matyas. Properties:

  • Global minimum: 0

  • Location of global minimum: (0, 0)

  • Number of dimensions: 2

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

  • Modality: unimodal

Mathematical Definition

\[f(x, y) = 0.26(x^2 + y^2) - 0.48xy\]

Visualization