NO FRAMES

CPXgetitcnt

public int CPXgetitcnt(CPXCENVptr env, CPXCLPptr lp)
Definition file: cplex.h

The routine CPXgetitcnt accesses the total number of simplex iterations to solve an LP problem, or the number of crossover iterations in the case that the barrier optimizer is used.

Example

 itcnt = CPXgetitcnt (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 = CPXgetitcnt (env, lp);
 

Returns:

If a solution exists, CPXgetitcnt returns the total iteration count. If no solution exists, CPXgetitcnt returns the value 0.

See lpex6.c in the CPLEX User's Manual.