NO FRAMES

CPXgetbaritcnt

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

The routine CPXgetbaritcnt is used to access the total number of Barrier iterations to solve an LP problem.

Example

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

Returns:

The routine returns the total iteration count if a solution exists. It returns zero if no solution exists or any other type of error occurs.