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

Solver parameters. More...

Inheritance diagram for Google.OrTools.ConstraintSolver.ConstraintSolverParameters:

Classes

class  Types
 Container for nested types declared in the ConstraintSolverParameters message type. More...
 

Public Member Functions

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

Static Public Attributes

const int CompressTrailFieldNumber = 1
 Field number for the "compress_trail" field.
 
const int TrailBlockSizeFieldNumber = 2
 Field number for the "trail_block_size" field.
 
const int ArraySplitSizeFieldNumber = 3
 Field number for the "array_split_size" field.
 
const int StoreNamesFieldNumber = 4
 Field number for the "store_names" field.
 
const int NameCastVariablesFieldNumber = 5
 Field number for the "name_cast_variables" field.
 
const int NameAllVariablesFieldNumber = 6
 Field number for the "name_all_variables" field.
 
const int ProfilePropagationFieldNumber = 7
 Field number for the "profile_propagation" field.
 
const int ProfileFileFieldNumber = 8
 Field number for the "profile_file" field.
 
const int ProfileLocalSearchFieldNumber = 16
 Field number for the "profile_local_search" field.
 
const int PrintLocalSearchProfileFieldNumber = 17
 Field number for the "print_local_search_profile" field.
 
const int TracePropagationFieldNumber = 9
 Field number for the "trace_propagation" field.
 
const int TraceSearchFieldNumber = 10
 Field number for the "trace_search" field.
 
const int PrintModelFieldNumber = 11
 Field number for the "print_model" field.
 
const int PrintModelStatsFieldNumber = 12
 Field number for the "print_model_stats" field.
 
const int PrintAddedConstraintsFieldNumber = 13
 Field number for the "print_added_constraints" field.
 
const int DisableSolveFieldNumber = 15
 Field number for the "disable_solve" field.
 
const int UseSmallTableFieldNumber = 101
 Field number for the "use_small_table" field.
 
const int UseCumulativeEdgeFinderFieldNumber = 105
 Field number for the "use_cumulative_edge_finder" field.
 
const int UseCumulativeTimeTableFieldNumber = 106
 Field number for the "use_cumulative_time_table" field.
 
const int UseCumulativeTimeTableSyncFieldNumber = 112
 Field number for the "use_cumulative_time_table_sync" field.
 
const int UseSequenceHighDemandTasksFieldNumber = 107
 Field number for the "use_sequence_high_demand_tasks" field.
 
const int UseAllPossibleDisjunctionsFieldNumber = 108
 Field number for the "use_all_possible_disjunctions" field.
 
const int MaxEdgeFinderSizeFieldNumber = 109
 Field number for the "max_edge_finder_size" field.
 
const int DiffnUseCumulativeFieldNumber = 110
 Field number for the "diffn_use_cumulative" field.
 
const int UseElementRmqFieldNumber = 111
 Field number for the "use_element_rmq" field.
 
const int SkipLocallyOptimalPathsFieldNumber = 113
 Field number for the "skip_locally_optimal_paths" field.
 
const int CheckSolutionPeriodFieldNumber = 114
 Field number for the "check_solution_period" field.
 

Properties

static pb::MessageParser< ConstraintSolverParametersParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression CompressTrail [get, set]
 This parameter indicates if the solver should compress the trail during the search. No compression means that the solver will be faster, but will use more memory.
 
int TrailBlockSize [get, set]
 This parameter indicates the default size of a block of the trail. Compression applies at the block level.
 
int ArraySplitSize [get, set]
 When a sum/min/max operation is applied on a large array, this array is recursively split into blocks of size 'array_split_size'.
 
bool StoreNames [get, set]
 This parameters indicates if the solver should store the names of the objets it manages.
 
bool NameCastVariables [get, set]
 Create names for cast variables.
 
bool NameAllVariables [get, set]
 Should anonymous variables be given a name.
 
bool ProfilePropagation [get, set]
 Activate propagation profiling.
 
string ProfileFile [get, set]
 Export propagation profiling data to file.
 
bool ProfileLocalSearch [get, set]
 Activate local search profiling.
 
bool PrintLocalSearchProfile [get, set]
 Print local search profiling data after solving.
 
bool TracePropagation [get, set]
 Activate propagate tracing.
 
