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 />
This method creates and returns a goal that puts the search specified by goal under the<br />
limit defined by limit. Only the subtree controlled by goal will be subjected to limit<br />
limit.<br />
public void presolve(IloCplex::Algorithm alg)<br />
This method performs Presolve on the model. The enumeration alg tells Presolve<br />
which algorithm is intended to be used on the reduced model; NoAlg should be<br />
specified for MIP models.<br />
public void qpIndefCertificate(IloNumVarArray var,<br />
IloNumArray x)<br />
The quadratic objective terms in a QP model must form a positive semi-definite Q<br />
matrix (negative semi-definite for maximization). If IloCplex finds that this is not<br />
true, it will discontinue the optimization. In such cases, the qpIndefCertificate<br />
method can be used to compute assignments (returned in array x) to all variables<br />
(returned in array var) such that the quadratic term of the objective function evaluates<br />
to a negative value (x'Q x < 0 in matrix terms) to prove the indefiniteness.<br />
Note: <strong>CPLEX</strong> resizes these arrays for you.<br />
public void readBasis(const char * name)<br />
Reads a simplex basis from the BAS file indicated by name, and copies that basis into<br />
the invoking IloCplex object. The parameter AdvInd must be set to a nonzero value<br />
(e.g. its default setting) for the simplex basis to be used to start a subsequent<br />
optimization with one of the Simplex algorithms.<br />
By convention, the file extension is .bas. The BAS file format is documented in the<br />
reference manual <strong>ILOG</strong> <strong>CPLEX</strong> File Formats.<br />
public void readMIPStart(const char * name)<br />
Reads the MST file indicated by name and copies the MIP start information into the<br />
invoking IloCplex object. The parameter MIPStart must be turned on in order for<br />
the MIP start information to be used to with a subsequent MIP optimization. The default<br />
value for the parameter is off.<br />
By convention, the file extension is .mst. The MST file format is documented in the<br />
reference manual <strong>ILOG</strong> <strong>CPLEX</strong> File Formats.<br />
public void readOrder(const char * filename)<br />
This method reads a priority order from an file in ORD format into the invoking<br />
IloCplex object. The names in the ORD file must match the names in the active<br />
model. The priority order will be associated with the model. The parameter<br />
<strong>ILOG</strong> <strong>CPLEX</strong> <strong>C++</strong> <strong>API</strong> <strong>9.0</strong> REFERENCE M ANUAL 70