benchmarkfcns.griewankn2

benchmarkfcns.griewankn2(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 Griewank N. 2 benchmark function. griewankn2 is an alias for griewank for n=2. Properties:

  • Global minimum: 0

  • Location of global minimum: (0, 0)

  • Number of dimensions: 2

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

  • Modality: multimodal

Mathematical Definition

Visualization

griewankn2 landscape