Skip to content

Commit

Permalink
Support of NSGA-II
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedfgad committed Sep 6, 2023
1 parent cabfa6d commit 613efcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pygad/pygad.py
Original file line number Diff line number Diff line change
Expand Up @@ -1309,6 +1309,8 @@ def __init__(self,
self.last_generation_elitism = None
# Added in PyGAD 2.19.0. A NumPy array holding the indices of the elitism of the current generation. It works only if the 'keep_elitism' parameter has a non-zero value.
self.last_generation_elitism_indices = None
# Supported in PyGAD 3.2.0. It holds the pareto fronts when solving a multi-objective problem.
self.pareto_fronts = None
except Exception as e:
self.logger.exception(e)
sys.exit(-1)
Expand Down

0 comments on commit 613efcb

Please sign in to comment.