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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AdaptiveLinesearchParams.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AdaptiveLinesearchParams.Builder>public AdaptiveLinesearchParams getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AdaptiveLinesearchParams build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AdaptiveLinesearchParams buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AdaptiveLinesearchParams.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdaptiveLinesearchParams.Builder>java.io.IOExceptionpublic 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 AdaptiveLinesearchParamsOrBuilderpublic 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 AdaptiveLinesearchParamsOrBuilderpublic 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 AdaptiveLinesearchParamsOrBuilderpublic 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 AdaptiveLinesearchParamsOrBuilderpublic 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 © 2024. All rights reserved.