This page is a collection of test functions commonly used to test optimization algorithms

1 2 3 4 5 6 7 8 9 10 11 |

`x, ` |
numeric value (or vector for multivariable functions) |

https://en.wikipedia.org/wiki/Test_functions_for_optimization

http://www.sfu.ca/~ssurjano/optimization.html

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ```
#function should be evaluated in the -A < x < A interval,
#where A is from 10 to 10^5 and \length(x) = 1
Shaffer1(0)
#function should be evaluated in the -5 < x < 10 interval \length(x) = 1
Shaffer2(0)
#function should be evaluated in the -20 < x < 20 interval and \length(x) >= 1
Fonseca(rep(0,10))
#function should be evaluated in the -5 < x < 5 interval and \length(x) == 3
Kursawe(rep(0,3))
#function should be evaluated in the -3 < x < 3 interval and \length(x) == 2
Viennet(c(0.5,0.5))
#function should be evaluated in the 0 < x < (5,3) interval and \length(x) == 2
Binh(c(0,0))
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.