Skip to main content

Get current BnB node depth

Answered

Comments

6 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff Gurobi Staff
    This post is more than three 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 why not try our AI Gurobot?.
  • Daniel Espinoza

    Hi Matheous,

     

    Unfortunately the only information avaliable during callbacks is detailed here:

    https://www.gurobi.com/documentation/8.1/refman/callback_codes.html

     

    Daniel

    0
  • Alberto Torrejón Valenzuela
    • Gurobi-versary
    • First Comment
    • First Question

    I have found myself with the same problem. Is there any implementation through Python/Gurobi to obtain this parameter (node_depth)?

    If at least I could know which are the parent nodes of the current node (NODCNT parameter of the callback) I suppose I could implement myself, is there a way of knowing such parameters? 

    Thanks in advance.

     

     
    0
  • Matthias Miltenberger
    • Gurobi Staff Gurobi Staff

    Hi Alberto,

    This information is not available, unfortunately.

    Best regards,
    Matthias

    0
  • Nicolas Zerega
    • Gurobi-versary
    • Curious
    • Conversationalist

    Are there any plans to implement a function like "m.cbGetNodeDepth" anytime soon? Also, What does gurobi use as reference to print "node depth" in the model log while optimizing?

     

    Thanks!

    Nicolas

    0

Post is closed for comments.