37 #include <coin/CoinPackedVector.hpp> 47 OsiCpxSolverInterface *ret =
new OsiCpxSolverInterface();
48 #elif defined(COIN_OSI_GRB) 49 OsiGrbSolverInterface *ret =
new OsiGrbSolverInterface();
50 #elif defined(COIN_OSI_SYM) 51 OsiSymSolverInterface *ret =
new OsiSymSolverInterface();
52 ret->setSymParam(OsiSymVerbosity, -2);
54 OsiClpSolverInterface *ret =
new OsiClpSolverInterface();
61 static void logging(OsiSolverInterface* osi,
bool logMe) {
62 osi->messageHandler()->setLogLevel(logMe ? 1 : 0);
static void logging(OsiSolverInterface *osi, bool logMe)
Enable or disable logging for the given solver interface.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
If you use COIN-OR, you should use this class.
static OsiSolverInterface * createCorrectOsiSolverInterface()
Get a new solver.
static bool globalStatisticMode()
returns true if we are globally in statistic mode
Contains logging functionality.
static Level globalLogLevel()
gives the global log-level
The namespace for all OGDF objects.