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

Detailed Description

Prefer AddUserCut and AddLazyConstraint below instead of using this directly.

Definition at line 228 of file callback.h.

#include <callback.h>

Public Member Functions

NullableModelStorageCPtr storage () const

Public Attributes

BoundedLinearExpression linear_constraint
bool is_lazy = false

Member Function Documentation

◆ storage()

NullableModelStorageCPtr operations_research::math_opt::CallbackResult::GeneratedLinearConstraint::storage ( ) const
inline

Definition at line 232 of file callback.h.

Member Data Documentation

◆ is_lazy

bool operations_research::math_opt::CallbackResult::GeneratedLinearConstraint::is_lazy = false

Definition at line 230 of file callback.h.

◆ linear_constraint

BoundedLinearExpression operations_research::math_opt::CallbackResult::GeneratedLinearConstraint::linear_constraint

Definition at line 229 of file callback.h.


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