Decomposition and Reference Vectors
Decomposition-based algorithms, such as MOEA/D, transform a multi-objective problem into scalar subproblems. Each subproblem is defined by a weight (reference) vector and an aggregation function.
Aggregation Functions
The opytimizer.math.aggregation module provides the following scalarization functions, where is the ideal point:
WeightedSum:Tchebycheff:PBI:
In Penalty-based Boundary Intersection (PBI), is the distance of the projection of onto , is the perpendicular distance to , and is a penalty parameter (default 5.0).
Reference Vectors
The opytimizer.utils.reference_vectors module generates uniformly distributed weight vectors over the unit simplex:
das_dennis(n_objectives, n_partitions): Das-Dennis method, which returns the weight matrix and the number of generated vectors.two_layered_weights_simplex(m, H1, H2): Two-layered approach, which generates boundary and inner vectors for many-objective problems.
The number of vectors generated by the Das-Dennis method is:
Where is the number of partitions and is the number of objectives. The number of vectors is usually used as the number of agents.
Example Code
from opytimizer.math.aggregation import PBI
from opytimizer.utils.reference_vectors import das_dennis
# Generates the weight vectors and the number of agents
weights, n_agents = das_dennis(n_objectives=3, n_partitions=12)
# Creates the aggregation function
pbi = PBI(theta=5.0)
print(weights.shape, n_agents)