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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

IloCplex<br />

This method deletes all lazy constraints added to the invoking IloCplex object with<br />

the methods addLazyConstraint and addLazyConstraints.<br />

This method is equivalent to clearCuts.<br />

public void clearModel()<br />

This method can be used to unextract the model that is currently extracted to the<br />

invoking IloCplex object.<br />

public void clearUserCuts()<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 deletes all user cuts that have previously been added to the invoking<br />

IloCplex object with the methods addUserCut and addUserCuts.<br />

public void delDirection(IloNumVar var)<br />

This method removes any existing branching direction assignment from variable var.<br />

public void delDirections(const IloNumVarArray var)<br />

This method removes any existing branching direction assignments from all variables in<br />

the array var.<br />

public void delPriorities(const IloNumVarArray var)<br />

This method removes any existing priority order assignments from all variables in the<br />

array var.<br />

public void delPriority(IloNumVar var)<br />

This method removes any existing priority order assignment from variable var.<br />

public void exportModel(const char * filename)<br />

This method writes the model that has been extracted to the invoking algorithm in the<br />

file filename. The name of the file must include an extension that <strong>ILOG</strong> <strong>CPLEX</strong><br />

recognizes as a file format for a model. Supported formats are .sav, .lp and .mps.<br />

See the reference manual <strong>ILOG</strong> <strong>CPLEX</strong> File Formats for more detail and the <strong>ILOG</strong><br />

<strong>CPLEX</strong> User's <strong>Manual</strong> for additional information about file formats.<br />

public IloBool feasOpt(const IloRangeArray rngs,<br />

IloNumArray rnglb,<br />

IloNumArray rngub,<br />

IloBool optimize)<br />

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

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

Saved successfully!

Ooh no, something went wrong!