Originally posted by: SystemAdmin
[Joc said:]
I am implementing an branch and bound algorithm in ilocplex. How can I get the depth of the current nodes?
I tried the NodeCallback, to get the depth of the next processing node. But I cannot get the right depth.
I also tried the IloGoal and apply the NodeEvaluator and still cannot get the right depth(taking ilogoalex3.cpp as example).
I found one routine in CPLEX callable library, it is called CPXgetnodecallbackinfo, it can get the CPX_CALLBACK_INFO_NODE_
DEPTH.
Does there exist some ways in Concert can get the depth of current nodes? Or I need to shift my codes to callable library?
#CPLEXOptimizers#DecisionOptimization