Implement NSGAIIIElitePopulationSelectionStrategy
#4937
Labels
code-fix
Change that does not change the behavior, such as code refactoring.
contribution-welcome
Issue that welcomes contribution.
optuna.samplers
Related to the `optuna.samplers` submodule. This is automatically labeled by github-actions.
Motivation
To simplify the code base by integrating common parts of
NSGAIISampler
andNSGAIIISampler
.Previously,
NSGAIISampler
andNSGAIIISampler
shared the code except for_select_elite_population()
and the initializer. However, the population selection part ofNSGAIISampler
has been separated asNSGAIIElitePopulationSelectionStrategy
in #4821. The same refactoring remains as a follow-up task."Suggestion
samplers/_nsgaiii
_select_elite_population()
and functions used in it tosamplers/nsgaiii/_elite_population_selection_strategy.py
to implementNSGAIIIElitePopulationSelectionStrategy
as in Loose coupling nsgaii elite population selection #4821._nsgaiii.py
tosamplers/_nsgaiii/_sampler.py
samplers/__init__.py
and related tests.Additional context (optional)
This is the first step to integrate the common part of the two samplers. How to complete this task is yet to be decided.
The text was updated successfully, but these errors were encountered: