Skip to main content

"Node relaxation not Available"

Answered

Comments

2 comments

  • Jaromił Najman
    • Gurobi Staff

    Hi Antonio,

    As described in the documentation of cbGetNodeRel

    Note that this method can only be invoked when the where value on the callback function is equal to GRB.Callback.MIPNODE, and GRB.Callback.MIPNODE_STATUS is equal to GRB.OPTIMAL

    You have to first check whether the node relaxation has been solved to optimality before accessing it.

    Best regards, 
    Jaromił

    0
  • David Torres Sanchez
    • Gurobi Staff

    From Antonio:

    Many many thanks Jaromił, problem solved!
    Sorry! Antonio

    0

Please sign in to leave a comment.