Michalewicz¶

- class gob.benchmarks.michalewicz.Michalewicz¶
Bases:
Benchmark
The Michalewicz function.
\(f(x) = - \sum_{i=1}^d \sin(x_i) \sin\left(\frac{x_i^2}{\pi}\right)^{2\times 10}\)
Its minimum is unknown.
- expr(x)¶
The expression of the function.
- Parameters:
x (array-like) – The point at which to evaluate the function.
- Returns:
The value of the function at x.
- Return type:
float