Intlinprog returns 0 as the best result
2 次查看(过去 30 天)
显示 更早的评论
I have an optimization problem consisting of 48 variables. When used milp or ga it is returning 0 as the best value eventhough i have mentioned the indices for intcon.Is there some sort of tuning that needs to be done ?
4 个评论
John D'Errico
2018-6-12
So show what you did. Apparently, you did something wrong. We cannot guess what. Or, maybe you are just interpreting the output incorrectly.
If I had to guess, you have formulated the problem incorrectly, since all solvers seem to generate the same solution. You are solving a different problem than the one you think you are solving. But all we have been told is this is a 48 variable problem, and that at least some variables are constrained to be integer. Could you possibly have set both the lower and upper bounds for your variables to 0? Maybe. How can we read your mind, or see into your computer?
回答(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!