benchmarkfcns.dejongn5

benchmarkfcns.dejongn5(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 De Jong N. 5 benchmark function (Shekel’s Foxholes). SCORES = dejongn5(X) computes the value of the De Jong N. 5 function at point X. dejongn5 accepts a matrix of size M-by-2 and returns a vetor SCORES of size M-by-1 in which each row contains the function value for the corresponding row of X. Properties:

  • Global minimum: approx 0.998004

  • Location of global minimum: (-32, -32)

  • Number of dimensions: 2

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

  • Modality: multimodal (25 local minima/foxholes)

Mathematical Definition

Visualization

dejongn5 landscape