for teaching purposes, I am looking for continuous compact functions defined over one or two variables that are deliberately chosen to illustrate how optimization algorithms can run into difficulties, i.e., requiring unusually many iterations to solve.

I want to use this to show how different algorithms have strengths and weaknesses for certain functions.

most books have nice graphics showing why the steepest descent algorithm runs into problems. I want something like this for contrast with other algorithms, too, like Conjugate Priors (of various kinds), Newton-Raphson; and even global optimizers, like annealing, etc.

it is a big plus if the function is easy to write down parametrically, like f(x)= -1/(abs(x)) I hope there is a paper somewhere that does this. pointers appreciated.

  • $\begingroup$ Probably, this can be a good starting point: en.wikipedia.org/wiki/Test_functions_for_optimization $\endgroup$ – AugSB Apr 4 '18 at 17:21
  • $\begingroup$ yes, they are nice test functions. alas, not "optimized" by algorithm. I could experiment with them and find out, but I was hoping someone has already given this more thought. $\endgroup$ – ivo Welch Apr 4 '18 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.