OR-Tools  9.2
callback.h File Reference

Go to the source code of this file.

Classes

struct  CallbackRegistration
 
struct  CallbackData
 
struct  CallbackResult
 
struct  CallbackResult::GeneratedLinearConstraint
 

Namespaces

namespace  operations_research
 Collection of objects used to extend the Constraint Solver library.
 
namespace  operations_research::math_opt
 

Typedefs

using Callback = std::function< CallbackResult(const CallbackData &)>
 

Enumerations

enum class  CallbackEvent {
  kPresolve = CALLBACK_EVENT_PRESOLVE , kSimplex = CALLBACK_EVENT_SIMPLEX , kMip = CALLBACK_EVENT_MIP , kMipSolution = CALLBACK_EVENT_MIP_SOLUTION ,
  kMipNode = CALLBACK_EVENT_MIP_NODE , kBarrier = CALLBACK_EVENT_BARRIER
}
 

Functions

 MATH_OPT_DEFINE_ENUM (CallbackEvent, CALLBACK_EVENT_UNSPECIFIED)