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!