CPXfindiis


Description

The routine CPXfindiis() is used to determine an irreducibly inconsistent set (IIS) for an infeasible LP problem. Upon successful completion, CPXfindiis() returns the number of rows and columns in the IIS. To obtain information on the individual rows and columns, use the routine CPXgetiis(), CPXiiswrite() or CPXdisplayiis().

Return Value

The routine returns a zero on success, and a nonzero if an error occurs.

Synopsis

  int CPXfindiis (CPXCENVptr env,
                  CPXLPptr lp,
                  int *iisnumrows_p,
                  int *iisnumcols_p);

Arguments

CPXCENVptr env

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

CPXLPptr lp

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

int *iisnumrows_p

A pointer to an integer to contain the number of rows in the IIS.

int *iisnumcols_p

A pointer to an integer to contain the number of columns in the IIS.

Example

  status = CPXfindiis (env, lp, &iisnumrows, &iisnumcols);


Previous Page: CPXfclose Return to Top Next Page: CPXflushchannel