2#ifndef CoinPresolveMonitor_H
3#define CoinPresolveMonitor_H
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during postsol...
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during presolv...
Monitor a row or column for modification.
void checkAndTell(CoinPackedVector *curVec, double lb, double ub)
Worker method underlying the public checkAndTell methods.
CoinPackedVector * extractCol(int j, const CoinPostsolveMatrix *mtx) const
Extract a column from a CoinPostsolveMatrix.
CoinPresolveMonitor(const CoinPostsolveMatrix *mtx, bool isRow, int k)
Initialise from a CoinPostsolveMatrix.
CoinPackedVector * origVec_
The original row or column.
void checkAndTell(const CoinPresolveMatrix *mtx)
Compare the present row or column against the stored copy and report differences.
CoinPackedVector * extractCol(int j, const CoinPresolveMatrix *mtx) const
Extract a column from a CoinPresolveMatrix.
CoinPresolveMonitor()
Default constructor.
double lb_
Original row or column lower bound.
double ub_
Original row or column upper bound.
CoinPackedVector * extractRow(int i, const CoinPresolveMatrix *mtx) const
Extract a row from a CoinPresolveMatrix.
CoinPresolveMonitor(const CoinPresolveMatrix *mtx, bool isRow, int k)
Initialise from a CoinPresolveMatrix.
void checkAndTell(const CoinPostsolveMatrix *mtx)
Compare the present row or column against the stored copy and report differences.
int ndx_
Row or column index.
CoinPackedVector * extractRow(int i, const CoinPostsolveMatrix *mtx) const
Extract a row from a CoinPostsolveMatrix.
bool isRow_
True to monitor a row, false to monitor a column.