function [S,g]=test(x)
% Rosenbrock, 1960
% x0 = [-1.2, 1]'
% xo = [1, 1]'
% S(xo) = 0

S=100*(x(2)-x(1).^2).^2+(1-x(1)).^2;
g=[];
