Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::CallbackRegistration Struct Reference

Detailed Description

Definition at line 147 of file callback.h.

#include <callback.h>

Public Member Functions

absl::Status CheckModelStorage (ModelStorageCPtr expected_storage) const
CallbackRegistrationProto Proto () const

Static Public Member Functions

static absl::StatusOr< CallbackRegistrationFromProto (const Model &model, const CallbackRegistrationProto &registration_proto)

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 operations_research::math_opt::CallbackRegistration::CheckModelStorage ( ModelStorageCPtr expected_storage) const

Definition at line 158 of file callback.cc.

◆ FromProto()

absl::StatusOr< CallbackRegistration > operations_research::math_opt::CallbackRegistration::FromProto ( const Model & model,
const CallbackRegistrationProto & registration_proto )
static

Definition at line 120 of file callback.cc.

◆ Proto()

CallbackRegistrationProto operations_research::math_opt::CallbackRegistration::Proto ( ) const

Definition at line 167 of file callback.cc.

Member Data Documentation

◆ add_cuts

bool operations_research::math_opt::CallbackRegistration::add_cuts = false

Definition at line 185 of file callback.h.

◆ add_lazy_constraints

bool operations_research::math_opt::CallbackRegistration::add_lazy_constraints = false

Definition at line 190 of file callback.h.

◆ events

absl::flat_hash_set<CallbackEvent> operations_research::math_opt::CallbackRegistration::events

Definition at line 172 of file callback.h.

◆ mip_node_filter

MapFilter<Variable> operations_research::math_opt::CallbackRegistration::mip_node_filter

Definition at line 180 of file callback.h.

◆ mip_solution_filter

MapFilter<Variable> operations_research::math_opt::CallbackRegistration::mip_solution_filter

Definition at line 176 of file callback.h.


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