Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::MPCallbackList Class Reference

#include <linear_solver_callback.h>

Inheritance diagram for operations_research::MPCallbackList:
operations_research::MPCallback

Public Member Functions

 MPCallbackList (const std::vector< MPCallback * > &callbacks)
 
void RunCallback (MPCallbackContext *context) override
 Runs all callbacks from the list given at construction, in sequence.
 
- Public Member Functions inherited from operations_research::MPCallback
 MPCallback (bool might_add_cuts, bool might_add_lazy_constraints)
 
virtual ~MPCallback ()
 
bool might_add_cuts () const
 
bool might_add_lazy_constraints () const
 

Detailed Description

Single callback that runs the list of callbacks given at construction, in sequence.

Definition at line 165 of file linear_solver_callback.h.

Constructor & Destructor Documentation

◆ MPCallbackList()

operations_research::MPCallbackList::MPCallbackList ( const std::vector< MPCallback * > & callbacks)
explicit

Definition at line 75 of file linear_solver_callback.cc.

Member Function Documentation

◆ RunCallback()

void operations_research::MPCallbackList::RunCallback ( MPCallbackContext * context)
overridevirtual

Runs all callbacks from the list given at construction, in sequence.

Implements operations_research::MPCallback.

Definition at line 80 of file linear_solver_callback.cc.


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