![]() |
OR-Tools
9.6
|
Definition at line 36 of file sos2_constraint.h.
Public Types | |
| using | IdType = Sos2ConstraintId |
Public Member Functions | |
| Sos2Constraint (const ModelStorage *storage, Sos2ConstraintId id) | |
| int64_t | id () const |
| Sos2ConstraintId | typed_id () const |
| const ModelStorage * | storage () const |
| int64_t | num_expressions () const |
| LinearExpression | Expression (int index) const |
| bool | has_weights () const |
| double | weight (int index) const |
| absl::string_view | name () const |
| std::vector< Variable > | NonzeroVariables () const |
| std::string | ToString () const |
| using IdType = Sos2ConstraintId |
Definition at line 39 of file sos2_constraint.h.
|
inline |
Definition at line 150 of file sos2_constraint.h.
| LinearExpression Expression | ( | int | index | ) | const |
Definition at line 22 of file sos2_constraint.cc.
|
inline |
Definition at line 100 of file sos2_constraint.h.
|
inline |
Definition at line 90 of file sos2_constraint.h.
|
inline |
Definition at line 108 of file sos2_constraint.h.
|
inline |
Definition at line 115 of file sos2_constraint.h.
|
inline |
Definition at line 96 of file sos2_constraint.h.
|
inline |
Definition at line 94 of file sos2_constraint.h.
|
inline |
Definition at line 143 of file sos2_constraint.h.
|
inline |
Definition at line 92 of file sos2_constraint.h.
|
inline |
Definition at line 104 of file sos2_constraint.h.