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

Changing variable type from integer to continuous makes quadratic constraints non-convex

回答済み

コメント

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 Thibaut,

    Gurobi uses presolving techniques to reformulate multiplications of binary/integer variables in a way to obtain a MILP, see e.g., multiplication of continuous and binary variables. You could say that the nonconvexity is hidden in the mixed-integer part.

    However, when you make all variables continuous, then there are no reformulations and tricks available to formulate the problem as a MILP. In some cases, it is possible to reformulate the problem into a SOCP but this does not seem to be true for your problem. Thus, you end up with a nonconvex problem.

    Best regards,
    Jaromił

    0
  • Thibaut Kulak
    • Gurobi-versary
    • First Comment
    • First Question

    Hi Jaromił,

    Thanks a lot for your quick and detailed response!

    I understand now, it makes perfect sense.

    Best regards,

    Thibaut

    0

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