Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.CoolingScheduleStrategy Class Reference
Inheritance diagram for com.google.ortools.constraintsolver.CoolingScheduleStrategy:
com.google.ortools.constraintsolver.CoolingScheduleStrategyOrBuilder

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< CoolingScheduleStrategygetParserForType ()
 
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< CoolingScheduleStrategyparser ()
 

Protected Member Functions

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent)
 

Detailed Description

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 35 of file CoolingScheduleStrategy.java.

Member Function Documentation

◆ equals()

boolean com.google.ortools.constraintsolver.CoolingScheduleStrategy.equals ( final java.lang.Object obj)

Definition at line 252 of file CoolingScheduleStrategy.java.

◆ getDefaultInstance()

static com.google.ortools.constraintsolver.CoolingScheduleStrategy com.google.ortools.constraintsolver.CoolingScheduleStrategy.getDefaultInstance ( )
static

Definition at line 519 of file CoolingScheduleStrategy.java.

◆ getDefaultInstanceForType()

com.google.ortools.constraintsolver.CoolingScheduleStrategy com.google.ortools.constraintsolver.CoolingScheduleStrategy.getDefaultInstanceForType ( )

Definition at line 555 of file CoolingScheduleStrategy.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.CoolingScheduleStrategy.getDescriptor ( )
static

Definition at line 57 of file CoolingScheduleStrategy.java.

◆ getParserForType()

com.google.protobuf.Parser< CoolingScheduleStrategy > com.google.ortools.constraintsolver.CoolingScheduleStrategy.getParserForType ( )

Definition at line 550 of file CoolingScheduleStrategy.java.

◆ getSerializedSize()

int com.google.ortools.constraintsolver.CoolingScheduleStrategy.getSerializedSize ( )

Definition at line 241 of file CoolingScheduleStrategy.java.

◆ hashCode()

int com.google.ortools.constraintsolver.CoolingScheduleStrategy.hashCode ( )

Definition at line 266 of file CoolingScheduleStrategy.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessage.FieldAccessorTable com.google.ortools.constraintsolver.CoolingScheduleStrategy.internalGetFieldAccessorTable ( )
protected

Definition at line 63 of file CoolingScheduleStrategy.java.

◆ isInitialized()

final boolean com.google.ortools.constraintsolver.CoolingScheduleStrategy.isInitialized ( )

Definition at line 225 of file CoolingScheduleStrategy.java.

◆ newBuilder() [1/2]

static Builder com.google.ortools.constraintsolver.CoolingScheduleStrategy.newBuilder ( )
static

Definition at line 351 of file CoolingScheduleStrategy.java.

◆ newBuilder() [2/2]

static Builder com.google.ortools.constraintsolver.CoolingScheduleStrategy.newBuilder ( com.google.ortools.constraintsolver.CoolingScheduleStrategy prototype)
static

Definition at line 354 of file CoolingScheduleStrategy.java.

◆ newBuilderForType() [1/2]

Builder com.google.ortools.constraintsolver.CoolingScheduleStrategy.newBuilderForType ( )

Definition at line 350 of file CoolingScheduleStrategy.java.

◆ newBuilderForType() [2/2]

Builder com.google.ortools.constraintsolver.CoolingScheduleStrategy.newBuilderForType ( com.google.protobuf.GeneratedMessage.BuilderParent parent)
protected

Definition at line 364 of file CoolingScheduleStrategy.java.

◆ parseDelimitedFrom() [1/2]

static com.google.ortools.constraintsolver.CoolingScheduleStrategy com.google.ortools.constraintsolver.CoolingScheduleStrategy.parseDelimitedFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 322 of file CoolingScheduleStrategy.java.

◆ parseDelimitedFrom() [2/2]

static com.google.ortools.constraintsolver.CoolingScheduleStrategy com.google.ortools.constraintsolver.CoolingScheduleStrategy.parseDelimitedFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 328 of file CoolingScheduleStrategy.java.

◆ parseFrom() [1/10]

static com.google.ortools.constraintsolver.CoolingScheduleStrategy com.google.ortools.constraintsolver.CoolingScheduleStrategy.parseFrom ( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 299 of file CoolingScheduleStrategy.java.

◆ parseFrom() [2/10]

static com.google.ortools.constraintsolver.CoolingScheduleStrategy com.google.ortools.constraintsolver.CoolingScheduleStrategy.parseFrom ( byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 303 of file CoolingScheduleStrategy.java.

◆ parseFrom() [3/10]

static com.google.ortools.constraintsolver.CoolingScheduleStrategy com.google.ortools.constraintsolver.CoolingScheduleStrategy.parseFrom ( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 288 of file CoolingScheduleStrategy.java.

◆ parseFrom() [4/10]

static com.google.ortools.constraintsolver.CoolingScheduleStrategy com.google.ortools.constraintsolver.CoolingScheduleStrategy.parseFrom ( com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 293 of file CoolingScheduleStrategy.java.

◆ parseFrom() [5/10]

static com.google.ortools.constraintsolver.CoolingScheduleStrategy com.google.ortools.constraintsolver.CoolingScheduleStrategy.parseFrom ( com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

Definition at line 335 of file CoolingScheduleStrategy.java.

◆ parseFrom() [6/10]

static com.google.ortools.constraintsolver.CoolingScheduleStrategy com.google.ortools.constraintsolver.CoolingScheduleStrategy.parseFrom ( com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 341 of file CoolingScheduleStrategy.java.

◆ parseFrom() [7/10]

static com.google.ortools.constraintsolver.CoolingScheduleStrategy com.google.ortools.constraintsolver.CoolingScheduleStrategy.parseFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 309 of file CoolingScheduleStrategy.java.

◆ parseFrom() [8/10]

static com.google.ortools.constraintsolver.CoolingScheduleStrategy com.google.ortools.constraintsolver.CoolingScheduleStrategy.parseFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 314 of file CoolingScheduleStrategy.java.

◆ parseFrom() [9/10]

static com.google.ortools.constraintsolver.CoolingScheduleStrategy com.google.ortools.constraintsolver.CoolingScheduleStrategy.parseFrom ( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 277 of file CoolingScheduleStrategy.java.

◆ parseFrom() [10/10]

static com.google.ortools.constraintsolver.CoolingScheduleStrategy com.google.ortools.constraintsolver.CoolingScheduleStrategy.parseFrom ( java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 282 of file CoolingScheduleStrategy.java.

◆ parser()

static com.google.protobuf.Parser< CoolingScheduleStrategy > com.google.ortools.constraintsolver.CoolingScheduleStrategy.parser ( )
static

Definition at line 545 of file CoolingScheduleStrategy.java.

◆ toBuilder()

Builder com.google.ortools.constraintsolver.CoolingScheduleStrategy.toBuilder ( )

Definition at line 358 of file CoolingScheduleStrategy.java.

◆ writeTo()

void com.google.ortools.constraintsolver.CoolingScheduleStrategy.writeTo ( com.google.protobuf.CodedOutputStream output) throws java.io.IOException

Definition at line 235 of file CoolingScheduleStrategy.java.


The documentation for this class was generated from the following file: