Skip to content

NSGA-III configuration

Configure nsgaiii through vamos.algorithms.NSGAIIIConfig. 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 NSGAIIIConfig

Configuration overview · Algorithm contracts · Optimization

NSGAIIIConfig dataclass

Bases: _SerializableConfig

default(pop_size=None, n_var=None, n_obj=3) classmethod

Create a default NSGA-III configuration.

Parameters:

Name Type Description Default
pop_size int | None

Population size. Defaults to the generated reference-direction count.

None
n_var int | None

Number of variables used for the default mutation probability.

None
n_obj int

Number of objectives used to choose the default reference directions.

3

Builder methods

Use NSGAIIIConfig.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, _ResultArchiveBuilder, _ConstraintModeBuilder, _TrackGenealogyBuilder

Declarative configuration holder for NSGA-III settings.

Examples: cfg = NSGAIIIConfig.default(n_obj=3) cfg = NSGAIIIConfig.builder().pop_size(92).crossover("sbx", prob=1.0).build()