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

#include <DecompCutOsi.h>

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

Public Member Functions

char sense (double infinity) const
 
double rhs (double infinity) const
 
void setStringHash (double infinity)
 
void setStringHash (CoinPackedVector *row, double infinity)
 
void setBounds ()
 
void expandCutToRow (CoinPackedVector *row)
 
void print (std::ostream *os=&std::cout) const
 
 DecompCutOsi (OsiRowCut &osiCut)
 
virtual ~DecompCutOsi ()
 
char sense () const
 
double rhs () const
 
void setStringHash ()
 
void setStringHash (CoinPackedVector *row)
 
void setBounds ()
 
void expandCutToRow (CoinPackedVector *row)
 
void print (ostream *os=&cout) const
 
 DecompCutOsi (OsiRowCut &osiCut)
 
virtual ~DecompCutOsi ()
 
- 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 bool isSame (const DecompCut *cut) 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 bool isSame (const DecompCut *cut) 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 Member Functions

 DecompCutOsi (const DecompVar &)
 
DecompCutOsioperator= (const DecompVar &)
 
 DecompCutOsi (const DecompVar &)
 
DecompCutOsioperator= (const DecompVar &)
 

Private Attributes

OsiRowCut m_osiCut
 

Additional Inherited Members

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

Detailed Description

Definition at line 33 of file DecompCutOsi.h.

Constructor & Destructor Documentation

DecompCutOsi::DecompCutOsi ( const DecompVar )
private
DecompCutOsi::DecompCutOsi ( OsiRowCut osiCut)
inline

Definition at line 147 of file DecompCutOsi.h.

References setBounds().

virtual DecompCutOsi::~DecompCutOsi ( )
inlinevirtual

Definition at line 151 of file DecompCutOsi.h.

DecompCutOsi::DecompCutOsi ( const DecompVar )
private
DecompCutOsi::DecompCutOsi ( OsiRowCut osiCut)
inline

Definition at line 143 of file DecompCutOsi.h.

References setBounds().

virtual DecompCutOsi::~DecompCutOsi ( )
inlinevirtual

Definition at line 147 of file DecompCutOsi.h.

Member Function Documentation

DecompCutOsi& DecompCutOsi::operator= ( const DecompVar )
private
char DecompCutOsi::sense ( double  infinity) const
inline

Definition at line 46 of file DecompCutOsi.h.

References OsiRowCut::lb(), m_osiCut, and OsiRowCut::ub().

double DecompCutOsi::rhs ( double  infinity) const
inline

Definition at line 63 of file DecompCutOsi.h.

References OsiRowCut::lb(), m_osiCut, and OsiRowCut::ub().

void DecompCutOsi::setStringHash ( double  infinity)
inline
void DecompCutOsi::setStringHash ( CoinPackedVector row,
double  infinity 
)
inlinevirtual
void DecompCutOsi::setBounds ( )
inlinevirtual

Reimplemented from DecompCut.

Definition at line 106 of file DecompCutOsi.h.

References OsiRowCut::lb(), m_osiCut, DecompCut::setLowerBound(), DecompCut::setUpperBound(), and OsiRowCut::ub().

Referenced by DecompCutOsi().

void DecompCutOsi::expandCutToRow ( CoinPackedVector row)
inlinevirtual
void DecompCutOsi::print ( std::ostream *  os = &std::cout) const
inlinevirtual
DecompCutOsi& DecompCutOsi::operator= ( const DecompVar )
private
char DecompCutOsi::sense ( ) const
inline

Definition at line 44 of file DecompCutOsi.h.

References OsiRowCut::lb(), m_osiCut, and OsiRowCut::ub().

Referenced by setStringHash().

double DecompCutOsi::rhs ( ) const
inline

Definition at line 61 of file DecompCutOsi.h.

References OsiRowCut::lb(), m_osiCut, and OsiRowCut::ub().

Referenced by setStringHash().

void DecompCutOsi::setStringHash ( )
inline
void DecompCutOsi::setStringHash ( CoinPackedVector row)
inlinevirtual
void DecompCutOsi::setBounds ( )
inlinevirtual
void DecompCutOsi::expandCutToRow ( CoinPackedVector row)
inlinevirtual
void DecompCutOsi::print ( ostream *  os = &cout) const
inlinevirtual

Member Data Documentation

OsiRowCut DecompCutOsi::m_osiCut
private

Definition at line 39 of file DecompCutOsi.h.

Referenced by expandCutToRow(), print(), rhs(), sense(), setBounds(), and setStringHash().


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