Description
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 interactive CPLEX Linear 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 CPXgetiis() routine can be used to create customized IIS output.Return Value
The routine returns a zero on success, and a nonzero if an error occurs.Synopsis
int CPXdisplayiis (CPXENVptr env,
CPXLPptr lp,
CPXCHANNELptr channel,
int display);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXLPptr lpA pointer to a CPLEX LP problem object as returned by
CPXcreateprob().
CPXCHANNELptr channelThe pointer to the message channel receiving the IIS output.
int displayAn 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);