Dip  0.92.4
Public Member Functions | Private Attributes | List of all members
DippyDecompCut Class Reference

#include <DippyDecompCut.h>

Inheritance diagram for DippyDecompCut:
Inheritance graph
[legend]
Collaboration diagram for DippyDecompCut:
Collaboration graph
[legend]

Public Member Functions

 DippyDecompCut (double lb, double ub, int nElems, int *indices, double *elements)
 
void expandCutToRow (CoinPackedVector *row)
 
 ~DippyDecompCut ()
 
- Public Member Functions inherited from DecompCut
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 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 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 ()
 

Private Attributes

double m_lb
 
double m_ub
 
int m_nElems
 
int * m_indices
 
double * m_elements
 

Additional Inherited Members

- Protected Attributes inherited from DecompCut
std::string m_strHash
 
string m_strHash
 

Detailed Description

Definition at line 11 of file DippyDecompCut.h.

Constructor & Destructor Documentation

DippyDecompCut::DippyDecompCut ( double  lb,
double  ub,
int  nElems,
int *  indices,
double *  elements 
)
inline

Definition at line 20 of file DippyDecompCut.h.

DippyDecompCut::~DippyDecompCut ( )
inline

Definition at line 29 of file DippyDecompCut.h.

Member Function Documentation

void DippyDecompCut::expandCutToRow ( CoinPackedVector row)
inlinevirtual

Reimplemented from DecompCut.

Definition at line 25 of file DippyDecompCut.h.

References CoinPackedVector::setVector().

Member Data Documentation

double DippyDecompCut::m_lb
private

Definition at line 13 of file DippyDecompCut.h.

double DippyDecompCut::m_ub
private

Definition at line 14 of file DippyDecompCut.h.

int DippyDecompCut::m_nElems
private

Definition at line 15 of file DippyDecompCut.h.

int* DippyDecompCut::m_indices
private

Definition at line 16 of file DippyDecompCut.h.

double* DippyDecompCut::m_elements
private

Definition at line 17 of file DippyDecompCut.h.


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