30.01.2015 Views

ILOG CPLEX C++ API 9.0 Reference Manual

ILOG CPLEX C++ API 9.0 Reference Manual

ILOG CPLEX C++ API 9.0 Reference Manual

SHOW MORE
SHOW LESS

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 />

MipOrdType must be nonzero, for the next invocation of the method<br />

IloCplex::solve to take the order into account.<br />

By convention, the file extension is .ord. The ORD file format is documented in the<br />

reference manual <strong>ILOG</strong> <strong>CPLEX</strong> File Formats.<br />

public void readParam(const char * name)<br />

Reads parameters and their settings from the file indicated by name and applies them to<br />

the invoking IloCplex object. Parameters not listed in the parameter file will be reset<br />

to their default setting.<br />

By convention, the file extension is .prm. The PRM file format is documented in the<br />

reference manual <strong>ILOG</strong> <strong>CPLEX</strong> File Formats.<br />

public void readTree(const char * name)<br />

Reads branch-and-bound progress information from a prior run, contained in the TRE<br />

file indicated by name, into a <strong>CPLEX</strong> problem object. The parameter AdvInd must set<br />

to a nonzero value be on (e.g. its default value), in order for the tree to be used for<br />

starting a subsequent optimization.<br />

By convention, the file extension is .tre. The TRE file format is documented in the<br />

reference manual <strong>ILOG</strong> <strong>CPLEX</strong> File Formats.<br />

public void readVectors(const char * name)<br />

Reads a barrier solution from the VEC file indicated by name and copies this<br />

information into a <strong>CPLEX</strong> problem object. This routine is typically used to initiate a<br />

crossover from the barrier solution. The parameter AdvInd must set to a nonzero value<br />

(e.g. its default setting) in order for the vector file to take effect for starting a crossover at<br />

the next invokation of a simplex algorithm with method solve.<br />

By convention, the file extension is .vec. The VEC file format is documented in the<br />

reference manual <strong>ILOG</strong> <strong>CPLEX</strong> File Formats.<br />

public void setBasisStatuses(const IloCplex::BasisStatusArray cstat,<br />

const IloNumVarArray var,<br />

const IloCplex::BasisStatusArray rstat,<br />

const IloConstraintArray con)<br />

This method uses the array cstats to set the basis status of the variables in the array<br />

var; it uses the array rstats to set the basis status of the ranges in the array con.<br />

public void setDefaults()<br />

This method resets all <strong>CPLEX</strong> parameters to their default values.<br />

public void setDeleteMode(IloCplex::DeleteMode mode)<br />

This method sets the delete mode in the invoking IloCplex object to mode.<br />

public void setDirection(IloNumVar var,<br />

IloCplex::BranchDirection dir)<br />

<strong>ILOG</strong> <strong>CPLEX</strong> <strong>C++</strong> <strong>API</strong> <strong>9.0</strong> REFERENCE M ANUAL 71

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!