Class ConstraintSolverParameters.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ConstraintSolverParameters.Builder>
com.google.protobuf.GeneratedMessage.Builder<ConstraintSolverParameters.Builder>
com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder
All Implemented Interfaces:
ConstraintSolverParametersOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ConstraintSolverParameters

public static final class ConstraintSolverParameters.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConstraintSolverParameters.Builder> implements ConstraintSolverParametersOrBuilder
 Solver parameters.
 
Protobuf type operations_research.ConstraintSolverParameters
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ConstraintSolverParameters.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ConstraintSolverParameters.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ConstraintSolverParameters.Builder>
    • getDefaultInstanceForType

      public ConstraintSolverParameters getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ConstraintSolverParameters buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ConstraintSolverParameters.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConstraintSolverParameters.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ConstraintSolverParameters.Builder>
    • mergeFrom

      public ConstraintSolverParameters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConstraintSolverParameters.Builder>
      Throws:
      IOException
    • getCompressTrailValue

      public 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;
      Specified by:
      getCompressTrailValue in interface ConstraintSolverParametersOrBuilder
      Returns:
      The enum numeric value on the wire for compressTrail.
    • setCompressTrailValue

      public 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:
      value - The enum numeric value on the wire for compressTrail to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      getCompressTrail in interface ConstraintSolverParametersOrBuilder
      Returns:
      The compressTrail.
    • setCompressTrail

       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:
      value - The compressTrail to set.
      Returns:
      This builder for chaining.
    • clearCompressTrail

      public 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.
    • getTrailBlockSize

      public 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;
      Specified by:
      getTrailBlockSize in interface ConstraintSolverParametersOrBuilder
      Returns:
      The trailBlockSize.
    • setTrailBlockSize

      public 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:
      value - The trailBlockSize to set.
      Returns:
      This builder for chaining.
    • clearTrailBlockSize

      public 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.
    • getArraySplitSize

      public 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;
      Specified by:
      getArraySplitSize in interface ConstraintSolverParametersOrBuilder
      Returns:
      The arraySplitSize.
    • setArraySplitSize

      public 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:
      value - The arraySplitSize to set.
      Returns:
      This builder for chaining.
    • clearArraySplitSize

      public 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.
    • getStoreNames

      public boolean getStoreNames()
       This parameters indicates if the solver should store the names of
       the objets it manages.
       
      bool store_names = 4;
      Specified by:
      getStoreNames in interface ConstraintSolverParametersOrBuilder
      Returns:
      The storeNames.
    • setStoreNames

      public 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:
      value - The storeNames to set.
      Returns:
      This builder for chaining.
    • clearStoreNames

      public 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.
    • getNameCastVariables

      public boolean getNameCastVariables()
       Create names for cast variables.
       
      bool name_cast_variables = 5;
      Specified by:
      getNameCastVariables in interface ConstraintSolverParametersOrBuilder
      Returns:
      The nameCastVariables.
    • setNameCastVariables

      public ConstraintSolverParameters.Builder setNameCastVariables(boolean value)
       Create names for cast variables.
       
      bool name_cast_variables = 5;
      Parameters:
      value - The nameCastVariables to set.
      Returns:
      This builder for chaining.
    • clearNameCastVariables

      public ConstraintSolverParameters.Builder clearNameCastVariables()
       Create names for cast variables.
       
      bool name_cast_variables = 5;
      Returns:
      This builder for chaining.
    • getNameAllVariables

      public boolean getNameAllVariables()
       Should anonymous variables be given a name.
       
      bool name_all_variables = 6;
      Specified by:
      getNameAllVariables in interface ConstraintSolverParametersOrBuilder
      Returns:
      The nameAllVariables.
    • setNameAllVariables

      public ConstraintSolverParameters.Builder setNameAllVariables(boolean value)
       Should anonymous variables be given a name.
       
      bool name_all_variables = 6;
      Parameters:
      value - The nameAllVariables to set.
      Returns:
      This builder for chaining.
    • clearNameAllVariables

      public ConstraintSolverParameters.Builder clearNameAllVariables()
       Should anonymous variables be given a name.
       
      bool name_all_variables = 6;
      Returns:
      This builder for chaining.
    • getProfilePropagation

      public boolean getProfilePropagation()
       Activate propagation profiling.
       
      bool profile_propagation = 7;
      Specified by:
      getProfilePropagation in interface ConstraintSolverParametersOrBuilder
      Returns:
      The profilePropagation.
    • setProfilePropagation

      public ConstraintSolverParameters.Builder setProfilePropagation(boolean value)
       Activate propagation profiling.
       
      bool profile_propagation = 7;
      Parameters:
      value - The profilePropagation to set.
      Returns:
      This builder for chaining.
    • clearProfilePropagation

      public ConstraintSolverParameters.Builder clearProfilePropagation()
       Activate propagation profiling.
       
      bool profile_propagation = 7;
      Returns:
      This builder for chaining.
    • getProfileFile

      public String getProfileFile()
       Export propagation profiling data to file.
       
      string profile_file = 8;
      Specified by:
      getProfileFile in interface ConstraintSolverParametersOrBuilder
      Returns:
      The profileFile.
    • getProfileFileBytes

      public com.google.protobuf.ByteString getProfileFileBytes()
       Export propagation profiling data to file.
       
      string profile_file = 8;
      Specified by:
      getProfileFileBytes in interface ConstraintSolverParametersOrBuilder
      Returns:
      The bytes for profileFile.
    • setProfileFile

      public ConstraintSolverParameters.Builder setProfileFile(String value)
       Export propagation profiling data to file.
       
      string profile_file = 8;
      Parameters:
      value - The profileFile to set.
      Returns:
      This builder for chaining.
    • clearProfileFile

      public ConstraintSolverParameters.Builder clearProfileFile()
       Export propagation profiling data to file.
       
      string profile_file = 8;
      Returns:
      This builder for chaining.
    • setProfileFileBytes

      public ConstraintSolverParameters.Builder setProfileFileBytes(com.google.protobuf.ByteString value)
       Export propagation profiling data to file.
       
      string profile_file = 8;
      Parameters:
      value - The bytes for profileFile to set.
      Returns:
      This builder for chaining.
    • getProfileLocalSearch

      public boolean getProfileLocalSearch()
       Activate local search profiling.
       
      bool profile_local_search = 16;
      Specified by:
      getProfileLocalSearch in interface ConstraintSolverParametersOrBuilder
      Returns:
      The profileLocalSearch.
    • setProfileLocalSearch

      public ConstraintSolverParameters.Builder setProfileLocalSearch(boolean value)
       Activate local search profiling.
       
      bool profile_local_search = 16;
      Parameters:
      value - The profileLocalSearch to set.
      Returns:
      This builder for chaining.
    • clearProfileLocalSearch

      public ConstraintSolverParameters.Builder clearProfileLocalSearch()
       Activate local search profiling.
       
      bool profile_local_search = 16;
      Returns:
      This builder for chaining.
    • getPrintLocalSearchProfile

      public boolean getPrintLocalSearchProfile()
       Print local search profiling data after solving.
       
      bool print_local_search_profile = 17;
      Specified by:
      getPrintLocalSearchProfile in interface ConstraintSolverParametersOrBuilder
      Returns:
      The printLocalSearchProfile.
    • setPrintLocalSearchProfile

      public ConstraintSolverParameters.Builder setPrintLocalSearchProfile(boolean value)
       Print local search profiling data after solving.
       
      bool print_local_search_profile = 17;
      Parameters:
      value - The printLocalSearchProfile to set.
      Returns:
      This builder for chaining.
    • clearPrintLocalSearchProfile

      public ConstraintSolverParameters.Builder clearPrintLocalSearchProfile()
       Print local search profiling data after solving.
       
      bool print_local_search_profile = 17;
      Returns:
      This builder for chaining.
    • getTracePropagation

      public boolean getTracePropagation()
       Activate propagate tracing.
       
      bool trace_propagation = 9;
      Specified by:
      getTracePropagation in interface ConstraintSolverParametersOrBuilder
      Returns:
      The tracePropagation.
    • setTracePropagation

      public ConstraintSolverParameters.Builder setTracePropagation(boolean value)
       Activate propagate tracing.
       
      bool trace_propagation = 9;
      Parameters:
      value - The tracePropagation to set.
      Returns:
      This builder for chaining.
    • clearTracePropagation

      public ConstraintSolverParameters.Builder clearTracePropagation()
       Activate propagate tracing.
       
      bool trace_propagation = 9;
      Returns:
      This builder for chaining.
    • getTraceSearch

      public boolean getTraceSearch()
       Trace search.
       
      bool trace_search = 10;
      Specified by:
      getTraceSearch in interface ConstraintSolverParametersOrBuilder
      Returns:
      The traceSearch.
    • setTraceSearch

      public ConstraintSolverParameters.Builder setTraceSearch(boolean value)
       Trace search.
       
      bool trace_search = 10;
      Parameters:
      value - The traceSearch to set.
      Returns:
      This builder for chaining.
    • clearTraceSearch

      public ConstraintSolverParameters.Builder clearTraceSearch()
       Trace search.
       
      bool trace_search = 10;
      Returns:
      This builder for chaining.
    • getPrintModel

      public boolean getPrintModel()
       Print the model before solving.
       
      bool print_model = 11;
      Specified by:
      getPrintModel in interface ConstraintSolverParametersOrBuilder
      Returns:
      The printModel.
    • setPrintModel

      public ConstraintSolverParameters.Builder setPrintModel(boolean value)
       Print the model before solving.
       
      bool print_model = 11;
      Parameters:
      value - The printModel to set.
      Returns:
      This builder for chaining.
    • clearPrintModel

      public ConstraintSolverParameters.Builder clearPrintModel()
       Print the model before solving.
       
      bool print_model = 11;
      Returns:
      This builder for chaining.
    • getPrintModelStats

      public boolean getPrintModelStats()
       Print model statistics before solving.
       
      bool print_model_stats = 12;
      Specified by:
      getPrintModelStats in interface ConstraintSolverParametersOrBuilder
      Returns:
      The printModelStats.
    • setPrintModelStats

      public ConstraintSolverParameters.Builder setPrintModelStats(boolean value)
       Print model statistics before solving.
       
      bool print_model_stats = 12;
      Parameters:
      value - The printModelStats to set.
      Returns:
      This builder for chaining.
    • clearPrintModelStats

      public ConstraintSolverParameters.Builder clearPrintModelStats()
       Print model statistics before solving.
       
      bool print_model_stats = 12;
      Returns:
      This builder for chaining.
    • getPrintAddedConstraints

      public boolean getPrintAddedConstraints()
       Print added constraints.
       
      bool print_added_constraints = 13;
      Specified by:
      getPrintAddedConstraints in interface ConstraintSolverParametersOrBuilder
      Returns:
      The printAddedConstraints.
    • setPrintAddedConstraints

      public ConstraintSolverParameters.Builder setPrintAddedConstraints(boolean value)
       Print added constraints.
       
      bool print_added_constraints = 13;
      Parameters:
      value - The printAddedConstraints to set.
      Returns:
      This builder for chaining.
    • clearPrintAddedConstraints

      public ConstraintSolverParameters.Builder clearPrintAddedConstraints()
       Print added constraints.
       
      bool print_added_constraints = 13;
      Returns:
      This builder for chaining.
    • getDisableSolve

      public boolean getDisableSolve()
      bool disable_solve = 15;
      Specified by:
      getDisableSolve in interface ConstraintSolverParametersOrBuilder
      Returns:
      The disableSolve.
    • setDisableSolve

      public ConstraintSolverParameters.Builder setDisableSolve(boolean value)
      bool disable_solve = 15;
      Parameters:
      value - The disableSolve to set.
      Returns:
      This builder for chaining.
    • clearDisableSolve

      public ConstraintSolverParameters.Builder clearDisableSolve()
      bool disable_solve = 15;
      Returns:
      This builder for chaining.
    • getUseSmallTable

      public boolean getUseSmallTable()
      
       Control the implementation of the table constraint.
       
      bool use_small_table = 101;
      Specified by:
      getUseSmallTable in interface ConstraintSolverParametersOrBuilder
      Returns:
      The useSmallTable.
    • setUseSmallTable

      public ConstraintSolverParameters.Builder setUseSmallTable(boolean value)
      
       Control the implementation of the table constraint.
       
      bool use_small_table = 101;
      Parameters:
      value - The useSmallTable to set.
      Returns:
      This builder for chaining.
    • clearUseSmallTable

      public ConstraintSolverParameters.Builder clearUseSmallTable()
      
       Control the implementation of the table constraint.
       
      bool use_small_table = 101;
      Returns:
      This builder for chaining.
    • getUseCumulativeEdgeFinder

      public boolean getUseCumulativeEdgeFinder()
      
       Control the propagation of the cumulative constraint.
       
      bool use_cumulative_edge_finder = 105;
      Specified by:
      getUseCumulativeEdgeFinder in interface ConstraintSolverParametersOrBuilder
      Returns:
      The useCumulativeEdgeFinder.
    • setUseCumulativeEdgeFinder

      public ConstraintSolverParameters.Builder setUseCumulativeEdgeFinder(boolean value)
      
       Control the propagation of the cumulative constraint.
       
      bool use_cumulative_edge_finder = 105;
      Parameters:
      value - The useCumulativeEdgeFinder to set.
      Returns:
      This builder for chaining.
    • clearUseCumulativeEdgeFinder

      public ConstraintSolverParameters.Builder clearUseCumulativeEdgeFinder()
      
       Control the propagation of the cumulative constraint.
       
      bool use_cumulative_edge_finder = 105;
      Returns:
      This builder for chaining.
    • getUseCumulativeTimeTable

      public boolean getUseCumulativeTimeTable()
      bool use_cumulative_time_table = 106;
      Specified by:
      getUseCumulativeTimeTable in interface ConstraintSolverParametersOrBuilder
      Returns:
      The useCumulativeTimeTable.
    • setUseCumulativeTimeTable

      public ConstraintSolverParameters.Builder setUseCumulativeTimeTable(boolean value)
      bool use_cumulative_time_table = 106;
      Parameters:
      value - The useCumulativeTimeTable to set.
      Returns:
      This builder for chaining.
    • clearUseCumulativeTimeTable

      public ConstraintSolverParameters.Builder clearUseCumulativeTimeTable()
      bool use_cumulative_time_table = 106;
      Returns:
      This builder for chaining.
    • getUseCumulativeTimeTableSync

      public boolean getUseCumulativeTimeTableSync()
      bool use_cumulative_time_table_sync = 112;
      Specified by:
      getUseCumulativeTimeTableSync in interface ConstraintSolverParametersOrBuilder
      Returns:
      The useCumulativeTimeTableSync.
    • setUseCumulativeTimeTableSync

      public ConstraintSolverParameters.Builder setUseCumulativeTimeTableSync(boolean value)
      bool use_cumulative_time_table_sync = 112;
      Parameters:
      value - The useCumulativeTimeTableSync to set.
      Returns:
      This builder for chaining.
    • clearUseCumulativeTimeTableSync

      public ConstraintSolverParameters.Builder clearUseCumulativeTimeTableSync()
      bool use_cumulative_time_table_sync = 112;
      Returns:
      This builder for chaining.
    • getUseSequenceHighDemandTasks

      public boolean getUseSequenceHighDemandTasks()
      bool use_sequence_high_demand_tasks = 107;
      Specified by:
      getUseSequenceHighDemandTasks in interface ConstraintSolverParametersOrBuilder
      Returns:
      The useSequenceHighDemandTasks.
    • setUseSequenceHighDemandTasks

      public ConstraintSolverParameters.Builder setUseSequenceHighDemandTasks(boolean value)
      bool use_sequence_high_demand_tasks = 107;
      Parameters:
      value - The useSequenceHighDemandTasks to set.
      Returns:
      This builder for chaining.
    • clearUseSequenceHighDemandTasks

      public ConstraintSolverParameters.Builder clearUseSequenceHighDemandTasks()
      bool use_sequence_high_demand_tasks = 107;
      Returns:
      This builder for chaining.
    • getUseAllPossibleDisjunctions

      public boolean getUseAllPossibleDisjunctions()
      bool use_all_possible_disjunctions = 108;
      Specified by:
      getUseAllPossibleDisjunctions in interface ConstraintSolverParametersOrBuilder
      Returns:
      The useAllPossibleDisjunctions.
    • setUseAllPossibleDisjunctions

      public ConstraintSolverParameters.Builder setUseAllPossibleDisjunctions(boolean value)
      bool use_all_possible_disjunctions = 108;
      Parameters:
      value - The useAllPossibleDisjunctions to set.
      Returns:
      This builder for chaining.
    • clearUseAllPossibleDisjunctions

      public ConstraintSolverParameters.Builder clearUseAllPossibleDisjunctions()
      bool use_all_possible_disjunctions = 108;
      Returns:
      This builder for chaining.
    • getMaxEdgeFinderSize

      public int getMaxEdgeFinderSize()
      int32 max_edge_finder_size = 109;
      Specified by:
      getMaxEdgeFinderSize in interface ConstraintSolverParametersOrBuilder
      Returns:
      The maxEdgeFinderSize.
    • setMaxEdgeFinderSize

      public ConstraintSolverParameters.Builder setMaxEdgeFinderSize(int value)
      int32 max_edge_finder_size = 109;
      Parameters:
      value - The maxEdgeFinderSize to set.
      Returns:
      This builder for chaining.
    • clearMaxEdgeFinderSize

      public ConstraintSolverParameters.Builder clearMaxEdgeFinderSize()
      int32 max_edge_finder_size = 109;
      Returns:
      This builder for chaining.
    • getDiffnUseCumulative

      public boolean getDiffnUseCumulative()
      
       Control the propagation of the diffn constraint.
       
      bool diffn_use_cumulative = 110;
      Specified by:
      getDiffnUseCumulative in interface ConstraintSolverParametersOrBuilder
      Returns:
      The diffnUseCumulative.
    • setDiffnUseCumulative

      public ConstraintSolverParameters.Builder setDiffnUseCumulative(boolean value)
      
       Control the propagation of the diffn constraint.
       
      bool diffn_use_cumulative = 110;
      Parameters:
      value - The diffnUseCumulative to set.
      Returns:
      This builder for chaining.
    • clearDiffnUseCumulative

      public ConstraintSolverParameters.Builder clearDiffnUseCumulative()
      
       Control the propagation of the diffn constraint.
       
      bool diffn_use_cumulative = 110;
      Returns:
      This builder for chaining.
    • getUseElementRmq

      public boolean getUseElementRmq()
      
       Control the implementation of the element constraint.
       
      bool use_element_rmq = 111;
      Specified by:
      getUseElementRmq in interface ConstraintSolverParametersOrBuilder
      Returns:
      The useElementRmq.
    • setUseElementRmq

      public ConstraintSolverParameters.Builder setUseElementRmq(boolean value)
      
       Control the implementation of the element constraint.
       
      bool use_element_rmq = 111;
      Parameters:
      value - The useElementRmq to set.
      Returns:
      This builder for chaining.
    • clearUseElementRmq

      public ConstraintSolverParameters.Builder clearUseElementRmq()
      
       Control the implementation of the element constraint.
       
      bool use_element_rmq = 111;
      Returns:
      This builder for chaining.
    • getSkipLocallyOptimalPaths

      public 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;
      Specified by:
      getSkipLocallyOptimalPaths in interface ConstraintSolverParametersOrBuilder
      Returns:
      The skipLocallyOptimalPaths.
    • setSkipLocallyOptimalPaths

      public 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:
      value - The skipLocallyOptimalPaths to set.
      Returns:
      This builder for chaining.
    • clearSkipLocallyOptimalPaths

      public 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.
    • getCheckSolutionPeriod

      public int getCheckSolutionPeriod()
      
       Control the behavior of local search.
       
      int32 check_solution_period = 114;
      Specified by:
      getCheckSolutionPeriod in interface ConstraintSolverParametersOrBuilder
      Returns:
      The checkSolutionPeriod.
    • setCheckSolutionPeriod

      public ConstraintSolverParameters.Builder setCheckSolutionPeriod(int value)
      
       Control the behavior of local search.
       
      int32 check_solution_period = 114;
      Parameters:
      value - The checkSolutionPeriod to set.
      Returns:
      This builder for chaining.
    • clearCheckSolutionPeriod

      public ConstraintSolverParameters.Builder clearCheckSolutionPeriod()
      
       Control the behavior of local search.
       
      int32 check_solution_period = 114;
      Returns:
      This builder for chaining.