Previous Page: CPXgetorderFirst PageNext Page: CPXgetpi

CPXgetphase1cnt


Description

The routine CPXgetphase1cnt() is used to access the number of Phase I iterations to solve a problem using the primal or dual simplex method.

Return Value

If a solution exists, CPXgetphase1cnt() returns the Phase I iteration count. If no solution exists, CPXgetphase1cnt() returns the value 0.

Synopsis

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

itcnt = CPXgetphase1cnt (env, lp);
Previous Page: CPXgetorderFirst PageNext Page: CPXgetpi