Interface ConstraintSolverParametersOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConstraintSolverParameters
,ConstraintSolverParameters.Builder
@Generated
public interface ConstraintSolverParametersOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
When a sum/min/max operation is applied on a large array, this array is recursively split into blocks of size 'array_split_size'.int
Control the behavior of local search.This parameter indicates if the solver should compress the trail during the search.int
This parameter indicates if the solver should compress the trail during the search.boolean
Control the propagation of the diffn constraint.boolean
bool disable_solve = 15;
int
int32 max_edge_finder_size = 109;
boolean
Should anonymous variables be given a name.boolean
Create names for cast variables.boolean
Print added constraints.boolean
Print local search profiling data after solving.boolean
Print the model before solving.boolean
Print model statistics before solving.Export propagation profiling data to file.com.google.protobuf.ByteString
Export propagation profiling data to file.boolean
Activate local search profiling.boolean
Activate propagation profiling.boolean
Skip locally optimal pairs of paths in PathOperators.boolean
This parameters indicates if the solver should store the names of the objets it manages.boolean
Activate propagate tracing.boolean
Trace search.int
This parameter indicates the default size of a block of the trail.boolean
bool use_all_possible_disjunctions = 108;
boolean
Control the propagation of the cumulative constraint.boolean
bool use_cumulative_time_table = 106;
boolean
bool use_cumulative_time_table_sync = 112;
boolean
Control the implementation of the element constraint.boolean
bool use_sequence_high_demand_tasks = 107;
boolean
Control the implementation of the table constraint.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCompressTrailValue
int 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.
-
getCompressTrail
ConstraintSolverParameters.TrailCompression 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.
-
getTrailBlockSize
int 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.
-
getArraySplitSize
int 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.
-
getStoreNames
boolean getStoreNames()This parameters indicates if the solver should store the names of the objets it manages.
bool store_names = 4;
- Returns:
- The storeNames.
-
getNameCastVariables
boolean getNameCastVariables()Create names for cast variables.
bool name_cast_variables = 5;
- Returns:
- The nameCastVariables.
-
getNameAllVariables
boolean getNameAllVariables()Should anonymous variables be given a name.
bool name_all_variables = 6;
- Returns:
- The nameAllVariables.
-
getProfilePropagation
boolean getProfilePropagation()Activate propagation profiling.
bool profile_propagation = 7;
- Returns:
- The profilePropagation.
-
getProfileFile
String getProfileFile()Export propagation profiling data to file.
string profile_file = 8;
- Returns:
- The profileFile.
-
getProfileFileBytes
com.google.protobuf.ByteString getProfileFileBytes()Export propagation profiling data to file.
string profile_file = 8;
- Returns:
- The bytes for profileFile.
-
getProfileLocalSearch
boolean getProfileLocalSearch()Activate local search profiling.
bool profile_local_search = 16;
- Returns:
- The profileLocalSearch.
-
getPrintLocalSearchProfile
boolean getPrintLocalSearchProfile()Print local search profiling data after solving.
bool print_local_search_profile = 17;
- Returns:
- The printLocalSearchProfile.
-
getTracePropagation
boolean getTracePropagation()Activate propagate tracing.
bool trace_propagation = 9;
- Returns:
- The tracePropagation.
-
getTraceSearch
boolean getTraceSearch()Trace search.
bool trace_search = 10;
- Returns:
- The traceSearch.
-
getPrintModel
boolean getPrintModel()Print the model before solving.
bool print_model = 11;
- Returns:
- The printModel.
-
getPrintModelStats
boolean getPrintModelStats()Print model statistics before solving.
bool print_model_stats = 12;
- Returns:
- The printModelStats.
-
getPrintAddedConstraints
boolean getPrintAddedConstraints()Print added constraints.
bool print_added_constraints = 13;
- Returns:
- The printAddedConstraints.
-
getDisableSolve
boolean getDisableSolve()bool disable_solve = 15;
- Returns:
- The disableSolve.
-
getUseSmallTable
boolean getUseSmallTable()Control the implementation of the table constraint.
bool use_small_table = 101;
- Returns:
- The useSmallTable.
-
getUseCumulativeEdgeFinder
boolean getUseCumulativeEdgeFinder()Control the propagation of the cumulative constraint.
bool use_cumulative_edge_finder = 105;
- Returns:
- The useCumulativeEdgeFinder.
-
getUseCumulativeTimeTable
boolean getUseCumulativeTimeTable()bool use_cumulative_time_table = 106;
- Returns:
- The useCumulativeTimeTable.
-
getUseCumulativeTimeTableSync
boolean getUseCumulativeTimeTableSync()bool use_cumulative_time_table_sync = 112;
- Returns:
- The useCumulativeTimeTableSync.
-
getUseSequenceHighDemandTasks
boolean getUseSequenceHighDemandTasks()bool use_sequence_high_demand_tasks = 107;
- Returns:
- The useSequenceHighDemandTasks.
-
getUseAllPossibleDisjunctions
boolean getUseAllPossibleDisjunctions()bool use_all_possible_disjunctions = 108;
- Returns:
- The useAllPossibleDisjunctions.
-
getMaxEdgeFinderSize
int getMaxEdgeFinderSize()int32 max_edge_finder_size = 109;
- Returns:
- The maxEdgeFinderSize.
-
getDiffnUseCumulative
boolean getDiffnUseCumulative()Control the propagation of the diffn constraint.
bool diffn_use_cumulative = 110;
- Returns:
- The diffnUseCumulative.
-
getUseElementRmq
boolean getUseElementRmq()Control the implementation of the element constraint.
bool use_element_rmq = 111;
- Returns:
- The useElementRmq.
-
getSkipLocallyOptimalPaths
boolean 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.
-
getCheckSolutionPeriod
int getCheckSolutionPeriod()Control the behavior of local search.
int32 check_solution_period = 114;
- Returns:
- The checkSolutionPeriod.
-