Call fitness value plot with custom plot function for MILP problem
2 次查看(过去 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!