1.3 Rotated hyper-ellipsoid function | Contents | 1.5 Rastrigin's function 6 |
Rosenbrock's valley is a classic optimization problem, also known as Banana function. The global optimum is inside a long, narrow, parabolic shaped flat valley. To find the valley is trivial, however convergence to the global optimum is difficult and hence this problem has been repeatedly used in assess the performance of optimization algorithms.
f2(x)=sum(100·(x(i+1)-x(i)^2)^2+(1-x(i))^2),
i=1:n-1;
-2.048<=x(i)<=2.048
.
f(x)=0; x(i)=1, i=1:n
.
This function is implemented in objfun2.
The first graphic displays the full definition range of the function. The graphic on the right side focuses around the area of the global optimum at [1, 1].