NO FRAMES

CPXgetnodecnt

int CPXPUBLIC CPXgetnodecnt(CPXCENVptr env, CPXCLPptr lp)
Definition file: cplex.h
Include files: cplex.h

The routine CPXgetnodecnt is used to access the number of nodes used to solve a mixed integer problem.

Example

 nodecount = CPXgetnodecnt (env, lp);

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

A pointer to a CPLEX problem object as returned by CPXcreateprob.

Example

 nodecount = CPXgetnodecnt (env, lp);

Returns:

If a solution exists, CPXgetnodecnt returns the node count. If no solution, problem, or environment exists, CPXgetnodecnt returns the value 0.