MTCT
Design Automation and Optimization for ETCS Railway Networks
Loading...
Searching...
No Matches
cda_rail::solver::mip_based::MessageCallback Class Reference

Routes the output of Gurobi into the logging of this tool. More...

#include <GeneralMIPSolver.hpp>

Inheritance diagram for cda_rail::solver::mip_based::MessageCallback:

Public Member Functions

 MessageCallback ()=default

Protected Member Functions

void callback () override
 Logs one message of Gurobi, without its trailing newline.

Detailed Description

Routes the output of Gurobi into the logging of this tool.

Without this callback Gurobi writes to the console directly, which would bypass the log file and the severity the solver was started with.

Constructor & Destructor Documentation

◆ MessageCallback()

cda_rail::solver::mip_based::MessageCallback::MessageCallback ( )
explicitdefault

Member Function Documentation

◆ callback()

void cda_rail::solver::mip_based::MessageCallback::callback ( )
inlineoverrideprotected

Logs one message of Gurobi, without its trailing newline.


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