Call fitness value plot with custom plot function for MILP problem

1 回表示 (過去 30 日間)
S AsZ
S AsZ 2019 年 12 月 2 日
回答済み: Alan Weiss 2019 年 12 月 2 日
How can I write the code of genetic fitness function value plot with custom plot function for a mixed integer linear problem?

採用された回答

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

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by