MILP using Genetic algorithm - penalty value increases beyond the global minimum

4 ビュー (過去 30 日間)
I have been using GA to solve a minimization problem and this involves interger variables as well. My programm is working fine except for one abnormality observed in the penalty value vs generations graph.
As you cna see here, (Best value in Black and mean value in blue) best values jumps from around 0 to 1.3. Has anyone come across a similar issue and how you could oivercome it.
Thanks.

採用された回答

Dheeraj Singh
Dheeraj Singh 2019 年 8 月 23 日
You can refer to the following example in the link to know more about solving MILP using GA:
Alternatively, if you are trying to solve MILP it would be more robust to use intlinprog. Also, you can verify your results you get from GA algorithm and see if there is any abnormality.
You can refer to the following link to know more about solving MILP using GA:
  1 件のコメント
Udayanka Mulleriyawage
Udayanka Mulleriyawage 2020 年 3 月 5 日
Thank you so much for the response. I used intlinprog to solve the problem I had and then used cplex for matlab. The solver cplexmilp appraches to the optimal solution much faster than intlinprog.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Programming and Mixed-Integer Linear Programming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by