16 #ifndef DECOMP_CUT_INCLUDED
17 #define DECOMP_CUT_INCLUDED
95 sense, rhs, infinity);
102 throw CoinError(
"Method was invoked but not overridden.",
103 "expandCutToRow",
"DecompCut");
107 throw CoinError(
"Method was invoked but not overridden.",
108 "setBounds",
"DecompCut");
115 virtual void print(std::ostream* os = &std::cout)
const;
void setViolation(const double violation)
virtual void setStringHash(CoinPackedVector *row, double infinity)
void increaseEffCnt()
Increase the effectiveness count by 1 (or to 1 if it was negative).
double getUpperBound() const
virtual const int * getIndices() const
Get indices of elements.
std::string getStrHash() const
virtual const double * getElements() const
Get element values.
void UtilBoundToSense(const double lb, const double ub, const double inf, char &sense, double &rhs, double &range)
virtual void print(std::ostream *os=&std::cout) const
virtual int getNumElements() const
Get the size.
virtual void expandCutToRow(CoinPackedVector *row)
void setUpperBound(const double ub)
double getLowerBound() const
void decreaseEffCnt()
Decrease the effectiveness count by 1 (or to -1 if it was positive).
Error Class thrown by an exception.
void setLowerBound(const double lb)
virtual bool isSame(const DecompCut *cut) const
bool calcViolation(const CoinPackedVector *row, const double *x)
string UtilCreateStringHash(const int len, const double *els, const int precision=6)
double getViolation() const