Skip to content

Commit

Permalink
Update metaheuristics.md
Browse files Browse the repository at this point in the history
Added the package for the algorithms.
  • Loading branch information
ParasPuneetSingh authored Nov 9, 2024
1 parent 564f53a commit b1fe7da
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/src/optimization_packages/metaheuristics.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ npartitions = 100
weights = Metaheuristics.gen_ref_dirs(nobjectives, npartitions)
# Choose the algorithm as required.
alg1 = NSGA2()
alg2 = NSGA3()
alg3 = SPEA2()
alg4 = CCMO(NSGA2(N=100, p_m=0.001))
alg5 = MOEAD_DE(weights, options=Options(debug=false, iterations = 250))
alg6 = SMS_EMOA()
alg1 = Metaheuristics.NSGA2()
alg2 = Metaheuristics.NSGA3()
alg3 = Metaheuristics.SPEA2()
alg4 = Metaheuristics.CCMO(NSGA2(N=100, p_m=0.001))
alg5 = Metaheuristics.MOEAD_DE(weights, options=Options(debug=false, iterations = 250))
alg6 = Metaheuristics.SMS_EMOA()
# Solve the problem
sol1 = solve(prob, alg1; maxiters = 100, use_initial = true)
Expand Down

0 comments on commit b1fe7da

Please sign in to comment.