BentCigar
Module: opytimizer.benchmarks.single_objective
Bent cigar: f(x) = x_1^2 + 10^6 * sum_{i>1}(x_i^2). f* = 0 at x* = 0.
Constructor
BentCigar(n_variables: int = 30, lower_bound: Union[float, int, Sequence[float], NoneType] = None, upper_bound: Union[float, int, Sequence[float], NoneType] = None, env: Optional[opytimizer.core.environment.Environment] = None) -> None
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
n_variables | int | 30 | Number of decision variables. |
lower_bound | Union[float, int, Sequence[float], NoneType] | None | Lower bound(s). Defaults to the standard domain of the problem. |
upper_bound | Union[float, int, Sequence[float], NoneType] | None | Upper bound(s). Defaults to the standard domain of the problem. |
env | Optional[opytimizer.core.environment.Environment] | None | Environment that runs the problem. Defaults to numpy / float64. |