CPXgetcrossdexchcnt


Description

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.

Return Value

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

Synopsis

  int CPXgetcrossdexchcnt (CPXCENVptr env,
                           CPXCLPptr lp);

Arguments

CPXCENVptr env

The pointer to the CPLEX environment as returned by CPXopenCPLEX().

CPXCLPptr lp

A pointer to a CPLEX problem object as returned by CPXcreateprob().

Example

  itcnt = CPXgetcrossdexchcnt (env, lp);


Previous Page: CPXgetcovcnt Return to Top Next Page: CPXgetcrossdpushcnt