DotNet Reference

DotNet Reference

ConstraintSolverParameters

Detailed Description

Solver parameters.

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

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

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. More...
 
int TrailBlockSize [get, set]
 This parameter indicates the default size of a block of the trail. More...
 
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'. More...
 
bool StoreNames [get, set]
 This parameters indicates if the solver should store the names of the objets it manages. More...
 
bool NameCastVariables [get, set]
 Create names for cast variables. More...
 
bool NameAllVariables [get, set]
 Should anonymous variables be given a name. More...
 
bool ProfilePropagation [get, set]
 Activate propagation profiling. More...
 
string ProfileFile [get, set]
 Export propagation profiling data to file. More...
 
bool ProfileLocalSearch [get, set]
 Activate local search profiling. More...
 
bool PrintLocalSearchProfile [get, set]
 Print local search profiling data after solving. More...
 
bool TracePropagation [get, set]
 Activate propagate tracing. More...
 
bool TraceSearch [get, set]
 Trace search. More...
 
bool PrintModel [get, set]
 Print the model before solving. More...
 
bool PrintModelStats [get, set]
 Print model statistics before solving. More...
 
bool PrintAddedConstraints [get, set]
 Print added constraints. More...
 
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]
 

Constructor & Destructor Documentation

◆ ConstraintSolverParameters() [1/2]

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

◆ ConstraintSolverParameters() [2/2]

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

Member Function Documentation

◆ CalculateSize()

int CalculateSize ( )
inline

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

◆ Clone()

ConstraintSolverParameters Clone ( )
inline

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

◆ Equals() [1/2]

bool Equals ( ConstraintSolverParameters  other)
inline

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

◆ Equals() [2/2]

override bool Equals ( object  other)
inline

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

◆ GetHashCode()

override int GetHashCode ( )
inline

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

◆ MergeFrom() [1/2]

void MergeFrom ( ConstraintSolverParameters  other)
inline

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

◆ MergeFrom() [2/2]

void MergeFrom ( pb::CodedInputStream  input)
inline

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

◆ ToString()

override string ToString ( )
inline

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

◆ WriteTo()

void WriteTo ( pb::CodedOutputStream  output)
inline

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

Member Data Documentation

◆ ArraySplitSizeFieldNumber

const int ArraySplitSizeFieldNumber = 3
static

Field number for the "array_split_size" field.

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

◆ CheckSolutionPeriodFieldNumber

const int CheckSolutionPeriodFieldNumber = 114
static

Field number for the "check_solution_period" field.

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

◆ CompressTrailFieldNumber

const int CompressTrailFieldNumber = 1
static

Field number for the "compress_trail" field.

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

◆ DiffnUseCumulativeFieldNumber

const int DiffnUseCumulativeFieldNumber = 110
static

Field number for the "diffn_use_cumulative" field.

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

◆ DisableSolveFieldNumber

const int DisableSolveFieldNumber = 15
static

Field number for the "disable_solve" field.

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

◆ MaxEdgeFinderSizeFieldNumber

const int MaxEdgeFinderSizeFieldNumber = 109
static

Field number for the "max_edge_finder_size" field.

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

◆ NameAllVariablesFieldNumber

const int NameAllVariablesFieldNumber = 6
static

Field number for the "name_all_variables" field.

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

◆ NameCastVariablesFieldNumber

const int NameCastVariablesFieldNumber = 5
static

Field number for the "name_cast_variables" field.

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

◆ PrintAddedConstraintsFieldNumber

const int PrintAddedConstraintsFieldNumber = 13
static

Field number for the "print_added_constraints" field.

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

◆ PrintLocalSearchProfileFieldNumber

const int PrintLocalSearchProfileFieldNumber = 17
static

Field number for the "print_local_search_profile" field.

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

◆ PrintModelFieldNumber

const int PrintModelFieldNumber = 11
static

Field number for the "print_model" field.

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

◆ PrintModelStatsFieldNumber

const int PrintModelStatsFieldNumber = 12
static

Field number for the "print_model_stats" field.

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

◆ ProfileFileFieldNumber

const int ProfileFileFieldNumber = 8
static

Field number for the "profile_file" field.

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

◆ ProfileLocalSearchFieldNumber

const int ProfileLocalSearchFieldNumber = 16
static

Field number for the "profile_local_search" field.

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

◆ ProfilePropagationFieldNumber

const int ProfilePropagationFieldNumber = 7
static

Field number for the "profile_propagation" field.

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

◆ SkipLocallyOptimalPathsFieldNumber

const int SkipLocallyOptimalPathsFieldNumber = 113
static

Field number for the "skip_locally_optimal_paths" field.

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

