Previous Page: CPXgetnodeintFirst PageNext Page: CPXgetnumbin

CPXgetnodeleftcnt


Usage

Mixed Integer Users Only

Description

The routine CPXgetnodeleftcnt() is used to access the number of unexplored nodes left in the branch-and-bound tree.

Return Value

If no solution, problem, or environment exists, CPXgetnodeleftcnt() returns 0; otherwise, CPXgetnodeleftcnt() returns the number of unexplored nodes left in the branch-and-bound tree.

Synopsis

int CPXgetnodeleftcnt (CPXENVptr env,
                       CPXLPptr lp);

Arguments


CPXENVptr env
The pointer to the CPLEX environment as returned by one of the CPXopenCPLEX routines.

CPXLPptr lp
A pointer to a CPLEX LP problem object as returned by CPXcreateprob().

Example

nodes_left = CPXgetnodeleftcnt (env, lp);
Previous Page: CPXgetnodeintFirst PageNext Page: CPXgetnumbin