Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::CoinManager Class Reference

If you use COIN-OR, you should use this class. More...

#include <ogdf/external/coin.h>

Static Public Member Functions

static OsiSolverInterface * createCorrectOsiSolverInterface ()
 Get a new solver and set its initial log level according to the level of CoinLog. More...
 
static void updateLogging (OsiSolverInterface *osi)
 Update the log level of the CoinMessageHandler associated with osi to match the log level of the ogdf::Logger CoinLog. More...
 

Static Public Attributes

static Logger CoinLog
 The OGDF Logger which will determine the log level for a new instance returned by createCorrectOsiSolverInterface. More...
 

Detailed Description

If you use COIN-OR, you should use this class.

Definition at line 42 of file coin.h.

Member Function Documentation

◆ createCorrectOsiSolverInterface()

static OsiSolverInterface* ogdf::CoinManager::createCorrectOsiSolverInterface ( )
inlinestatic

Get a new solver and set its initial log level according to the level of CoinLog.

Definition at line 51 of file coin.h.

◆ updateLogging()

static void ogdf::CoinManager::updateLogging ( OsiSolverInterface *  osi)
inlinestatic

Update the log level of the CoinMessageHandler associated with osi to match the log level of the ogdf::Logger CoinLog.

Definition at line 67 of file coin.h.

Member Data Documentation

◆ CoinLog

Logger ogdf::CoinManager::CoinLog
static

The OGDF Logger which will determine the log level for a new instance returned by createCorrectOsiSolverInterface.

Use updateLogging to propagate changes made to this value to already existing solver instances.

Definition at line 48 of file coin.h.


The documentation for this class was generated from the following file: