Java Reference

Java Reference

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< TypeinternalGetValueMap ()
 
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()

static Type forNumber ( int  value)
inlinestatic
Parameters
valueThe 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()

static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor ( )
inlinestatic

Definition at line 245 of file MPSosConstraint.java.

◆ getDescriptorForType()

final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType ( )
inline

Definition at line 241 of file MPSosConstraint.java.

◆ getNumber()

final int getNumber ( )
inline

Definition at line 198 of file MPSosConstraint.java.

◆ getValueDescriptor()

final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor ( )
inline

Definition at line 237 of file MPSosConstraint.java.

◆ internalGetValueMap()

static com.google.protobuf.Internal.EnumLiteMap<Type> internalGetValueMap ( )
inlinestatic

Definition at line 225 of file MPSosConstraint.java.

◆ valueOf() [1/2]

static Type valueOf ( com.google.protobuf.Descriptors.EnumValueDescriptor  desc)
inlinestatic

Definition at line 251 of file MPSosConstraint.java.

◆ valueOf() [2/2]

.lang.Deprecated static Type valueOf ( int  value)
inlinestatic
Parameters
valueThe 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

final int SOS1_DEFAULT_VALUE = 0
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

final int SOS2_VALUE = 1
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: