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 />
When IloCplex is not diving but picking an unexplored node from the tree, several<br />
options are available that can be controlled with the parameter<br />
IloCplex::NodeSel. Again, IloCplex offers a callback class,<br />
IloCplex::NodeCallbackI, to give the user full control over this selection. With<br />
goals, objects of type IloCplex::NodeEvaluatorI can be used to define your<br />
own selection strategy.<br />
See also IloAlgorithm in the <strong>ILOG</strong> Concert <strong>Reference</strong> <strong>Manual</strong>.<br />
See also Goals among the Concepts in this manual. See also goals in the <strong>ILOG</strong> <strong>CPLEX</strong><br />
User's <strong>Manual</strong>.<br />
See Also<br />
Constructors<br />
IloCplex::Algorithm, IloCplex::BasisStatus,<br />
IloCplex::BasisStatusArray, IloCplex::BranchDirection,<br />
IloCplex::BranchDirectionArray, IloCplex::CallbackI,<br />
IloCplex::DeleteMode, IloCplex::DualPricing,<br />
IloCplex::Exception, IloCplex::IISStatus,<br />
IloCplex::IISStatusArray, IloCplex::IntParam,<br />
IloCplex::MIPEmphasisType, IloCplex::NodeSelect,<br />
IloCplex::NumParam, IloCplex::PrimalPricing,<br />
IloCplex::Quality, IloCplex::CplexStatus,<br />
IloCplex::StringParam, IloCplex::VariableSelect,<br />
IloCplex::GoalI<br />
public IloCplex(IloEnv env)<br />
This constructor creates an <strong>ILOG</strong> <strong>CPLEX</strong> algorithm. The new IloCplex object has no<br />
IloModel loaded (or extracted) to it.<br />
public IloCplex(const IloModel model)<br />
This constructor creates an <strong>ILOG</strong> <strong>CPLEX</strong> algorithm and extracts model for that<br />
algorithm.<br />
When you create an algorithm (an instance of IloCplex, for example) and extract a<br />
model for it, you can write either this line:<br />
IloCplex cplex(model);<br />
or these two lines:<br />
IloCplex cplex(env);<br />
cplex.extract(model);<br />
Methods<br />
public IloConstraint addCut(IloConstraint con)<br />
<strong>ILOG</strong> <strong>CPLEX</strong> <strong>C++</strong> <strong>API</strong> <strong>9.0</strong> REFERENCE M ANUAL 52