NSGA3SubsetGeneticAlgorithm#
- class pybrops.opt.algo.NSGA3SubsetGeneticAlgorithm.NSGA3SubsetGeneticAlgorithm(ngen=250, pop_size=100, nrefpts=None, rng=RandomState(MT19937) at 0x7F8D0DF4C840, **kwargs)[source]#
Bases:
SubsetOptimizationAlgorithm
Class implementing an NSGA-III genetic algorithm adapted for subset selection optimization. The search space is discrete and nominal in nature.
Constructor for NSGA-III subset optimization algorithm.
- Parameters:
ngen (int) – Number of generations to evolve population.
mu (int) – Number of parental candidates to keep in population.
lamb (int) – Number of progeny to generate.
M (float) – Length of the chromosome genetic map, in Morgans.
rng (numpy.random.Generator, numpy.random.RandomState, None) – Random number generator source.
kwargs (dict) – Additional keyword arguments.
Methods
Optimize an objective function.
Attributes
Number of generations.
Number of reference points to be used for optimization.
Number of individuals in the main chromosome population.
Random number generator source.
- minimize(prob, miscout=None, **kwargs)[source]#
Optimize an objective function.
- Parameters:
prob (SubsetProblem) – A problem definition object on which to optimize.
miscout (dict) – Miscellaneous output from the constrained optimizaiont algorithm.
kwargs (dict) – Additional keyword arguments
- Returns:
out – An object containing the solution to the provided problem.
- Return type:
- property ngen: Integral#
Number of generations.
- property nrefpts: Integral#
Number of reference points to be used for optimization.
- property pop_size: Integral#
Number of individuals in the main chromosome population.
- property rng: Generator | RandomState#
Random number generator source.