pg.evolution.nsga2#
Accessible via pg.evolution.nsga2
.
- nsga2(mutator=Uniform(where=None, seed=None), population_size=100, seed=None)[source]#
NSGA-II: A multi-objective evolutionary search algorithm.
For reference and for citations, please use: https://ieeexplore.ieee.org/document/996017
- Parameters:
mutator – Mutator to use.
population_size – Population size, which will be used as both batch size for proposing new individuals and tourament size for finding the elites among recently added populations.
seed – Random seed for initializing the population. If None, the system time will be used.
- Returns:
An Evolution object.