Skip to main content

CEC2022F4

Module: opytimizer.benchmarks.cec2022

CEC 2022 F4: shifted and full rotated (non-continuous) Rastrigin's function.

As in the official code, the rounding step has no effect (f* = 800).

Constructor​

CEC2022F4(n_variables: int = 10, env: Optional[opytimizer.core.environment.Environment] = None) -> None

Parameters​

ParameterTypeDefaultDescription
n_variablesint10Number of decision variables, one of the dimensions with official data for this function.
envOptional[opytimizer.core.environment.Environment]NoneEnvironment that runs the problem. Defaults to numpy / float64.