Google OR-Tools v9.12
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 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 ()
 

Static Public Member Functions

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

Protected Member Functions

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

Detailed Description

Solver parameters.

Protobuf type operations_research.ConstraintSolverParameters

Definition at line 1082 of file ConstraintSolverParameters.java.

Member Function Documentation

◆ build()

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

Definition at line 1155 of file ConstraintSolverParameters.java.

◆ buildPartial()

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

Definition at line 1164 of file ConstraintSolverParameters.java.

◆ clear()

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

Definition at line 1110 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 1699 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 2761 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 1605 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 2611 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 2310 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 2564 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 1834 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 1790 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 2278 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 2058 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 2190 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 2234 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 1952 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 2014 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 1878 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 2714 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 1746 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 2102 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 2146 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 1652 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 2532 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 2404 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 2436 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 2468 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 2658 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 2500 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 2357 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 1670 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 2732 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 1571 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 1540 of file ConstraintSolverParameters.java.

◆ getDefaultInstanceForType()

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

Definition at line 1150 of file ConstraintSolverParameters.java.

◆ getDescriptor()

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

Definition at line 1087 of file ConstraintSolverParameters.java.

◆ getDescriptorForType()

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

Definition at line 1145 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 2582 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 2291 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 2545 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 1807 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 1763 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 2251 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 2031 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 2163 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 2207 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 1894 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 1915 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 1987 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 1851 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 2679 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 1717 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 2075 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 2119 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 1623 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 2513 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 2375 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 2417 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 2449 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 2629 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 2481 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 2328 of file ConstraintSolverParameters.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 1093 of file ConstraintSolverParameters.java.

◆ isInitialized()

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

Definition at line 1357 of file ConstraintSolverParameters.java.

◆ mergeFrom() [1/3]

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

Definition at line 1266 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 1362 of file ConstraintSolverParameters.java.

◆ mergeFrom() [3/3]

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

Definition at line 1257 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 1683 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 2745 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 1586 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 1554 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 2595 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 2299 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 2553 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 1819 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 1775 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 2263 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 2043 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 2175 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 2219 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 1936 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 1967 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 1999 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 1863 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 2695 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 1730 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 2087 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 2131 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 1636 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 2521 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 2388 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 2425 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 2457 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 2642 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 2489 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 2341 of file ConstraintSolverParameters.java.


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