![]() |
OR-Tools
9.6
|
Definition at line 36 of file sos1_constraint.h.
Public Types | |
| using | IdType = Sos1ConstraintId |
Public Member Functions | |
| Sos1Constraint (const ModelStorage *storage, Sos1ConstraintId id) | |
| int64_t | id () const |
| Sos1ConstraintId | 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 = Sos1ConstraintId |
Definition at line 39 of file sos1_constraint.h.
|
inline |
Definition at line 149 of file sos1_constraint.h.
| LinearExpression Expression | ( | int | index | ) | const |
Definition at line 22 of file sos1_constraint.cc.
|
inline |
Definition at line 99 of file sos1_constraint.h.
|
inline |
Definition at line 89 of file sos1_constraint.h.
|
inline |
Definition at line 107 of file sos1_constraint.h.
|
inline |
Definition at line 114 of file sos1_constraint.h.
|
inline |
Definition at line 95 of file sos1_constraint.h.
|
inline |
Definition at line 93 of file sos1_constraint.h.
|
inline |
Definition at line 142 of file sos1_constraint.h.
|
inline |
Definition at line 91 of file sos1_constraint.h.
|
inline |
Definition at line 103 of file sos1_constraint.h.