Skip to main content

Modeling of conditional constraints

Answered

Comments

3 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?.
  • Jaromił Najman
    • Gurobi Staff Gurobi Staff

    Hi,

    This stackexchange post should answer your question How to write if else statement in linear programming?

    Note that strict inequalities are not allowed in (mixed-integer) linear programming due to compactness assumptions.

    Best regards,
    Jaromił

    0
  • 永宁 赵
    • Gurobi-versary
    • First Comment
    • First Question

    Hi Jaromił,

    Many thanks for your answer.

     

    Kind regards,

    Yongning

    0

Post is closed for comments.