gurobi_iis | ( model, params=NULL ) |
Compute an Irreducible Inconsistent Subsystem (IIS).
An IIS is a subset of the constraints and variable bounds with the following properties:
You can obtain information about the outcome of the IIS computation from the returned IIS result (described below). Note that this method can be used to compute IISs for both continuous and MIP models.
Arguments:
model: The model list must contain a valid Gurobi model. See the model argument section for more information.
params: The params list, when provided, contains a list of modified Gurobi parameters. See the params argument section for more information.
Example usage:
model <- gurobi_read('examples/data/klein1.mps')
iis <- gurobi_iis(model)
Return value:
The gurobi_iis() function returns a list, with various results stored in its named components. The specific results that are available depend on the type of model.
The returned list will always contain the following named components:
If your model contains general constraints, the returned list will also contain the following named components:
If your model contains SOS constraints, the returned list will also contain the following named component:
If your model contains quadratic constraints, the returned list will also contain the following named component: