34#include <coin/CoinPackedVector.hpp>
55#elif defined(COIN_OSI_GRB)
57#elif defined(COIN_OSI_SYM)
70 osi->messageHandler()->setLogLevel(0);
78 case Logger::Level::Minor:
79 osi->messageHandler()->setLogLevel(4);
81 case Logger::Level::Medium:
82 osi->messageHandler()->setLogLevel(3);
84 case Logger::Level::Default:
85 osi->messageHandler()->setLogLevel(2);
87 case Logger::Level::High:
88 osi->messageHandler()->setLogLevel(1);
90 case Logger::Level::Alarm:
91 osi->messageHandler()->setLogLevel(0);
93 case Logger::Level::Force:
94 osi->messageHandler()->setLogLevel(0);
Contains logging functionality.
If you use COIN-OR, you should use this class.
static void updateLogging(OsiSolverInterface *osi)
Update the log level of the CoinMessageHandler associated with osi to match the log level of the ogdf...
static Logger CoinLog
The OGDF Logger which will determine the log level for a new instance returned by createCorrectOsiSol...
static OsiSolverInterface * createCorrectOsiSolverInterface()
Get a new solver and set its initial log level according to the level of CoinLog.
Centralized global and local logging facility working on streams like std::cout.
Level effectiveLogLevel() const
obtain the effective log-level for the Logger-object (i.e., resolve the dependencies on the global se...
bool effectiveStatisticMode() const
returns true if the Logger-object is effectively in statistic-mode (as this might be depending on the...
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.