![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
The cooling schedule strategy defines how to compute the current simulated annealing temperature t given - the initial temperature t0 - the final temperature t1 - the current search progress 0 <= p <= 1 The value of t0 and t1 is defined by the initial_temperature and final_temperature in SimulatedAnnealingParameters, respectively. The search progress p is derived, at any given time, by the search limits. In particular, p measures how far we are in the search process w.r.t. to the number of explored solutions and the time limit. The temperature t, computed according to one of the strategies defined below, together with the selected AcceptanceStrategy, is used to guide the search trajectory. In particular, given a neighbor solution S', generated by the the application of the perturbation and improvement step to a reference solution S, we have that S will be replaced by S' iff cost(S') + t * log(U(0, 1)) < cost(S) where U(0, 1) is a random number sampled from a uniform distribution of real numbers in [0, 1].
Protobuf type operations_research.CoolingScheduleStrategy
Definition at line 36 of file CoolingScheduleStrategy.java.
Classes | |
class | Builder |
enum | Value |
Public Member Functions | |
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< CoolingScheduleStrategy > | getParserForType () |
com.google.ortools.constraintsolver.CoolingScheduleStrategy | getDefaultInstanceForType () |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.constraintsolver.CoolingScheduleStrategy | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.CoolingScheduleStrategy | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.CoolingScheduleStrategy | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.CoolingScheduleStrategy | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.CoolingScheduleStrategy | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.CoolingScheduleStrategy | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.CoolingScheduleStrategy | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.constraintsolver.CoolingScheduleStrategy | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.constraintsolver.CoolingScheduleStrategy | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.constraintsolver.CoolingScheduleStrategy | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.constraintsolver.CoolingScheduleStrategy | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.constraintsolver.CoolingScheduleStrategy | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static Builder | newBuilder () |
static Builder | newBuilder (com.google.ortools.constraintsolver.CoolingScheduleStrategy prototype) |
static com.google.ortools.constraintsolver.CoolingScheduleStrategy | getDefaultInstance () |
static com.google.protobuf.Parser< CoolingScheduleStrategy > | parser () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
boolean com.google.ortools.constraintsolver.CoolingScheduleStrategy.equals | ( | final java.lang.Object | obj | ) |
Definition at line 253 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 520 of file CoolingScheduleStrategy.java.
com.google.ortools.constraintsolver.CoolingScheduleStrategy com.google.ortools.constraintsolver.CoolingScheduleStrategy.getDefaultInstanceForType | ( | ) |
Definition at line 556 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 58 of file CoolingScheduleStrategy.java.
com.google.protobuf.Parser< CoolingScheduleStrategy > com.google.ortools.constraintsolver.CoolingScheduleStrategy.getParserForType | ( | ) |
Definition at line 551 of file CoolingScheduleStrategy.java.
int com.google.ortools.constraintsolver.CoolingScheduleStrategy.getSerializedSize | ( | ) |
Definition at line 242 of file CoolingScheduleStrategy.java.
int com.google.ortools.constraintsolver.CoolingScheduleStrategy.hashCode | ( | ) |
Definition at line 267 of file CoolingScheduleStrategy.java.
|
protected |
Definition at line 64 of file CoolingScheduleStrategy.java.
final boolean com.google.ortools.constraintsolver.CoolingScheduleStrategy.isInitialized | ( | ) |
Definition at line 226 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 352 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 355 of file CoolingScheduleStrategy.java.
Builder com.google.ortools.constraintsolver.CoolingScheduleStrategy.newBuilderForType | ( | ) |
Definition at line 351 of file CoolingScheduleStrategy.java.
|
protected |
Definition at line 365 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 323 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 329 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 300 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 304 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 289 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 294 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 336 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 342 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 310 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 315 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 278 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 283 of file CoolingScheduleStrategy.java.
|
static |
Definition at line 546 of file CoolingScheduleStrategy.java.
Builder com.google.ortools.constraintsolver.CoolingScheduleStrategy.toBuilder | ( | ) |
Definition at line 359 of file CoolingScheduleStrategy.java.
void com.google.ortools.constraintsolver.CoolingScheduleStrategy.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 236 of file CoolingScheduleStrategy.java.