MATLAB Answers

Call fitness value plot with custom plot function for MILP problem

2 views (last 30 days)
S AsZ
S AsZ on 2 Dec 2019
Answered: Alan Weiss on 2 Dec 2019
How can I write the code of genetic fitness function value plot with custom plot function for a mixed integer linear problem?

  0 Comments

Sign in to comment.

Accepted Answer

Alan Weiss
Alan Weiss on 2 Dec 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 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.