Skip to main content

Issue in using condition based constraint

Answered

Comments

2 comments

  • Official comment
    Matthias Miltenberger
    • Gurobi Staff

    Hi Shubham,

    You should be able to formulate this using indicator constraints. These constraints will only be active if the indicator variable - here \(x(i,j)\) - is true.

    Cheers,
    Matthias

  • Official comment
    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?.

Post is closed for comments.