Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.ConstraintSolver.RoutingModelParameters Class Referencesealed

Parameters which have to be set when creating a RoutingModel. More...

Inheritance diagram for Google.OrTools.ConstraintSolver.RoutingModelParameters:

Public Member Functions

 RoutingModelParameters ()
 
 RoutingModelParameters (RoutingModelParameters other)
 
RoutingModelParameters Clone ()
 
override bool Equals (object other)
 
bool Equals (RoutingModelParameters other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (RoutingModelParameters other)
 
void MergeFrom (pb::CodedInputStream input)
 

Static Public Attributes

const int SolverParametersFieldNumber = 1
 Field number for the "solver_parameters" field.
 
const int ReduceVehicleCostModelFieldNumber = 2
 Field number for the "reduce_vehicle_cost_model" field.
 
const int MaxCallbackCacheSizeFieldNumber = 3
 Field number for the "max_callback_cache_size" field.
 

Properties

static pb::MessageParser< RoutingModelParametersParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters SolverParameters [get, set]
 Parameters to use in the underlying constraint solver.
 
bool ReduceVehicleCostModel [get, set]
 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.
 
int MaxCallbackCacheSize [get, set]
 Cache callback calls if the number of nodes in the model is less or equal to this value.
 

Detailed Description

Parameters which have to be set when creating a RoutingModel.

Definition at line 5142 of file RoutingParameters.pb.cs.

Constructor & Destructor Documentation

◆ RoutingModelParameters() [1/2]

Google.OrTools.ConstraintSolver.RoutingModelParameters.RoutingModelParameters ( )
inline

Definition at line 5167 of file RoutingParameters.pb.cs.

◆ RoutingModelParameters() [2/2]

Google.OrTools.ConstraintSolver.RoutingModelParameters.RoutingModelParameters ( RoutingModelParameters other)
inline

Definition at line 5175 of file RoutingParameters.pb.cs.

Member Function Documentation

◆ CalculateSize()

int Google.OrTools.ConstraintSolver.RoutingModelParameters.CalculateSize ( )
inline

Definition at line 5325 of file RoutingParameters.pb.cs.

◆ Clone()

RoutingModelParameters Google.OrTools.ConstraintSolver.RoutingModelParameters.Clone ( )
inline

Definition at line 5184 of file RoutingParameters.pb.cs.

◆ Equals() [1/2]

override bool Google.OrTools.ConstraintSolver.RoutingModelParameters.Equals ( object other)
inline

Definition at line 5239 of file RoutingParameters.pb.cs.

◆ Equals() [2/2]

bool Google.OrTools.ConstraintSolver.RoutingModelParameters.Equals ( RoutingModelParameters other)
inline

Definition at line 5245 of file RoutingParameters.pb.cs.

◆ GetHashCode()

override int Google.OrTools.ConstraintSolver.RoutingModelParameters.GetHashCode ( )
inline

Definition at line 5260 of file RoutingParameters.pb.cs.

◆ MergeFrom() [1/2]

void Google.OrTools.ConstraintSolver.RoutingModelParameters.MergeFrom ( pb.CodedInputStream input)
inline

Definition at line 5365 of file RoutingParameters.pb.cs.

◆ MergeFrom() [2/2]

void Google.OrTools.ConstraintSolver.RoutingModelParameters.MergeFrom ( RoutingModelParameters other)
inline

Definition at line 5344 of file RoutingParameters.pb.cs.

◆ ToString()

override string Google.OrTools.ConstraintSolver.RoutingModelParameters.ToString ( )
inline

Definition at line 5273 of file RoutingParameters.pb.cs.

◆ WriteTo()

void Google.OrTools.ConstraintSolver.RoutingModelParameters.WriteTo ( pb.CodedOutputStream output)
inline

Definition at line 5279 of file RoutingParameters.pb.cs.

Member Data Documentation

◆ MaxCallbackCacheSizeFieldNumber

const int Google.OrTools.ConstraintSolver.RoutingModelParameters.MaxCallbackCacheSizeFieldNumber = 3
static

Field number for the "max_callback_cache_size" field.

Definition at line 5222 of file RoutingParameters.pb.cs.

◆ ReduceVehicleCostModelFieldNumber

const int Google.OrTools.ConstraintSolver.RoutingModelParameters.ReduceVehicleCostModelFieldNumber = 2
static

Field number for the "reduce_vehicle_cost_model" field.

Definition at line 5204 of file RoutingParameters.pb.cs.

◆ SolverParametersFieldNumber

const int Google.OrTools.ConstraintSolver.RoutingModelParameters.SolverParametersFieldNumber = 1
static

Field number for the "solver_parameters" field.

Definition at line 5189 of file RoutingParameters.pb.cs.

Property Documentation

◆ Descriptor

pbr.MessageDescriptor Google.OrTools.ConstraintSolver.RoutingModelParameters.Descriptor
staticget

Definition at line 5155 of file RoutingParameters.pb.cs.

◆ MaxCallbackCacheSize

int Google.OrTools.ConstraintSolver.RoutingModelParameters.MaxCallbackCacheSize
getset

Cache callback calls if the number of nodes in the model is less or equal to this value.

Definition at line 5230 of file RoutingParameters.pb.cs.

◆ Parser

pb.MessageParser<RoutingModelParameters> Google.OrTools.ConstraintSolver.RoutingModelParameters.Parser
staticget

Definition at line 5151 of file RoutingParameters.pb.cs.

◆ ReduceVehicleCostModel

bool Google.OrTools.ConstraintSolver.RoutingModelParameters.ReduceVehicleCostModel
getset

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.

Definition at line 5214 of file RoutingParameters.pb.cs.

◆ SolverParameters

global.Google.OrTools.ConstraintSolver.ConstraintSolverParameters Google.OrTools.ConstraintSolver.RoutingModelParameters.SolverParameters
getset

Parameters to use in the underlying constraint solver.

Definition at line 5196 of file RoutingParameters.pb.cs.


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