public static final class AdaptiveLinesearchParams.Builder extends com.google.protobuf.GeneratedMessage.Builder<AdaptiveLinesearchParams.Builder> implements AdaptiveLinesearchParamsOrBuilder
At the end of each iteration, regardless of whether the step was accepted or not, the adaptive rule updates the step_size as the minimum of two potential step sizes defined by the following two exponents.Protobuf type
operations_research.pdlp.AdaptiveLinesearchParams
Modifier and Type | Method and Description |
---|---|
AdaptiveLinesearchParams |
build() |
AdaptiveLinesearchParams |
buildPartial() |
AdaptiveLinesearchParams.Builder |
clear() |
AdaptiveLinesearchParams.Builder |
clearStepSizeGrowthExponent()
The step size growth exponent defines a step size given by (1 +
(total_steps_attempted + 1)^(-step_size_growth_exponent)) * step_size_.
|
AdaptiveLinesearchParams.Builder |
clearStepSizeReductionExponent()
The step size reduction exponent defines a step size given by
(1 - (total_steps_attempted + 1)^(-step_size_reduction_exponent)) *
step_size_limit where step_size_limit is the maximum allowed step size at
the current iteration.
|
AdaptiveLinesearchParams |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getStepSizeGrowthExponent()
The step size growth exponent defines a step size given by (1 +
(total_steps_attempted + 1)^(-step_size_growth_exponent)) * step_size_.
|
double |
getStepSizeReductionExponent()
The step size reduction exponent defines a step size given by
(1 - (total_steps_attempted + 1)^(-step_size_reduction_exponent)) *
step_size_limit where step_size_limit is the maximum allowed step size at
the current iteration.
|
boolean |
hasStepSizeGrowthExponent()
The step size growth exponent defines a step size given by (1 +
(total_steps_attempted + 1)^(-step_size_growth_exponent)) * step_size_.
|
boolean |
hasStepSizeReductionExponent()
The step size reduction exponent defines a step size given by
(1 - (total_steps_attempted + 1)^(-step_size_reduction_exponent)) *
step_size_limit where step_size_limit is the maximum allowed step size at
the current iteration.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AdaptiveLinesearchParams.Builder |
mergeFrom(AdaptiveLinesearchParams other) |
AdaptiveLinesearchParams.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AdaptiveLinesearchParams.Builder |
mergeFrom(com.google.protobuf.Message other) |
AdaptiveLinesearchParams.Builder |
setStepSizeGrowthExponent(double value)
The step size growth exponent defines a step size given by (1 +
(total_steps_attempted + 1)^(-step_size_growth_exponent)) * step_size_.
|
AdaptiveLinesearchParams.Builder |
setStepSizeReductionExponent(double value)
The step size reduction exponent defines a step size given by
(1 - (total_steps_attempted + 1)^(-step_size_reduction_exponent)) *
step_size_limit where step_size_limit is the maximum allowed step size at
the current iteration.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<AdaptiveLinesearchParams.Builder>
public AdaptiveLinesearchParams.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<AdaptiveLinesearchParams.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<AdaptiveLinesearchParams.Builder>
public AdaptiveLinesearchParams getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AdaptiveLinesearchParams build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AdaptiveLinesearchParams buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AdaptiveLinesearchParams.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AdaptiveLinesearchParams.Builder>
public AdaptiveLinesearchParams.Builder mergeFrom(AdaptiveLinesearchParams other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<AdaptiveLinesearchParams.Builder>
public AdaptiveLinesearchParams.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AdaptiveLinesearchParams.Builder>
java.io.IOException
public boolean hasStepSizeReductionExponent()
The step size reduction exponent defines a step size given by (1 - (total_steps_attempted + 1)^(-step_size_reduction_exponent)) * step_size_limit where step_size_limit is the maximum allowed step size at the current iteration. This should be between 0.1 and 1.
optional double step_size_reduction_exponent = 1 [default = 0.3];
hasStepSizeReductionExponent
in interface AdaptiveLinesearchParamsOrBuilder
public double getStepSizeReductionExponent()
The step size reduction exponent defines a step size given by (1 - (total_steps_attempted + 1)^(-step_size_reduction_exponent)) * step_size_limit where step_size_limit is the maximum allowed step size at the current iteration. This should be between 0.1 and 1.
optional double step_size_reduction_exponent = 1 [default = 0.3];
getStepSizeReductionExponent
in interface AdaptiveLinesearchParamsOrBuilder
public AdaptiveLinesearchParams.Builder setStepSizeReductionExponent(double value)
The step size reduction exponent defines a step size given by (1 - (total_steps_attempted + 1)^(-step_size_reduction_exponent)) * step_size_limit where step_size_limit is the maximum allowed step size at the current iteration. This should be between 0.1 and 1.
optional double step_size_reduction_exponent = 1 [default = 0.3];
value
- The stepSizeReductionExponent to set.public AdaptiveLinesearchParams.Builder clearStepSizeReductionExponent()
The step size reduction exponent defines a step size given by (1 - (total_steps_attempted + 1)^(-step_size_reduction_exponent)) * step_size_limit where step_size_limit is the maximum allowed step size at the current iteration. This should be between 0.1 and 1.
optional double step_size_reduction_exponent = 1 [default = 0.3];
public boolean hasStepSizeGrowthExponent()
The step size growth exponent defines a step size given by (1 + (total_steps_attempted + 1)^(-step_size_growth_exponent)) * step_size_. This should be between 0.1 and 1.
optional double step_size_growth_exponent = 2 [default = 0.6];
hasStepSizeGrowthExponent
in interface AdaptiveLinesearchParamsOrBuilder
public double getStepSizeGrowthExponent()
The step size growth exponent defines a step size given by (1 + (total_steps_attempted + 1)^(-step_size_growth_exponent)) * step_size_. This should be between 0.1 and 1.
optional double step_size_growth_exponent = 2 [default = 0.6];
getStepSizeGrowthExponent
in interface AdaptiveLinesearchParamsOrBuilder
public AdaptiveLinesearchParams.Builder setStepSizeGrowthExponent(double value)
The step size growth exponent defines a step size given by (1 + (total_steps_attempted + 1)^(-step_size_growth_exponent)) * step_size_. This should be between 0.1 and 1.
optional double step_size_growth_exponent = 2 [default = 0.6];
value
- The stepSizeGrowthExponent to set.public AdaptiveLinesearchParams.Builder clearStepSizeGrowthExponent()
The step size growth exponent defines a step size given by (1 + (total_steps_attempted + 1)^(-step_size_growth_exponent)) * step_size_. This should be between 0.1 and 1.
optional double step_size_growth_exponent = 2 [default = 0.6];
Copyright © 2025. All rights reserved.