MILP using Genetic algorithm - penalty value increases beyond the global minimum
3 次查看(过去 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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/234132/image.jpeg)
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.
0 个评论
采纳的回答
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:
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear 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!