error in solving a LP model: Problem unbounded
Mostrar comentarios más antiguos
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 comentarios
John D'Errico
el 6 de Nov. de 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
el 6 de Nov. de 2021
Editada: karim bio gassi
el 7 de Nov. de 2021
karim bio gassi
el 8 de Nov. de 2021
Respuestas (0)
Categorías
Más información sobre Get Started with Optimization Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!