evox.problems.numerical.dtlz#
Module Contents#
Classes#
API#
- class evox.problems.numerical.dtlz.DTLZ(d: int = None, m: int = None, ref_num: int = 1000)[source]#
Bases:
evox.core.ProblemBase class for DTLZ test suite problems in multi-objective optimization.
Inherit this class to implement specific DTLZ problem variants.
- Parameters:
d – Number of decision variables.
m – Number of objectives.
ref_num – Number of reference points used in the problem.
Initialization
Override the setup method to initialize the parameters
- abstractmethod evaluate(X: torch.Tensor) torch.Tensor[source]#
Abstract method to evaluate the objective values for given decision variables.
- Parameters:
X – A tensor of shape (n, d), where n is the number of solutions and d is the number of decision variables.
- Returns:
A tensor of shape (n, m) representing the objective values for each solution.