Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder Class Reference
Inheritance diagram for com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder:
com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder

Public Member Functions

Builder clear ()
 
com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
 
com.google.ortools.constraintsolver.ConstraintSolverParameters getDefaultInstanceForType ()
 
com.google.ortools.constraintsolver.ConstraintSolverParameters build ()
 
com.google.ortools.constraintsolver.ConstraintSolverParameters buildPartial ()
 
Builder clone ()
 
Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
 
Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
 
Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
 
Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
 
Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
 
Builder mergeFrom (com.google.protobuf.Message other)
 
Builder mergeFrom (com.google.ortools.constraintsolver.ConstraintSolverParameters other)
 
final boolean isInitialized ()
 
Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
int getCompressTrailValue ()
 
Builder setCompressTrailValue (int value)
 
com.google.ortools.constraintsolver.ConstraintSolverParameters.TrailCompression getCompressTrail ()
 
Builder setCompressTrail (com.google.ortools.constraintsolver.ConstraintSolverParameters.TrailCompression value)
 
Builder clearCompressTrail ()
 
int getTrailBlockSize ()
 
Builder setTrailBlockSize (int value)
 
Builder clearTrailBlockSize ()
 
int getArraySplitSize ()
 
Builder setArraySplitSize (int value)
 
Builder clearArraySplitSize ()
 
boolean getStoreNames ()
 
Builder setStoreNames (boolean value)
 
Builder clearStoreNames ()
 
boolean getNameCastVariables ()
 
Builder setNameCastVariables (boolean value)
 
Builder clearNameCastVariables ()
 
boolean getNameAllVariables ()
 
Builder setNameAllVariables (boolean value)
 
Builder clearNameAllVariables ()
 
boolean getProfilePropagation ()
 
Builder setProfilePropagation (boolean value)
 
Builder clearProfilePropagation ()
 
java.lang.String getProfileFile ()
 
com.google.protobuf.ByteString getProfileFileBytes ()
 
Builder setProfileFile (java.lang.String value)
 
Builder clearProfileFile ()
 
Builder setProfileFileBytes (com.google.protobuf.ByteString value)
 
boolean getProfileLocalSearch ()
 
Builder setProfileLocalSearch (boolean value)
 
Builder clearProfileLocalSearch ()
 
boolean getPrintLocalSearchProfile ()
 
Builder setPrintLocalSearchProfile (boolean value)
 
Builder clearPrintLocalSearchProfile ()
 
boolean getTracePropagation ()
 
Builder setTracePropagation (boolean value)
 
Builder clearTracePropagation ()
 
boolean getTraceSearch ()
 
Builder setTraceSearch (boolean value)
 
Builder clearTraceSearch ()
 
boolean getPrintModel ()
 
Builder setPrintModel (boolean value)
 
Builder clearPrintModel ()
 
boolean getPrintModelStats ()
 
Builder setPrintModelStats (boolean value)
 
Builder clearPrintModelStats ()
 
boolean getPrintAddedConstraints ()
 
Builder setPrintAddedConstraints (boolean value)
 
Builder clearPrintAddedConstraints ()
 
boolean getDisableSolve ()
 
Builder setDisableSolve (boolean value)
 
Builder clearDisableSolve ()
 
boolean getUseSmallTable ()
 
Builder setUseSmallTable (boolean value)
 
Builder clearUseSmallTable ()
 
boolean getUseCumulativeEdgeFinder ()
 
Builder setUseCumulativeEdgeFinder (boolean value)
 
Builder clearUseCumulativeEdgeFinder ()
 
boolean getUseCumulativeTimeTable ()
 
Builder setUseCumulativeTimeTable (boolean value)
 
Builder clearUseCumulativeTimeTable ()
 
boolean getUseCumulativeTimeTableSync ()
 
Builder setUseCumulativeTimeTableSync (boolean value)
 
Builder clearUseCumulativeTimeTableSync ()
 
boolean getUseSequenceHighDemandTasks ()
 
Builder setUseSequenceHighDemandTasks (boolean value)
 
Builder clearUseSequenceHighDemandTasks ()
 
boolean getUseAllPossibleDisjunctions ()
 
Builder setUseAllPossibleDisjunctions (boolean value)
 
Builder clearUseAllPossibleDisjunctions ()
 
int getMaxEdgeFinderSize ()
 
