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:This is an advanced method. Advanced methods typically demand a profound<br />
understanding of the algorithms used by <strong>ILOG</strong> <strong>CPLEX</strong>. Thus they incur a higher<br />
risk of incorrect behavior in your application, behavior that can be difficult to<br />
debug. Therefore, <strong>ILOG</strong> encourages you to consider carefully whether you can<br />
accomplish the same task by means of other methods instead.<br />
This method adds a set of user cuts to the invoking IloCplex object. Everything said<br />
for addUserCut applies to each of the user cuts given in array con.<br />
public static IloCplex::Goal Apply(IloCplex cplex,<br />
IloCplex::Goal goal,<br />
IloCplex::NodeEvaluator eval)<br />
This method is used to create and return a goal that applies the node selection strategy<br />
defined by eval to the search strategy defined by goal. The resulting goal will use the<br />
node strategy defined by eval for the subtree generated by goal.<br />
public void basicPresolve(const IloNumVarArray vars,<br />
IloNumArray redlb,<br />
IloNumArray redub,<br />
const IloRangeArray rngs,<br />
IloBoolArray redundant)<br />
This method can be used to compute tighter bounds for the model variables and to detect<br />
redundant constraints in the model extracted to the invoking IloCplex object. For<br />
every variable specified in parameter vars, it will return possibly tightened bounds in<br />
the corresponding elements of arrays redlb and redub. Similarly, for every<br />
constraint specified in parameter rngs, this method will return a boolean indicating<br />
whether or not it is redundant in the model in the corresponding element of array<br />
redundant.<br />
public void clearCuts()<br />
This method deletes all cuts that have previously been added to the invoking<br />
IloCplex object with the methods addCut and addCuts.<br />
public void clearLazyConstraints()<br />
Note:This is an advanced method. Advanced methods typically demand a profound<br />
understanding of the algorithms used by <strong>ILOG</strong> <strong>CPLEX</strong>. Thus they incur a higher<br />
risk of incorrect behavior in your application, behavior that can be difficult to<br />
debug. Therefore, <strong>ILOG</strong> encourages you to consider carefully whether you can<br />
accomplish the same task by means of other methods instead.<br />
<strong>ILOG</strong> <strong>CPLEX</strong> <strong>C++</strong> <strong>API</strong> <strong>9.0</strong> REFERENCE M ANUAL 55