#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) |
| OsiSolverInterface * | getOsi () const |
| void | solveOsiAsIp (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) |
| DecompAlgoModel (const DecompAppModel &appModel) | |
| DecompAlgoModel & | operator= (const DecompAppModel &rhs) |
| DecompAlgoModel () | |
| DecompAlgoModel (DecompConstraintSet *model, std::string modelName, int blockId) | |
| ~DecompAlgoModel () | |
Private Attributes | |
| OsiSolverInterface * | m_osi |
| int | m_numCols |
| int * | m_colIndices |
| int | m_counter |
| int | m_ws_tag |
| CoinWarmStart * | m_ws |
Definition at line 85 of file DecompModel.h.
| DecompAlgoModel::DecompAlgoModel | ( | const DecompAppModel & | appModel | ) | [inline] |
Definition at line 209 of file DecompModel.h.
| DecompAlgoModel::DecompAlgoModel | ( | ) | [inline] |
Definition at line 227 of file DecompModel.h.
| DecompAlgoModel::DecompAlgoModel | ( | DecompConstraintSet * | model, | |
| std::string | modelName, | |||
| int | blockId | |||
| ) | [inline] |
Definition at line 239 of file DecompModel.h.
| DecompAlgoModel::~DecompAlgoModel | ( | ) | [inline] |
Definition at line 253 of file DecompModel.h.
References m_colIndices, and m_osi.
| void DecompAlgoModel::setCounter | ( | const int | num | ) | [inline] |
Definition at line 98 of file DecompModel.h.
References m_counter.
| int DecompAlgoModel::getCounter | ( | ) | [inline] |
Definition at line 102 of file DecompModel.h.
References m_counter.
| void DecompAlgoModel::setOsi | ( | OsiSolverInterface * | osi | ) | [inline] |
Definition at line 106 of file DecompModel.h.
References OsiSolverInterface::getNumCols(), m_colIndices, m_numCols, m_osi, UtilExceptionMemory, and UtilIotaN().
| void DecompAlgoModel::setOsiObjCoeff | ( | const double * | objCoeff | ) | [inline] |
Definition at line 127 of file DecompModel.h.
References DecompConstraintSet::getMapOrigToSparse(), DecompAppModel::getModel(), OsiSolverInterface::getNumCols(), DecompConstraintSet::isSparse(), m_colIndices, m_numCols, m_osi, OsiSolverInterface::setObjCoeff(), and OsiSolverInterface::setObjCoeffSet().
| void DecompAlgoModel::setActiveColBounds | ( | const double * | colLB, | |
| const double * | colUB | |||
| ) | [inline] |
Definition at line 148 of file DecompModel.h.
References DecompConstraintSet::activeColumns, DecompConstraintSet::getMapOrigToSparse(), DecompAppModel::getModel(), DecompConstraintSet::isSparse(), m_osi, OsiSolverInterface::setColBounds(), OsiSolverInterface::setColLower(), and OsiSolverInterface::setColUpper().
| OsiSolverInterface* DecompAlgoModel::getOsi | ( | ) | const [inline] |
Definition at line 189 of file DecompModel.h.
References m_osi.
| void DecompAlgoModel::solveOsiAsIp | ( | DecompSolverResult * | result, | |
| DecompParam & | param, | |||
| bool | doExact, | |||
| bool | doCutoff, | |||
| bool | isRoot, | |||
| double | cutoff, | |||
| double | timeLimit | |||
| ) |
| bool DecompAlgoModel::isPointFeasible | ( | const double * | x, | |
| const bool | isXSparse = false, |
|||
| const int | logLevel = 0, |
|||
| const double | feasVarTol = 1.0e-5, |
|||
| const double | feasConTol = 1.0e-4 | |||
| ) |
| DecompAlgoModel& DecompAlgoModel::operator= | ( | const DecompAppModel & | rhs | ) | [inline] |
Definition at line 222 of file DecompModel.h.
OsiSolverInterface* DecompAlgoModel::m_osi [private] |
Definition at line 87 of file DecompModel.h.
Referenced by getOsi(), setActiveColBounds(), setOsi(), setOsiObjCoeff(), and ~DecompAlgoModel().
int DecompAlgoModel::m_numCols [private] |
Definition at line 91 of file DecompModel.h.
Referenced by setOsi(), and setOsiObjCoeff().
int* DecompAlgoModel::m_colIndices [private] |
Definition at line 92 of file DecompModel.h.
Referenced by setOsi(), setOsiObjCoeff(), and ~DecompAlgoModel().
int DecompAlgoModel::m_counter [private] |
Definition at line 93 of file DecompModel.h.
Referenced by getCounter(), and setCounter().
int DecompAlgoModel::m_ws_tag [private] |
Definition at line 94 of file DecompModel.h.
CoinWarmStart* DecompAlgoModel::m_ws [private] |
Definition at line 95 of file DecompModel.h.
1.6.1