Builder setMaxEdgeFinderSize (int value)
 
Builder clearMaxEdgeFinderSize ()
 
boolean getDiffnUseCumulative ()
 
Builder setDiffnUseCumulative (boolean value)
 
Builder clearDiffnUseCumulative ()
 
boolean getUseElementRmq ()
 
Builder setUseElementRmq (boolean value)
 
Builder clearUseElementRmq ()
 
boolean getSkipLocallyOptimalPaths ()
 
Builder setSkipLocallyOptimalPaths (boolean value)
 
Builder clearSkipLocallyOptimalPaths ()
 
int getCheckSolutionPeriod ()
 
Builder setCheckSolutionPeriod (int value)
 
Builder clearCheckSolutionPeriod ()
 
final Builder setUnknownFields (final com.google.protobuf.UnknownFieldSet unknownFields)
 
final Builder mergeUnknownFields (final com.google.protobuf.UnknownFieldSet unknownFields)
 

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 

Protected Member Functions

com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ()
 

Detailed Description

Solver parameters.

Protobuf type operations_research.ConstraintSolverParameters

Definition at line 1070 of file ConstraintSolverParameters.java.

Member Function Documentation

◆ addRepeatedField()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.addRepeatedField ( com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value )

Definition at line 1271 of file ConstraintSolverParameters.java.

◆ build()

com.google.ortools.constraintsolver.ConstraintSolverParameters com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.build ( )

Definition at line 1143 of file ConstraintSolverParameters.java.

◆ buildPartial()

com.google.ortools.constraintsolver.ConstraintSolverParameters com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.buildPartial ( )

Definition at line 1152 of file ConstraintSolverParameters.java.

◆ clear()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clear ( )

Definition at line 1098 of file ConstraintSolverParameters.java.

◆ clearArraySplitSize()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearArraySplitSize ( )
When a sum/min/max operation is applied on a large array, this
array is recursively split into blocks of size 'array_split_size'.

int32 array_split_size = 3;

Returns
This builder for chaining.

Definition at line 1719 of file ConstraintSolverParameters.java.

◆ clearCheckSolutionPeriod()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearCheckSolutionPeriod ( )

Control the behavior of local search.

int32 check_solution_period = 114;

Returns
This builder for chaining.

Definition at line 2781 of file ConstraintSolverParameters.java.

◆ clearCompressTrail()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearCompressTrail ( )
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.

.operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;

Returns
This builder for chaining.

Definition at line 1625 of file ConstraintSolverParameters.java.

◆ clearDiffnUseCumulative()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearDiffnUseCumulative ( )

Control the propagation of the diffn constraint.

bool diffn_use_cumulative = 110;

Returns
This builder for chaining.

Definition at line 2631 of file ConstraintSolverParameters.java.

◆ clearDisableSolve()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearDisableSolve ( )

bool disable_solve = 15;

Returns
This builder for chaining.

Definition at line 2330 of file ConstraintSolverParameters.java.

◆ clearField()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearField ( com.google.protobuf.Descriptors.FieldDescriptor field)

Definition at line 1255 of file ConstraintSolverParameters.java.

◆ clearMaxEdgeFinderSize()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearMaxEdgeFinderSize ( )

int32 max_edge_finder_size = 109;

Returns
This builder for chaining.

Definition at line 2584 of file ConstraintSolverParameters.java.

◆ clearNameAllVariables()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearNameAllVariables ( )
Should anonymous variables be given a name.

bool name_all_variables = 6;

Returns
This builder for chaining.

Definition at line 1854 of file ConstraintSolverParameters.java.

◆ clearNameCastVariables()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearNameCastVariables ( )
Create names for cast variables.

bool name_cast_variables = 5;

Returns
This builder for chaining.

Definition at line 1810 of file ConstraintSolverParameters.java.

◆ clearOneof()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearOneof ( com.google.protobuf.Descriptors.OneofDescriptor oneof)

Definition at line 1260 of file ConstraintSolverParameters.java.

◆ clearPrintAddedConstraints()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearPrintAddedConstraints ( )
Print added constraints.

bool print_added_constraints = 13;

Returns
This builder for chaining.

Definition at line 2298 of file ConstraintSolverParameters.java.

◆ clearPrintLocalSearchProfile()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearPrintLocalSearchProfile ( )
Print local search profiling data after solving.

