![]() |
OR-Tools
9.6
|
Definition at line 36 of file indicator_constraint.h.
Public Types | |
| using | IdType = IndicatorConstraintId |
Public Member Functions | |
| IndicatorConstraint (const ModelStorage *storage, IndicatorConstraintId id) | |
| int64_t | id () const |
| IndicatorConstraintId | typed_id () const |
| const ModelStorage * | storage () const |
| absl::string_view | name () const |
| std::optional< Variable > | indicator_variable () const |
| bool | activate_on_zero () const |
| BoundedLinearExpression | ImpliedConstraint () const |
| std::vector< Variable > | NonzeroVariables () const |
| std::string | ToString () const |
| using IdType = IndicatorConstraintId |
Definition at line 39 of file indicator_constraint.h.
|
inline |
Definition at line 153 of file indicator_constraint.h.
|
inline |
Definition at line 118 of file indicator_constraint.h.
|
inline |
Definition at line 96 of file indicator_constraint.h.
| BoundedLinearExpression ImpliedConstraint | ( | ) | const |
Definition at line 28 of file indicator_constraint.cc.
|
inline |
Definition at line 109 of file indicator_constraint.h.
|
inline |
Definition at line 102 of file indicator_constraint.h.
|
inline |
Definition at line 122 of file indicator_constraint.h.
|
inline |
Definition at line 100 of file indicator_constraint.h.
| std::string ToString | ( | ) | const |
Definition at line 34 of file indicator_constraint.cc.
|
inline |
Definition at line 98 of file indicator_constraint.h.