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

Public Member Functions

boolean hasSolverParameters ()
 
com.google.ortools.constraintsolver.ConstraintSolverParameters getSolverParameters ()
 
com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder getSolverParametersOrBuilder ()
 
boolean getReduceVehicleCostModel ()
 
int getMaxCallbackCacheSize ()
 

Detailed Description

Definition at line 7 of file RoutingModelParametersOrBuilder.java.

Member Function Documentation

◆ getMaxCallbackCacheSize()

int com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder.getMaxCallbackCacheSize ( )
Cache callback calls if the number of nodes in the model is less or equal
to this value.

int32 max_callback_cache_size = 3;

Returns
The maxCallbackCacheSize.

Implemented in com.google.ortools.constraintsolver.RoutingModelParameters.Builder, and com.google.ortools.constraintsolver.RoutingModelParameters.

◆ getReduceVehicleCostModel()

boolean com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder.getReduceVehicleCostModel ( )
Advanced settings.
If set to true reduction of the underlying constraint model will be
attempted when all vehicles have exactly the same cost structure. This can
result in significant speedups.

bool reduce_vehicle_cost_model = 2;

Returns
The reduceVehicleCostModel.

Implemented in com.google.ortools.constraintsolver.RoutingModelParameters.Builder, and com.google.ortools.constraintsolver.RoutingModelParameters.

◆ getSolverParameters()

com.google.ortools.constraintsolver.ConstraintSolverParameters com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder.getSolverParameters ( )
Parameters to use in the underlying constraint solver.

.operations_research.ConstraintSolverParameters solver_parameters = 1;

Returns
The solverParameters.

Implemented in com.google.ortools.constraintsolver.RoutingModelParameters.Builder, and com.google.ortools.constraintsolver.RoutingModelParameters.

◆ getSolverParametersOrBuilder()

com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder.getSolverParametersOrBuilder ( )
Parameters to use in the underlying constraint solver.

.operations_research.ConstraintSolverParameters solver_parameters = 1;

Implemented in com.google.ortools.constraintsolver.RoutingModelParameters.Builder, and com.google.ortools.constraintsolver.RoutingModelParameters.

◆ hasSolverParameters()

boolean com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder.hasSolverParameters ( )
Parameters to use in the underlying constraint solver.

.operations_research.ConstraintSolverParameters solver_parameters = 1;

Returns
Whether the solverParameters field is set.

Implemented in com.google.ortools.constraintsolver.RoutingModelParameters.Builder, and com.google.ortools.constraintsolver.RoutingModelParameters.


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