Skip to main content

Query ruled out values for binary variables in callback




  • Brannon King
    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.

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


Please sign in to leave a comment.