Specifying constraints for optimization using GA
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Alan Weiss
2017 年 1 月 10 日
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Solver-Based Optimization Problem Setup についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!