Skip to main content

CEC2017F8

Module: opytimizer.benchmarks.cec2017

CEC 2017 F8: shifted and rotated (non-continuous) Rastrigin's function.

Function 7 of the final definitions document. As in the official code, the rounding step has no effect (F* = 800).

Constructor​

CEC2017F8(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 (see the module docstring).
envOptional[opytimizer.core.environment.Environment]NoneEnvironment that runs the problem. Defaults to numpy / float64.