![]() |
OR-Tools
9.6
|
Definition at line 43 of file sos/storage.h.
Classes | |
| struct | LinearExpression |
Public Types | |
| using | IdType = ConstraintId |
| using | ProtoType = SosConstraintProto |
| using | UpdatesProtoType = SosConstraintUpdatesProto |
Public Member Functions | |
| SosConstraintData (std::vector< LinearExpression > expressions, std::vector< double > weights, std::string name) | |
| ProtoType | Proto () const |
| std::vector< VariableId > | RelatedVariables () const |
| void | DeleteVariable (VariableId var) |
| bool | has_weights () const |
| double | weight (const int index) const |
| const LinearExpression & | expression (const int index) const |
| int64_t | num_expressions () const |
| const std::string & | name () const |
Static Public Member Functions | |
| static SosConstraintData | FromProto (const ProtoType &in_proto) |
| using IdType = ConstraintId |
Definition at line 45 of file sos/storage.h.
| using ProtoType = SosConstraintProto |
Definition at line 46 of file sos/storage.h.
| using UpdatesProtoType = SosConstraintUpdatesProto |
Definition at line 47 of file sos/storage.h.
|
inline |
Definition at line 61 of file sos/storage.h.
| void DeleteVariable | ( | VariableId | var | ) |
Definition at line 184 of file sos/storage.h.
|
inline |
Definition at line 83 of file sos/storage.h.
|
static |
Definition at line 125 of file sos/storage.h.
|
inline |
Definition at line 77 of file sos/storage.h.
|
inline |
Definition at line 88 of file sos/storage.h.
|
inline |
Definition at line 87 of file sos/storage.h.
| SosConstraintData< ConstraintId >::ProtoType Proto |
Definition at line 151 of file sos/storage.h.
| std::vector< VariableId > RelatedVariables |
Definition at line 172 of file sos/storage.h.
|
inline |
Definition at line 79 of file sos/storage.h.