14 #ifndef DECOMP_CUT_INCLUDED 15 #define DECOMP_CUT_INCLUDED 76 m_violation = violation;
95 getUpperBound(), DecompInf,
107 throw CoinError(
"Method was invoked but not overridden.",
108 "expandCutToRow",
"DecompCut");
112 throw CoinError(
"Method was invoked but not overridden.",
113 "setBounds",
"DecompCut");
120 virtual void print(ostream* os = &cout)
const;
130 m_effCnt = m_effCnt <= 0 ? 1 : m_effCnt + 1;
136 m_effCnt = m_effCnt >= 0 ? -1 : m_effCnt - 1;
virtual const double * getElements() const
double getUpperBound() const
virtual bool isSame(const DecompCut *cut) const
void increaseEffCnt()
Increase the effectiveness count by 1 (or to 1 if it was negative).
virtual const int * getIndices() const
double getLowerBound() const
virtual int getNumElements() const
virtual void setStringHash(CoinPackedVector *row)
string UtilCreateStringHash(const int len, const double *els, const int precision=6)
void setUpperBound(const double ub)
virtual void expandCutToRow(CoinPackedVector *row)
void UtilBoundToSense(const double lb, const double ub, const double inf, char &sense, double &rhs, double &range)
void setLowerBound(const double lb)
string getStrHash() const
double getViolation() const
void setViolation(const double violation)
void decreaseEffCnt()
Decrease the effectiveness count by 1 (or to -1 if it was positive).