benchmarkfcns.matyas

benchmarkfcns.matyas(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 benchmark function. SCORES = matyas(X) computes the value of the Matyas function at point X. matyas 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 the corresponding row of X. Properties:

  • Global minimum: 0

  • Location of global minimum: (0, 0)

  • Number of dimensions: 2

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

  • Number of local minima: 0

  • Number of global minima: 1

  • Convexity: Convex

  • Separability: Non-separable (The xy term couples the variables)

  • Modality: Unimodal

  • Symmetry: Symmetric (with respect to x and y)

  • Differentiable: Yes

For more information, please visit: benchmarkfcns.info/doc/matyasfcn

Mathematical Definition

Visualization

matyas landscape