OR-Tools  9.6
CallbackResult

Detailed Description

Definition at line 232 of file callback.h.

Classes

struct  GeneratedLinearConstraint
 

Public Member Functions

void AddUserCut (BoundedLinearExpression linear_constraint)
 
void AddLazyConstraint (BoundedLinearExpression linear_constraint)
 
absl::Status CheckModelStorage (const ModelStorage *expected_storage) const
 
CallbackResultProto Proto () const
 

Public Attributes

bool terminate = false
 
std::vector< GeneratedLinearConstraintnew_constraints
 
std::vector< VariableMap< double > > suggested_solutions
 

Member Function Documentation

◆ AddLazyConstraint()

void AddLazyConstraint ( BoundedLinearExpression  linear_constraint)
inline

Definition at line 253 of file callback.h.

◆ AddUserCut()

void AddUserCut ( BoundedLinearExpression  linear_constraint)
inline

Definition at line 247 of file callback.h.

◆ CheckModelStorage()

absl::Status CheckModelStorage ( const ModelStorage expected_storage) const

Definition at line 119 of file callback.cc.

◆ Proto()

CallbackResultProto Proto ( ) const

Definition at line 135 of file callback.cc.

Member Data Documentation

◆ new_constraints

std::vector<GeneratedLinearConstraint> new_constraints

Definition at line 272 of file callback.h.

◆ suggested_solutions

std::vector<VariableMap<double> > suggested_solutions

Definition at line 275 of file callback.h.

◆ terminate

bool terminate = false

Definition at line 268 of file callback.h.


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