Specifies the behavior of a simulated annealing acceptance strategy.
More...
|
static pb::MessageParser< SimulatedAnnealingParameters > | Parser [get] |
|
static pbr::MessageDescriptor | Descriptor [get] |
|
global::Google.OrTools.ConstraintSolver.CoolingScheduleStrategy.Types.Value | CoolingScheduleStrategy [get, set] |
| Determines the speed at which the temperature changes from initial to final.
|
|
double | InitialTemperature [get, set] |
| The initial temperature. See CoolingScheduleStrategy for its usage.
|
|
bool | HasInitialTemperature [get] |
| Gets whether the "initial_temperature" field is set.
|
|
double | FinalTemperature [get, set] |
| The final temperature. See CoolingScheduleStrategy for its usage.
|
|
bool | HasFinalTemperature [get] |
| Gets whether the "final_temperature" field is set.
|
|
bool | AutomaticTemperatures [get, set] |
| Automatically define the value for the temperatures as follows. First, a reference temperature t is defined as w1 * c1 + w2 * c2 + ... + wK * cK where 0 < wJ <= 1 is the fraction of vehicles of cost class J and cJ is the average arc cost for the cost class J. The value of cJ is identified by randomly sampling N arc costs for the cost class J, where N is equal to the number of instance nodes. The initial and final temperatures are then defined as.
|
|
bool | HasAutomaticTemperatures [get] |
| Gets whether the "automatic_temperatures" field is set.
|
|
Specifies the behavior of a simulated annealing acceptance strategy.
Definition at line 2362 of file RoutingIls.pb.cs.
◆ SimulatedAnnealingParameters() [1/2]
Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.SimulatedAnnealingParameters |
( |
| ) |
|
|
inline |
◆ SimulatedAnnealingParameters() [2/2]
◆ CalculateSize()
int Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.CalculateSize |
( |
| ) |
|
|
inline |
◆ ClearAutomaticTemperatures()
void Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.ClearAutomaticTemperatures |
( |
| ) |
|
|
inline |
Clears the value of the "automatic_temperatures" field.
Definition at line 2522 of file RoutingIls.pb.cs.
◆ ClearFinalTemperature()
void Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.ClearFinalTemperature |
( |
| ) |
|
|
inline |
Clears the value of the "final_temperature" field.
Definition at line 2483 of file RoutingIls.pb.cs.
◆ ClearInitialTemperature()
void Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.ClearInitialTemperature |
( |
| ) |
|
|
inline |
Clears the value of the "initial_temperature" field.
Definition at line 2453 of file RoutingIls.pb.cs.
◆ Clone()
◆ Equals() [1/2]
override bool Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.Equals |
( |
object | other | ) |
|
|
inline |
◆ Equals() [2/2]
◆ GetHashCode()
override int Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.GetHashCode |
( |
| ) |
|
|
inline |
◆ MergeFrom() [1/2]
void Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.MergeFrom |
( |
pb.CodedInputStream | input | ) |
|
|
inline |
◆ MergeFrom() [2/2]
◆ ToString()
override string Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.ToString |
( |
| ) |
|
|
inline |
◆ WriteTo()
void Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.WriteTo |
( |
pb.CodedOutputStream | output | ) |
|
|
inline |
◆ AutomaticTemperaturesFieldNumber
const int Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.AutomaticTemperaturesFieldNumber = 4 |
|
static |
Field number for the "automatic_temperatures" field.
Definition at line 2488 of file RoutingIls.pb.cs.
◆ CoolingScheduleStrategyFieldNumber
const int Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.CoolingScheduleStrategyFieldNumber = 1 |
|
static |
Field number for the "cooling_schedule_strategy" field.
Definition at line 2412 of file RoutingIls.pb.cs.
◆ FinalTemperatureFieldNumber
const int Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.FinalTemperatureFieldNumber = 3 |
|
static |
◆ InitialTemperatureFieldNumber
const int Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.InitialTemperatureFieldNumber = 2 |
|
static |
◆ AutomaticTemperatures
bool Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.AutomaticTemperatures |
|
getset |
Automatically define the value for the temperatures as follows. First, a reference temperature t is defined as w1 * c1 + w2 * c2 + ... + wK * cK where 0 < wJ <= 1 is the fraction of vehicles of cost class J and cJ is the average arc cost for the cost class J. The value of cJ is identified by randomly sampling N arc costs for the cost class J, where N is equal to the number of instance nodes. The initial and final temperatures are then defined as.
- initial_temperature: 0.1 * t
- final_temperature: 0.001 * t
Definition at line 2506 of file RoutingIls.pb.cs.
◆ CoolingScheduleStrategy
global.Google.OrTools.ConstraintSolver.CoolingScheduleStrategy.Types.Value Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.CoolingScheduleStrategy |
|
getset |
Determines the speed at which the temperature changes from initial to final.
Definition at line 2420 of file RoutingIls.pb.cs.
◆ Descriptor
pbr.MessageDescriptor Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.Descriptor |
|
staticget |
◆ FinalTemperature
double Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.FinalTemperature |
|
getset |
◆ HasAutomaticTemperatures
bool Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.HasAutomaticTemperatures |
|
get |
Gets whether the "automatic_temperatures" field is set.
Definition at line 2516 of file RoutingIls.pb.cs.
◆ HasFinalTemperature
bool Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.HasFinalTemperature |
|
get |
Gets whether the "final_temperature" field is set.
Definition at line 2477 of file RoutingIls.pb.cs.
◆ HasInitialTemperature
bool Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.HasInitialTemperature |
|
get |
Gets whether the "initial_temperature" field is set.
Definition at line 2447 of file RoutingIls.pb.cs.
◆ InitialTemperature
double Google.OrTools.ConstraintSolver.SimulatedAnnealingParameters.InitialTemperature |
|
getset |
◆ Parser
The documentation for this class was generated from the following file: