Call fitness value plot with custom plot function for MILP problem
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
S AsZ
am 2 Dez. 2019
Beantwortet: Alan Weiss
am 2 Dez. 2019
How can I write the code of genetic fitness function value plot with custom plot function for a mixed integer linear problem?
0 Kommentare
Akzeptierte Antwort
Alan Weiss
am 2 Dez. 2019
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Genetic Algorithm finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!