CoinUtils 2.10.15

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CoinPresolveMonitor.hpp
Go to the documentation of this file.
1
2 #ifndef CoinPresolveMonitor_H
3 #define CoinPresolveMonitor_H
4
29 class CoinPresolveMonitor
30 {
31 public:
32
37 CoinPresolveMonitor() ;
38
44 CoinPresolveMonitor(const CoinPresolveMatrix *mtx, bool isRow, int k) ;
45
51 CoinPresolveMonitor(const CoinPostsolveMatrix *mtx, bool isRow, int k) ;
52
59 void checkAndTell(const CoinPresolveMatrix *mtx) ;
60
67 void checkAndTell(const CoinPostsolveMatrix *mtx) ;
68
69 private:
70
72 CoinPackedVector *extractRow(int i, const CoinPresolveMatrix *mtx) const ;
73
75 CoinPackedVector *extractCol(int j, const CoinPresolveMatrix *mtx) const ;
76
78 CoinPackedVector *extractRow(int i, const CoinPostsolveMatrix *mtx) const ;
79
81 CoinPackedVector *extractCol(int j, const CoinPostsolveMatrix *mtx) const ;
82
84 void checkAndTell(CoinPackedVector *curVec, double lb, double ub) ;
85
87 bool isRow_ ;
88
90 int ndx_ ;
91
96 CoinPackedVector *origVec_ ;
97
99 double lb_ ;
100
102 double ub_ ;
103 } ;
104
105 #endif
CoinPresolveMonitor::isRow_
bool isRow_
True to monitor a row, false to monitor a column.
Definition: CoinPresolveMonitor.hpp:87
CoinPresolveMonitor
Monitor a row or column for modification.
Definition: CoinPresolveMonitor.hpp:29
CoinPresolveMonitor::origVec_
CoinPackedVector * origVec_
The original row or column.
Definition: CoinPresolveMonitor.hpp:96
CoinPresolveMonitor::checkAndTell
void checkAndTell(const CoinPresolveMatrix *mtx)
Compare the present row or column against the stored copy and report differences. ...
CoinPresolveMonitor::ndx_
int ndx_
Row or column index.
Definition: CoinPresolveMonitor.hpp:90
CoinPostsolveMatrix
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during postsol...
Definition: CoinPresolveMatrix.hpp:1421
CoinPresolveMonitor::lb_
double lb_
Original row or column lower bound.
Definition: CoinPresolveMonitor.hpp:99
CoinPresolveMonitor::CoinPresolveMonitor
CoinPresolveMonitor()
Default constructor.
CoinPresolveMatrix
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during presolv...
Definition: CoinPresolveMatrix.hpp:835
CoinPresolveMonitor::extractRow
CoinPackedVector * extractRow(int i, const CoinPresolveMatrix *mtx) const
Extract a row from a CoinPresolveMatrix.
CoinPresolveMonitor::ub_
double ub_
Original row or column upper bound.
Definition: CoinPresolveMonitor.hpp:102
CoinPresolveMonitor::extractCol
CoinPackedVector * extractCol(int j, const CoinPresolveMatrix *mtx) const
Extract a column from a CoinPresolveMatrix.
CoinPackedVector
Sparse Vector.
Definition: CoinPackedVector.hpp:123