Skip to main content

Can I solve bilevel optimization problems in Gurobi?

Answered

Comments

4 comments

  • Official comment
    Simranjit Kaur
    Gurobi Staff 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?.
  • Tobias Achterberg
    Gurobi Staff Gurobi Staff

    No, Gurobi does not support bilevel programming. In rare cases, you can translate a bilevel program into a single-level program and then solve this with Gurobi. But in general, bilevel programming is not supported by Gurobi.

    3
  • Mark Stone
    Gurobi-versary
    First Comment

    @Tobias Achterberg  In the case provided here (I guess it is one of your "rare" cases) of QP inner and outer, the KKT conditions for the inner will be an LP other than the complementarity condition, which can be expressed as mixed-integer linear (using Big M) or LP + indicator constraints. So altogether, the outer + KKT for inner can be expressed as single-level MIQP or QP with indicator constraints. So this should be doable in Gurobi.

    1
  • Sagnik Basumallik
    Gurobi-versary
    Investigator
    Conversationalist

    Thank you @Tobias and @Mark. I am trying to re-write the bi-level programs as a single level program which will let Gurobi solve it.

    0

Post is closed for comments.