Description
The routine CPXgetitcnt() is used to access the total number of simplex iterations to solve an LP problem, or the number of Barrier iterations if crossover is not used.Return Value
If a solution exists, CPXgetitcnt() returns the total iteration count. If no solution exists, CPXgetitcnt() returns the value 0.Synopsis
int CPXgetitcnt (CPXENVptr env,
CPXLPptr lp);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXLPptr lpA pointer to a CPLEX LP problem object as returned by
CPXcreateprob().
itcnt = CPXgetitcnt (env, lp);