bool TraceSearch [get, set]
 Trace search.
 
bool PrintModel [get, set]
 Print the model before solving.
 
bool PrintModelStats [get, set]
 Print model statistics before solving.
 
bool PrintAddedConstraints [get, set]
 Print added constraints.
 
bool DisableSolve [get, set]
 
bool UseSmallTable [get, set]
 
bool UseCumulativeEdgeFinder [get, set]
 
bool UseCumulativeTimeTable [get, set]
 
bool UseCumulativeTimeTableSync [get, set]
 
bool UseSequenceHighDemandTasks [get, set]
 
bool UseAllPossibleDisjunctions [get, set]
 
int MaxEdgeFinderSize [get, set]
 
bool DiffnUseCumulative [get, set]
 
bool UseElementRmq [get, set]
 
bool SkipLocallyOptimalPaths [get, set]
 
int CheckSolutionPeriod [get, set]
 

Detailed Description

Solver parameters.

Definition at line 67 of file SolverParameters.pb.cs.

Constructor & Destructor Documentation

◆ ConstraintSolverParameters() [1/2]

Google.OrTools.ConstraintSolver.ConstraintSolverParameters.ConstraintSolverParameters ( )
inline

Definition at line 92 of file SolverParameters.pb.cs.

◆ ConstraintSolverParameters() [2/2]

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

Definition at line 100 of file SolverParameters.pb.cs.

Member Function Documentation

◆ CalculateSize()

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

Definition at line 872 of file SolverParameters.pb.cs.

◆ Clone()

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

Definition at line 133 of file SolverParameters.pb.cs.

◆ Equals() [1/2]

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

Definition at line 552 of file SolverParameters.pb.cs.

◆ Equals() [2/2]

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

Definition at line 546 of file SolverParameters.pb.cs.

◆ GetHashCode()

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

Definition at line 591 of file SolverParameters.pb.cs.

◆ MergeFrom() [1/2]

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

Definition at line 963 of file SolverParameters.pb.cs.

◆ MergeFrom() [2/2]

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

Definition at line 1053 of file SolverParameters.pb.cs.

◆ ToString()

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

Definition at line 628 of file SolverParameters.pb.cs.

◆ WriteTo()

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

Definition at line 634 of file SolverParameters.pb.cs.

Member Data Documentation

◆ ArraySplitSizeFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.ArraySplitSizeFieldNumber = 3
static

Field number for the "array_split_size" field.

Definition at line 171 of file SolverParameters.pb.cs.

◆ CheckSolutionPeriodFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.CheckSolutionPeriodFieldNumber = 114
static

Field number for the "check_solution_period" field.

Definition at line 528 of file SolverParameters.pb.cs.

◆ CompressTrailFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.CompressTrailFieldNumber = 1
static

Field number for the "compress_trail" field.

Definition at line 138 of file SolverParameters.pb.cs.

◆ DiffnUseCumulativeFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.DiffnUseCumulativeFieldNumber = 110
static

Field number for the "diffn_use_cumulative" field.

Definition at line 474 of file SolverParameters.pb.cs.

◆ DisableSolveFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.DisableSolveFieldNumber = 15
static

Field number for the "disable_solve" field.

Definition at line 368 of file SolverParameters.pb.cs.

◆ MaxEdgeFinderSizeFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.MaxEdgeFinderSizeFieldNumber = 109
static

Field number for the "max_edge_finder_size" field.

Definition at line 462 of file SolverParameters.pb.cs.

◆ NameAllVariablesFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.NameAllVariablesFieldNumber = 6
static

Field number for the "name_all_variables" field.

Definition at line 218 of file SolverParameters.pb.cs.

◆ NameCastVariablesFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.NameCastVariablesFieldNumber = 5
static

Field number for the "name_cast_variables" field.

Definition at line 203 of file SolverParameters.pb.cs.

◆ PrintAddedConstraintsFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.PrintAddedConstraintsFieldNumber = 13
static

Field number for the "print_added_constraints" field.

Definition at line 353 of file SolverParameters.pb.cs.

◆ PrintLocalSearchProfileFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.PrintLocalSearchProfileFieldNumber = 17
static

Field number for the "print_local_search_profile" field.

Definition at line 278 of file SolverParameters.pb.cs.

