Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only

How to get the current node depth in CPLEX concert

  • 1.  How to get the current node depth in CPLEX concert

    Posted 12/12/08 09:51 PM

    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