CPXgetcrosspexchcnt


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.

Return Value

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

Synopsis

  int CPXgetcrosspexchcnt (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 = CPXgetcrosspexchcnt (env, lp);


Previous Page: CPXgetcrossdpushcnt Return to Top Next Page: CPXgetcrossppushcnt