The routine CPXdisplayiis()
is used to send IIS output to a CPLEX message channel. The IIS must already have been computed using a call to CPXfindiis()
or CPXiiswrite()
. Two different levels of output are available, corresponding to the output written to the log file and an IIS file in the CPLEX Interactive Optimizer. Thus, CPXdisplayiis()
enables the user to use CPLEX IIS output formats in a Callable Library application. If neither of these formats is appropriate, the information provided by the routine CPXgetiis()
can be used to create customized IIS output.
The routine returns a zero on success, and a nonzero if an error occurs.
int CPXdisplayiis (CPXCENVptr env, CPXCLPptr lp, CPXCHANNELptr channel, int display); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
The pointer to the message channel receiving the IIS output.
An integer indicating the type of output desired
Value | Symbolic Constant | Meaning |
1 | CPXIIS_TERSE | Displays the names of the rows and columns in the IIS |
2 | CPXIIS_VERBOSE | Displays an LP format file containing the IIS |
.
status = CPXdisplayiis (env, lp, mychannel, CPXIIS_TERSE); |