#include "Decomp.h"
#include "CoinError.hpp"
#include "CoinPackedVector.hpp"
#include "CoinHelperFunctions.hpp"
#include "UtilTimer.h"
Go to the source code of this file.
|
void | UtilPrintFuncBegin (std::ostream *os, const std::string &classTag, const std::string &funcName, const int logLevel, const int logLimit) |
|
void | UtilPrintFuncEnd (std::ostream *os, const std::string &classTag, const std::string &funcName, const int logLevel, const int logLimit) |
|
double | UtilCalculateGap (const double boundLB, const double boundUB, double infinity) |
| Calculate gap: |(ub-lb)|/|lb|. More...
|
|
CoinPackedVector * | UtilPackedVectorFromDense (const int len, const double *dense, const double etol) |
|
void | UtilPackedVectorFromDense (const int len, const double *dense, const double etol, CoinPackedVector &v) |
|
void | UtilPrintPackedVector (const CoinPackedVector &v, std::ostream *os=&std::cout, DecompApp *app=0) |
|
void | UtilPrintPackedVector (const CoinPackedVector &v, std::ostream *os, const std::vector< std::string > &colNames, const double *value=NULL) |
|
◆ UTIL_USE_TIMERS
◆ UtilException
#define UtilException |
( |
|
msg, |
|
|
|
methodN, |
|
|
|
classN |
|
) |
| CoinError(msg,methodN,classN,__FILE__,__LINE__) |
◆ UtilExceptionMemory
#define UtilExceptionMemory |
( |
|
methodN, |
|
|
|
classN |
|
) |
| UtilException("Out of memory",methodN,classN) |
◆ UtilPrintFuncBegin()
void UtilPrintFuncBegin |
( |
std::ostream * |
os, |
|
|
const std::string & |
classTag, |
|
|
const std::string & |
funcName, |
|
|
const int |
logLevel, |
|
|
const int |
logLimit |
|
) |
| |
|
inline |
◆ UtilPrintFuncEnd()
void UtilPrintFuncEnd |
( |
std::ostream * |
os, |
|
|
const std::string & |
classTag, |
|
|
const std::string & |
funcName, |
|
|
const int |
logLevel, |
|
|
const int |
logLimit |
|
) |
| |
|
inline |
◆ UtilCalculateGap()
double UtilCalculateGap |
( |
const double |
boundLB, |
|
|
const double |
boundUB, |
|
|
double |
infinity |
|
) |
| |
|
inline |
◆ UtilPackedVectorFromDense() [1/2]
CoinPackedVector* UtilPackedVectorFromDense |
( |
const int |
len, |
|
|
const double * |
dense, |
|
|
const double |
etol |
|
) |
| |
◆ UtilPackedVectorFromDense() [2/2]
void UtilPackedVectorFromDense |
( |
const int |
len, |
|
|
const double * |
dense, |
|
|
const double |
etol, |
|
|
CoinPackedVector & |
v |
|
) |
| |
◆ UtilPrintPackedVector() [1/2]
void UtilPrintPackedVector |
( |
const CoinPackedVector & |
v, |
|
|
std::ostream * |
os = &std::cout , |
|
|
DecompApp * |
app = 0 |
|
) |
| |
◆ UtilPrintPackedVector() [2/2]
void UtilPrintPackedVector |
( |
const CoinPackedVector & |
v, |
|
|
std::ostream * |
os, |
|
|
const std::vector< std::string > & |
colNames, |
|
|
const double * |
value = NULL |
|
) |
| |
◆ globalTimer
◆ globalTimerFuncMap
std::map<std::string, UtilTimer> globalTimerFuncMap |
|
static |