C++ Reference
C++ Reference: Linear solver
Detailed Description
Definition at line 1212 of file linear_solver.pb.h.
Public Types | |
| enum | : int { kVarIndexFieldNumber = 2, kWeightFieldNumber = 3, kTypeFieldNumber = 1 } |
| typedef MPSosConstraint_Type | Type |
Public Member Functions | |
| MPSosConstraint () | |
| virtual | ~MPSosConstraint () |
| MPSosConstraint (const MPSosConstraint &from) | |
| MPSosConstraint (MPSosConstraint &&from) noexcept | |
| MPSosConstraint & | operator= (const MPSosConstraint &from) |
| MPSosConstraint & | operator= (MPSosConstraint &&from) noexcept |
| const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & | unknown_fields () const |
| inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * | mutable_unknown_fields () |
| void | Swap (MPSosConstraint *other) |
| MPSosConstraint * | New () const final |
| MPSosConstraint * | New (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final |
| void | CopyFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final |
| void | MergeFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final |
| void | CopyFrom (const MPSosConstraint &from) |
| void | MergeFrom (const MPSosConstraint &from) |
| PROTOBUF_ATTRIBUTE_REINITIALIZES void | Clear () final |
| bool | IsInitialized () const final |
| size_t | ByteSizeLong () const final |
| const char * | _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final |
| ::PROTOBUF_NAMESPACE_ID::uint8 * | _InternalSerialize (::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final |
| int | GetCachedSize () const final |
| ::PROTOBUF_NAMESPACE_ID::Metadata | GetMetadata () const final |
| int | var_index_size () const |
| void | clear_var_index () |
| ::PROTOBUF_NAMESPACE_ID::int32 | var_index (int index) const |
| void | set_var_index (int index, ::PROTOBUF_NAMESPACE_ID::int32 value) |
| void | add_var_index (::PROTOBUF_NAMESPACE_ID::int32 value) |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & | var_index () const |
| ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * | mutable_var_index () |
| int | weight_size () const |
| void | clear_weight () |
| double | weight (int index) const |
| void | set_weight (int index, double value) |
| void | add_weight (double value) |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & | weight () const |
| ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * | mutable_weight () |
| bool | has_type () const |
| void | clear_type () |
| ::operations_research::MPSosConstraint_Type | type () const |
| void | set_type (::operations_research::MPSosConstraint_Type value) |
Static Public Member Functions | |
| static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | descriptor () |
| static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | GetDescriptor () |
| static const ::PROTOBUF_NAMESPACE_ID::Reflection * | GetReflection () |
| static const MPSosConstraint & | default_instance () |
| static void | InitAsDefaultInstance () |
| static const MPSosConstraint * | internal_default_instance () |
| static bool | Type_IsValid (int value) |
| static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * | Type_descriptor () |
| template<typename T > | |
| static const std::string & | Type_Name (T enum_t_value) |
| static bool | Type_Parse (const std::string &name, Type *value) |
Static Public Attributes | |
| static constexpr int | kIndexInFileMessages |
| static constexpr Type | SOS1_DEFAULT |
| static constexpr Type | SOS2 |
| static constexpr Type | Type_MIN |
| static constexpr Type | Type_MAX |
| static constexpr int | Type_ARRAYSIZE |
Member Typedef Documentation
◆ Type
| typedef MPSosConstraint_Type Type |
Definition at line 1322 of file linear_solver.pb.h.
Member Enumeration Documentation
◆ anonymous enum
| anonymous enum : int |
| Enumerator | |
|---|---|
| kVarIndexFieldNumber | |
| kWeightFieldNumber | |
| kTypeFieldNumber | |
Definition at line 1354 of file linear_solver.pb.h.
Constructor & Destructor Documentation
◆ MPSosConstraint() [1/3]
| MPSosConstraint | ( | ) |
◆ ~MPSosConstraint()
|
virtual |
◆ MPSosConstraint() [2/3]
| MPSosConstraint | ( | const MPSosConstraint & | from | ) |
◆ MPSosConstraint() [3/3]
|
inlinenoexcept |
Definition at line 1219 of file linear_solver.pb.h.
Member Function Documentation
◆ _InternalParse()
|
final |
◆ _InternalSerialize()
|
final |
◆ add_var_index()
|
inline |
Definition at line 5180 of file linear_solver.pb.h.
◆ add_weight()
|
inline |
Definition at line 5227 of file linear_solver.pb.h.
◆ ByteSizeLong()
|
final |
◆ Clear()
|
final |
◆ clear_type()
|
inline |
Definition at line 5135 of file linear_solver.pb.h.
◆ clear_var_index()
|
inline |
Definition at line 5163 of file linear_solver.pb.h.
◆ clear_weight()
|
inline |
Definition at line 5210 of file linear_solver.pb.h.
◆ CopyFrom() [1/2]
|
final |
◆ CopyFrom() [2/2]
| void CopyFrom | ( | const MPSosConstraint & | from | ) |
◆ default_instance()
|
static |
◆ descriptor()
|
inlinestatic |
Definition at line 1244 of file linear_solver.pb.h.
◆ GetCachedSize()
|
inlinefinal |
Definition at line 1291 of file linear_solver.pb.h.
◆ GetDescriptor()
|
inlinestatic |
Definition at line 1247 of file linear_solver.pb.h.
◆ GetMetadata()
|
final |
◆ GetReflection()
|
inlinestatic |
Definition at line 1250 of file linear_solver.pb.h.
◆ has_type()
|
inline |
Definition at line 5132 of file linear_solver.pb.h.
◆ InitAsDefaultInstance()
|
static |
◆ internal_default_instance()
|
inlinestatic |
Definition at line 1256 of file linear_solver.pb.h.
◆ IsInitialized()
|
final |
◆ MergeFrom() [1/2]
|
final |
◆ MergeFrom() [2/2]
| void MergeFrom | ( | const MPSosConstraint & | from | ) |
◆ mutable_unknown_fields()
|
inline |
Definition at line 1240 of file linear_solver.pb.h.
◆ mutable_var_index()
|
inline |
Definition at line 5198 of file linear_solver.pb.h.
◆ mutable_weight()
|
inline |
Definition at line 5245 of file linear_solver.pb.h.
◆ New() [1/2]
|
inlinefinal |
Definition at line 1273 of file linear_solver.pb.h.
◆ New() [2/2]
|
inlinefinal |
Definition at line 1277 of file linear_solver.pb.h.
◆ operator=() [1/2]
|
inline |
Definition at line 1224 of file linear_solver.pb.h.
◆ operator=() [2/2]
|
inlinenoexcept |
Definition at line 1228 of file linear_solver.pb.h.
◆ set_type()
|
inline |
Definition at line 5151 of file linear_solver.pb.h.
◆ set_var_index()
|
inline |
Definition at line 5173 of file linear_solver.pb.h.
◆ set_weight()
|
inline |
Definition at line 5220 of file linear_solver.pb.h.
◆ Swap()
|
inline |
Definition at line 1266 of file linear_solver.pb.h.
◆ type()
|
inline |
Definition at line 5142 of file linear_solver.pb.h.
◆ Type_descriptor()
|
inlinestatic |
Definition at line 1337 of file linear_solver.pb.h.
◆ Type_IsValid()
|
inlinestatic |
Definition at line 1327 of file linear_solver.pb.h.
◆ Type_Name()
|
inlinestatic |
Definition at line 1341 of file linear_solver.pb.h.
◆ Type_Parse()
|
inlinestatic |
Definition at line 1347 of file linear_solver.pb.h.
◆ unknown_fields()
|
inline |
Definition at line 1237 of file linear_solver.pb.h.
◆ var_index() [1/2]
|
inline |
Definition at line 5189 of file linear_solver.pb.h.
◆ var_index() [2/2]
|
inline |
Definition at line 5169 of file linear_solver.pb.h.
◆ var_index_size()
|
inline |
Definition at line 5160 of file linear_solver.pb.h.
◆ weight() [1/2]
|
inline |
Definition at line 5236 of file linear_solver.pb.h.
◆ weight() [2/2]
|
inline |
Definition at line 5216 of file linear_solver.pb.h.
◆ weight_size()
|
inline |
Definition at line 5207 of file linear_solver.pb.h.
Member Data Documentation
◆ kIndexInFileMessages
|
staticconstexpr |
Definition at line 1260 of file linear_solver.pb.h.
◆ SOS1_DEFAULT
|
staticconstexpr |
Definition at line 1323 of file linear_solver.pb.h.
◆ SOS2
|
staticconstexpr |
Definition at line 1325 of file linear_solver.pb.h.
◆ Type_ARRAYSIZE
|
staticconstexpr |
Definition at line 1334 of file linear_solver.pb.h.
◆ Type_MAX
|
staticconstexpr |
Definition at line 1332 of file linear_solver.pb.h.
◆ Type_MIN
|
staticconstexpr |
Definition at line 1330 of file linear_solver.pb.h.
The documentation for this class was generated from the following file: