Big M value
Hi all,
My constraints have a big M value (M~1e13), I did not use SOS constraints because the maximum value for PreSOS1BigM and PreSOS2BigM is 1e10 which is less than the M. The model has a solution in this situation, but my program has a loop, and it adds new constraints with updated M (~1e25) each time, such that each time M is multiplied by a coefficient 1e12. I need the solution after adding new constraints with updated M, but I got -0 with the unbounded model. What do I need to do to fix the model?
Thank you in advance.
Zahra
-
正式なコメント
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Dear Zahra,
Matrix coefficients in the range of 1e25 are surely going to cause numerical issues. Is there another way to model your constraints other than bigM? Maybe someone can help when you share your mathematical model?
Best regards,
Matthias0
投稿コメントは受け付けていません。
コメント
2件のコメント