Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
double | getImprovementRateCoefficient () |
int | getImprovementRateSolutionsDistance () |
Definition at line 7268 of file RoutingSearchParameters.java.
double com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParametersOrBuilder.getImprovementRateCoefficient | ( | ) |
Parameter that regulates exchange rate between objective improvement and number of neighbors spent. The smaller the value, the sooner the limit stops the search. Must be positive.
double improvement_rate_coefficient = 38;
Implemented in com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.Builder, and com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.
int com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParametersOrBuilder.getImprovementRateSolutionsDistance | ( | ) |
Parameter that specifies the distance between improvements taken into consideration for calculating the improvement rate. Example: For 5 objective improvements = (10, 8, 6, 4, 2), and the solutions_distance parameter of 2, then the improvement_rate will be computed for (10, 6), (8, 4), and (6, 2).
int32 improvement_rate_solutions_distance = 39;
Implemented in com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.Builder, and com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.