NO FRAMES

CPXgetnodeint

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

The routine CPXgetnodeint is used to access the node number of the best known integer solution.

Example

 nodeint = CPXgetnodeint (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

 nodeint = CPXgetnodeint (env, lp);

Returns:

If no solution, problem, or environment exists, CPXgetnodeint returns a value of -1; otherwise, CPXgetnodeint returns the node number.