public static enum PrimalDualHybridGradientParams.LinesearchRule extends java.lang.Enum<PrimalDualHybridGradientParams.LinesearchRule> implements com.google.protobuf.ProtocolMessageEnum
operations_research.pdlp.PrimalDualHybridGradientParams.LinesearchRule
Enum Constant and Description |
---|
ADAPTIVE_LINESEARCH_RULE
Applies the heuristic rule presented in Section 3.1 of
https://arxiv.org/pdf/2106.04756.pdf (further generalized to QP).
|
CONSTANT_STEP_SIZE_RULE
Uses a constant step size corresponding to an estimate of the maximum
singular value of the constraint matrix.
|
LINESEARCH_RULE_UNSPECIFIED
LINESEARCH_RULE_UNSPECIFIED = 0; |
MALITSKY_POCK_LINESEARCH_RULE
Applies Malitsky & Pock linesearch rule.
|
Modifier and Type | Field and Description |
---|---|
static int |
ADAPTIVE_LINESEARCH_RULE_VALUE
Applies the heuristic rule presented in Section 3.1 of
https://arxiv.org/pdf/2106.04756.pdf (further generalized to QP).
|
static int |
CONSTANT_STEP_SIZE_RULE_VALUE
Uses a constant step size corresponding to an estimate of the maximum
singular value of the constraint matrix.
|
static int |
LINESEARCH_RULE_UNSPECIFIED_VALUE
LINESEARCH_RULE_UNSPECIFIED = 0; |
static int |
MALITSKY_POCK_LINESEARCH_RULE_VALUE
Applies Malitsky & Pock linesearch rule.
|
Modifier and Type | Method and Description |
---|---|
static PrimalDualHybridGradientParams.LinesearchRule |
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<PrimalDualHybridGradientParams.LinesearchRule> |
internalGetValueMap() |
static PrimalDualHybridGradientParams.LinesearchRule |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PrimalDualHybridGradientParams.LinesearchRule |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PrimalDualHybridGradientParams.LinesearchRule |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrimalDualHybridGradientParams.LinesearchRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimalDualHybridGradientParams.LinesearchRule LINESEARCH_RULE_UNSPECIFIED
LINESEARCH_RULE_UNSPECIFIED = 0;
public static final PrimalDualHybridGradientParams.LinesearchRule ADAPTIVE_LINESEARCH_RULE
Applies the heuristic rule presented in Section 3.1 of https://arxiv.org/pdf/2106.04756.pdf (further generalized to QP). There is not a proof of convergence for it. It is usually the fastest in practice but sometimes behaves poorly.
ADAPTIVE_LINESEARCH_RULE = 1;
public static final PrimalDualHybridGradientParams.LinesearchRule MALITSKY_POCK_LINESEARCH_RULE
Applies Malitsky & Pock linesearch rule. This guarantees an ergodic O(1/N) convergence rate https://arxiv.org/pdf/1608.08883.pdf. This is provably convergent but doesn't usually work as well in practice as ADAPTIVE_LINESEARCH_RULE.
MALITSKY_POCK_LINESEARCH_RULE = 2;
public static final PrimalDualHybridGradientParams.LinesearchRule CONSTANT_STEP_SIZE_RULE
Uses a constant step size corresponding to an estimate of the maximum singular value of the constraint matrix.
CONSTANT_STEP_SIZE_RULE = 3;
public static final int LINESEARCH_RULE_UNSPECIFIED_VALUE
LINESEARCH_RULE_UNSPECIFIED = 0;
public static final int ADAPTIVE_LINESEARCH_RULE_VALUE
Applies the heuristic rule presented in Section 3.1 of https://arxiv.org/pdf/2106.04756.pdf (further generalized to QP). There is not a proof of convergence for it. It is usually the fastest in practice but sometimes behaves poorly.
ADAPTIVE_LINESEARCH_RULE = 1;
public static final int MALITSKY_POCK_LINESEARCH_RULE_VALUE
Applies Malitsky & Pock linesearch rule. This guarantees an ergodic O(1/N) convergence rate https://arxiv.org/pdf/1608.08883.pdf. This is provably convergent but doesn't usually work as well in practice as ADAPTIVE_LINESEARCH_RULE.
MALITSKY_POCK_LINESEARCH_RULE = 2;
public static final int CONSTANT_STEP_SIZE_RULE_VALUE
Uses a constant step size corresponding to an estimate of the maximum singular value of the constraint matrix.
CONSTANT_STEP_SIZE_RULE = 3;
public static PrimalDualHybridGradientParams.LinesearchRule[] values()
for (PrimalDualHybridGradientParams.LinesearchRule c : PrimalDualHybridGradientParams.LinesearchRule.values()) System.out.println(c);
public static PrimalDualHybridGradientParams.LinesearchRule 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 PrimalDualHybridGradientParams.LinesearchRule valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static PrimalDualHybridGradientParams.LinesearchRule forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PrimalDualHybridGradientParams.LinesearchRule> 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 PrimalDualHybridGradientParams.LinesearchRule valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025. All rights reserved.