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()
.
The routine returns a zero on success, and a nonzero if an error occurs.
int CPXfindiis (CPXCENVptr env, CPXLPptr lp, int *iisnumrows_p, int *iisnumcols_p); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
A pointer to an integer to contain the number of rows in the IIS.
A pointer to an integer to contain the number of columns in the IIS.
status = CPXfindiis (env, lp, &iisnumrows, &iisnumcols); |