Dip
0.92.4
|
#include <DecompCut.h>
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 |
Private Member Functions | |
DecompCut (const DecompCut &) | |
DecompCut & | operator= (const DecompCut &) |
Private Attributes | |
double | m_lb |
double | m_ub |
double | m_violation |
int | m_effCnt |
Definition at line 34 of file DecompCut.h.
|
inline |
Definition at line 135 of file DecompCut.h.
|
inlinevirtual |
Definition at line 142 of file DecompCut.h.
|
private |
|
inline |
Definition at line 140 of file DecompCut.h.
|
inlinevirtual |
Definition at line 147 of file DecompCut.h.
|
inline |
Definition at line 47 of file DecompCut.h.
References m_lb.
Referenced by DecompWaitingRow::getLowerBound(), DecompCutOsi::print(), and setStringHash().
|
inline |
Definition at line 50 of file DecompCut.h.
References m_ub.
Referenced by VRP_CVRPsep::createVrpCuts(), DecompWaitingRow::getUpperBound(), DecompCutOsi::print(), and setStringHash().
|
inline |
Definition at line 53 of file DecompCut.h.
References m_violation.
Referenced by DecompWaitingRow::getViolation(), and DecompCutOsi::print().
|
inline |
Definition at line 56 of file DecompCut.h.
References m_effCnt.
|
inline |
Definition at line 59 of file DecompCut.h.
References m_strHash.
|
inline |
Definition at line 64 of file DecompCut.h.
References m_lb.
Referenced by DecompCutOsi::setBounds().
|
inline |
Definition at line 67 of file DecompCut.h.
References m_ub.
Referenced by DecompCutOsi::setBounds().
|
inline |
Definition at line 70 of file DecompCut.h.
References m_violation.
bool DecompCut::calcViolation | ( | const CoinPackedVector * | row, |
const double * | x | ||
) |
|
inlinevirtual |
Reimplemented in DecompCutOsi.
Definition at line 84 of file DecompCut.h.
References CoinPackedVector::getElements(), CoinPackedVector::getIndices(), getLowerBound(), CoinPackedVector::getNumElements(), getUpperBound(), m_strHash, UtilBoundToSense(), and UtilCreateStringHash().
|
inlinevirtual |
Reimplemented in DecompCutOsi, DecompCutOsi, VRP_GSECCut, TSP_SubtourCut, and DippyDecompCut.
Definition at line 101 of file DecompCut.h.
|
inlinevirtual |
Reimplemented in DecompCutOsi, and DecompCutOsi.
Definition at line 106 of file DecompCut.h.
|
inlinevirtual |
Reimplemented in VRP_GSECCut, and TSP_SubtourCut.
Definition at line 111 of file DecompCut.h.
|
virtual |
Reimplemented in DecompCutOsi.
|
inline |
Definition at line 118 of file DecompCut.h.
References m_effCnt.
|
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.
References m_effCnt.
|
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.
References m_effCnt.
|
inline |
Definition at line 52 of file DecompCut.h.
|
inline |
Definition at line 55 of file DecompCut.h.
|
inline |
Definition at line 58 of file DecompCut.h.
|
inline |
Definition at line 61 of file DecompCut.h.
|
inline |
Definition at line 64 of file DecompCut.h.
|
inline |
Definition at line 69 of file DecompCut.h.
|
inline |
Definition at line 72 of file DecompCut.h.
|
inline |
Definition at line 75 of file DecompCut.h.
bool DecompCut::calcViolation | ( | const CoinPackedVector * | row, |
const double * | x | ||
) |
|
inlinevirtual |
Reimplemented in DecompCutOsi.
Definition at line 89 of file DecompCut.h.
References CoinPackedVector::getElements(), CoinPackedVector::getIndices(), CoinPackedVector::getNumElements(), UtilBoundToSense(), and UtilCreateStringHash().
|
inlinevirtual |
Reimplemented in DecompCutOsi, DecompCutOsi, VRP_GSECCut, TSP_SubtourCut, and DippyDecompCut.
Definition at line 106 of file DecompCut.h.
|
inlinevirtual |
Reimplemented in DecompCutOsi, and DecompCutOsi.
Definition at line 111 of file DecompCut.h.
|
inlinevirtual |
Reimplemented in VRP_GSECCut, and TSP_SubtourCut.
Definition at line 116 of file DecompCut.h.
|
virtual |
Reimplemented in DecompCutOsi, and VRP_GSECCut.
|
inline |
Definition at line 123 of file DecompCut.h.
|
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.
|
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.
|
private |
Definition at line 36 of file DecompCut.h.
Referenced by getLowerBound(), and setLowerBound().
|
private |
Definition at line 37 of file DecompCut.h.
Referenced by getUpperBound(), and setUpperBound().
|
private |
Definition at line 39 of file DecompCut.h.
Referenced by getViolation(), and setViolation().
|
private |
Definition at line 40 of file DecompCut.h.
Referenced by decreaseEffCnt(), getEffCnt(), increaseEffCnt(), and resetEffCnt().
|
protected |
Definition at line 43 of file DecompCut.h.
Referenced by getStrHash(), DecompCutOsi::setStringHash(), and setStringHash().
|
protected |
Definition at line 48 of file DecompCut.h.