error in solving a LP model: Problem unbounded
显示 更早的评论
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 个评论
John D'Errico
2021-11-6
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
2021-11-6
编辑:karim bio gassi
2021-11-7
karim bio gassi
2021-11-8
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!