Bent cigar¶

- class gob.benchmarks.bentcigar.Bentcigar¶
Bases:
Benchmark
The Bent cigar function.
\(f(x) = x_1^2 + 10^6 \sum_{i=2}^d x_i^2\).
Its minimum is \(0\) achieved at \(x = 0\).
- 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