◆ PrintModelFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.PrintModelFieldNumber = 11
static

Field number for the "print_model" field.

Definition at line 323 of file SolverParameters.pb.cs.

◆ PrintModelStatsFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.PrintModelStatsFieldNumber = 12
static

Field number for the "print_model_stats" field.

Definition at line 338 of file SolverParameters.pb.cs.

◆ ProfileFileFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.ProfileFileFieldNumber = 8
static

Field number for the "profile_file" field.

Definition at line 248 of file SolverParameters.pb.cs.

◆ ProfileLocalSearchFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.ProfileLocalSearchFieldNumber = 16
static

Field number for the "profile_local_search" field.

Definition at line 263 of file SolverParameters.pb.cs.

◆ ProfilePropagationFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.ProfilePropagationFieldNumber = 7
static

Field number for the "profile_propagation" field.

Definition at line 233 of file SolverParameters.pb.cs.

◆ SkipLocallyOptimalPathsFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.SkipLocallyOptimalPathsFieldNumber = 113
static

Field number for the "skip_locally_optimal_paths" field.

Definition at line 508 of file SolverParameters.pb.cs.

◆ StoreNamesFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.StoreNamesFieldNumber = 4
static

Field number for the "store_names" field.

Definition at line 187 of file SolverParameters.pb.cs.

◆ TracePropagationFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.TracePropagationFieldNumber = 9
static

Field number for the "trace_propagation" field.

Definition at line 293 of file SolverParameters.pb.cs.

◆ TraceSearchFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.TraceSearchFieldNumber = 10
static

Field number for the "trace_search" field.

Definition at line 308 of file SolverParameters.pb.cs.

◆ TrailBlockSizeFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.TrailBlockSizeFieldNumber = 2
static

Field number for the "trail_block_size" field.

Definition at line 155 of file SolverParameters.pb.cs.

◆ UseAllPossibleDisjunctionsFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.UseAllPossibleDisjunctionsFieldNumber = 108
static

Field number for the "use_all_possible_disjunctions" field.

Definition at line 450 of file SolverParameters.pb.cs.

◆ UseCumulativeEdgeFinderFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.UseCumulativeEdgeFinderFieldNumber = 105
static

Field number for the "use_cumulative_edge_finder" field.

Definition at line 397 of file SolverParameters.pb.cs.

◆ UseCumulativeTimeTableFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.UseCumulativeTimeTableFieldNumber = 106
static

Field number for the "use_cumulative_time_table" field.

Definition at line 414 of file SolverParameters.pb.cs.

◆ UseCumulativeTimeTableSyncFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.UseCumulativeTimeTableSyncFieldNumber = 112
static

Field number for the "use_cumulative_time_table_sync" field.

Definition at line 426 of file SolverParameters.pb.cs.

◆ UseElementRmqFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.UseElementRmqFieldNumber = 111
static

Field number for the "use_element_rmq" field.

Definition at line 491 of file SolverParameters.pb.cs.

◆ UseSequenceHighDemandTasksFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.UseSequenceHighDemandTasksFieldNumber = 107
static

Field number for the "use_sequence_high_demand_tasks" field.

Definition at line 438 of file SolverParameters.pb.cs.

◆ UseSmallTableFieldNumber

const int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.UseSmallTableFieldNumber = 101
static

Field number for the "use_small_table" field.

Definition at line 380 of file SolverParameters.pb.cs.

Property Documentation

◆ ArraySplitSize

int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.ArraySplitSize
getset

When a sum/min/max operation is applied on a large array, this array is recursively split into blocks of size 'array_split_size'.

Definition at line 179 of file SolverParameters.pb.cs.

◆ CheckSolutionPeriod

int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.CheckSolutionPeriod
getset

Control the behavior of local search.

Definition at line 537 of file SolverParameters.pb.cs.

◆ CompressTrail

global.Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression Google.OrTools.ConstraintSolver.ConstraintSolverParameters.CompressTrail
getset

This parameter indicates if the solver should compress the trail during the search. No compression means that the solver will be faster, but will use more memory.

Definition at line 147 of file SolverParameters.pb.cs.

◆ Descriptor

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

Definition at line 80 of file SolverParameters.pb.cs.

