ILOG CPLEX C++ API 9.0 Reference Manual
ILOG CPLEX C++ API 9.0 Reference Manual
ILOG CPLEX C++ API 9.0 Reference Manual
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
IloCplex<br />
its subgoals. See the concept Goals and the nested class<br />
more information.<br />
public IloBool solve()<br />
IloCplex::GoalI for<br />
This method solves the model currently extracted to the invoking IloCplex object.<br />
The method returns IloTrue if it finds a solution (not necessarily an optimal one).<br />
public IloBool solveFixed()<br />
After the invoking algorithm has solved the extracted MIP model to a feasible (but not<br />
necessarily optimal) solution as a MIP, this member function solves the relaxation of the<br />
model obtained by fixing all the integer variables of the extracted MIP to the values of<br />
the current solution.<br />
public IloCplex::Callback use(IloCplex::Callback cb)<br />
This method instructs the invoking IloCplex object to use cb as a callback. If a<br />
callback of the same type as cb is already being used by the invoking IloCplex<br />
object, the previously used callback will be overridden. If the callback object cb is<br />
already being used by another IloCplex object, a copy of cb will be used instead. A<br />
handle to the callback that is installed in the invoking IloCplex object is returned. See<br />
IloCplex::CallbackI for a discussion of how to implement callbacks.<br />
public void writeBasis(const char * name)<br />
Writes the current Simplex basis to the file indicated by name.<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 writeMIPStart(const char * name)<br />
Writes MIP start information to a file indicated by name<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 writeOrder(const char * filename)<br />
This method writes a priority order to the file filename. If a priority order has been<br />
associated with the <strong>CPLEX</strong> problem object, or the parameter MipOrdType is nonzero,<br />
or a MIP feasible solution exists, this method writes the priority order into the indicated<br />
file.<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 writeParam(const char * name)<br />
Writes the parameter name and its current setting into the file indicated by name for all<br />
the <strong>CPLEX</strong> parameters that are not currently set at their default.<br />
<strong>ILOG</strong> <strong>CPLEX</strong> <strong>C++</strong> <strong>API</strong> <strong>9.0</strong> REFERENCE M ANUAL 74