Java Reference
Java Reference
Public Member Functions |
Static Public Member Functions |
Public Attributes |
Static Public Attributes |
List of all members
MPSosConstraint.Type Enum Reference
Detailed Description
Protobuf enum.
operations_research.MPSosConstraint.Type
Definition at line 156 of file MPSosConstraint.java.
Public Member Functions | |
| final int | getNumber () |
| final com.google.protobuf.Descriptors.EnumValueDescriptor | getValueDescriptor () |
| final com.google.protobuf.Descriptors.EnumDescriptor | getDescriptorForType () |
Static Public Member Functions | |
| .lang.Deprecated static Type | valueOf (int value) |
| static Type | forNumber (int value) |
| static com.google.protobuf.Internal.EnumLiteMap< Type > | internalGetValueMap () |
| static final com.google.protobuf.Descriptors.EnumDescriptor | getDescriptor () |
| static Type | valueOf (com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
Public Attributes | |
| SOS1_DEFAULT =(0) | |
| SOS2 =(1) | |
Static Public Attributes | |
| static final int | SOS1_DEFAULT_VALUE = 0 |
| static final int | SOS2_VALUE = 1 |
Member Function Documentation
◆ forNumber()
|
inlinestatic |
- Parameters
-
value The numeric wire value of the corresponding enum entry.
- Returns
- The enum associated with the given numeric wire value.
Definition at line 216 of file MPSosConstraint.java.
◆ getDescriptor()
|
inlinestatic |
Definition at line 245 of file MPSosConstraint.java.
◆ getDescriptorForType()
|
inline |
Definition at line 241 of file MPSosConstraint.java.
◆ getNumber()
|
inline |
Definition at line 198 of file MPSosConstraint.java.
◆ getValueDescriptor()
|
inline |
Definition at line 237 of file MPSosConstraint.java.
◆ internalGetValueMap()
|
inlinestatic |
Definition at line 225 of file MPSosConstraint.java.
◆ valueOf() [1/2]
|
inlinestatic |
Definition at line 251 of file MPSosConstraint.java.
◆ valueOf() [2/2]
|
inlinestatic |
- Parameters
-
value The numeric wire value of the corresponding enum entry.
- Returns
- The enum associated with the given numeric wire value.
- Deprecated:
- Use forNumber(int) instead.
Definition at line 208 of file MPSosConstraint.java.
Member Data Documentation
◆ SOS1_DEFAULT
| SOS1_DEFAULT =(0) |
At most one variable in `var_index` must be non-zero.
SOS1_DEFAULT = 0;
Definition at line 165 of file MPSosConstraint.java.
◆ SOS1_DEFAULT_VALUE
|
static |
At most one variable in `var_index` must be non-zero.
SOS1_DEFAULT = 0;
Definition at line 185 of file MPSosConstraint.java.
◆ SOS2
| SOS2 =(1) |
At most two consecutive variables from `var_index` can be non-zero (i.e. for some i, var_index[i] and var_index[i+1]). See http://www.eudoxus.com/lp-training/5/5-6-special-ordered-sets-of-type-2
SOS2 = 1;
Definition at line 175 of file MPSosConstraint.java.
◆ SOS2_VALUE
|
static |
At most two consecutive variables from `var_index` can be non-zero (i.e. for some i, var_index[i] and var_index[i+1]). See http://www.eudoxus.com/lp-training/5/5-6-special-ordered-sets-of-type-2
SOS2 = 1;
Definition at line 195 of file MPSosConstraint.java.
The documentation for this enum was generated from the following file: