Skip to content

Commit 9df333e

Browse files
ParasPuneetSinghChrisRackauckas
authored andcommitted
Update metaheuristics.md
corrected algorithm calls.
1 parent abad46a commit 9df333e

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,10 +106,10 @@ npartitions = 100
106106
weights = Metaheuristics.gen_ref_dirs(nobjectives, npartitions)
107107
108108
# Choose the algorithm and solve the problem
109-
sol1 = solve(prob, NSGA2(); maxiters = 100, use_initial = true)
110-
sol2 = solve(prob, NSGA3(); maxiters = 100, use_initial = true)
111-
sol3 = solve(prob, SPEA2(); maxiters = 100, use_initial = true)
112-
sol4 = solve(prob, CCMO(NSGA2(N=100, p_m=0.001)))
113-
sol5 = solve(prob, MOEAD_DE(weights, options=Options(debug=false, iterations = 250)); maxiters = 100, use_initial = true)
114-
sol6 = solve(prob, SMS_EMOA(); maxiters = 100, use_initial = true)
109+
sol1 = solve(prob, Metaheuristics.NSGA2(); maxiters = 100, use_initial = true)
110+
sol2 = solve(prob, Metaheuristics.NSGA3(); maxiters = 100, use_initial = true)
111+
sol3 = solve(prob, Metaheuristics.SPEA2(); maxiters = 100, use_initial = true)
112+
sol4 = solve(prob, Metaheuristics.CCMO(NSGA2(N=100, p_m=0.001)))
113+
sol5 = solve(prob, Metaheuristics.MOEAD_DE(weights, options=Options(debug=false, iterations = 250)); maxiters = 100, use_initial = true)
114+
sol6 = solve(prob, Metaheuristics.SMS_EMOA(); maxiters = 100, use_initial = true)
115115
```

0 commit comments

Comments
 (0)