15 #ifndef DECOMP_CONSTRAINTSET_INCLUDED 16 #define DECOMP_CONSTRAINTSET_INCLUDED 76 return M ?
M->getNumRows() :
static_cast<int>(
rowLB.size());
79 return M ?
M->getNumCols() :
static_cast<int>(
colLB.size());
135 void prepareModel(
double infinity,
bool modelIsCore =
false);
147 rowLB.push_back(loBound);
148 rowUB.push_back(upBound);
160 std::string rowName) {
166 const double upBound,
167 const bool isInteger =
false,
168 const int origIndex = -1) {
169 int index =
static_cast<int>(
colLB.size());
170 colLB.push_back(loBound);
171 colUB.push_back(upBound);
182 if (origIndex >= 0) {
190 M->reserve(nRows, nCols);
191 rowLB.reserve(nRows);
192 rowUB.reserve(nRows);
193 colLB.reserve(nCols);
194 colUB.reserve(nCols);
const double * getColLB() const
std::vector< int > m_rowInd
void appendRow(CoinPackedVector &row, double loBound, double upBound)
std::vector< double > colUB
std::vector< char > integerMark
const int getNumInts() const
const bool hasPrepRun() const
void pushCol(const double loBound, const double upBound, const bool isInteger=false, const int origIndex=-1)
const std::map< int, int > & getMapOrigToSparse() const
const int getNumColsOrig() const
std::map< int, int > m_origToSparse
void appendRow(CoinPackedVector &row, double loBound, double upBound, std::string rowName)
const int getNumCols() const
void checkSenseAndBound()
std::vector< double > rowUB
const std::vector< std::string > & getColNames() const
const double * getRowLB() const
const std::vector< int > & getActiveColumns() const
std::vector< int > activeColumns
std::vector< std::string > & getRowNamesMutable()
std::set< int > activeColumnsS
std::vector< double > m_rowVal
std::map< int, int > m_sparseToOrig
const std::vector< int > & getMasterOnlyCols() const
std::vector< int > integerVars
const bool isSparse() const
const int getNumRows() const
std::vector< int > masterOnlyCols
std::vector< double > rowLB
CoinPackedMatrix * sparseToOrigMatrix()
std::vector< double > rowRhs
const CoinPackedMatrix * getMatrix() const
void fixNonActiveColumns()
std::vector< double > colLB
std::vector< std::string > rowNames
std::vector< std::string > rowHash
void reserve(const int nCols, const int nRows)
const std::map< int, int > & getMapSparseToOrig() const
std::vector< std::string > & getColNamesMutable()
std::vector< std::string > colNames
void prepareModel(double infinity, bool modelIsCore=false)
void setSparse(const int numColsOrig)
const std::vector< std::string > & getRowNames() const
const int * getIntegerVars()
std::vector< CoinBigIndex > m_rowBeg
std::vector< char > rowSense
const char * getIntegerMark()
const double * getRowUB() const
const double * getColUB() const