Skip to main content

Python filter list with mathematical operation in add.constr -> NotImplementedError

Comments

2 comments

  • 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?.
  • Nic Woyak
    • Gurobi-versary
    • First Comment
    • First Question

    What are O[i], x[i], a[i], and b here?

     

    If the value of your decision variable must be in a certain interval, it sounds like you may want to consider creating your variable with a lower bound and an upper bound.

    Otherwise an indicator variable type constraint might apply to this situation.

    0

Post is closed for comments.