Skip to main content

Query ruled out values for binary variables in callback

Answered

Comments

3 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Brannon King
    • Gurobi-versary
    • Conversationalist
    • Curious

    Yes, I too really need a way to determine what variables Gurobi has already fixed as part of its branching. This information should be available in the node or solution callback. Even if it was just the most-recently branched variable, that would help a lot.

    0
  • Jaromił Najman
    • Gurobi Staff

    Similar to Query which binary variables have known values during optimization in order to add additional constraints, this would result in disclosing parts of Gurobi's IP. I cannot tell whether we decide to disclose branching information in the future but currently there are no plans for this.

    Currently, the best you could do is to check which variables are fixed/removed by presolve by inspecting the presolved model.

    0

Post is closed for comments.