![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Specifies the behavior of a simulated annealing acceptance strategy.
Protobuf type operations_research.SimulatedAnnealingParameters
Definition at line 394 of file SimulatedAnnealingParameters.java.
com.google.ortools.constraintsolver.SimulatedAnnealingParameters com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.build | ( | ) |
Definition at line 444 of file SimulatedAnnealingParameters.java.
com.google.ortools.constraintsolver.SimulatedAnnealingParameters com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.buildPartial | ( | ) |
Definition at line 453 of file SimulatedAnnealingParameters.java.
Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.clear | ( | ) |
Definition at line 422 of file SimulatedAnnealingParameters.java.
Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.clearAutomaticTemperatures | ( | ) |
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;
Definition at line 843 of file SimulatedAnnealingParameters.java.
Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.clearCoolingScheduleStrategy | ( | ) |
Determines the speed at which the temperature changes from initial to final.
.operations_research.CoolingScheduleStrategy.Value cooling_schedule_strategy = 1;
Definition at line 639 of file SimulatedAnnealingParameters.java.
Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.clearFinalTemperature | ( | ) |
The final temperature. See CoolingScheduleStrategy for its usage.
optional double final_temperature = 3;
Definition at line 751 of file SimulatedAnnealingParameters.java.
Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.clearInitialTemperature | ( | ) |
The initial temperature. See CoolingScheduleStrategy for its usage.
optional double initial_temperature = 2;
Definition at line 695 of file SimulatedAnnealingParameters.java.
boolean com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.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;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 798 of file SimulatedAnnealingParameters.java.
com.google.ortools.constraintsolver.CoolingScheduleStrategy.Value com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.getCoolingScheduleStrategy | ( | ) |
Determines the speed at which the temperature changes from initial to final.
.operations_research.CoolingScheduleStrategy.Value cooling_schedule_strategy = 1;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 607 of file SimulatedAnnealingParameters.java.
int com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.getCoolingScheduleStrategyValue | ( | ) |
Determines the speed at which the temperature changes from initial to final.
.operations_research.CoolingScheduleStrategy.Value cooling_schedule_strategy = 1;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 578 of file SimulatedAnnealingParameters.java.
com.google.ortools.constraintsolver.SimulatedAnnealingParameters com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 439 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 399 of file SimulatedAnnealingParameters.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.getDescriptorForType | ( | ) |
Definition at line 434 of file SimulatedAnnealingParameters.java.
double com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.getFinalTemperature | ( | ) |
The final temperature. See CoolingScheduleStrategy for its usage.
optional double final_temperature = 3;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 724 of file SimulatedAnnealingParameters.java.
double com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.getInitialTemperature | ( | ) |
The initial temperature. See CoolingScheduleStrategy for its usage.
optional double initial_temperature = 2;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 668 of file SimulatedAnnealingParameters.java.
boolean com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.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;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 777 of file SimulatedAnnealingParameters.java.
boolean com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.hasFinalTemperature | ( | ) |
The final temperature. See CoolingScheduleStrategy for its usage.
optional double final_temperature = 3;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 712 of file SimulatedAnnealingParameters.java.
boolean com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.hasInitialTemperature | ( | ) |
The initial temperature. See CoolingScheduleStrategy for its usage.
optional double initial_temperature = 2;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 656 of file SimulatedAnnealingParameters.java.
|
protected |
Definition at line 405 of file SimulatedAnnealingParameters.java.
final boolean com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.isInitialized | ( | ) |
Definition at line 511 of file SimulatedAnnealingParameters.java.
Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.mergeFrom | ( | com.google.ortools.constraintsolver.SimulatedAnnealingParameters | other | ) |
Definition at line 491 of file SimulatedAnnealingParameters.java.
Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 516 of file SimulatedAnnealingParameters.java.
Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 482 of file SimulatedAnnealingParameters.java.
Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.setAutomaticTemperatures | ( | boolean | value | ) |
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;
value | The automaticTemperatures to set. |
Definition at line 819 of file SimulatedAnnealingParameters.java.
Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.setCoolingScheduleStrategy | ( | com.google.ortools.constraintsolver.CoolingScheduleStrategy.Value | value | ) |
Determines the speed at which the temperature changes from initial to final.
.operations_research.CoolingScheduleStrategy.Value cooling_schedule_strategy = 1;
value | The coolingScheduleStrategy to set. |
Definition at line 621 of file SimulatedAnnealingParameters.java.
Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.setCoolingScheduleStrategyValue | ( | int | value | ) |
Determines the speed at which the temperature changes from initial to final.
.operations_research.CoolingScheduleStrategy.Value cooling_schedule_strategy = 1;
value | The enum numeric value on the wire for coolingScheduleStrategy to set. |
Definition at line 591 of file SimulatedAnnealingParameters.java.
Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.setFinalTemperature | ( | double | value | ) |
The final temperature. See CoolingScheduleStrategy for its usage.
optional double final_temperature = 3;
value | The finalTemperature to set. |
Definition at line 736 of file SimulatedAnnealingParameters.java.
Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.Builder.setInitialTemperature | ( | double | value | ) |
The initial temperature. See CoolingScheduleStrategy for its usage.
optional double initial_temperature = 2;
value | The initialTemperature to set. |
Definition at line 680 of file SimulatedAnnealingParameters.java.