Rosenbrock Function
This is a 2D function with a global minimum of zero at [1, 1].
Form of the function is as follows:
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