Dip 0.95.0
|
#include <DecompVar.h>
Public Member Functions | |
DecompVarType | getVarType () const |
double | getOriginalCost () const |
double | getReducedCost () const |
int | getEffectiveness () const |
double | getLowerBound () const |
double | getUpperBound () const |
std::string | getStrHash () const |
int | getBlockId () const |
int | getColMasterIndex () const |
double | getNorm () const |
void | setVarType (const DecompVarType varType) |
void | setColMasterIndex (const int colIndex) |
void | setBlockId (const int blockId) |
void | setReducedCost (const double redCost) |
void | setOriginalCost (const double origCost) |
void | resetEffectiveness () |
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... | |
double | calcNorm () |
void | sortVar () |
bool | isEquivalent (const DecompVar &dvar) |
bool | isDuplicate (const DecompVarList &vars) |
bool | doesSatisfyBounds (int denseLen, double *denseArr, const DecompSubModel &model, const double *lbs, const double *ubs) |
void | fillDenseArr (int len, double *arr) |
virtual void | print (double infinity, std::ostream *os=&std::cout, DecompApp *app=0) const |
virtual void | print (double infinity, std::ostream *os, const std::vector< std::string > &colNames, const double *value=NULL) const |
Copy Constructors | |
DecompVar (const DecompVar &source) | |
DecompVar & | operator= (const DecompVar &rhs) |
DecompVar () | |
DecompVar (const std::vector< int > &ind, const double els, const double redCost, const double origCost, const DecompVarType varType) | |
DecompVar (const std::vector< int > &ind, const std::vector< double > &els, const double redCost, const double origCost) | |
DecompVar (const std::vector< int > &ind, const std::vector< double > &els, const double redCost, const double origCost, const DecompVarType varType) | |
DecompVar (const int len, const int *ind, const double *els, const double origCost) | |
DecompVar (const int len, const int *ind, const double *els, const double origCost, const DecompVarType varType) | |
DecompVar (const int len, const int *ind, const double els, const double origCost) | |
DecompVar (const int len, const int *ind, const double els, const double origCost, const DecompVarType varType) | |
DecompVar (const int len, const int *ind, const double *els, const double redCost, const double origCost) | |
DecompVar (const int len, const int *ind, const double *els, const double redCost, const double origCost, const DecompVarType varType) | |
DecompVar (const int denseLen, const double *denseArray, const double redCost, const double origCost, const DecompVarType varType) | |
virtual | ~DecompVar () |
Public Attributes | |
CoinPackedVector | m_s |
Definition at line 29 of file DecompVar.h.
|
inline |
Definition at line 154 of file DecompVar.h.
|
inline |
Definition at line 180 of file DecompVar.h.
|
inline |
Definition at line 192 of file DecompVar.h.
|
inline |
Definition at line 217 of file DecompVar.h.
|
inline |
Definition at line 241 of file DecompVar.h.
|
inline |
Definition at line 266 of file DecompVar.h.
|
inline |
Definition at line 287 of file DecompVar.h.
|
inline |
Definition at line 309 of file DecompVar.h.
|
inline |
Definition at line 330 of file DecompVar.h.
|
inline |
Definition at line 352 of file DecompVar.h.
|
inline |
Definition at line 374 of file DecompVar.h.
|
inline |
Definition at line 397 of file DecompVar.h.
|
inlinevirtual |
Definition at line 420 of file DecompVar.h.
|
inline |
Definition at line 47 of file DecompVar.h.
|
inline |
Definition at line 50 of file DecompVar.h.
|
inline |
Definition at line 53 of file DecompVar.h.
|
inline |
Definition at line 56 of file DecompVar.h.
|
inline |
Definition at line 59 of file DecompVar.h.
|
inline |
Definition at line 62 of file DecompVar.h.
|
inline |
Definition at line 65 of file DecompVar.h.
|
inline |
Definition at line 68 of file DecompVar.h.
|
inline |
Definition at line 71 of file DecompVar.h.
|
inline |
Definition at line 74 of file DecompVar.h.
|
inline |
Definition at line 78 of file DecompVar.h.
|
inline |
Definition at line 81 of file DecompVar.h.
|
inline |
Definition at line 84 of file DecompVar.h.
|
inline |
Definition at line 87 of file DecompVar.h.
|
inline |
Definition at line 90 of file DecompVar.h.
|
inline |
Definition at line 94 of file DecompVar.h.
|
inline |
Increase the effectiveness count by 1 (or to 1 if it was negative).
Return the new effectiveness count.
Definition at line 100 of file DecompVar.h.
|
inline |
Decrease the effectiveness count by 1 (or to -1 if it was positive).
Return the new effectiveness count.
Definition at line 106 of file DecompVar.h.
|
inline |
Definition at line 110 of file DecompVar.h.
|
inline |
Definition at line 114 of file DecompVar.h.
|
inline |
Definition at line 118 of file DecompVar.h.
|
inline |
Definition at line 122 of file DecompVar.h.
bool DecompVar::doesSatisfyBounds | ( | int | denseLen, |
double * | denseArr, | ||
const DecompSubModel & | model, | ||
const double * | lbs, | ||
const double * | ubs | ||
) |
void DecompVar::fillDenseArr | ( | int | len, |
double * | arr | ||
) |
|
virtual |
|
virtual |
Definition at line 165 of file DecompVar.h.
CoinPackedVector DecompVar::m_s |
Definition at line 33 of file DecompVar.h.