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::DeleteMode<br />

IloCplex::DeleteMode<br />

Category<br />

Definition File<br />

Include Files<br />

Synopsis<br />

Description<br />

See Also<br />

Fields<br />

Inner Enumeration<br />

ilocplexi.h<br />

ilcplex/ilocplex.h<br />

DeleteMode{<br />

LeaveBasis,<br />

FixBasis<br />

};<br />

This enumeration lists the possible settings for the delete mode of IloCplex as<br />

controlled by the method setDeleteMode and queried by the method<br />

getDeleteMode.<br />

◆ IloCplex::LeaveBasis<br />

With the default setting IloCplex::LeaveBasis, an existing basis will remain<br />

unchanged if variables or constraints are removed from the loaded LP model. This<br />

choice generally renders the basis unusable for a restart when <strong>CPLEX</strong> is solving the<br />

modified LP and the advance indicator (parameter IloCplex::AdvInd) is set to<br />

IloTrue.<br />

◆ IloCplex::FixBasis<br />

In contrast, with delete mode set to IloCplex::FixBasis, the invoking object will<br />

do basis pivots in order to maintain a valid basis when variables or constraints are<br />

removed. This choice makes the delete operation more computation-intensive, but may<br />

give a better starting point for reoptimization after modification of the extracted model.<br />

If no basis is present in the invoking object, the setting of the delete mode has no effect.<br />

IloCplex<br />

LeaveBasis<br />

FixBasis<br />

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

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

Saved successfully!

Ooh no, something went wrong!