Skip to main content

"Node relaxation not Available"

Answered

Comments

3 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two 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.
  • 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

Post is closed for comments.