Specifying constraints for optimization using GA
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hari
am 10 Jan. 2017
Beantwortet: Alan Weiss
am 10 Jan. 2017
For a customized GA optimization as in the Traveling Salesman Problem example in matlab documentation, how to specify the constraints of optimization? Should it be specified explicitly or should it be included in the crossover and mutation functions?
0 Kommentare
Akzeptierte Antwort
Alan Weiss
am 10 Jan. 2017
As documented, when using a custom population type, "ga ignores all constraints, including bounds, linear constraints, and nonlinear constraints." So your custom creation, crossover, and mutation functions must enforce your constraints.
Alan Weiss
MATLAB mathematical toolbox documentation
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Solver-Based Optimization Problem Setup finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!