Skip to main content

StyblinskiTang

Module: opytimizer.benchmarks.single_objective

Styblinski-Tang: f(x) = 0.5 sum(x_i^4 - 16 x_i^2 + 5 x_i).

f* = -39.16616570377142 n at x*_i = -2.903534027771178.

Constructor​

StyblinskiTang(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​

ParameterTypeDefaultDescription
n_variablesint30Number of decision variables.
lower_boundUnion[float, int, Sequence[float], NoneType]NoneLower bound(s). Defaults to the standard domain of the problem.
upper_boundUnion[float, int, Sequence[float], NoneType]NoneUpper bound(s). Defaults to the standard domain of the problem.
envOptional[opytimizer.core.environment.Environment]NoneEnvironment that runs the problem. Defaults to numpy / float64.