Rosenbrock Function

This is a 2D function with a global minimum of zero at [1, 1].

Rosenbrock Function Plot

Form of the function is as follows:

Rosenbrock Equation


function optiseek.testfunctions.rosenbrock(x1, x2)


Parameters

Parameter Description
x1 : float Input value for the first dimension.
x2 : float Input value for the second dimension.

Example

from optiseek.testfunctions import rosenbrock

y = rosenbrock(1, 1)
0

References

List of Test Functions on Wikipedia