メインコンテンツへスキップ

In Gurobi, the quadratic constraints do not work, meaning the optimization results do not satisfy the specified squared term constraints

回答済み

コメント

1件のコメント

  • Ryuta Tamura
    Gurobi Staff Gurobi Staff

    Hi,

    This article might help: How do I diagnose a wrong result?
    Also, I suggest you start by sorting out what the current situation is. For example:

    • What constraints are you trying to write?
    • What values do the variables take in the solution you want?
    • What is the actual solution obtained and how does it differ from the desired result?

    In addition, it may be useful to export the model to an LP file to verify that the model is constructed as expected. How do I export a model from Gurobi?

    Thanks,
    Ryuta

    0

サインインしてコメントを残してください。