Dip  0.92.4
Public Member Functions | Protected Attributes | List of all members
DecompCut Class Reference

#include <DecompCut.h>

+ Inheritance diagram for DecompCut:

Public Member Functions

double getLowerBound () const
 
double getUpperBound () const
 
double getViolation () const
 
int getEffCnt () const
 
std::string getStrHash () const
 
void setLowerBound (const double lb)
 
void setUpperBound (const double ub)
 
void setViolation (const double violation)
 
bool calcViolation (const CoinPackedVector *row, const double *x)
 
virtual void setStringHash (CoinPackedVector *row, double infinity)
 
virtual void expandCutToRow (CoinPackedVector *row)
 
virtual void setBounds ()
 
virtual bool isSame (const DecompCut *cut) const
 
virtual void print (std::ostream *os=&std::cout) const
 
void resetEffCnt ()
 
void increaseEffCnt ()
 Increase the effectiveness count by 1 (or to 1 if it was negative). More...
 
void decreaseEffCnt ()
 Decrease the effectiveness count by 1 (or to -1 if it was positive). More...
 
 DecompCut ()
 
virtual ~DecompCut ()
 
double getLowerBound () const
 
double getUpperBound () const
 
double getViolation () const
 
int getEffCnt () const
 
string getStrHash () const
 
void setLowerBound (const double lb)
 
void setUpperBound (const double ub)
 
void setViolation (const double violation)
 
bool calcViolation (const CoinPackedVector *row, const double *x)
 
virtual void setStringHash (CoinPackedVector *row)
 
virtual void expandCutToRow (CoinPackedVector *row)
 
virtual void setBounds ()
 
virtual bool isSame (const DecompCut *cut) const
 
virtual void print (ostream *os=&cout) const
 
void resetEffCnt ()
 
void increaseEffCnt ()
 Increase the effectiveness count by 1 (or to 1 if it was negative). More...
 
void decreaseEffCnt ()
 Decrease the effectiveness count by 1 (or to -1 if it was positive). More...
 
 DecompCut ()
 
virtual ~DecompCut ()
 

Protected Attributes

std::string m_strHash
 
string m_strHash
 

Detailed Description

Definition at line 34 of file DecompCut.h.

Constructor & Destructor Documentation

◆ DecompCut() [1/2]

DecompCut::DecompCut ( )
inline

Definition at line 135 of file DecompCut.h.

◆ ~DecompCut() [1/2]

virtual DecompCut::~DecompCut ( )
inlinevirtual

Definition at line 142 of file DecompCut.h.

◆ DecompCut() [2/2]

DecompCut::DecompCut ( )
inline

Definition at line 140 of file DecompCut.h.

◆ ~DecompCut() [2/2]

virtual DecompCut::~DecompCut ( )
inlinevirtual

Definition at line 147 of file DecompCut.h.

Member Function Documentation

◆ getLowerBound() [1/2]

double DecompCut::getLowerBound ( ) const
inline

Definition at line 47 of file DecompCut.h.

◆ getUpperBound() [1/2]

double DecompCut::getUpperBound ( ) const
inline

Definition at line 50 of file DecompCut.h.

◆ getViolation() [1/2]

double DecompCut::getViolation ( ) const
inline

Definition at line 53 of file DecompCut.h.

◆ getEffCnt() [1/2]

int DecompCut::getEffCnt ( ) const
inline

Definition at line 56 of file DecompCut.h.

◆ getStrHash() [1/2]

std::string DecompCut::getStrHash ( ) const
inline

Definition at line 59 of file DecompCut.h.

◆ setLowerBound() [1/2]

void DecompCut::setLowerBound ( const double  lb)
inline

Definition at line 64 of file DecompCut.h.

◆ setUpperBound() [1/2]

void DecompCut::setUpperBound ( const double  ub)
inline

Definition at line 67 of file DecompCut.h.

◆ setViolation() [1/2]

void DecompCut::setViolation ( const double  violation)
inline

Definition at line 70 of file DecompCut.h.

◆ calcViolation() [1/2]

bool DecompCut::calcViolation ( const CoinPackedVector *  row,
const double *  x 
)

◆ setStringHash() [1/2]

virtual void DecompCut::setStringHash ( CoinPackedVector *  row,
double  infinity 
)
inlinevirtual

Reimplemented in DecompCutOsi.

Definition at line 84 of file DecompCut.h.

◆ expandCutToRow() [1/2]

virtual void DecompCut::expandCutToRow ( CoinPackedVector *  row)
inlinevirtual

Reimplemented in DecompCutOsi, DecompCutOsi, and DippyDecompCut.

