![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Parameters used to configure global cheapest insertion heuristics.
Protobuf type operations_research.GlobalCheapestInsertionParameters
Definition at line 355 of file GlobalCheapestInsertionParameters.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.GlobalCheapestInsertionParameters com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.build | ( | ) |
Definition at line 406 of file GlobalCheapestInsertionParameters.java.
| com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.buildPartial | ( | ) |
Definition at line 415 of file GlobalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.clear | ( | ) |
Definition at line 383 of file GlobalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.clearAddUnperformedEntries | ( | ) |
Whether or not to consider entries making the nodes/pairs unperformed. More precisely, if true, entries are created for making the nodes/pairs unperformed, and when the cost of making a node unperformed is lower than all insertions, the node/pair will be made unperformed. If false, only entries making a node/pair performed are considered.
bool add_unperformed_entries = 7;
Definition at line 797 of file GlobalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.clearFarthestSeedsRatio | ( | ) |
Ratio (between 0 and 1) of available vehicles in the model on which farthest nodes of the model are inserted as seeds.
double farthest_seeds_ratio = 1;
Definition at line 576 of file GlobalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.clearMinNeighbors | ( | ) |
int32 min_neighbors = 3;
Definition at line 685 of file GlobalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.clearNeighborsRatio | ( | ) |
Ratio (in ]0, 1]) of closest non start/end nodes to consider as neighbors for each node when creating new insertions in the parallel/sequential cheapest insertion heuristic. If not overridden, its default value is 1, meaning all neighbors will be considered. The neighborhood ratio is coupled with the corresponding min_neighbors integer, indicating the minimum number of neighbors to consider for each node: num_closest_neighbors = max(min_neighbors, neighbors_ratio * NUM_NON_START_END_NODES) This minimum number of neighbors must be greater or equal to 1, its default value.
double neighbors_ratio = 2;
Definition at line 653 of file GlobalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.clearUseNeighborsRatioForInitialization | ( | ) |
Whether or not to only consider closest neighbors when initializing the assignment. More precisely, if true, only closest neighbors (see neighbors_ratio and min_neighbors) are considered as insertion positions during initialization. Otherwise, all possible insertion positions are considered.
bool use_neighbors_ratio_for_initialization = 6;
Definition at line 741 of file GlobalCheapestInsertionParameters.java.
| boolean com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.getAddUnperformedEntries | ( | ) |
Whether or not to consider entries making the nodes/pairs unperformed. More precisely, if true, entries are created for making the nodes/pairs unperformed, and when the cost of making a node unperformed is lower than all insertions, the node/pair will be made unperformed. If false, only entries making a node/pair performed are considered.
bool add_unperformed_entries = 7;
Implements com.google.ortools.constraintsolver.GlobalCheapestInsertionParametersOrBuilder.
Definition at line 762 of file GlobalCheapestInsertionParameters.java.
| com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 401 of file GlobalCheapestInsertionParameters.java.
|
static |
Definition at line 360 of file GlobalCheapestInsertionParameters.java.
| com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.getDescriptorForType | ( | ) |
Definition at line 396 of file GlobalCheapestInsertionParameters.java.
| double com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.getFarthestSeedsRatio | ( | ) |
Ratio (between 0 and 1) of available vehicles in the model on which farthest nodes of the model are inserted as seeds.
double farthest_seeds_ratio = 1;
Implements com.google.ortools.constraintsolver.GlobalCheapestInsertionParametersOrBuilder.
Definition at line 547 of file GlobalCheapestInsertionParameters.java.
| int com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.getMinNeighbors | ( | ) |
int32 min_neighbors = 3;
Implements com.google.ortools.constraintsolver.GlobalCheapestInsertionParametersOrBuilder.
Definition at line 666 of file GlobalCheapestInsertionParameters.java.
| double com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.getNeighborsRatio | ( | ) |
Ratio (in ]0, 1]) of closest non start/end nodes to consider as neighbors for each node when creating new insertions in the parallel/sequential cheapest insertion heuristic. If not overridden, its default value is 1, meaning all neighbors will be considered. The neighborhood ratio is coupled with the corresponding min_neighbors integer, indicating the minimum number of neighbors to consider for each node: num_closest_neighbors = max(min_neighbors, neighbors_ratio * NUM_NON_START_END_NODES) This minimum number of neighbors must be greater or equal to 1, its default value.
double neighbors_ratio = 2;
Implements com.google.ortools.constraintsolver.GlobalCheapestInsertionParametersOrBuilder.
Definition at line 604 of file GlobalCheapestInsertionParameters.java.
| boolean com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.getUseNeighborsRatioForInitialization | ( | ) |
Whether or not to only consider closest neighbors when initializing the assignment. More precisely, if true, only closest neighbors (see neighbors_ratio and min_neighbors) are considered as insertion positions during initialization. Otherwise, all possible insertion positions are considered.
bool use_neighbors_ratio_for_initialization = 6;
Implements com.google.ortools.constraintsolver.GlobalCheapestInsertionParametersOrBuilder.
Definition at line 706 of file GlobalCheapestInsertionParameters.java.
|
protected |
Definition at line 366 of file GlobalCheapestInsertionParameters.java.
| final boolean com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.isInitialized | ( | ) |
Definition at line 474 of file GlobalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.mergeFrom | ( | com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters | other | ) |
Definition at line 451 of file GlobalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
| com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 479 of file GlobalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 442 of file GlobalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.setAddUnperformedEntries | ( | boolean | value | ) |
Whether or not to consider entries making the nodes/pairs unperformed. More precisely, if true, entries are created for making the nodes/pairs unperformed, and when the cost of making a node unperformed is lower than all insertions, the node/pair will be made unperformed. If false, only entries making a node/pair performed are considered.
bool add_unperformed_entries = 7;
| value | The addUnperformedEntries to set. |
Definition at line 778 of file GlobalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.setFarthestSeedsRatio | ( | double | value | ) |
Ratio (between 0 and 1) of available vehicles in the model on which farthest nodes of the model are inserted as seeds.
double farthest_seeds_ratio = 1;
| value | The farthestSeedsRatio to set. |
Definition at line 560 of file GlobalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.setMinNeighbors | ( | int | value | ) |
int32 min_neighbors = 3;
| value | The minNeighbors to set. |
Definition at line 674 of file GlobalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.setNeighborsRatio | ( | double | value | ) |
Ratio (in ]0, 1]) of closest non start/end nodes to consider as neighbors for each node when creating new insertions in the parallel/sequential cheapest insertion heuristic. If not overridden, its default value is 1, meaning all neighbors will be considered. The neighborhood ratio is coupled with the corresponding min_neighbors integer, indicating the minimum number of neighbors to consider for each node: num_closest_neighbors = max(min_neighbors, neighbors_ratio * NUM_NON_START_END_NODES) This minimum number of neighbors must be greater or equal to 1, its default value.
double neighbors_ratio = 2;
| value | The neighborsRatio to set. |
Definition at line 627 of file GlobalCheapestInsertionParameters.java.
| Builder com.google.ortools.constraintsolver.GlobalCheapestInsertionParameters.Builder.setUseNeighborsRatioForInitialization | ( | boolean | value | ) |
Whether or not to only consider closest neighbors when initializing the assignment. More precisely, if true, only closest neighbors (see neighbors_ratio and min_neighbors) are considered as insertion positions during initialization. Otherwise, all possible insertion positions are considered.
bool use_neighbors_ratio_for_initialization = 6;
| value | The useNeighborsRatioForInitialization to set. |
Definition at line 722 of file GlobalCheapestInsertionParameters.java.