Purpose
Get the
number of independent IIS in an infeasible LP problem.
Synopsis
int XPRBgetnumiis(XPRBprob prob);
Argument
prob
|
Reference to a problem.
|
Return value
Number of independent IIS found by Xpress-Optimizer, or a negative value in case of error.
Example
The following gets the number of IIS for a problem.
XPRBprob expl2;
int num;
expl2 = XPRBnewprob("example2");
...
XPRBsolve(expl2, "");
if(XPRBgetlpstat(expl2)==XPRB_LP_INFEAS)
num = XPRBgetnumiis(expl2);
Further information
This function returns the number of independent IIS (irreducible infeasible sets) of an infeasible LP problem. After retrieving
the number of IIS, the variables and constraints in each set can be obtained with function
XPRBgetiis.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.