gurobi_iis | ( model, params ) |
Computes an IIS
Arguments:
model: The model struct must contain a valid Gurobi model. See the gurobi function for a description of model's required fields and values.
params: The params struct may contain Gurobi parameters. See the gurobi function for a description of the param's fields and values.
Example usage:
clear model params model = gurobi_read('examples/data/klein1.mps') params.resultfile = 'myiis.ilp'; iis = gurobi_iis(model, params);\
The IIS result
The gurobi_iis
function returns a struct iis
, with
various results stored in its named components. The specific results
that are available depend on the type of model.
The iis
struct will always contain the following fields
If your model contains SOS constraints the IIS struct will contain the following field:
If your model contains cones or quadratic constraints the IIS struct will contain the following field: