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:

https://www.sfu.ca/~ssurjano/levy.html

__init__()[source]

Methods

__init__()

Attributes

BOUNDS

NAME

TRUE_MINIMUM