Specifying constraints for optimization using GA
2 次查看(过去 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!