Definition at line 101 of file DecompCut.h.

◆ setBounds() [1/2]

virtual void DecompCut::setBounds ( )
inlinevirtual

Reimplemented in DecompCutOsi, and DecompCutOsi.

Definition at line 106 of file DecompCut.h.

◆ isSame() [1/2]

virtual bool DecompCut::isSame ( const DecompCut cut) const
inlinevirtual

Definition at line 111 of file DecompCut.h.

◆ print() [1/2]

virtual void DecompCut::print ( std::ostream *  os = &std::cout) const
virtual

Reimplemented in DecompCutOsi, and DecompCutOsi.

◆ resetEffCnt() [1/2]

void DecompCut::resetEffCnt ( )
inline

Definition at line 118 of file DecompCut.h.

◆ increaseEffCnt() [1/2]

void DecompCut::increaseEffCnt ( )
inline

Increase the effectiveness count by 1 (or to 1 if it was negative).

Return the new effectiveness count.

Definition at line 124 of file DecompCut.h.

◆ decreaseEffCnt() [1/2]

void DecompCut::decreaseEffCnt ( )
inline

Decrease the effectiveness count by 1 (or to -1 if it was positive).

Return the new effectiveness count.

Definition at line 130 of file DecompCut.h.

◆ getLowerBound() [2/2]

double DecompCut::getLowerBound ( ) const
inline

Definition at line 52 of file DecompCut.h.

◆ getUpperBound() [2/2]

double DecompCut::getUpperBound ( ) const
inline

Definition at line 55 of file DecompCut.h.

◆ getViolation() [2/2]

double DecompCut::getViolation ( ) const
inline

Definition at line 58 of file DecompCut.h.

◆ getEffCnt() [2/2]

int DecompCut::getEffCnt ( ) const
inline

Definition at line 61 of file DecompCut.h.

◆ getStrHash() [2/2]

string DecompCut::getStrHash ( ) const
inline

Definition at line 64 of file DecompCut.h.

◆ setLowerBound() [2/2]

void DecompCut::setLowerBound ( const double  lb)
inline

Definition at line 69 of file DecompCut.h.

◆ setUpperBound() [2/2]

void DecompCut::setUpperBound ( const double  ub)
inline

Definition at line 72 of file DecompCut.h.

◆ setViolation() [2/2]

void DecompCut::setViolation ( const double  violation)
inline

Definition at line 75 of file DecompCut.h.

◆ calcViolation() [2/2]

bool DecompCut::calcViolation ( const CoinPackedVector *  row,
const double *  x 
)

◆ setStringHash() [2/2]

virtual void DecompCut::setStringHash ( CoinPackedVector *  row)
inlinevirtual

Reimplemented in DecompCutOsi.

Definition at line 89 of file DecompCut.h.

◆ expandCutToRow() [2/2]

virtual void DecompCut::expandCutToRow ( CoinPackedVector *  row)
inlinevirtual

Reimplemented in DecompCutOsi, DecompCutOsi, and DippyDecompCut.

Definition at line 106 of file DecompCut.h.

◆ setBounds() [2/2]

virtual void DecompCut::setBounds ( )
inlinevirtual

Reimplemented in DecompCutOsi, and DecompCutOsi.

Definition at line 111 of file DecompCut.h.

◆ isSame() [2/2]

virtual bool DecompCut::isSame ( const DecompCut cut) const
inlinevirtual

Definition at line 116 of file DecompCut.h.

◆ print() [2/2]

virtual void DecompCut::print ( ostream *  os = &cout) const
virtual

Reimplemented in DecompCutOsi, and DecompCutOsi.

◆ resetEffCnt() [2/2]

void DecompCut::resetEffCnt ( )
inline

Definition at line 123 of file DecompCut.h.

◆ increaseEffCnt() [2/2]

void DecompCut::increaseEffCnt ( )
inline

Increase the effectiveness count by 1 (or to 1 if it was negative).

Return the new effectiveness count.

Definition at line 129 of file DecompCut.h.

◆ decreaseEffCnt() [2/2]

void DecompCut::decreaseEffCnt ( )
inline

Decrease the effectiveness count by 1 (or to -1 if it was positive).

Return the new effectiveness count.

Definition at line 135 of file DecompCut.h.

Member Data Documentation

◆ m_strHash [1/2]

std::string DecompCut::m_strHash
protected

Definition at line 43 of file DecompCut.h.

◆ m_strHash [2/2]

string DecompCut::m_strHash
protected

Definition at line 48 of file DecompCut.h.


The documentation for this class was generated from the following file: