benchmarkfcns.pricen3¶
- benchmarkfcns.pricen3(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 Price N. 3 (Modified Rosenbrock) benchmark function. SCORES = pricen3(X) computes the value of the Price N. 3 function at point X. pricen3 accepts a matrix of size M-by-2 and returns a vector SCORES of size M-by-1. Properties:
Global minimum: 0
Location of global minimum: (1, 1)
Number of dimensions: 2
Recommended domain: [-5, 5]^2
Modality: multimodal
Mathematical Definition
\[f(x_1, x_2) = 100(x_2 - x_1^2)^2 + (1 - x_1)^2 + 6.4 \cos(x_1 - 1) - 6.4\]
Visualization