SMS-EMOA configuration¶
Configure smsemoa through vamos.algorithms.SMSEMOAConfig. This page is the parameter reference, not a tutorial about the algorithm.
Stable public API. The 1.x compatibility policy defines the supported surface; import from the public facade shown below.
from vamos.algorithms import SMSEMOAConfig
Configuration overview · Algorithm contracts · Optimization
SMSEMOAConfig
dataclass
¶
Bases: _SerializableConfig
default(pop_size=None, n_var=None, encoding=None)
classmethod
¶
Create a default SMS-EMOA configuration.
pop_size=None means 100. Discrete and mixed encoding values take
their crossover and mutation from the shared encoding table.
Builder methods¶
Use SMSEMOAConfig.builder() to obtain the fluent builder; do not import the private builder class directly. The methods below are generated from that returned object, so their signatures are not maintained as a second manual parameter table.
Bases: _ConfigBuilderState, _PopSizeBuilder, _CrossoverBuilder, _MutationBuilder, _SelectionBuilder, _RepairBuilder, _InitializerBuilder, _MutationProbFactorBuilder, _ConstraintHandlingBuilder, _ConstraintModeBuilder, _TrackGenealogyBuilder, _ResultArchiveBuilder
Declarative configuration holder for SMS-EMOA settings.
Examples: cfg = SMSEMOAConfig.default() cfg = SMSEMOAConfig.builder().pop_size(100).crossover("sbx", prob=1.0).build()
reference_point(*, vector=None, offset=None, adaptive=None, rule='relative')
¶
Reference point of the hypervolume contributions.
With the "relative" rule (the default) and without vector, the reference
is nadir + offset * (nadir - ideal) of the population and the new child, so
offset (default 1.0) is a fraction of each objective's range and the
selection does not depend on objective units; it is recomputed at every step
unless adaptive=False. A vector is used as given and stays fixed, so it
cannot be combined with adaptive=True; points outside its box contribute 0.
rule="jmetal" is the reference of jMetal's and Evolver's SMS-EMOA
(SMSEMOAReplacement): each coordinate is the worst value of the population
and the new child times 1.1, or divided by 1.1 when it is negative, recomputed
at every step. It depends on where each objective's zero lies, and takes no
vector, offset or adaptive=False.