Skip to main content

Accessing the reduced costs of the variables in each branch and bound tree

Answered

Comments

3 comments

  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    It is currently not possible to access reduced costs of the node relaxation LP from a callback. Indeed, it is currently not possible to access the reduced costs of the node relaxation at all.

    0
  • ce jekl
    Gurobi-versary
    Collaborator
    Investigator

    Jaromił Najman
    Could you please elaborate on the "impossibility to access reduced cost". The simplex method must update these reduced cost attributes anyway.

    0
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Could you please elaborate on the "impossibility to access reduced cost". The simplex method must update these reduced cost attributes anyway.

    It is correct that the Simplex method updates the reduced costs in every iteration. However, it does not mean that this information is available during every iteration. You can only access reduced costs after you have solved an LP.

    During a MIP solve, it is not possible to access the node relaxation LP and thus, it is not possible to access the reduced costs of the node relaxation LP.

    0

Please sign in to leave a comment.