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

Public Member Functions

int getCompressTrailValue ()
 
com.google.ortools.constraintsolver.ConstraintSolverParameters.TrailCompression getCompressTrail ()
 
int getTrailBlockSize ()
 
int getArraySplitSize ()
 
boolean getStoreNames ()
 
boolean getNameCastVariables ()
 
boolean getNameAllVariables ()
 
boolean getProfilePropagation ()
 
java.lang.String getProfileFile ()
 
com.google.protobuf.ByteString getProfileFileBytes ()
 
boolean getProfileLocalSearch ()
 
boolean getPrintLocalSearchProfile ()
 
boolean getTracePropagation ()
 
boolean getTraceSearch ()
 
boolean getPrintModel ()
 
boolean getPrintModelStats ()
 
boolean getPrintAddedConstraints ()
 
boolean getDisableSolve ()
 
boolean getUseSmallTable ()
 
boolean getUseCumulativeEdgeFinder ()
 
boolean getUseCumulativeTimeTable ()
 
boolean getUseCumulativeTimeTableSync ()
 
boolean getUseSequenceHighDemandTasks ()
 
boolean getUseAllPossibleDisjunctions ()
 
int getMaxEdgeFinderSize ()
 
boolean getDiffnUseCumulative ()
 
boolean getUseElementRmq ()
 
boolean getSkipLocallyOptimalPaths ()
 
int getCheckSolutionPeriod ()
 

Detailed Description

Definition at line 7 of file ConstraintSolverParametersOrBuilder.java.

Member Function Documentation

◆ getArraySplitSize()

int com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.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.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getCheckSolutionPeriod()

int com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.getCheckSolutionPeriod ( )

Control the behavior of local search.

int32 check_solution_period = 114;

Returns
The checkSolutionPeriod.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getCompressTrail()

com.google.ortools.constraintsolver.ConstraintSolverParameters.TrailCompression com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.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.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getCompressTrailValue()

int com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.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.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getDiffnUseCumulative()

boolean com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.getDiffnUseCumulative ( )

Control the propagation of the diffn constraint.

bool diffn_use_cumulative = 110;

Returns
The diffnUseCumulative.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getDisableSolve()

boolean com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.getDisableSolve ( )

◆ getMaxEdgeFinderSize()

int com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.getMaxEdgeFinderSize ( )

int32 max_edge_finder_size = 109;

Returns
The maxEdgeFinderSize.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getNameAllVariables()

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

bool name_all_variables = 6;

Returns
The nameAllVariables.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getNameCastVariables()

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

bool name_cast_variables = 5;

Returns
The nameCastVariables.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getPrintAddedConstraints()

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

bool print_added_constraints = 13;

Returns
The printAddedConstraints.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getPrintLocalSearchProfile()

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

bool print_local_search_profile = 17;

Returns
The printLocalSearchProfile.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getPrintModel()

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

bool print_model = 11;

Returns
The printModel.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getPrintModelStats()

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

bool print_model_stats = 12;

Returns
The printModelStats.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getProfileFile()

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

string profile_file = 8;

Returns
The profileFile.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getProfileFileBytes()

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

string profile_file = 8;

Returns
The bytes for profileFile.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getProfileLocalSearch()

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

bool profile_local_search = 16;

Returns
The profileLocalSearch.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getProfilePropagation()

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

bool profile_propagation = 7;

Returns
The profilePropagation.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getSkipLocallyOptimalPaths()

boolean com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.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.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getStoreNames()

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

bool store_names = 4;

Returns
The storeNames.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getTracePropagation()

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

bool trace_propagation = 9;

Returns
The tracePropagation.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getTraceSearch()

boolean com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.getTraceSearch ( )

◆ getTrailBlockSize()

int com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.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.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getUseAllPossibleDisjunctions()

boolean com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.getUseAllPossibleDisjunctions ( )

bool use_all_possible_disjunctions = 108;

Returns
The useAllPossibleDisjunctions.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getUseCumulativeEdgeFinder()

boolean com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.getUseCumulativeEdgeFinder ( )

Control the propagation of the cumulative constraint.

bool use_cumulative_edge_finder = 105;

Returns
The useCumulativeEdgeFinder.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getUseCumulativeTimeTable()

boolean com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.getUseCumulativeTimeTable ( )

bool use_cumulative_time_table = 106;

Returns
The useCumulativeTimeTable.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getUseCumulativeTimeTableSync()

boolean com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.getUseCumulativeTimeTableSync ( )

bool use_cumulative_time_table_sync = 112;

Returns
The useCumulativeTimeTableSync.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getUseElementRmq()

boolean com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.getUseElementRmq ( )

Control the implementation of the element constraint.

bool use_element_rmq = 111;

Returns
The useElementRmq.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getUseSequenceHighDemandTasks()

boolean com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.getUseSequenceHighDemandTasks ( )

bool use_sequence_high_demand_tasks = 107;

Returns
The useSequenceHighDemandTasks.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.

◆ getUseSmallTable()

boolean com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder.getUseSmallTable ( )

Control the implementation of the table constraint.

bool use_small_table = 101;

Returns
The useSmallTable.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder, and com.google.ortools.constraintsolver.ConstraintSolverParameters.


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