bool print_local_search_profile = 17;

Returns
This builder for chaining.

Definition at line 2078 of file ConstraintSolverParameters.java.

◆ clearPrintModel()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearPrintModel ( )
Print the model before solving.

bool print_model = 11;

Returns
This builder for chaining.

Definition at line 2210 of file ConstraintSolverParameters.java.

◆ clearPrintModelStats()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearPrintModelStats ( )
Print model statistics before solving.

bool print_model_stats = 12;

Returns
This builder for chaining.

Definition at line 2254 of file ConstraintSolverParameters.java.

◆ clearProfileFile()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearProfileFile ( )
Export propagation profiling data to file.

string profile_file = 8;

Returns
This builder for chaining.

Definition at line 1972 of file ConstraintSolverParameters.java.

◆ clearProfileLocalSearch()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearProfileLocalSearch ( )
Activate local search profiling.

bool profile_local_search = 16;

Returns
This builder for chaining.

Definition at line 2034 of file ConstraintSolverParameters.java.

◆ clearProfilePropagation()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearProfilePropagation ( )
Activate propagation profiling.

bool profile_propagation = 7;

Returns
This builder for chaining.

Definition at line 1898 of file ConstraintSolverParameters.java.

◆ clearSkipLocallyOptimalPaths()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearSkipLocallyOptimalPaths ( )

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.

bool skip_locally_optimal_paths = 113;

Returns
This builder for chaining.

Definition at line 2734 of file ConstraintSolverParameters.java.

◆ clearStoreNames()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearStoreNames ( )
This parameters indicates if the solver should store the names of
the objets it manages.

bool store_names = 4;

Returns
This builder for chaining.

Definition at line 1766 of file ConstraintSolverParameters.java.

◆ clearTracePropagation()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearTracePropagation ( )
Activate propagate tracing.

bool trace_propagation = 9;

Returns
This builder for chaining.

Definition at line 2122 of file ConstraintSolverParameters.java.

◆ clearTraceSearch()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearTraceSearch ( )
Trace search.

bool trace_search = 10;

Returns
This builder for chaining.

Definition at line 2166 of file ConstraintSolverParameters.java.

◆ clearTrailBlockSize()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearTrailBlockSize ( )
This parameter indicates the default size of a block of the trail.
Compression applies at the block level.

int32 trail_block_size = 2;

Returns
This builder for chaining.

Definition at line 1672 of file ConstraintSolverParameters.java.

◆ clearUseAllPossibleDisjunctions()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearUseAllPossibleDisjunctions ( )

bool use_all_possible_disjunctions = 108;

Returns
This builder for chaining.

Definition at line 2552 of file ConstraintSolverParameters.java.

◆ clearUseCumulativeEdgeFinder()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearUseCumulativeEdgeFinder ( )

Control the propagation of the cumulative constraint.

bool use_cumulative_edge_finder = 105;

Returns
This builder for chaining.

Definition at line 2424 of file ConstraintSolverParameters.java.

◆ clearUseCumulativeTimeTable()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearUseCumulativeTimeTable ( )

bool use_cumulative_time_table = 106;

Returns
This builder for chaining.

Definition at line 2456 of file ConstraintSolverParameters.java.

◆ clearUseCumulativeTimeTableSync()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearUseCumulativeTimeTableSync ( )

bool use_cumulative_time_table_sync = 112;

Returns
This builder for chaining.

Definition at line 2488 of file ConstraintSolverParameters.java.

◆ clearUseElementRmq()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearUseElementRmq ( )

Control the implementation of the element constraint.

bool use_element_rmq = 111;

Returns
This builder for chaining.

Definition at line 2678 of file ConstraintSolverParameters.java.

◆ clearUseSequenceHighDemandTasks()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearUseSequenceHighDemandTasks ( )

bool use_sequence_high_demand_tasks = 107;

Returns
This builder for chaining.

Definition at line 2520 of file ConstraintSolverParameters.java.

◆ clearUseSmallTable()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clearUseSmallTable ( )

Control the implementation of the table constraint.

bool use_small_table = 101;

Returns
This builder for chaining.

Definition at line 2377 of file ConstraintSolverParameters.java.

◆ clone()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.clone ( )

Definition at line 1245 of file ConstraintSolverParameters.java.

◆ getArraySplitSize()

