Skip to main content

Modeling of conditional constraints

Answered

Comments

2 comments

  • 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

Please sign in to leave a comment.