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

Why does Gurobi ignore the non-convex quadratic constraints?

回答済み

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    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?.
  • Jaromił Najman
    • Gurobi Staff

    Hi Yuzhou,

    The documentation of the function Model.getConstrs() states

    Retrieve a list of all linear constraints in the model.

    Thus, it is expected that the quadratic constraints are not returned by this function.

    In order to retrieve all quadratic constraints you have to use the Model.getQConstrs() function.

    Best regards,
    Jaromił

    0
  • Yuzhou Jiang
    • Gurobi-versary
    • Conversationalist
    • First Question

    Hi Jaromił,

    I see. Thank you very much for the clarification.

    Yuzhou

    0

投稿コメントは受け付けていません。