Expand description
Single-objective benchmark functions, all minimised with optimum 0 unless noted.
Structs§
- Tour
- A symmetric travelling-salesperson instance over points in the plane.
Functions§
- ellipsoid
- The axis-parallel ellipsoid
Σ 10^(6 (i-1)/(n-1)) x_i²with condition number10^6, as in Hansen’s tutorial; optimum0at the origin. Forn = 1it is the sphere. - leading_
ones - LeadingOnes as a cost:
nminus the length of the leading run of ones; optimum0. - one_max
- OneMax as a cost: the number of zero bits; optimum
0(all ones). - rastrigin
- Rastrigin’s function
10 n + Σ (x_i² - 10 cos(2π x_i)); optimum0at the origin, highly multimodal. - rosenbrock
- Rosenbrock’s function
Σ 100 (x_{i+1} - x_i²)² + (1 - x_i)²; optimum0at(1, …, 1). Forn >= 4it has a second local minimum near(-1, 1, …, 1). - sphere
- The sphere
Σ x_i²; optimum0at the origin.