NO FRAMES

CPXgetcrossdexchcnt

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

The routine CPXgetcrossdexchcnt is used to access the number of dual 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.

Example

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

Returns:

The routine returns the dual exchange iteration count if a solution exists. If no solution exists, it returns zero.