Skip to main content

RVEA

Module: opytimizer.optimizers.multi_objective.evolutionary.rvea

RVEA class, inherited from MultiObjectiveOptimizer.

References: R. Cheng, Y. Jin, M. Olhofer and B. Sendhoff, "A Reference Vector Guided Evolutionary Algorithm for Many-Objective Optimization," in IEEE Transactions on Evolutionary Computation, vol. 20, no. 5, pp. 773-791, Oct. 2016, doi: 10.1109/TEVC.2016.2519378.

Constructor​

RVEA(params: Optional[Dict[str, Any]] = None, crossover_operator=None, mutation_operator=None, reference_vectors: numpy.ndarray = None, max_generations: int = 250, alpha: Union[float, int] = 2.0, fr: float = 0.1, **kwargs)

Parameters​

ParameterTypeDefaultDescription
paramsOptional[Dict[str, Any]]NoneContains key-value parameters to the meta-heuristics.
crossover_operatorNoneCrossover operator. Defaults to SBX with eta = 30 and crossover probability 1.0, as in Cheng et al. (2016).
mutation_operatorNoneMutation operator. Defaults to the polynomial mutation with eta = 20 and rate 1 / n_variables.
reference_vectorsnumpy.ndarrayNoneReference vectors, one per agent.
max_generationsint250Number of generations t_max of the run, used by the penalty function and the adaptation frequency. It should match the stopping criterion.
alphaUnion[float, int]2.0Rate of change of the penalty function.
frfloat0.1Frequency of the reference vector adaptation (fraction of t_max).
kwargs—

Methods​

compile​

compile(self, space: opytimizer.core.space._MultiObjectiveSpace)

Compiles additional information that is used by this optimizer.

This method is called before the optimization procedure and makes sure that the additional variable is available as a property.

Parameters​

ParameterTypeDefaultDescription
spaceopytimizer.core.space._MultiObjectiveSpace—

evaluate​

evaluate(self, space: opytimizer.core.space._MultiObjectiveSpace, function: opytimizer.core.function.Function)

Evaluates the search space according to the objective function.

Parameters​

ParameterTypeDefaultDescription
spaceopytimizer.core.space._MultiObjectiveSpaceA Space object that will be evaluated.
functionopytimizer.core.function.FunctionA Function object serving as an objective function.

update​

update(self, space: opytimizer.core.space._MultiObjectiveSpace, function: opytimizer.core.function.Function)

Performs one generation: offspring creation, selection and adaptation.

Parameters​

ParameterTypeDefaultDescription
spaceopytimizer.core.space._MultiObjectiveSpaceA MultiObjectiveSpace object.
functionopytimizer.core.function.FunctionA Function object that will be used as the objective function.