Skip to content

Commit 613efcb

Browse files
committed
Support of NSGA-II
1 parent cabfa6d commit 613efcb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pygad/pygad.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,8 @@ def __init__(self,
13091309
self.last_generation_elitism = None
13101310
# 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.
13111311
self.last_generation_elitism_indices = None
1312+
# Supported in PyGAD 3.2.0. It holds the pareto fronts when solving a multi-objective problem.
1313+
self.pareto_fronts = None
13121314
except Exception as e:
13131315
self.logger.exception(e)
13141316
sys.exit(-1)

0 commit comments

Comments
 (0)