Java Reference

Java Reference

RoutingModelParametersOrBuilder

Detailed Description

Definition at line 6 of file RoutingModelParametersOrBuilder.java.

Public Member Functions

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

Member Function Documentation

◆ getMaxCallbackCacheSize()

int 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 RoutingModelParameters.Builder, and RoutingModelParameters.

◆ getReduceVehicleCostModel()

boolean 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 RoutingModelParameters.Builder, and RoutingModelParameters.

◆ getSolverParameters()

Parameters to use in the underlying constraint solver.

.operations_research.ConstraintSolverParameters solver_parameters = 1;

Returns
The solverParameters.

Implemented in RoutingModelParameters.Builder, and RoutingModelParameters.

◆ getSolverParametersOrBuilder()

Parameters to use in the underlying constraint solver.

.operations_research.ConstraintSolverParameters solver_parameters = 1;

Implemented in RoutingModelParameters.Builder, and RoutingModelParameters.

◆ hasSolverParameters()

boolean hasSolverParameters ( )
Parameters to use in the underlying constraint solver.

.operations_research.ConstraintSolverParameters solver_parameters = 1;

Returns
Whether the solverParameters field is set.

Implemented in RoutingModelParameters.Builder, and RoutingModelParameters.


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