Previous Page: CPXgetnodecntFirst PageNext Page: CPXgetnodeleftcnt

CPXgetnodeint


Usage

Mixed Integer Users Only

Description

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

Return Value

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

Synopsis

int CPXgetnodeint (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

nodeint = CPXgetnodeint (env, lp);
Previous Page: CPXgetnodecntFirst PageNext Page: CPXgetnodeleftcnt