int com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getArraySplitSize ( )
When a sum/min/max operation is applied on a large array, this
array is recursively split into blocks of size 'array_split_size'.

int32 array_split_size = 3;

Returns
The arraySplitSize.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 1690 of file ConstraintSolverParameters.java.

◆ getCheckSolutionPeriod()

int com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getCheckSolutionPeriod ( )

Control the behavior of local search.

int32 check_solution_period = 114;

Returns
The checkSolutionPeriod.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2752 of file ConstraintSolverParameters.java.

◆ getCompressTrail()

com.google.ortools.constraintsolver.ConstraintSolverParameters.TrailCompression com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getCompressTrail ( )
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.

.operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;

Returns
The compressTrail.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 1591 of file ConstraintSolverParameters.java.

◆ getCompressTrailValue()

int com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getCompressTrailValue ( )
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.

.operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;

Returns
The enum numeric value on the wire for compressTrail.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 1560 of file ConstraintSolverParameters.java.

◆ getDefaultInstanceForType()

com.google.ortools.constraintsolver.ConstraintSolverParameters com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getDefaultInstanceForType ( )

Definition at line 1138 of file ConstraintSolverParameters.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getDescriptor ( )
static

Definition at line 1075 of file ConstraintSolverParameters.java.

◆ getDescriptorForType()

com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getDescriptorForType ( )

Definition at line 1133 of file ConstraintSolverParameters.java.

◆ getDiffnUseCumulative()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getDiffnUseCumulative ( )

Control the propagation of the diffn constraint.

bool diffn_use_cumulative = 110;

Returns
The diffnUseCumulative.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2602 of file ConstraintSolverParameters.java.

◆ getDisableSolve()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getDisableSolve ( )

bool disable_solve = 15;

Returns
The disableSolve.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2311 of file ConstraintSolverParameters.java.

◆ getMaxEdgeFinderSize()

int com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getMaxEdgeFinderSize ( )

int32 max_edge_finder_size = 109;

Returns
The maxEdgeFinderSize.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2565 of file ConstraintSolverParameters.java.

◆ getNameAllVariables()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getNameAllVariables ( )
Should anonymous variables be given a name.

bool name_all_variables = 6;

Returns
The nameAllVariables.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 1827 of file ConstraintSolverParameters.java.

◆ getNameCastVariables()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getNameCastVariables ( )
Create names for cast variables.

bool name_cast_variables = 5;

Returns
The nameCastVariables.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 1783 of file ConstraintSolverParameters.java.

◆ getPrintAddedConstraints()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getPrintAddedConstraints ( )
Print added constraints.

bool print_added_constraints = 13;

Returns
The printAddedConstraints.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2271 of file ConstraintSolverParameters.java.

◆ getPrintLocalSearchProfile()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getPrintLocalSearchProfile ( )
Print local search profiling data after solving.

bool print_local_search_profile = 17;

Returns
The printLocalSearchProfile.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2051 of file ConstraintSolverParameters.java.

◆ getPrintModel()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getPrintModel ( )
Print the model before solving.

bool print_model = 11;

Returns
The printModel.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2183 of file ConstraintSolverParameters.java.

◆ getPrintModelStats()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getPrintModelStats ( )
Print model statistics before solving.

bool print_model_stats = 12;

Returns
The printModelStats.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2227 of file ConstraintSolverParameters.java.

◆ getProfileFile()

java.lang.String com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getProfileFile ( )
Export propagation profiling data to file.

string profile_file = 8;

Returns
The profileFile.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 1914 of file ConstraintSolverParameters.java.

◆ getProfileFileBytes()

com.google.protobuf.ByteString com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getProfileFileBytes ( )
Export propagation profiling data to file.

string profile_file = 8;

Returns
The bytes for profileFile.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 1935 of file ConstraintSolverParameters.java.

◆ getProfileLocalSearch()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getProfileLocalSearch ( )
Activate local search profiling.

bool profile_local_search = 16;

Returns
The profileLocalSearch.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2007 of file ConstraintSolverParameters.java.

◆ getProfilePropagation()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getProfilePropagation ( )
Activate propagation profiling.

bool profile_propagation = 7;

Returns
The profilePropagation.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 1871 of file ConstraintSolverParameters.java.

◆ getSkipLocallyOptimalPaths()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getSkipLocallyOptimalPaths ( )

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.

