Skip to main content

dynamic modeling

Answered

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

    Hi Amir,

    This is not possible, because you cannot extract the information whether x[k,i] is fixed in the branch and bound tree by branching.

    Maybe you can use indicator constraints to model the behavior you want. An indicator constraints activates a particular constraints when an associated binary variable is 1, i.e.,

    \[z=1 \rightarrow a^Tx \leq b\]

    where \(z\) is binary. Maybe with that you could simulate the branching+constraint addition process up to some extent.

    Best regards,
    Jaromił

    0

Post is closed for comments.