ILOG CPLEX C++ API 9.0 Reference Manual
ILOG CPLEX C++ API 9.0 Reference Manual
ILOG CPLEX C++ API 9.0 Reference Manual
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
IloCplex<br />
Note:<strong>CPLEX</strong> resizes these arrays for you.<br />
For each variable var[i], cstat[i] gives the IIS status for that variable in the IIS,<br />
where the meaning of cstat[i] is:<br />
IloCplex::Lower the lower bound of the variable participates in the IIS<br />
IloCplex::Upper the upper bound of the variable participates in the IIS<br />
IloCplex::Both both variable bounds participate in the IIS<br />
Similarly, for each range constraint rng[i], rstat[i] gives the IIS status for that<br />
constraint in the IIS, where the meaning of rstat[i] is:<br />
IloCplex::Lower the lower bound of the constraint participates in the IIS<br />
IloCplex::Upper the upper bound of the constraint participates in the IIS<br />
IloCplex::Both range is equality constraint and participates in the IIS.<br />
The statuses IloCplex::Lower and IloCplex::Upper are needed only for<br />
constraints that are truly ranged, that is, where both bounds are finite but different.<br />
By definition, if any of the bounds or constraints participating in the IIS is removed, the<br />
IIS becomes feasible. However, this does not mean that the model also becomes feasible<br />
by doing so. Instead, there may be yet another source of infeasiblity in the model.<br />
If the LP has been proven infeasible but no basis is available, IloCplex automatically<br />
invokes the primal simplex optimizer to compute the basis needed for the IIS-finding<br />
algorithm.<br />
public IloInt getIncumbentNode()<br />
This method returns the node number where the current incumbent was found. If the<br />
invoking IloCplex object is an LP or a QP, 0 is returned.<br />
public IloInt getMax(IloCplex::IntParam parameter)<br />
These method return the maximum allowed value for the parameter parameter.<br />
public IloInt getMin(IloCplex::IntParam parameter)<br />
These method return the minimum allowed value for the parameter parameter.<br />
public IloInt getNbarrierIterations()<br />
This method returns the number of barrier iterations from the last solve.<br />
public IloInt getNbinVars()<br />
This method returns the number of binary variables in the matrix representation of the<br />
active model in the invoking IloCplex object.<br />
<strong>ILOG</strong> <strong>CPLEX</strong> <strong>C++</strong> <strong>API</strong> <strong>9.0</strong> REFERENCE M ANUAL 62