![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
int | getCoolingScheduleStrategyValue () |
com.google.ortools.constraintsolver.CoolingScheduleStrategy.Value | getCoolingScheduleStrategy () |
boolean | hasInitialTemperature () |
double | getInitialTemperature () |
boolean | hasFinalTemperature () |
double | getFinalTemperature () |
boolean | hasAutomaticTemperatures () |
boolean | getAutomaticTemperatures () |
Definition at line 8 of file SimulatedAnnealingParametersOrBuilder.java.
boolean com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.getAutomaticTemperatures | ( | ) |
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
optional bool automatic_temperatures = 4;
Implemented in com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder, and com.google.ortools.constraintsolver.SimulatedAnnealingParameters.
com.google.ortools.constraintsolver.CoolingScheduleStrategy.Value com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.getCoolingScheduleStrategy | ( | ) |
Determines the speed at which the temperature changes from initial to final.
.operations_research.CoolingScheduleStrategy.Value cooling_schedule_strategy = 1;
Implemented in com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder, and com.google.ortools.constraintsolver.SimulatedAnnealingParameters.
int com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.getCoolingScheduleStrategyValue | ( | ) |
Determines the speed at which the temperature changes from initial to final.
.operations_research.CoolingScheduleStrategy.Value cooling_schedule_strategy = 1;
Implemented in com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder, and com.google.ortools.constraintsolver.SimulatedAnnealingParameters.
double com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.getFinalTemperature | ( | ) |
The final temperature. See CoolingScheduleStrategy for its usage.
optional double final_temperature = 3;
Implemented in com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder, and com.google.ortools.constraintsolver.SimulatedAnnealingParameters.
double com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.getInitialTemperature | ( | ) |
The initial temperature. See CoolingScheduleStrategy for its usage.
optional double initial_temperature = 2;
Implemented in com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder, and com.google.ortools.constraintsolver.SimulatedAnnealingParameters.
boolean com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.hasAutomaticTemperatures | ( | ) |
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
optional bool automatic_temperatures = 4;
Implemented in com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder, and com.google.ortools.constraintsolver.SimulatedAnnealingParameters.
boolean com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.hasFinalTemperature | ( | ) |
The final temperature. See CoolingScheduleStrategy for its usage.
optional double final_temperature = 3;
Implemented in com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder, and com.google.ortools.constraintsolver.SimulatedAnnealingParameters.
boolean com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.hasInitialTemperature | ( | ) |
The initial temperature. See CoolingScheduleStrategy for its usage.
optional double initial_temperature = 2;
Implemented in com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder, and com.google.ortools.constraintsolver.SimulatedAnnealingParameters.