Dip
0.92.4
|
#include <DecompCutOsi.h>
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 () |
![]() | |
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 &) | |
DecompCutOsi & | operator= (const DecompVar &) |
DecompCutOsi (const DecompVar &) | |
DecompCutOsi & | operator= (const DecompVar &) |
Private Attributes | |
OsiRowCut | m_osiCut |
Additional Inherited Members | |
![]() | |
std::string | m_strHash |
string | m_strHash |
Definition at line 33 of file DecompCutOsi.h.
|
private |
|
inline |
Definition at line 147 of file DecompCutOsi.h.
References setBounds().
|
inlinevirtual |
Definition at line 151 of file DecompCutOsi.h.
|
private |
|
inline |
Definition at line 143 of file DecompCutOsi.h.
References setBounds().
|
inlinevirtual |
Definition at line 147 of file DecompCutOsi.h.
|
private |
|
inline |
Definition at line 46 of file DecompCutOsi.h.
References OsiRowCut::lb(), m_osiCut, and OsiRowCut::ub().
|
inline |
Definition at line 63 of file DecompCutOsi.h.
References OsiRowCut::lb(), m_osiCut, and OsiRowCut::ub().
|
inline |
Definition at line 80 of file DecompCutOsi.h.
References CoinPackedVector::getElements(), CoinPackedVector::getIndices(), CoinPackedVector::getNumElements(), m_osiCut, DecompCut::m_strHash, rhs(), OsiRowCut::row(), sense(), and UtilCreateStringHash().
|
inlinevirtual |
Reimplemented from DecompCut.
Definition at line 93 of file DecompCutOsi.h.
References CoinPackedVector::getElements(), CoinPackedVector::getIndices(), CoinPackedVector::getNumElements(), DecompCut::m_strHash, rhs(), sense(), and UtilCreateStringHash().
|
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().
|
inlinevirtual |
Reimplemented from DecompCut.
Definition at line 112 of file DecompCutOsi.h.
References DECOMP_TEST_DUPINDEX, CoinPackedVector::getElements(), CoinPackedVector::getIndices(), CoinPackedVector::getNumElements(), m_osiCut, OsiRowCut::row(), and CoinPackedVector::setVector().
|
inlinevirtual |
Reimplemented from DecompCut.
Definition at line 121 of file DecompCutOsi.h.
References CoinPackedVector::getElements(), CoinPackedVector::getIndices(), DecompCut::getLowerBound(), CoinPackedVector::getNumElements(), DecompCut::getUpperBound(), DecompCut::getViolation(), m_osiCut, and OsiRowCut::row().
|
private |
|
inline |
Definition at line 44 of file DecompCutOsi.h.
References OsiRowCut::lb(), m_osiCut, and OsiRowCut::ub().
Referenced by setStringHash().
|
inline |
Definition at line 61 of file DecompCutOsi.h.
References OsiRowCut::lb(), m_osiCut, and OsiRowCut::ub().
Referenced by setStringHash().
|
inline |
Definition at line 78 of file DecompCutOsi.h.
References CoinPackedVector::getElements(), CoinPackedVector::getIndices(), CoinPackedVector::getNumElements(), m_osiCut, DecompCut::m_strHash, rhs(), OsiRowCut::row(), sense(), and UtilCreateStringHash().
|
inlinevirtual |
Reimplemented from DecompCut.
Definition at line 90 of file DecompCutOsi.h.
References CoinPackedVector::getElements(), CoinPackedVector::getIndices(), CoinPackedVector::getNumElements(), DecompCut::m_strHash, rhs(), sense(), and UtilCreateStringHash().
|
inlinevirtual |
Reimplemented from DecompCut.
Definition at line 102 of file DecompCutOsi.h.
References OsiRowCut::lb(), m_osiCut, DecompCut::setLowerBound(), DecompCut::setUpperBound(), and OsiRowCut::ub().
|
inlinevirtual |
Reimplemented from DecompCut.
Definition at line 108 of file DecompCutOsi.h.
References DECOMP_TEST_DUPINDEX, CoinPackedVector::getElements(), CoinPackedVector::getIndices(), CoinPackedVector::getNumElements(), m_osiCut, OsiRowCut::row(), and CoinPackedVector::setVector().
|
inlinevirtual |
Reimplemented from DecompCut.
Definition at line 117 of file DecompCutOsi.h.
References CoinPackedVector::getElements(), CoinPackedVector::getIndices(), DecompCut::getLowerBound(), CoinPackedVector::getNumElements(), DecompCut::getUpperBound(), DecompCut::getViolation(), m_osiCut, and OsiRowCut::row().
|
private |
Definition at line 39 of file DecompCutOsi.h.
Referenced by expandCutToRow(), print(), rhs(), sense(), setBounds(), and setStringHash().