Description
The routine CPXgetcrosspexchcnt() is used to access the number of primal exchange iterations in the crossover method. An exchange occurs when a nonbasic variable is forced to enter the basis as it is pushed toward a bound.
CPXgetcrosspexchcnt()
The routine returns the primal exchange iteration count if a solution exists. If no solution exists, it returns a zero.
int CPXgetcrosspexchcnt (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 = CPXgetcrosspexchcnt (env, lp);