|
Dip
0.92.4
|
#include <DecompModel.h>


Public Member Functions | |
| void | setCounter (const int num) |
| int | getCounter () |
| void | setOsi (OsiSolverInterface *osi) |
| void | setOsiObjCoeff (const double *objCoeff) |
| void | setActiveColBounds (const double *colLB, const double *colUB) |
| void | solveAsMIPSym (DecompSolverResult *result, DecompParam ¶m, bool doExact, bool doCutoff, bool isRoot, double cutoff, double timeLimit) |
| void | solveAsMIPCbc (DecompSolverResult *result, DecompParam ¶m, bool doExact, bool doCutoff, bool isRoot, double cutoff, double timeLimit) |
| void | solveAsMIPCpx (DecompSolverResult *result, DecompParam ¶m, bool doExact, bool doCutoff, bool isRoot, double cutoff, double timeLimit) |
| void | solveAsMIPGrb (DecompSolverResult *result, DecompParam ¶m, bool doExact, bool doCutoff, bool isRoot, double cutoff, double timeLimit) |
| OsiSolverInterface * | getOsi () const |
| void | solveAsMIP (DecompSolverResult *result, DecompParam ¶m, bool doExact, bool doCutoff, bool isRoot, double cutoff, double timeLimit) |
| bool | isPointFeasible (const double *x, const bool isXSparse=false, const int logLevel=0, const double feasVarTol=1.0e-5, const double feasConTol=1.0e-4) |
| DecompSubModel (const DecompModel &appModel) | |
| DecompSubModel & | operator= (const DecompModel &rhs) |
| DecompSubModel (UtilParameters &utilParam) | |
| DecompSubModel (DecompConstraintSet *model, std::string modelName, int blockId, UtilParameters &utilParam) | |
| ~DecompSubModel () | |
Public Member Functions inherited from DecompModel | |
| DecompConstraintSet * | getModel () const |
| const std::string & | getModelName () const |
| const int | getBlockId () const |
| void | setModel (DecompConstraintSet *model) |
| void | setModelName (const std::string modelName) |
| void | setBlockId (const int blockId) |
| DecompModel (const DecompModel &appModel) | |
| DecompModel & | operator= (const DecompModel &rhs) |
| DecompModel (UtilParameters &utilParam) | |
| DecompModel (DecompConstraintSet *model, std::string modelName, int blockId, UtilParameters &utilParam) | |
| virtual | ~DecompModel () |
| DecompModel () | |
| virtual | ~DecompModel () |
Private Attributes | |
| OsiSolverInterface * | m_osi |
| int | m_numCols |
| int * | m_colIndices |
| int | m_counter |
Additional Inherited Members | |
Public Attributes inherited from DecompModel | |
| double * | objCoeff |
| Model data objects (must be defined by users). More... | |
| DecompVarList | vars |
| Model data objects will be used during algos. More... | |
| DecompCutList | cuts |
| DecompVarPool | varpool |
| DecompCutPool | cutpool |
Protected Attributes inherited from DecompModel | |
| DecompConstraintSet * | m_model |
| std::string | m_modelName |
| int | m_blockId |
| UtilParameters * | m_utilParam |
Definition at line 91 of file DecompModel.h.
|
inline |
Definition at line 242 of file DecompModel.h.
|
inline |
Definition at line 255 of file DecompModel.h.
|
inline |
Definition at line 262 of file DecompModel.h.
|
inline |
Definition at line 272 of file DecompModel.h.
References m_colIndices, and m_osi.
|
inline |
Definition at line 99 of file DecompModel.h.
References m_counter.
|
inline |
Definition at line 103 of file DecompModel.h.
References m_counter.
|
inline |
Definition at line 107 of file DecompModel.h.
References OsiSolverInterface::getNumCols(), m_colIndices, m_numCols, m_osi, UtilExceptionMemory, and UtilIotaN().
|
inline |
Definition at line 128 of file DecompModel.h.
References DecompConstraintSet::getMapOrigToSparse(), DecompModel::getModel(), OsiSolverInterface::getNumCols(), DecompConstraintSet::isSparse(), m_colIndices, m_numCols, m_osi, OsiSolverInterface::setObjCoeff(), and OsiSolverInterface::setObjCoeffSet().
|
inline |
Definition at line 149 of file DecompModel.h.
References DecompConstraintSet::activeColumns, DecompConstraintSet::getMapOrigToSparse(), DecompModel::getModel(), DecompConstraintSet::isSparse(), m_osi, OsiSolverInterface::setColBounds(), OsiSolverInterface::setColLower(), and OsiSolverInterface::setColUpper().
| void DecompSubModel::solveAsMIPSym | ( | DecompSolverResult * | result, |
| DecompParam & | param, | ||
| bool | doExact, | ||
| bool | doCutoff, | ||
| bool | isRoot, | ||
| double | cutoff, | ||
| double | timeLimit | ||
| ) |
| void DecompSubModel::solveAsMIPCbc | ( | DecompSolverResult * | result, |
| DecompParam & | param, | ||
| bool | doExact, | ||
| bool | doCutoff, | ||
| bool | isRoot, | ||
| double | cutoff, | ||
| double | timeLimit | ||
| ) |
| void DecompSubModel::solveAsMIPCpx | ( | DecompSolverResult * | result, |
| DecompParam & | param, | ||
| bool | doExact, | ||
| bool | doCutoff, | ||
| bool | isRoot, | ||
| double | cutoff, | ||
| double | timeLimit | ||
| ) |
| void DecompSubModel::solveAsMIPGrb | ( | DecompSolverResult * | result, |
| DecompParam & | param, | ||
| bool | doExact, | ||
| bool | doCutoff, | ||
| bool | isRoot, | ||
| double | cutoff, | ||
| double | timeLimit | ||
| ) |
|
inline |
Definition at line 222 of file DecompModel.h.
References m_osi.
| void DecompSubModel::solveAsMIP | ( | DecompSolverResult * | result, |
| DecompParam & | param, | ||
| bool | doExact, | ||
| bool | doCutoff, | ||
| bool | isRoot, | ||
| double | cutoff, | ||
| double | timeLimit | ||
| ) |
| bool DecompSubModel::isPointFeasible | ( | const double * | x, |
| const bool | isXSparse = false, |
||
| const int | logLevel = 0, |
||
| const double | feasVarTol = 1.0e-5, |
||
| const double | feasConTol = 1.0e-4 |
||
| ) |
|
inline |
Definition at line 250 of file DecompModel.h.
References DecompModel::operator=().
|
private |
Definition at line 93 of file DecompModel.h.
Referenced by getOsi(), setActiveColBounds(), setOsi(), setOsiObjCoeff(), and ~DecompSubModel().
|
private |
Definition at line 94 of file DecompModel.h.
Referenced by setOsi(), and setOsiObjCoeff().
|
private |
Definition at line 95 of file DecompModel.h.
Referenced by setOsi(), setOsiObjCoeff(), and ~DecompSubModel().
|
private |
Definition at line 96 of file DecompModel.h.
Referenced by getCounter(), and setCounter().
1.8.5