Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParametersOrBuilder Interface Reference
Inheritance diagram for com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParametersOrBuilder:
com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.Builder

Public Member Functions

double getImprovementRateCoefficient ()
 
int getImprovementRateSolutionsDistance ()
 

Detailed Description

Definition at line 7268 of file RoutingSearchParameters.java.

Member Function Documentation

◆ getImprovementRateCoefficient()

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;

Returns
The improvementRateCoefficient.

Implemented in com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.Builder, and com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.

◆ getImprovementRateSolutionsDistance()

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;

Returns
The improvementRateSolutionsDistance.

Implemented in com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.Builder, and com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.


The documentation for this interface was generated from the following file: