benchmarkfcns.hartmann4

benchmarkfcns.hartmann4(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 Hartmann N. 4 (4D) benchmark function. SCORES = hartmann4(X) computes the value of the function at point X. hartmann4 accepts a matrix of size M-by-4 and returns a vector SCORES of size M-by-1. Properties:

  • Global minimum: -3.135474

  • Location of global minimum: (0.1873, 0.1906, 0.5569, 0.2859)

  • Number of dimensions: 4

  • Recommended domain: [0, 1]^4

  • Modality: multimodal

Mathematical Definition

Visualization

hartmann4 landscape