NO FRAMES

CPXgetbaritcnt

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

The routine CPXgetbaritcnt accesses 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.