Specifying constraints for optimization using GA

조회 수: 2 (최근 30일)
Hari
Hari 2017년 1월 10일
답변: Alan Weiss 2017년 1월 10일
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?

채택된 답변

Alan Weiss
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개)

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by