The Rosenbrock Function is sometimes used to test optimization algorithms (if they converge, how fast, etc.)

There are a couple of different forms, the most common is the two dimensional form:


(1-x)2 + 100*(y-x2)2

The Rosenbrock function has a global minimum at 1,1 of 0.