benchmarkfcns.needleeye

benchmarkfcns.needleeye(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 Needle Eye benchmark function. SCORES = needleeye(X) computes the value of the Needle Eye function at point X. needleeye accepts a matrix of size M-by-N and returns a vector SCORES of size M-by-1. The function returns 0 if all |x_i| <= 0.0001, and 1 otherwise. Properties:

  • Global minimum: 0

  • Location of global minimum: (0, 0, …, 0)

  • Number of dimensions: n

  • Recommended domain: [-100, 100]^n

  • Modality: multimodal/discontinuous

Mathematical Definition

Visualization

needleeye landscape