CPXXgetnodeleftcnt and CPXgetnodeleftcnt
The routine CPXXgetnodeleftcnt/CPXgetnodeleftcnt accesses the number
of unexplored nodes left in the branch-and-cut tree.
CPXCNT CPXXgetnodeleftcnt( CPXCENVptr env, CPXCLPptr lp )
int CPXgetnodeleftcnt( CPXCENVptr env, CPXCLPptr lp )
Description
The routine CPXXgetnodeleftcnt/CPXgetnodeleftcnt accesses the number
of unexplored nodes left in the branch-and-cut tree.
Arguments
- env
-
A pointer to the CPLEX environment as returned by
CPXXopenCPLEX/CPXopenCPLEX. - lp
-
A pointer to a CPLEX problem object as returned by
CPXXcreateprob/CPXcreateprob.
Return
If no solution, problem, or environment exists,CPXXgetnodeleftcnt/CPXgetnodeleftcnt returns 0 (zero); otherwise, CPXXgetnodeleftcnt/CPXgetnodeleftcnt returns the number of unexplored nodes left in the branch-and-cut tree.
Example
nodes_left = CPXgetnodeleftcnt (env, lp);