A multimodal test function with 4 local minima in 3 dimensions. Fixed dimension of 3.
F19(x)Numeric scalar representing the function value.
Formula: $$f(x) = -\sum_{i=1}^{4} c_i \exp\left(-\sum_{j=1}^{3} a_{ij}(x_j - p_{ij})^2\right)$$
where \(a_{ij}\), \(c_i\), and \(p_{ij}\) are predefined constants.
Global minimum: \(f(0.114614, 0.555649, 0.852547) \approx -3.86278\)
Characteristics:
Type: Multimodal
Separable: No
Differentiable: Yes
Fixed dimension: 3
Number of local minima: 4
Default bounds: \([0, 1]^3\)
The Hartmann functions are a family of multimodal test functions commonly used in optimization benchmarks.
test-functions for an overview of all test functions,
get_function_details to retrieve function parameters,
F20 for the 6D version.