bool skip_locally_optimal_paths = 113;

Returns
The skipLocallyOptimalPaths.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2699 of file ConstraintSolverParameters.java.

◆ getStoreNames()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getStoreNames ( )
This parameters indicates if the solver should store the names of
the objets it manages.

bool store_names = 4;

Returns
The storeNames.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 1737 of file ConstraintSolverParameters.java.

◆ getTracePropagation()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getTracePropagation ( )
Activate propagate tracing.

bool trace_propagation = 9;

Returns
The tracePropagation.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2095 of file ConstraintSolverParameters.java.

◆ getTraceSearch()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getTraceSearch ( )
Trace search.

bool trace_search = 10;

Returns
The traceSearch.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2139 of file ConstraintSolverParameters.java.

◆ getTrailBlockSize()

int com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getTrailBlockSize ( )
This parameter indicates the default size of a block of the trail.
Compression applies at the block level.

int32 trail_block_size = 2;

Returns
The trailBlockSize.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 1643 of file ConstraintSolverParameters.java.

◆ getUseAllPossibleDisjunctions()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getUseAllPossibleDisjunctions ( )

bool use_all_possible_disjunctions = 108;

Returns
The useAllPossibleDisjunctions.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2533 of file ConstraintSolverParameters.java.

◆ getUseCumulativeEdgeFinder()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getUseCumulativeEdgeFinder ( )

Control the propagation of the cumulative constraint.

bool use_cumulative_edge_finder = 105;

Returns
The useCumulativeEdgeFinder.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2395 of file ConstraintSolverParameters.java.

◆ getUseCumulativeTimeTable()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getUseCumulativeTimeTable ( )

bool use_cumulative_time_table = 106;

Returns
The useCumulativeTimeTable.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2437 of file ConstraintSolverParameters.java.

◆ getUseCumulativeTimeTableSync()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getUseCumulativeTimeTableSync ( )

bool use_cumulative_time_table_sync = 112;

Returns
The useCumulativeTimeTableSync.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2469 of file ConstraintSolverParameters.java.

◆ getUseElementRmq()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getUseElementRmq ( )

Control the implementation of the element constraint.

bool use_element_rmq = 111;

Returns
The useElementRmq.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2649 of file ConstraintSolverParameters.java.

◆ getUseSequenceHighDemandTasks()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getUseSequenceHighDemandTasks ( )

bool use_sequence_high_demand_tasks = 107;

Returns
The useSequenceHighDemandTasks.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2501 of file ConstraintSolverParameters.java.

◆ getUseSmallTable()

boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.getUseSmallTable ( )

Control the implementation of the table constraint.

bool use_small_table = 101;

Returns
The useSmallTable.

Implements com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.

Definition at line 2348 of file ConstraintSolverParameters.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessageV3.FieldAccessorTable com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.internalGetFieldAccessorTable ( )
protected

Definition at line 1081 of file ConstraintSolverParameters.java.

◆ isInitialized()

final boolean com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.isInitialized ( )

Definition at line 1377 of file ConstraintSolverParameters.java.

◆ mergeFrom() [1/3]

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.mergeFrom ( com.google.ortools.constraintsolver.ConstraintSolverParameters other)

Definition at line 1286 of file ConstraintSolverParameters.java.

