Take the 2-minute tour ×
Computational Science Stack Exchange is a question and answer site for scientists using computers to solve scientific problems. It's 100% free, no registration required.

There seem to be two main kinds of test function for no-derivative optimizers:

  • one-liners like the Rosenbrock function ff., with start points
  • sets of real data points, with an interpolator

Is it possible to compare say 10d Rosenbrock with any real 10d problems ?
One could compare in various ways: describe the structure of local minima,
or run optimizers A B C on Rosenbrock and on some real problems;
but both of these seem difficult.

(Maybe theorists and experimenters are just two quite different cultures, so I'm asking for a chimera ?)

See also:

Warning, added in May 2014: there are different Rosenbrock functions:

Dear Prof ...,
  so the Rosenbrock in bbobbenchmarks.py is non-standard,
nothing to do with the standard http://en.wikipedia.org/wiki/Rosenbrock_function ?

Of course it has nothing to do with the standard Rosenbrock function, what did you think, why would it?

share|improve this question

3 Answers 3

Simple functions like Rosenbrock's are used to debug and pre-test newly written algorithms: They are fast to implement and to execute, and a method that cannot solve the standard problems well is unlikely to work well on real life problems.

For a recent thorough comparison of derivative-free methods for expensive functions, see Derivative-free optimization: A review of algorithms and comparison of software implementations. L.M. Rios, N.V. Sahinidis - doi 10.1007/s10898-012-9951-y Journal of Global Optimization, 2012. (See also the accompanying webpage: http://archimedes.cheme.cmu.edu/?q=dfocomp)

share|improve this answer
Prof. Neumaier, could you point to some real problems, evidence, for "a method that cannot solve the standard problems well is unlikely to work well on real life problems" ? I realize that that's not easy. (I'd be interested in your comments on Hooker.) Also, a quick look at c models from your link shows princetonlibgloballib requires AMPL, and source_convexmodels *.c all have a missing ";" after fscanf() -- trivial but –  Denis Aug 11 '12 at 11:07
@Denis: Problems like Rosenbrock stem from the early days of automated optimization, where people isolated the typical difficulties in simple representative examples that can be studied without the numerical complexities of real-life problems. Thus they are not really artificial, but simplified models of real difficulties. For example, Rosenbrock illustrates the combined effect of strong nonlinearity and mild ill-condition. –  Arnold Neumaier Aug 11 '12 at 11:14
The AMPL site ampl.com offers a free student version for AMPL. –  Arnold Neumaier Aug 11 '12 at 11:15

The advantage of synthetic testcases like the Rosenbrock function is that there is existing literature to compare with, and there is a sense in the community how good methods behave on such testcases. If everyone used their own testcase it would be much harder to come to a consensus which methods work and which don't.

share|improve this answer

You can have the best of both worlds. NIST has a set of problems for minimizers, like fitting this 10th degree polinomial, with expected results and uncertainties. Of course, proving that these values are the actual best solution, or the existence and properties of other local minima is more difficult than on a controlled mathematical expression.

share|improve this answer
Well, the NIST problems are small (2 3 1 1 11 7 6 6 6 6 6 params). Are there test sets that are both "real" and reproducible, for any corner of "real" ? Cf. a Request for Simulation-Based Optimization Problems –  Denis May 13 at 13:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.