![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Acceptance strategy in which solutions are accepted with a probability that depends on its quality and on the current state of the search.
Protobuf type operations_research.SimulatedAnnealingAcceptanceStrategy
Definition at line 397 of file SimulatedAnnealingAcceptanceStrategy.java.
Static Public Member Functions | |
| static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
| com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.Builder.build | ( | ) |
Definition at line 447 of file SimulatedAnnealingAcceptanceStrategy.java.
| com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.Builder.buildPartial | ( | ) |
Definition at line 456 of file SimulatedAnnealingAcceptanceStrategy.java.
| Builder com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.Builder.clear | ( | ) |
Definition at line 425 of file SimulatedAnnealingAcceptanceStrategy.java.
| Builder com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.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 844 of file SimulatedAnnealingAcceptanceStrategy.java.
| Builder com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.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 640 of file SimulatedAnnealingAcceptanceStrategy.java.
| Builder com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.Builder.clearFinalTemperature | ( | ) |
The final temperature. See CoolingScheduleStrategy for its usage.
optional double final_temperature = 3;
Definition at line 752 of file SimulatedAnnealingAcceptanceStrategy.java.
| Builder com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.Builder.clearInitialTemperature | ( | ) |
The initial temperature. See CoolingScheduleStrategy for its usage.
optional double initial_temperature = 2;
Definition at line 696 of file SimulatedAnnealingAcceptanceStrategy.java.
| boolean com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.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.SimulatedAnnealingAcceptanceStrategyOrBuilder.
Definition at line 799 of file SimulatedAnnealingAcceptanceStrategy.java.
| com.google.ortools.constraintsolver.CoolingScheduleStrategy.Value com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.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.SimulatedAnnealingAcceptanceStrategyOrBuilder.
Definition at line 610 of file SimulatedAnnealingAcceptanceStrategy.java.
| int com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.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.SimulatedAnnealingAcceptanceStrategyOrBuilder.
Definition at line 581 of file SimulatedAnnealingAcceptanceStrategy.java.
| com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 442 of file SimulatedAnnealingAcceptanceStrategy.java.
|
static |
Definition at line 402 of file SimulatedAnnealingAcceptanceStrategy.java.
| com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.Builder.getDescriptorForType | ( | ) |
Definition at line 437 of file SimulatedAnnealingAcceptanceStrategy.java.
| double com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.Builder.getFinalTemperature | ( | ) |
The final temperature. See CoolingScheduleStrategy for its usage.
optional double final_temperature = 3;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategyOrBuilder.
Definition at line 725 of file SimulatedAnnealingAcceptanceStrategy.java.
| double com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.Builder.getInitialTemperature | ( | ) |
The initial temperature. See CoolingScheduleStrategy for its usage.
optional double initial_temperature = 2;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategyOrBuilder.
Definition at line 669 of file SimulatedAnnealingAcceptanceStrategy.java.
| boolean com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.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.SimulatedAnnealingAcceptanceStrategyOrBuilder.
Definition at line 778 of file SimulatedAnnealingAcceptanceStrategy.java.
| boolean com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.Builder.hasFinalTemperature | ( | ) |
The final temperature. See CoolingScheduleStrategy for its usage.
optional double final_temperature = 3;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategyOrBuilder.
Definition at line 713 of file SimulatedAnnealingAcceptanceStrategy.java.
| boolean com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.Builder.hasInitialTemperature | ( | ) |
The initial temperature. See CoolingScheduleStrategy for its usage.
optional double initial_temperature = 2;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategyOrBuilder.
Definition at line 657 of file SimulatedAnnealingAcceptanceStrategy.java.
|
protected |
Definition at line 408 of file SimulatedAnnealingAcceptanceStrategy.java.
| final boolean com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.Builder.isInitialized | ( | ) |
Definition at line 514 of file SimulatedAnnealingAcceptanceStrategy.java.
| Builder com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.Builder.mergeFrom | ( | com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy | other | ) |
Definition at line 494 of file SimulatedAnnealingAcceptanceStrategy.java.
| Builder com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
| com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 519 of file SimulatedAnnealingAcceptanceStrategy.java.
| Builder com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 485 of file SimulatedAnnealingAcceptanceStrategy.java.
| Builder com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.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 820 of file SimulatedAnnealingAcceptanceStrategy.java.
| Builder com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.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 624 of file SimulatedAnnealingAcceptanceStrategy.java.
| Builder com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.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 594 of file SimulatedAnnealingAcceptanceStrategy.java.
| Builder com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.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 737 of file SimulatedAnnealingAcceptanceStrategy.java.
| Builder com.google.ortools.constraintsolver.SimulatedAnnealingAcceptanceStrategy.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 681 of file SimulatedAnnealingAcceptanceStrategy.java.