![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
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
Definition at line 18 of file AdaptiveLinesearchParams.java.
Classes | |
class | Builder |
Public Member Functions | |
boolean | hasStepSizeReductionExponent () |
double | getStepSizeReductionExponent () |
boolean | hasStepSizeGrowthExponent () |
double | getStepSizeGrowthExponent () |
final boolean | isInitialized () |
void | writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException |
int | getSerializedSize () |
boolean | equals (final java.lang.Object obj) |
int | hashCode () |
Builder | newBuilderForType () |
Builder | toBuilder () |
com.google.protobuf.Parser< AdaptiveLinesearchParams > | getParserForType () |
com.google.ortools.pdlp.AdaptiveLinesearchParams | getDefaultInstanceForType () |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.pdlp.AdaptiveLinesearchParams | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.pdlp.AdaptiveLinesearchParams | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.pdlp.AdaptiveLinesearchParams | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.pdlp.AdaptiveLinesearchParams | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.pdlp.AdaptiveLinesearchParams | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.pdlp.AdaptiveLinesearchParams | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.pdlp.AdaptiveLinesearchParams | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.pdlp.AdaptiveLinesearchParams | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.pdlp.AdaptiveLinesearchParams | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.pdlp.AdaptiveLinesearchParams | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.pdlp.AdaptiveLinesearchParams | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.pdlp.AdaptiveLinesearchParams | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static Builder | newBuilder () |
static Builder | newBuilder (com.google.ortools.pdlp.AdaptiveLinesearchParams prototype) |
static com.google.ortools.pdlp.AdaptiveLinesearchParams | getDefaultInstance () |
static com.google.protobuf.Parser< AdaptiveLinesearchParams > | parser () |
Static Public Attributes | |
static final int | STEP_SIZE_REDUCTION_EXPONENT_FIELD_NUMBER = 1 |
static final int | STEP_SIZE_GROWTH_EXPONENT_FIELD_NUMBER = 2 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
boolean com.google.ortools.pdlp.AdaptiveLinesearchParams.equals | ( | final java.lang.Object | obj | ) |
Definition at line 162 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 600 of file AdaptiveLinesearchParams.java.
com.google.ortools.pdlp.AdaptiveLinesearchParams com.google.ortools.pdlp.AdaptiveLinesearchParams.getDefaultInstanceForType | ( | ) |
Definition at line 636 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 42 of file AdaptiveLinesearchParams.java.
com.google.protobuf.Parser< AdaptiveLinesearchParams > com.google.ortools.pdlp.AdaptiveLinesearchParams.getParserForType | ( | ) |
Definition at line 631 of file AdaptiveLinesearchParams.java.
int com.google.ortools.pdlp.AdaptiveLinesearchParams.getSerializedSize | ( | ) |
Definition at line 143 of file AdaptiveLinesearchParams.java.
double com.google.ortools.pdlp.AdaptiveLinesearchParams.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];
Implements com.google.ortools.pdlp.AdaptiveLinesearchParamsOrBuilder.
Definition at line 115 of file AdaptiveLinesearchParams.java.
double com.google.ortools.pdlp.AdaptiveLinesearchParams.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];
Implements com.google.ortools.pdlp.AdaptiveLinesearchParamsOrBuilder.
Definition at line 84 of file AdaptiveLinesearchParams.java.
int com.google.ortools.pdlp.AdaptiveLinesearchParams.hashCode | ( | ) |
Definition at line 188 of file AdaptiveLinesearchParams.java.
boolean com.google.ortools.pdlp.AdaptiveLinesearchParams.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];
Implements com.google.ortools.pdlp.AdaptiveLinesearchParamsOrBuilder.
Definition at line 101 of file AdaptiveLinesearchParams.java.
boolean com.google.ortools.pdlp.AdaptiveLinesearchParams.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];
Implements com.google.ortools.pdlp.AdaptiveLinesearchParamsOrBuilder.
Definition at line 69 of file AdaptiveLinesearchParams.java.
|
protected |
Definition at line 48 of file AdaptiveLinesearchParams.java.
final boolean com.google.ortools.pdlp.AdaptiveLinesearchParams.isInitialized | ( | ) |
Definition at line 121 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 283 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 286 of file AdaptiveLinesearchParams.java.
Builder com.google.ortools.pdlp.AdaptiveLinesearchParams.newBuilderForType | ( | ) |
Definition at line 282 of file AdaptiveLinesearchParams.java.
|
protected |
Definition at line 296 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 254 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 260 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 231 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 235 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 220 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 225 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 267 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 273 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 241 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 246 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 209 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 214 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 626 of file AdaptiveLinesearchParams.java.
Builder com.google.ortools.pdlp.AdaptiveLinesearchParams.toBuilder | ( | ) |
Definition at line 290 of file AdaptiveLinesearchParams.java.
void com.google.ortools.pdlp.AdaptiveLinesearchParams.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 131 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 88 of file AdaptiveLinesearchParams.java.
|
static |
Definition at line 55 of file AdaptiveLinesearchParams.java.