optymus.benchmark.Levy¶
- class optymus.benchmark.Levy[source]¶
Levy Function
The Levy function is a non-convex function used as a performance test problem for optimization algorithms. It is defined as:
\[f(x) = \sin^2(\pi w_1) + \sum_{i=1}^{d-1} (w_i - 1)^2 [1 + 10\sin^2(\pi w_i + 1)] + (w_d - 1)^2 [1 + \sin^2(2\pi w_d)]\]where \(w_i = 1 + \frac{x_i - 1}{4}\)
- Reference:
Methods
__init__()Attributes
BOUNDSNAMETRUE_MINIMUM