Skip to main content

RVEACuda

Module: opytimizer.optimizers.multi_objective.evolutionary.rvea

GPU-friendly, fully tensorized implementation of RVEA.

Identical to RVEATensor except for the grouped-argmin step, which can run as a single hand-written CUDA kernel.

Constructor​

RVEACuda(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)

Parameters​

ParameterTypeDefaultDescription
paramsOptional[Dict[str, Any]]NoneContains key-value parameters to the meta-heuristics.
crossover_operatorNoneTensorized crossover operator. Defaults to SBX with eta = 30 and crossover probability 1.0, as in Cheng et al. (2016).
mutation_operatorNoneTensorized mutation 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).

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—