Skip to content

Commit 37357a1

Browse files
ParasPuneetSinghChrisRackauckas
authored andcommitted
Update metaheuristics.md
Added the package for the algorithms.
1 parent 4254278 commit 37357a1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/src/optimization_packages/metaheuristics.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ npartitions = 100
106106
weights = Metaheuristics.gen_ref_dirs(nobjectives, npartitions)
107107
108108
# Choose the algorithm as required.
109-
alg1 = NSGA2()
110-
alg2 = NSGA3()
111-
alg3 = SPEA2()
112-
alg4 = CCMO(NSGA2(N=100, p_m=0.001))
113-
alg5 = MOEAD_DE(weights, options=Options(debug=false, iterations = 250))
114-
alg6 = SMS_EMOA()
109+
alg1 = Metaheuristics.NSGA2()
110+
alg2 = Metaheuristics.NSGA3()
111+
alg3 = Metaheuristics.SPEA2()
112+
alg4 = Metaheuristics.CCMO(NSGA2(N=100, p_m=0.001))
113+
alg5 = Metaheuristics.MOEAD_DE(weights, options=Options(debug=false, iterations = 250))
114+
alg6 = Metaheuristics.SMS_EMOA()
115115
116116
# Solve the problem
117117
sol1 = solve(prob, alg1; maxiters = 100, use_initial = true)

0 commit comments

Comments
 (0)