Intlinprog returns 0 as the best result
1 view (last 30 days)
Show older comments
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 Comments
John D'Errico
on 12 Jun 2018
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?
Answers (0)
See Also
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!