Description
The routine CPXgetitcnt() is used to access the total number of simplex iterations to solve an LP problem, or the number of crossover iterations in the case that Barrier is used.
CPXgetitcnt()
If a solution exists, CPXgetitcnt() returns the total iteration count. If no solution exists, CPXgetitcnt() returns the value 0.
int CPXgetitcnt (CPXCENVptr env, CPXCLPptr lp);
The pointer to the CPLEX environment as returned by CPXopenCPLEX().
CPXopenCPLEX()
A pointer to a CPLEX problem object as returned by CPXcreateprob().
CPXcreateprob()
itcnt = CPXgetitcnt (env, lp);
lpex6.c