OR-Tools  9.6
CallbackRegistration

Detailed Description

Definition at line 149 of file callback.h.

Public Member Functions

absl::Status CheckModelStorage (const ModelStorage *expected_storage) const
 
CallbackRegistrationProto Proto () const
 

Public Attributes

absl::flat_hash_set< CallbackEventevents
 
MapFilter< Variablemip_solution_filter
 
MapFilter< Variablemip_node_filter
 
bool add_cuts = false
 
bool add_lazy_constraints = false
 

Member Function Documentation

◆ CheckModelStorage()

absl::Status CheckModelStorage ( const ModelStorage expected_storage) const

Definition at line 92 of file callback.cc.

◆ Proto()

CallbackRegistrationProto Proto ( ) const

Definition at line 105 of file callback.cc.

Member Data Documentation

◆ add_cuts

bool add_cuts = false

Definition at line 181 of file callback.h.

◆ add_lazy_constraints

bool add_lazy_constraints = false

Definition at line 186 of file callback.h.

◆ events

absl::flat_hash_set<CallbackEvent> events

Definition at line 168 of file callback.h.

◆ mip_node_filter

MapFilter<Variable> mip_node_filter

Definition at line 176 of file callback.h.

◆ mip_solution_filter

MapFilter<Variable> mip_solution_filter

Definition at line 172 of file callback.h.


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