diff --git a/examples/NSGAIIAsAnEvolutionaryAlgorithmExample.jl b/examples/NSGAIIAsAnEvolutionaryAlgorithmExample.jl index 6425f12..3720d1b 100644 --- a/examples/NSGAIIAsAnEvolutionaryAlgorithmExample.jl +++ b/examples/NSGAIIAsAnEvolutionaryAlgorithmExample.jl @@ -9,7 +9,7 @@ include("../src/utils.jl") using Dates # NSGA-II algorithm configured from the evolutionary algorithm template -problem = zdt1Problem(100) +problem = zdt1Problem() solver::EvolutionaryAlgorithm = EvolutionaryAlgorithm() solver.name = "NSGA-II" @@ -22,7 +22,7 @@ solver.solutionsCreation = DefaultSolutionsCreation((problem = solver.problem, n solver.evaluation = SequentialEvaluation((problem = solver.problem, )) -solver.termination = TerminationByEvaluations((numberOfEvaluationsToStop = 200000, )) +solver.termination = TerminationByEvaluations((numberOfEvaluationsToStop = 25000, )) mutation = PolynomialMutation((probability=1.0/numberOfVariables(problem), distributionIndex=20.0, bounds=problem.bounds)) diff --git a/examples/NSGAIIExampleWithExternalCrowdingDistanceArchive.jl b/examples/NSGAIIExampleWithExternalCrowdingDistanceArchive.jl index 7e9f88a..dce1643 100644 --- a/examples/NSGAIIExampleWithExternalCrowdingDistanceArchive.jl +++ b/examples/NSGAIIExampleWithExternalCrowdingDistanceArchive.jl @@ -10,7 +10,7 @@ using Dates # NSGA-II algorithm configured from the evolutionary algorithm template. It incorporates an external archive to store the non-dominated solution found. This archive will be the algorithm output. -problem = zdt4Problem() +problem = zdt1Problem() solver::EvolutionaryAlgorithm = EvolutionaryAlgorithm() solver.name = "NSGA-II"