Dip 0.95.0
Loading...
Searching...
No Matches
DecompCut Class Reference

#include <DecompCut.h>

+ Inheritance diagram for DecompCut:
+ Collaboration 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).
 
void decreaseEffCnt ()
 Decrease the effectiveness count by 1 (or to -1 if it was positive).
 
 DecompCut ()
 
virtual ~DecompCut ()
 

Protected Attributes

std::string m_strHash
 

Detailed Description

Definition at line 34 of file DecompCut.h.

Constructor & Destructor Documentation

◆ DecompCut()

DecompCut::DecompCut ( )
inline

Definition at line 135 of file DecompCut.h.

◆ ~DecompCut()

virtual DecompCut::~DecompCut ( )
inlinevirtual

Definition at line 142 of file DecompCut.h.

Member Function Documentation

◆ getLowerBound()

double DecompCut::getLowerBound ( ) const
inline

Definition at line 47 of file DecompCut.h.

◆ getUpperBound()

double DecompCut::getUpperBound ( ) const
inline

Definition at line 50 of file DecompCut.h.

◆ getViolation()

double DecompCut::getViolation ( ) const
inline

Definition at line 53 of file DecompCut.h.

◆ getEffCnt()

int DecompCut::getEffCnt ( ) const
inline

Definition at line 56 of file DecompCut.h.

◆ getStrHash()

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

Definition at line 59 of file DecompCut.h.

◆ setLowerBound()

void DecompCut::setLowerBound ( const double lb)
inline

Definition at line 64 of file DecompCut.h.

◆ setUpperBound()

void DecompCut::setUpperBound ( const double ub)
inline

Definition at line 67 of file DecompCut.h.

◆ setViolation()

void DecompCut::setViolation ( const double violation)
inline

Definition at line 70 of file DecompCut.h.

◆ calcViolation()

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

◆ setStringHash()

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

Reimplemented in DecompCutOsi.

Definition at line 84 of file DecompCut.h.

◆ expandCutToRow()

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

Reimplemented in DecompCutOsi, and DippyDecompCut.

Definition at line 101 of file DecompCut.h.

◆ setBounds()

virtual void DecompCut::setBounds ( )
inlinevirtual

Reimplemented in DecompCutOsi.

Definition at line 106 of file DecompCut.h.

◆ isSame()

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

Definition at line 111 of file DecompCut.h.

◆ print()

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

Reimplemented in DecompCutOsi.

◆ resetEffCnt()

void DecompCut::resetEffCnt ( )
inline

Definition at line 118 of file DecompCut.h.

◆ increaseEffCnt()

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()

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.

Member Data Documentation

◆ m_strHash

std::string DecompCut::m_strHash
protected

Definition at line 43 of file DecompCut.h.


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