Skip to main content

Query ruled out values for binary variables in callback

Answered

Comments

2 comments

  • Brannon King
    Gurobi-versary
    First Comment
    First Question

    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 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

Please sign in to leave a comment.