◆ StoreNamesFieldNumber

const int StoreNamesFieldNumber = 4
static

Field number for the "store_names" field.

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

◆ TracePropagationFieldNumber

const int TracePropagationFieldNumber = 9
static

Field number for the "trace_propagation" field.

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

◆ TraceSearchFieldNumber

const int TraceSearchFieldNumber = 10
static

Field number for the "trace_search" field.

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

◆ TrailBlockSizeFieldNumber

const int TrailBlockSizeFieldNumber = 2
static

Field number for the "trail_block_size" field.

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

◆ UseAllPossibleDisjunctionsFieldNumber

const int UseAllPossibleDisjunctionsFieldNumber = 108
static

Field number for the "use_all_possible_disjunctions" field.

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

◆ UseCumulativeEdgeFinderFieldNumber

const int UseCumulativeEdgeFinderFieldNumber = 105
static

Field number for the "use_cumulative_edge_finder" field.

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

◆ UseCumulativeTimeTableFieldNumber

const int UseCumulativeTimeTableFieldNumber = 106
static

Field number for the "use_cumulative_time_table" field.

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

◆ UseCumulativeTimeTableSyncFieldNumber

const int UseCumulativeTimeTableSyncFieldNumber = 112
static

Field number for the "use_cumulative_time_table_sync" field.

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

◆ UseElementRmqFieldNumber

const int UseElementRmqFieldNumber = 111
static

Field number for the "use_element_rmq" field.

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

◆ UseSequenceHighDemandTasksFieldNumber

const int UseSequenceHighDemandTasksFieldNumber = 107
static

Field number for the "use_sequence_high_demand_tasks" field.

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

◆ UseSmallTableFieldNumber

const int UseSmallTableFieldNumber = 101
static

Field number for the "use_small_table" field.

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

Property Documentation

◆ ArraySplitSize

int 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 165 of file SolverParameters.pb.cs.

◆ CheckSolutionPeriod

int CheckSolutionPeriod
getset

Control the behavior of local search.

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

◆ CompressTrail

global.Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression 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 135 of file SolverParameters.pb.cs.

◆ Descriptor

pbr.MessageDescriptor Descriptor
staticget

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

◆ DiffnUseCumulative

bool DiffnUseCumulative
getset

Control the propagation of the diffn constraint.

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

◆ DisableSolve

bool DisableSolve
getset

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

◆ MaxEdgeFinderSize

int MaxEdgeFinderSize
getset

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

◆ NameAllVariables

bool NameAllVariables
getset

Should anonymous variables be given a name.

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

◆ NameCastVariables

bool NameCastVariables
getset

Create names for cast variables.

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

◆ Parser

pb.MessageParser<ConstraintSolverParameters> Parser
staticget

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

◆ PrintAddedConstraints

bool PrintAddedConstraints
getset

Print added constraints.

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

◆ PrintLocalSearchProfile

bool PrintLocalSearchProfile
getset

Print local search profiling data after solving.

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

◆ PrintModel

bool PrintModel
getset

Print the model before solving.

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

◆ PrintModelStats

bool PrintModelStats
getset

Print model statistics before solving.

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

◆ ProfileFile

string ProfileFile
getset

Export propagation profiling data to file.

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

◆ ProfileLocalSearch

bool ProfileLocalSearch
getset

Activate local search profiling.

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

◆ ProfilePropagation

bool ProfilePropagation
getset

Activate propagation profiling.

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

◆ SkipLocallyOptimalPaths

bool 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 478 of file SolverParameters.pb.cs.

◆ StoreNames

bool StoreNames
getset

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

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

◆ TracePropagation

bool TracePropagation
getset

Activate propagate tracing.

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

◆ TraceSearch

bool TraceSearch
getset

Trace search.

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

◆ TrailBlockSize

int TrailBlockSize
getset

This parameter indicates the default size of a block of the trail.

Compression applies at the block level.

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

◆ UseAllPossibleDisjunctions

bool UseAllPossibleDisjunctions
getset

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

◆ UseCumulativeEdgeFinder

bool UseCumulativeEdgeFinder
getset

Control the propagation of the cumulative constraint.

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

◆ UseCumulativeTimeTable

bool UseCumulativeTimeTable
getset

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

◆ UseCumulativeTimeTableSync

bool UseCumulativeTimeTableSync
getset

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

◆ UseElementRmq

bool UseElementRmq
getset

Control the implementation of the element constraint.

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

◆ UseSequenceHighDemandTasks

bool UseSequenceHighDemandTasks
getset

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

◆ UseSmallTable

bool UseSmallTable
getset

Control the implementation of the table constraint.

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


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