◆ DiffnUseCumulative

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.DiffnUseCumulative
getset

Control the propagation of the diffn constraint.

Definition at line 483 of file SolverParameters.pb.cs.

◆ DisableSolve

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.DisableSolve
getset

Definition at line 372 of file SolverParameters.pb.cs.

◆ MaxEdgeFinderSize

int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.MaxEdgeFinderSize
getset

Definition at line 466 of file SolverParameters.pb.cs.

◆ NameAllVariables

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.NameAllVariables
getset

Should anonymous variables be given a name.

Definition at line 225 of file SolverParameters.pb.cs.

◆ NameCastVariables

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.NameCastVariables
getset

Create names for cast variables.

Definition at line 210 of file SolverParameters.pb.cs.

◆ Parser

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

Definition at line 76 of file SolverParameters.pb.cs.

◆ PrintAddedConstraints

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.PrintAddedConstraints
getset

Print added constraints.

Definition at line 360 of file SolverParameters.pb.cs.

◆ PrintLocalSearchProfile

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.PrintLocalSearchProfile
getset

Print local search profiling data after solving.

Definition at line 285 of file SolverParameters.pb.cs.

◆ PrintModel

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.PrintModel
getset

Print the model before solving.

Definition at line 330 of file SolverParameters.pb.cs.

◆ PrintModelStats

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.PrintModelStats
getset

Print model statistics before solving.

Definition at line 345 of file SolverParameters.pb.cs.

◆ ProfileFile

string Google.OrTools.ConstraintSolver.ConstraintSolverParameters.ProfileFile
getset

Export propagation profiling data to file.

Definition at line 255 of file SolverParameters.pb.cs.

◆ ProfileLocalSearch

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.ProfileLocalSearch
getset

Activate local search profiling.

Definition at line 270 of file SolverParameters.pb.cs.

◆ ProfilePropagation

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.ProfilePropagation
getset

Activate propagation profiling.

Definition at line 240 of file SolverParameters.pb.cs.

◆ SkipLocallyOptimalPaths

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.SkipLocallyOptimalPaths
getset

Skip locally optimal pairs of paths in PathOperators. Setting this parameter to true might skip valid neighbors if there are constraints linking paths together (such as precedences). In any other case this should only speed up the search without omitting any neighbors.

Definition at line 520 of file SolverParameters.pb.cs.

◆ StoreNames

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.StoreNames
getset

This parameters indicates if the solver should store the names of the objets it manages.

Definition at line 195 of file SolverParameters.pb.cs.

◆ TracePropagation

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.TracePropagation
getset

Activate propagate tracing.

Definition at line 300 of file SolverParameters.pb.cs.

◆ TraceSearch

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.TraceSearch
getset

Trace search.

Definition at line 315 of file SolverParameters.pb.cs.

◆ TrailBlockSize

int Google.OrTools.ConstraintSolver.ConstraintSolverParameters.TrailBlockSize
getset

This parameter indicates the default size of a block of the trail. Compression applies at the block level.

Definition at line 163 of file SolverParameters.pb.cs.

◆ UseAllPossibleDisjunctions

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.UseAllPossibleDisjunctions
getset

Definition at line 454 of file SolverParameters.pb.cs.

◆ UseCumulativeEdgeFinder

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.UseCumulativeEdgeFinder
getset

Control the propagation of the cumulative constraint.

Definition at line 406 of file SolverParameters.pb.cs.

◆ UseCumulativeTimeTable

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.UseCumulativeTimeTable
getset

Definition at line 418 of file SolverParameters.pb.cs.

◆ UseCumulativeTimeTableSync

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.UseCumulativeTimeTableSync
getset

Definition at line 430 of file SolverParameters.pb.cs.

◆ UseElementRmq

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.UseElementRmq
getset

Control the implementation of the element constraint.

Definition at line 500 of file SolverParameters.pb.cs.

◆ UseSequenceHighDemandTasks

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.UseSequenceHighDemandTasks
getset

Definition at line 442 of file SolverParameters.pb.cs.

◆ UseSmallTable

bool Google.OrTools.ConstraintSolver.ConstraintSolverParameters.UseSmallTable
getset

Control the implementation of the table constraint.

Definition at line 389 of file SolverParameters.pb.cs.


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