public static enum GlopParameters.ScalingAlgorithm extends java.lang.Enum<GlopParameters.ScalingAlgorithm> implements com.google.protobuf.ProtocolMessageEnum
Supported algorithms for scaling: EQUILIBRATION - progressive scaling by row and column norms until the marginal difference passes below a threshold. LINEAR_PROGRAM - EXPERIMENTAL: finding optimal scale factors using a linear program in the log scale.Protobuf enum
operations_research.glop.GlopParameters.ScalingAlgorithm
Enum Constant and Description |
---|
DEFAULT
DEFAULT = 0; |
EQUILIBRATION
EQUILIBRATION = 1; |
LINEAR_PROGRAM
LINEAR_PROGRAM = 2; |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_VALUE
DEFAULT = 0; |
static int |
EQUILIBRATION_VALUE
EQUILIBRATION = 1; |
static int |
LINEAR_PROGRAM_VALUE
LINEAR_PROGRAM = 2; |
Modifier and Type | Method and Description |
---|---|
static GlopParameters.ScalingAlgorithm |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<GlopParameters.ScalingAlgorithm> |
internalGetValueMap() |
static GlopParameters.ScalingAlgorithm |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GlopParameters.ScalingAlgorithm |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GlopParameters.ScalingAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GlopParameters.ScalingAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlopParameters.ScalingAlgorithm DEFAULT
DEFAULT = 0;
public static final GlopParameters.ScalingAlgorithm EQUILIBRATION
EQUILIBRATION = 1;
public static final GlopParameters.ScalingAlgorithm LINEAR_PROGRAM
LINEAR_PROGRAM = 2;
public static final int DEFAULT_VALUE
DEFAULT = 0;
public static final int EQUILIBRATION_VALUE
EQUILIBRATION = 1;
public static final int LINEAR_PROGRAM_VALUE
LINEAR_PROGRAM = 2;
public static GlopParameters.ScalingAlgorithm[] values()
for (GlopParameters.ScalingAlgorithm c : GlopParameters.ScalingAlgorithm.values()) System.out.println(c);
public static GlopParameters.ScalingAlgorithm valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static GlopParameters.ScalingAlgorithm valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static GlopParameters.ScalingAlgorithm forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<GlopParameters.ScalingAlgorithm> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static GlopParameters.ScalingAlgorithm valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025. All rights reserved.