12 #ifndef CglLandPTabRow_H 13 #define CglLandPTabRow_H 15 #include "CoinIndexedVector.hpp" 20 class CglLandPSimplex;
21 struct TabRow:
public CoinIndexedVector
34 CoinIndexedVector(), si_(NULL), modularized_(false) {}
37 CoinIndexedVector(), num(-1), rhs(0), si_(si), modularized_(false) {}
40 num(source.num), rhs(source.rhs), si_(source.si_)
48 CoinIndexedVector::operator=(r);
63 void print(std::ostream & os,
int width = 9,
const int * nonBasics = NULL,
68 return denseVector()[index];
74 return denseVector()[index];
void print(std::ostream &os, int width=9, const int *nonBasics=NULL, int m=0)
void modularize(const bool *integerVar)
double rhs
Row right-hand-side.
TabRow(const TabRow &source)
TabRow & operator=(const TabRow &r)
bool operator==(const TabRow &r) const
double & operator[](const int &index)
const double & operator[](const int &index) const
Performs one round of Lift & Project using CglLandPSimplex to build cuts.
bool modularized_
Flag to say if row is modularized.
TabRow(const CglLandPSimplex *si)
const CglLandPSimplex * si_
Row of what?