Google OR-Tools v9.11
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 ()
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder

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 1081 of file ConstraintSolverParameters.java.

Member Function Documentation

◆ build()

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

Definition at line 1154 of file ConstraintSolverParameters.java.

◆ buildPartial()

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

Definition at line 1163 of file ConstraintSolverParameters.java.

◆ clear()

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

Definition at line 1109 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 1698 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 2760 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 1604 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 2610 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 2309 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 2563 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 1833 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 1789 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 2277 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 2057 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 2189 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 2233 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 1951 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 2013 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 1877 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 2713 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 1745 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 2101 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 2145 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 1651 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 2531 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 2403 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 2435 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 2467 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 2657 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 2499 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 2356 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 1669 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 2731 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 1570 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 1539 of file ConstraintSolverParameters.java.

◆ getDefaultInstanceForType()

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

Definition at line 1149 of file ConstraintSolverParameters.java.

◆ getDescriptor()

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

Definition at line 1086 of file ConstraintSolverParameters.java.

◆ getDescriptorForType()

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

Definition at line 1144 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 2581 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 2290 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 2544 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 1806 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 1762 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 2250 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 2030 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 2162 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 2206 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 1893 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 1914 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 1986 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 1850 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 2678 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 1716 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 2074 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 2118 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 1622 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 2512 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 2374 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 2416 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 2448 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 2628 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 2480 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 2327 of file ConstraintSolverParameters.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 1092 of file ConstraintSolverParameters.java.

◆ isInitialized()

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

Definition at line 1356 of file ConstraintSolverParameters.java.

◆ mergeFrom() [1/3]

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

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

◆ mergeFrom() [3/3]

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

Definition at line 1256 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 1682 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 2744 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 1585 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 1553 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 2594 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 2298 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 2552 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 1818 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 1774 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 2262 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 2042 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 2174 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 2218 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 1935 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 1966 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 1998 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 1862 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 2694 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 1729 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 2086 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 2130 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 1635 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 2520 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 2387 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 2424 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 2456 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 2641 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 2488 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 2340 of file ConstraintSolverParameters.java.


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