Call fitness value plot with custom plot function for MILP problem
조회 수: 1 (최근 30일)
이전 댓글 표시
How can I write the code of genetic fitness function value plot with custom plot function for a mixed integer linear problem?
댓글 수: 0
채택된 답변
Alan Weiss
2019년 12월 2일
I think that it is a mistake to use the genetic algorithm to solve a mixed-integer linear problem. Instead, use intlinprog. To use a custom plot function for intlinprog, see intlinprog Output Function and Plot Function Syntax. It is possible that the built-in @optimplotmilp plot function will satisfy your needs.
Alan Weiss
MATLAB mathematical toolbox documentation
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!