CPXdisplayiis


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 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.

Return Value

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

Synopsis

  int CPXdisplayiis (CPXCENVptr env,
                     CPXCLPptr lp,
                     CPXCHANNELptr channel,
                     int display);

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().

CPXCHANNELptr channel

The pointer to the message channel receiving the IIS output.

int display

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 

.

Example

  status = CPXdisplayiis (env, lp, mychannel, CPXIIS_TERSE);


Previous Page: CPXdisconnectchannel Return to Top Next Page: CPXdperwrite