benchmarkfcns.levyn2

benchmarkfcns.levyn2(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 Levy N. 2 benchmark function. levyn2 is an alias for levy for n=2. Properties:

  • Global minimum: 0

  • Location of global minimum: (1, 1)

  • Number of dimensions: 2

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

  • Modality: multimodal

Mathematical Definition

Visualization

levyn2 landscape