Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
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 OsiSolverInterfacecreateCorrectOsiSolverInterface ()
 Get a new solver and set its initial log level according to the level of CoinLog.
 
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.
 

Static Public Attributes

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

Detailed Description

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

Definition at line 43 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 52 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 68 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 49 of file coin.h.


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