Google OR-Tools v9.9
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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ getUseAllPossibleDisjunctions()

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

bool use_all_possible_disjunctions = 108;

Returns
The useAllPossibleDisjunctions.

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

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ getUseCumulativeTimeTable()

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

bool use_cumulative_time_table = 106;

Returns
The useCumulativeTimeTable.

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

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.

◆ 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, and com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder.


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