![]() |
OR-Tools
9.6
|
Definition at line 33 of file indicator/storage.h.
Public Types | |
| using | IdType = IndicatorConstraintId |
| using | ProtoType = IndicatorConstraintProto |
| using | UpdatesProtoType = IndicatorConstraintUpdatesProto |
Public Member Functions | |
| ProtoType | Proto () const |
| std::vector< VariableId > | RelatedVariables () const |
| void | DeleteVariable (VariableId var) |
Static Public Member Functions | |
| static IndicatorConstraintData | FromProto (const ProtoType &in_proto) |
Public Attributes | |
| double | lower_bound = -std::numeric_limits<double>::infinity() |
| double | upper_bound = std::numeric_limits<double>::infinity() |
| SparseCoefficientMap | linear_terms |
| std::optional< VariableId > | indicator |
| bool | activate_on_zero = false |
| std::string | name |
| using IdType = IndicatorConstraintId |
Definition at line 34 of file indicator/storage.h.
| using ProtoType = IndicatorConstraintProto |
Definition at line 35 of file indicator/storage.h.
| using UpdatesProtoType = IndicatorConstraintUpdatesProto |
Definition at line 36 of file indicator/storage.h.
| void DeleteVariable | ( | VariableId | var | ) |
Definition at line 75 of file indicator/storage.cc.
|
static |
Definition at line 30 of file indicator/storage.cc.
| IndicatorConstraintData::ProtoType Proto | ( | ) | const |
Definition at line 47 of file indicator/storage.cc.
| std::vector< VariableId > RelatedVariables | ( | ) | const |
Definition at line 64 of file indicator/storage.cc.
| bool activate_on_zero = false |
Definition at line 51 of file indicator/storage.h.
| std::optional<VariableId> indicator |
Definition at line 50 of file indicator/storage.h.
| SparseCoefficientMap linear_terms |
Definition at line 47 of file indicator/storage.h.
| double lower_bound = -std::numeric_limits<double>::infinity() |
Definition at line 45 of file indicator/storage.h.
| std::string name |
Definition at line 52 of file indicator/storage.h.
| double upper_bound = std::numeric_limits<double>::infinity() |
Definition at line 46 of file indicator/storage.h.