error in solving a LP model: Problem unbounded
Show older comments
I built a LP model and when solving I got the message 'Problem is unbounded'. However, I solved the same problem with GAMS and I got
the following output
**** SOLVER STATUS 1 Normal Completion
**** MODEL STATUS 1 Optimal
**** OBJECTIVE VALUE 3164404.6058
Please help me to find what I got wrong in the code. Find attached the data and the code.
3 Comments
John D'Errico
on 6 Nov 2021
So we see a large mess of code, that produces what appears to be a non-solution. You claim that you solved it using another code, and got a solution, yet we do not know if you actually solved the same problem. That is, could it be that your code for one of the solves has an error in it? How can we possibly know, since we see only one of them, and we do not even know what the actual problem is that you want to solve. The MATLAB crystal ball is very foggy.
karim bio gassi
on 6 Nov 2021
Edited: karim bio gassi
on 7 Nov 2021
karim bio gassi
on 8 Nov 2021
Answers (0)
Categories
Find more on Get Started with Optimization Toolbox 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!