Google OR-Tools v9.9
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 4681 of file RoutingParameters.pb.cs.

Constructor & Destructor Documentation

◆ RoutingModelParameters() [1/2]

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

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

◆ RoutingModelParameters() [2/2]

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

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

Member Function Documentation

◆ CalculateSize()

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

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

◆ Clone()

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

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

◆ Equals() [1/2]

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

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

◆ Equals() [2/2]

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

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

◆ GetHashCode()

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

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

◆ MergeFrom() [1/2]

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

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

◆ MergeFrom() [2/2]

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

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

◆ ToString()

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

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

◆ WriteTo()

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

Definition at line 4818 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 4761 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 4743 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 4728 of file RoutingParameters.pb.cs.

Property Documentation

◆ Descriptor

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

Definition at line 4694 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 4769 of file RoutingParameters.pb.cs.

◆ Parser

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

Definition at line 4690 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 4753 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 4735 of file RoutingParameters.pb.cs.


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