|
Dip
0.92.4
|
#include <DecompConstraintSet.h>

Public Member Functions | |
| void | setSparse (const int numColsOrig) |
| const bool | isSparse () const |
| const CoinPackedMatrix * | getMatrix () const |
| const int | getNumRows () const |
| const int | getNumCols () const |
| const int | getNumColsOrig () const |
| const int | getNumInts () const |
| const std::vector< int > & | getActiveColumns () const |
| const std::vector< std::string > & | getRowNames () const |
| const std::vector< std::string > & | getColNames () const |
| std::vector< std::string > & | getRowNamesMutable () |
| std::vector< std::string > & | getColNamesMutable () |
| const char * | getIntegerMark () |
| const int * | getIntegerVars () |
| const double * | getColLB () const |
| const double * | getColUB () const |
| const double * | getRowLB () const |
| const double * | getRowUB () const |
| const bool | hasPrepRun () const |
| const std::map< int, int > & | getMapOrigToSparse () const |
| const std::map< int, int > & | getMapSparseToOrig () const |
| const std::vector< int > & | getMasterOnlyCols () const |
| void | prepareModel (double infinity, bool modelIsCore=false) |
| void | createRowHash (double infinity) |
| void | checkSenseAndBound (double infinity) |
| void | sensesToBounds (double infinity) |
| void | boundsToSenses (double infinity) |
| void | fixNonActiveColumns () |
| CoinPackedMatrix * | sparseToOrigMatrix () |
| void | appendRow (CoinPackedVector &row, double loBound, double upBound) |
| void | appendRow (CoinPackedVector &row, double loBound, double upBound, std::string rowName) |
| void | pushCol (const double loBound, const double upBound, const bool isInteger=false, const int origIndex=-1) |
| void | reserve (const int nCols, const int nRows) |
| DecompConstraintSet () | |
| ~DecompConstraintSet () | |
| const int | getNumRows () const |
| const int | getNumCols () const |
| void | createRowHash () |
| void | checkSenseAndBound () |
| void | sensesToBounds () |
| void | boundsToSenses () |
| DecompConstraintSet () | |
| ~DecompConstraintSet () | |
Public Attributes | |
| CoinPackedMatrix * | M |
| int | nBaseRowsOrig |
| int | nBaseRows |
| std::vector< std::string > | rowHash |
| std::vector< char > | rowSense |
| std::vector< double > | rowRhs |
| std::vector< double > | rowLB |
| std::vector< double > | rowUB |
| std::vector< double > | colLB |
| std::vector< double > | colUB |
| std::vector< int > | integerVars |
| std::vector< char > | integerMark |
| std::vector< std::string > | colNames |
| std::vector< std::string > | rowNames |
| std::vector< int > | activeColumns |
| std::set< int > | activeColumnsS |
| std::vector< int > | masterOnlyCols |
| bool | prepHasRun |
| std::vector< CoinBigIndex > | m_rowBeg |
| std::vector< int > | m_rowInd |
| std::vector< double > | m_rowVal |
| bool | m_isSparse |
| int | m_numColsOrig |
| std::map< int, int > | m_origToSparse |
| std::map< int, int > | m_sparseToOrig |
| double | m_infinity |
| vector< string > | rowHash |
| vector< char > | rowSense |
| vector< double > | rowRhs |
| vector< double > | rowLB |
| vector< double > | rowUB |
| vector< double > | colLB |
| vector< double > | colUB |
| vector< int > | integerVars |
Definition at line 30 of file DecompConstraintSet.h.
|
inline |
Definition at line 197 of file DecompConstraintSet.h.
|
inline |
Definition at line 207 of file DecompConstraintSet.h.
References M, and UTIL_DELPTR.
|
inline |
Definition at line 68 of file DecompConstraintSet.h.
|
inline |
Definition at line 82 of file DecompConstraintSet.h.
References M, and UTIL_DELPTR.
|
inline |
Definition at line 65 of file DecompConstraintSet.h.
References m_isSparse, and m_numColsOrig.
|
inline |
Definition at line 69 of file DecompConstraintSet.h.
References m_origToSparse.
Referenced by getNumColsOrig(), DecompSubModel::setActiveColBounds(), and DecompSubModel::setOsiObjCoeff().
|
inline |
Definition at line 72 of file DecompConstraintSet.h.
References M.
|
inline |
Definition at line 75 of file DecompConstraintSet.h.
References CoinPackedMatrix::getNumRows(), M, and rowLB.
Referenced by AlpsDecompModel::getNumCoreRows().
|
inline |
Definition at line 78 of file DecompConstraintSet.h.
References colLB, CoinPackedMatrix::getNumCols(), and M.
Referenced by getNumColsOrig(), and AlpsDecompModel::getNumCoreCols().
|
inline |
Definition at line 81 of file DecompConstraintSet.h.
References getNumCols(), isSparse(), and m_numColsOrig.
|
inline |
Definition at line 84 of file DecompConstraintSet.h.
References integerVars.
|
inline |
Definition at line 87 of file DecompConstraintSet.h.
References activeColumns.
|
inline |
Definition at line 90 of file DecompConstraintSet.h.
References rowNames.
Referenced by AlpsDecompModel::getRowNames().
|
inline |
Definition at line 93 of file DecompConstraintSet.h.
References colNames.
Referenced by AlpsDecompModel::getColNames(), and AlpsDecompSolution::print().
|
inline |
Definition at line 96 of file DecompConstraintSet.h.
References rowNames.
|
inline |
Definition at line 99 of file DecompConstraintSet.h.
References colNames.
|
inline |
Definition at line 102 of file DecompConstraintSet.h.
References integerMark.
|
inline |
Definition at line 105 of file DecompConstraintSet.h.
References integerVars.
|
inline |
Definition at line 108 of file DecompConstraintSet.h.
References colLB.
|
inline |
Definition at line 111 of file DecompConstraintSet.h.
References colUB.
|
inline |
Definition at line 114 of file DecompConstraintSet.h.
References rowLB.
|
inline |
Definition at line 117 of file DecompConstraintSet.h.
References rowUB.
|
inline |
Definition at line 120 of file DecompConstraintSet.h.
References prepHasRun.
Referenced by DecompApp::setModelCore().
|
inline |
Definition at line 123 of file DecompConstraintSet.h.
References m_origToSparse.
Referenced by DecompSubModel::setActiveColBounds(), and DecompSubModel::setOsiObjCoeff().
|
inline |
Definition at line 126 of file DecompConstraintSet.h.
References m_sparseToOrig.
|
inline |
Definition at line 129 of file DecompConstraintSet.h.
References masterOnlyCols.
| void DecompConstraintSet::prepareModel | ( | double | infinity, |
| bool | modelIsCore = false |
||
| ) |
Referenced by DecompApp::setModelCore().
| void DecompConstraintSet::createRowHash | ( | double | infinity | ) |
| void DecompConstraintSet::checkSenseAndBound | ( | double | infinity | ) |
| void DecompConstraintSet::sensesToBounds | ( | double | infinity | ) |
| void DecompConstraintSet::boundsToSenses | ( | double | infinity | ) |
| void DecompConstraintSet::fixNonActiveColumns | ( | ) |
| CoinPackedMatrix* DecompConstraintSet::sparseToOrigMatrix | ( | ) |
|
inline |
Definition at line 143 of file DecompConstraintSet.h.
References CoinPackedMatrix::appendRow(), M, rowLB, and rowUB.
Referenced by appendRow().
|
inline |
Definition at line 157 of file DecompConstraintSet.h.
References appendRow(), and rowNames.
|
inline |
Definition at line 165 of file DecompConstraintSet.h.
References colLB, colUB, integerVars, m_isSparse, m_origToSparse, and m_sparseToOrig.
|
inline |
Definition at line 188 of file DecompConstraintSet.h.
References colLB, colUB, M, CoinPackedMatrix::reserve(), rowLB, and rowUB.
|
inline |
Definition at line 54 of file DecompConstraintSet.h.
References CoinPackedMatrix::getNumRows(), and M.
|
inline |
Definition at line 57 of file DecompConstraintSet.h.
References CoinPackedMatrix::getNumCols(), and M.
| void DecompConstraintSet::createRowHash | ( | ) |
| void DecompConstraintSet::checkSenseAndBound | ( | ) |
| void DecompConstraintSet::sensesToBounds | ( | ) |
| void DecompConstraintSet::boundsToSenses | ( | ) |
| CoinPackedMatrix * DecompConstraintSet::M |
Definition at line 32 of file DecompConstraintSet.h.
Referenced by appendRow(), getMatrix(), getNumCols(), getNumRows(), reserve(), and ~DecompConstraintSet().
| int DecompConstraintSet::nBaseRowsOrig |
Definition at line 33 of file DecompConstraintSet.h.
| int DecompConstraintSet::nBaseRows |
Definition at line 34 of file DecompConstraintSet.h.
| std::vector<std::string> DecompConstraintSet::rowHash |
Definition at line 35 of file DecompConstraintSet.h.
| std::vector<char> DecompConstraintSet::rowSense |
Definition at line 36 of file DecompConstraintSet.h.
| std::vector<double> DecompConstraintSet::rowRhs |
Definition at line 37 of file DecompConstraintSet.h.
| std::vector<double> DecompConstraintSet::rowLB |
Definition at line 38 of file DecompConstraintSet.h.
Referenced by appendRow(), getNumRows(), getRowLB(), and reserve().
| std::vector<double> DecompConstraintSet::rowUB |
Definition at line 39 of file DecompConstraintSet.h.
Referenced by appendRow(), getRowUB(), and reserve().
| std::vector<double> DecompConstraintSet::colLB |
Definition at line 40 of file DecompConstraintSet.h.
Referenced by getColLB(), getNumCols(), pushCol(), and reserve().
| std::vector<double> DecompConstraintSet::colUB |
Definition at line 41 of file DecompConstraintSet.h.
Referenced by getColUB(), pushCol(), and reserve().
| std::vector<int> DecompConstraintSet::integerVars |
Definition at line 42 of file DecompConstraintSet.h.
Referenced by getIntegerVars(), getNumInts(), and pushCol().
| std::vector<char> DecompConstraintSet::integerMark |
Definition at line 43 of file DecompConstraintSet.h.
Referenced by getIntegerMark().
| std::vector<std::string> DecompConstraintSet::colNames |
Definition at line 44 of file DecompConstraintSet.h.
Referenced by getColNames(), and getColNamesMutable().
| std::vector<std::string> DecompConstraintSet::rowNames |
Definition at line 45 of file DecompConstraintSet.h.
Referenced by appendRow(), getRowNames(), and getRowNamesMutable().
| std::vector<int> DecompConstraintSet::activeColumns |
Definition at line 46 of file DecompConstraintSet.h.
Referenced by getActiveColumns(), and DecompSubModel::setActiveColBounds().
| std::set<int> DecompConstraintSet::activeColumnsS |
Definition at line 47 of file DecompConstraintSet.h.
| std::vector<int> DecompConstraintSet::masterOnlyCols |
Definition at line 48 of file DecompConstraintSet.h.
Referenced by getMasterOnlyCols().
| bool DecompConstraintSet::prepHasRun |
Definition at line 49 of file DecompConstraintSet.h.
Referenced by hasPrepRun().
| std::vector<CoinBigIndex> DecompConstraintSet::m_rowBeg |
Definition at line 53 of file DecompConstraintSet.h.
| std::vector<int > DecompConstraintSet::m_rowInd |
Definition at line 54 of file DecompConstraintSet.h.
| std::vector<double > DecompConstraintSet::m_rowVal |
Definition at line 55 of file DecompConstraintSet.h.
| bool DecompConstraintSet::m_isSparse |
Definition at line 58 of file DecompConstraintSet.h.
Referenced by pushCol(), and setSparse().
| int DecompConstraintSet::m_numColsOrig |
Definition at line 59 of file DecompConstraintSet.h.
Referenced by getNumColsOrig(), and setSparse().
| std::map<int, int> DecompConstraintSet::m_origToSparse |
Definition at line 60 of file DecompConstraintSet.h.
Referenced by getMapOrigToSparse(), isSparse(), and pushCol().
| std::map<int, int> DecompConstraintSet::m_sparseToOrig |
Definition at line 61 of file DecompConstraintSet.h.
Referenced by getMapSparseToOrig(), and pushCol().
| double DecompConstraintSet::m_infinity |
Definition at line 62 of file DecompConstraintSet.h.
| vector<string> DecompConstraintSet::rowHash |
Definition at line 37 of file DecompConstraintSet.h.
| vector<char> DecompConstraintSet::rowSense |
Definition at line 38 of file DecompConstraintSet.h.
| vector<double> DecompConstraintSet::rowRhs |
Definition at line 39 of file DecompConstraintSet.h.
| vector<double> DecompConstraintSet::rowLB |
Definition at line 42 of file DecompConstraintSet.h.
| vector<double> DecompConstraintSet::rowUB |
Definition at line 43 of file DecompConstraintSet.h.
| vector<double> DecompConstraintSet::colLB |
Definition at line 44 of file DecompConstraintSet.h.
| vector<double> DecompConstraintSet::colUB |
Definition at line 45 of file DecompConstraintSet.h.
| vector<int> DecompConstraintSet::integerVars |
Definition at line 46 of file DecompConstraintSet.h.
1.8.5