NO FRAMES

CPXgetphase1cnt

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

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

Example

 itcnt = CPXgetphase1cnt (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

 itcnt = CPXgetphase1cnt (env, lp);
 

Returns:

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