◆ mergeFrom() [2/3]

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.mergeFrom ( com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException

Definition at line 1382 of file ConstraintSolverParameters.java.

◆ mergeFrom() [3/3]

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.mergeFrom ( com.google.protobuf.Message other)

Definition at line 1277 of file ConstraintSolverParameters.java.

◆ mergeUnknownFields()

final Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.mergeUnknownFields ( final com.google.protobuf.UnknownFieldSet unknownFields)

Definition at line 2794 of file ConstraintSolverParameters.java.

◆ setArraySplitSize()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setArraySplitSize ( int value)
When a sum/min/max operation is applied on a large array, this
array is recursively split into blocks of size 'array_split_size'.

int32 array_split_size = 3;

Parameters
valueThe arraySplitSize to set.
Returns
This builder for chaining.

Definition at line 1703 of file ConstraintSolverParameters.java.

◆ setCheckSolutionPeriod()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setCheckSolutionPeriod ( int value)

Control the behavior of local search.

int32 check_solution_period = 114;

Parameters
valueThe checkSolutionPeriod to set.
Returns
This builder for chaining.

Definition at line 2765 of file ConstraintSolverParameters.java.

◆ setCompressTrail()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setCompressTrail ( com.google.ortools.constraintsolver.ConstraintSolverParameters.TrailCompression value)
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.

.operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;

Parameters
valueThe compressTrail to set.
Returns
This builder for chaining.

Definition at line 1606 of file ConstraintSolverParameters.java.

◆ setCompressTrailValue()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setCompressTrailValue ( int value)
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.

.operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;

Parameters
valueThe enum numeric value on the wire for compressTrail to set.
Returns
This builder for chaining.

Definition at line 1574 of file ConstraintSolverParameters.java.

◆ setDiffnUseCumulative()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setDiffnUseCumulative ( boolean value)

Control the propagation of the diffn constraint.

bool diffn_use_cumulative = 110;

Parameters
valueThe diffnUseCumulative to set.
Returns
This builder for chaining.

Definition at line 2615 of file ConstraintSolverParameters.java.

◆ setDisableSolve()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setDisableSolve ( boolean value)

bool disable_solve = 15;

Parameters
valueThe disableSolve to set.
Returns
This builder for chaining.

Definition at line 2319 of file ConstraintSolverParameters.java.

◆ setField()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setField ( com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value )

Definition at line 1249 of file ConstraintSolverParameters.java.

◆ setMaxEdgeFinderSize()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setMaxEdgeFinderSize ( int value)

int32 max_edge_finder_size = 109;

Parameters
valueThe maxEdgeFinderSize to set.
Returns
This builder for chaining.

Definition at line 2573 of file ConstraintSolverParameters.java.

◆ setNameAllVariables()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setNameAllVariables ( boolean value)
Should anonymous variables be given a name.

bool name_all_variables = 6;

Parameters
valueThe nameAllVariables to set.
Returns
This builder for chaining.

Definition at line 1839 of file ConstraintSolverParameters.java.

◆ setNameCastVariables()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setNameCastVariables ( boolean value)
Create names for cast variables.

bool name_cast_variables = 5;

Parameters
valueThe nameCastVariables to set.
Returns
This builder for chaining.

Definition at line 1795 of file ConstraintSolverParameters.java.

◆ setPrintAddedConstraints()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setPrintAddedConstraints ( boolean value)
Print added constraints.

bool print_added_constraints = 13;

Parameters
valueThe printAddedConstraints to set.
Returns
This builder for chaining.

Definition at line 2283 of file ConstraintSolverParameters.java.

◆ setPrintLocalSearchProfile()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setPrintLocalSearchProfile ( boolean value)
Print local search profiling data after solving.

bool print_local_search_profile = 17;

Parameters
valueThe printLocalSearchProfile to set.
Returns
This builder for chaining.

Definition at line 2063 of file ConstraintSolverParameters.java.

◆ setPrintModel()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setPrintModel ( boolean value)
Print the model before solving.

bool print_model = 11;

Parameters
valueThe printModel to set.
Returns
This builder for chaining.

Definition at line 2195 of file ConstraintSolverParameters.java.

◆ setPrintModelStats()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setPrintModelStats ( boolean value)
Print model statistics before solving.

bool print_model_stats = 12;

Parameters
valueThe printModelStats to set.
Returns
This builder for chaining.

Definition at line 2239 of file ConstraintSolverParameters.java.

◆ setProfileFile()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setProfileFile ( java.lang.String value)
Export propagation profiling data to file.

string profile_file = 8;

Parameters
valueThe profileFile to set.
Returns
This builder for chaining.

Definition at line 1956 of file ConstraintSolverParameters.java.

◆ setProfileFileBytes()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setProfileFileBytes ( com.google.protobuf.ByteString value)
Export propagation profiling data to file.

string profile_file = 8;

Parameters
valueThe bytes for profileFile to set.
Returns
This builder for chaining.

Definition at line 1987 of file ConstraintSolverParameters.java.

◆ setProfileLocalSearch()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setProfileLocalSearch ( boolean value)
Activate local search profiling.

bool profile_local_search = 16;

Parameters
valueThe profileLocalSearch to set.
Returns
This builder for chaining.

Definition at line 2019 of file ConstraintSolverParameters.java.

◆ setProfilePropagation()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setProfilePropagation ( boolean value)
Activate propagation profiling.

bool profile_propagation = 7;

Parameters
valueThe profilePropagation to set.
Returns
This builder for chaining.

Definition at line 1883 of file ConstraintSolverParameters.java.

◆ setRepeatedField()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setRepeatedField ( com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value )

Definition at line 1265 of file ConstraintSolverParameters.java.

◆ setSkipLocallyOptimalPaths()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setSkipLocallyOptimalPaths ( boolean value)

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.

bool skip_locally_optimal_paths = 113;

Parameters
valueThe skipLocallyOptimalPaths to set.
Returns
This builder for chaining.

Definition at line 2715 of file ConstraintSolverParameters.java.

◆ setStoreNames()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setStoreNames ( boolean value)
This parameters indicates if the solver should store the names of
the objets it manages.

bool store_names = 4;

Parameters
valueThe storeNames to set.
Returns
This builder for chaining.

Definition at line 1750 of file ConstraintSolverParameters.java.

◆ setTracePropagation()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setTracePropagation ( boolean value)
Activate propagate tracing.

bool trace_propagation = 9;

Parameters
valueThe tracePropagation to set.
Returns
This builder for chaining.

Definition at line 2107 of file ConstraintSolverParameters.java.

◆ setTraceSearch()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setTraceSearch ( boolean value)
Trace search.

bool trace_search = 10;

Parameters
valueThe traceSearch to set.
Returns
This builder for chaining.

Definition at line 2151 of file ConstraintSolverParameters.java.

◆ setTrailBlockSize()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setTrailBlockSize ( int value)
This parameter indicates the default size of a block of the trail.
Compression applies at the block level.

int32 trail_block_size = 2;

Parameters
valueThe trailBlockSize to set.
Returns
This builder for chaining.

Definition at line 1656 of file ConstraintSolverParameters.java.

◆ setUnknownFields()

final Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setUnknownFields ( final com.google.protobuf.UnknownFieldSet unknownFields)

Definition at line 2788 of file ConstraintSolverParameters.java.

◆ setUseAllPossibleDisjunctions()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setUseAllPossibleDisjunctions ( boolean value)

bool use_all_possible_disjunctions = 108;

Parameters
valueThe useAllPossibleDisjunctions to set.
Returns
This builder for chaining.

Definition at line 2541 of file ConstraintSolverParameters.java.

◆ setUseCumulativeEdgeFinder()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setUseCumulativeEdgeFinder ( boolean value)

Control the propagation of the cumulative constraint.

bool use_cumulative_edge_finder = 105;

Parameters
valueThe useCumulativeEdgeFinder to set.
Returns
This builder for chaining.

Definition at line 2408 of file ConstraintSolverParameters.java.

◆ setUseCumulativeTimeTable()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setUseCumulativeTimeTable ( boolean value)

bool use_cumulative_time_table = 106;

Parameters
valueThe useCumulativeTimeTable to set.
Returns
This builder for chaining.

Definition at line 2445 of file ConstraintSolverParameters.java.

◆ setUseCumulativeTimeTableSync()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setUseCumulativeTimeTableSync ( boolean value)

bool use_cumulative_time_table_sync = 112;

Parameters
valueThe useCumulativeTimeTableSync to set.
Returns
This builder for chaining.

Definition at line 2477 of file ConstraintSolverParameters.java.

◆ setUseElementRmq()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setUseElementRmq ( boolean value)

Control the implementation of the element constraint.

bool use_element_rmq = 111;

Parameters
valueThe useElementRmq to set.
Returns
This builder for chaining.

Definition at line 2662 of file ConstraintSolverParameters.java.

◆ setUseSequenceHighDemandTasks()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setUseSequenceHighDemandTasks ( boolean value)

bool use_sequence_high_demand_tasks = 107;

Parameters
valueThe useSequenceHighDemandTasks to set.
Returns
This builder for chaining.

Definition at line 2509 of file ConstraintSolverParameters.java.

◆ setUseSmallTable()

Builder com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.setUseSmallTable ( boolean value)

Control the implementation of the table constraint.

bool use_small_table = 101;

Parameters
valueThe useSmallTable to set.
Returns
This builder for chaining.

Definition at line 2361 of file ConstraintSolverParameters.java.


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