Decision Optimization

Decision Optimization

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

 View Only

can node sequence number be -1?

  • 1.  can node sequence number be -1?

    Posted Wed January 14, 2009 05:17 PM

    Originally posted by: SystemAdmin


    [ozaltn said:]

    Hi all,

    I am using CPLEX 9.0. In the solve callback function, I am getting the sequence number of the current node using the function:

    status = CPXgetcallbacknodeinfo(env, cbdata, wherefrom,
                                    0, CPX_CALLBACK_INFO_NODE_SEQNUM, &nodebr);

    When I check the 'status' it is zero, so the function works properly, but the value assigned to the 'nodebr' variable is -1. I double checked and saw that a node with a sequence number '-1' had never been created in the algorithm before. So, what does that mean? Why do I get '-1' for my 'nodebr' variable?

    Thanks

    --osman
    #CPLEXOptimizers
    #DecisionOptimization