Package com.google.ortools.sat
Class SatParameters.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SatParameters.Builder>
-
- com.google.ortools.sat.SatParameters.Builder
-
- All Implemented Interfaces:
SatParametersOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- SatParameters
public static final class SatParameters.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SatParameters.Builder> implements SatParametersOrBuilder
Contains the definitions for all the sat algorithm parameters and their default values. NEXT TAG: 269
Protobuf typeoperations_research.sat.SatParameters
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SatParameters.BuilderaddAllExtraSubsolvers(java.lang.Iterable<java.lang.String> values)A convenient way to add more workers types.SatParameters.BuilderaddAllIgnoreSubsolvers(java.lang.Iterable<java.lang.String> values)Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.SatParameters.BuilderaddAllRestartAlgorithms(java.lang.Iterable<? extends SatParameters.RestartAlgorithm> values)The restart strategies will change each time the strategy_counter is increased.SatParameters.BuilderaddAllSubsolverParams(java.lang.Iterable<? extends SatParameters> values)It is possible to specify additional subsolver configuration.SatParameters.BuilderaddAllSubsolvers(java.lang.Iterable<java.lang.String> values)In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters.SatParameters.BuilderaddExtraSubsolvers(java.lang.String value)A convenient way to add more workers types.SatParameters.BuilderaddExtraSubsolversBytes(com.google.protobuf.ByteString value)A convenient way to add more workers types.SatParameters.BuilderaddIgnoreSubsolvers(java.lang.String value)Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.SatParameters.BuilderaddIgnoreSubsolversBytes(com.google.protobuf.ByteString value)Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.SatParameters.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SatParameters.BuilderaddRestartAlgorithms(SatParameters.RestartAlgorithm value)The restart strategies will change each time the strategy_counter is increased.SatParameters.BuilderaddSubsolverParams(int index, SatParameters value)It is possible to specify additional subsolver configuration.SatParameters.BuilderaddSubsolverParams(int index, SatParameters.Builder builderForValue)It is possible to specify additional subsolver configuration.SatParameters.BuilderaddSubsolverParams(SatParameters value)It is possible to specify additional subsolver configuration.SatParameters.BuilderaddSubsolverParams(SatParameters.Builder builderForValue)It is possible to specify additional subsolver configuration.SatParameters.BuilderaddSubsolverParamsBuilder()It is possible to specify additional subsolver configuration.SatParameters.BuilderaddSubsolverParamsBuilder(int index)It is possible to specify additional subsolver configuration.SatParameters.BuilderaddSubsolvers(java.lang.String value)In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters.SatParameters.BuilderaddSubsolversBytes(com.google.protobuf.ByteString value)In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters.SatParametersbuild()SatParametersbuildPartial()SatParameters.Builderclear()SatParameters.BuilderclearAbsoluteGapLimit()Stop the search when the gap between the best feasible objective (O) and our best objective bound (B) is smaller than a limit.SatParameters.BuilderclearAddCgCuts()Whether we generate and add Chvatal-Gomory cuts to the LP at root node.SatParameters.BuilderclearAddCliqueCuts()Whether we generate clique cuts from the binary implication graph.SatParameters.BuilderclearAddLinMaxCuts()For the lin max constraints, generates the cuts described in "Strong mixed-integer programming formulations for trained neural networks" by Ross Anderson et.SatParameters.BuilderclearAddLpConstraintsLazily()If true, we start by an empty LP, and only add constraints not satisfied by the current LP solution batch by batch.SatParameters.BuilderclearAddMirCuts()Whether we generate MIR cuts at root node.SatParameters.BuilderclearAddObjectiveCut()When the LP objective is fractional, do we add the cut that forces the linear objective expression to be greater or equal to this fractional value rounded up? We can always do that since our objective is integer, and combined with MIR heuristic to reduce the coefficient of such cut, it can help.SatParameters.BuilderclearAddZeroHalfCuts()Whether we generate Zero-Half cuts at root node.SatParameters.BuilderclearAlsoBumpVariablesInConflictReasons()When this is true, then the variables that appear in any of the reason of the variables in a conflict have their activity bumped.SatParameters.BuilderclearAutoDetectGreaterThanAtLeastOneOf()If true, then the precedences propagator try to detect for each variable if it has a set of "optional incoming arc" for which at least one of them is present.SatParameters.BuilderclearBinaryMinimizationAlgorithm()optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];SatParameters.BuilderclearBinarySearchNumConflicts()If non-negative, perform a binary search on the objective variable in order to find an [min, max] interval outside of which the solver proved unsat/sat under this amount of conflict.SatParameters.BuilderclearBlockingRestartMultiplier()optional double blocking_restart_multiplier = 66 [default = 1.4];SatParameters.BuilderclearBlockingRestartWindowSize()optional int32 blocking_restart_window_size = 65 [default = 5000];SatParameters.BuilderclearBooleanEncodingLevel()A non-negative level indicating how much we should try to fully encode Integer variables as Boolean.SatParameters.BuilderclearCatchSigintSignal()Indicates if the CP-SAT layer should catch Control-C (SIGINT) signals when calling solve.SatParameters.BuilderclearClauseActivityDecay()Clause activity parameters (same effect as the one on the variables).SatParameters.BuilderclearClauseCleanupLbdBound()All the clauses with a LBD (literal blocks distance) lower or equal to this parameters will always be kept.SatParameters.BuilderclearClauseCleanupOrdering()optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];SatParameters.BuilderclearClauseCleanupPeriod()Trigger a cleanup when this number of "deletable" clauses is learned.SatParameters.BuilderclearClauseCleanupProtection()optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];SatParameters.BuilderclearClauseCleanupRatio()During a cleanup, if clause_cleanup_target is 0, we will delete the clause_cleanup_ratio of "deletable" clauses instead of aiming for a fixed target of clauses to keep.SatParameters.BuilderclearClauseCleanupTarget()During a cleanup, we will always keep that number of "deletable" clauses.SatParameters.BuilderclearConvertIntervals()Temporary flag util the feature is more mature.SatParameters.BuilderclearCoreMinimizationLevel()If positive, we spend some effort on each core: - At level 1, we use a simple heuristic to try to minimize an UNSAT core.SatParameters.BuilderclearCountAssumptionLevelsInLbd()Whether or not the assumption levels are taken into account during the LBD computation.SatParameters.BuilderclearCoverOptimization()If true, when the max-sat algo find a core, we compute the minimal number of literals in the core that needs to be true to have a feasible solution.SatParameters.BuilderclearCpModelPresolve()Whether we presolve the cp_model before solving it.SatParameters.BuilderclearCpModelProbingLevel()How much effort do we spend on probing.SatParameters.BuilderclearCpModelUseSatPresolve()Whether we also use the sat presolve when cp_model_presolve is true.SatParameters.BuilderclearCutActiveCountDecay()optional double cut_active_count_decay = 156 [default = 0.8];SatParameters.BuilderclearCutCleanupTarget()Target number of constraints to remove during cleanup.SatParameters.BuilderclearCutLevel()Control the global cut effort.SatParameters.BuilderclearCutMaxActiveCountValue()These parameters are similar to sat clause management activity parameters.SatParameters.BuilderclearDebugCrashOnBadHint()Crash if we do not manage to complete the hint into a full solution.SatParameters.BuilderclearDebugMaxNumPresolveOperations()If positive, try to stop just after that many presolve rules have been applied.SatParameters.BuilderclearDebugPostsolveWithFullSolver()We have two different postsolve code.SatParameters.BuilderclearDefaultRestartAlgorithms()optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];SatParameters.BuilderclearDetectTableWithCost()If true, we detect variable that are unique to a table constraint and only there to encode a cost on each tuple.SatParameters.BuilderclearDisableConstraintExpansion()If true, it disable all constraint expansion.SatParameters.BuilderclearDiversifyLnsParams()If true, registers more lns subsolvers with different parameters.SatParameters.BuilderclearEncodeComplexLinearConstraintWithInteger()Linear constraint with a complex right hand side (more than a single interval) need to be expanded, there is a couple of way to do that.SatParameters.BuilderclearEnumerateAllSolutions()Whether we enumerate all solutions of a problem without objective.SatParameters.BuilderclearExpandAlldiffConstraints()If true, expand all_different constraints that are not permutations.SatParameters.BuilderclearExpandReservoirConstraints()If true, expand the reservoir constraints by creating booleans for all possible precedences between event and encoding the constraint.SatParameters.BuilderclearExploitAllLpSolution()If true and the Lp relaxation of the problem has a solution, try to exploit it.SatParameters.BuilderclearExploitAllPrecedences()optional bool exploit_all_precedences = 220 [default = false];SatParameters.BuilderclearExploitBestSolution()When branching on a variable, follow the last best solution value.SatParameters.BuilderclearExploitIntegerLpSolution()If true and the Lp relaxation of the problem has an integer optimal solution, try to exploit it.SatParameters.BuilderclearExploitObjective()When branching an a variable that directly affect the objective, branch on the value that lead to the best objective first.SatParameters.BuilderclearExploitRelaxationSolution()When branching on a variable, follow the last best relaxation solution value.SatParameters.BuilderclearExtraSubsolvers()A convenient way to add more workers types.SatParameters.BuilderclearFeasibilityJumpDecay()On each restart, we randomly choose if we use decay (with this parameter) or no decay.SatParameters.BuilderclearFeasibilityJumpEnableRestarts()When stagnating, feasibility jump will either restart from a default solution (with some possible randomization), or randomly pertubate the current solution.SatParameters.BuilderclearFeasibilityJumpLinearizationLevel()How much do we linearize the problem in the local search code.SatParameters.BuilderclearFeasibilityJumpMaxExpandedConstraintSize()Maximum size of no_overlap or no_overlap_2d constraint for a quadratic expansion.SatParameters.BuilderclearFeasibilityJumpRestartFactor()This is a factor that directly influence the work before each restart.SatParameters.BuilderclearFeasibilityJumpVarPerburbationRangeRatio()Max distance between the default value and the pertubated value relative to the range of the domain of the variable.SatParameters.BuilderclearFeasibilityJumpVarRandomizationProbability()Probability for a variable to have a non default value upon restarts or perturbations.SatParameters.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SatParameters.BuilderclearFillAdditionalSolutionsInResponse()If true, the final response addition_solutions field will be filled with all solutions from our solutions pool.SatParameters.BuilderclearFillTightenedDomainsInResponse()If true, add information about the derived variable domains to the CpSolverResponse.SatParameters.BuilderclearFindBigLinearOverlap()Try to find large "rectangle" in the linear constraint matrix with identical lines.SatParameters.BuilderclearFindMultipleCores()Whether we try to find more independent cores for a given set of assumptions in the core based max-SAT algorithms.SatParameters.BuilderclearFixVariablesToTheirHintedValue()If true, variables appearing in the solution hints will be fixed to their hinted value.SatParameters.BuilderclearFpRounding()optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];SatParameters.BuilderclearGlucoseDecayIncrement()optional double glucose_decay_increment = 23 [default = 0.01];SatParameters.BuilderclearGlucoseDecayIncrementPeriod()optional int32 glucose_decay_increment_period = 24 [default = 5000];SatParameters.BuilderclearGlucoseMaxDecay()The activity starts at 0.8 and increment by 0.01 every 5000 conflicts until 0.95.SatParameters.BuilderclearHintConflictLimit()Conflict limit used in the phase that exploit the solution hint.SatParameters.BuilderclearIgnoreNames()If true, we don't keep names in our internal copy of the user given model.SatParameters.BuilderclearIgnoreSubsolvers()Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.SatParameters.BuilderclearInferAllDiffs()Run a max-clique code amongst all the x != y we can find and try to infer set of variables that are all different.SatParameters.BuilderclearInitialPolarity()optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];SatParameters.BuilderclearInitialVariablesActivity()The initial value of the variables activity.SatParameters.BuilderclearInstantiateAllVariables()If true, the solver will add a default integer branching strategy to the already defined search strategy.SatParameters.BuilderclearInterleaveBatchSize()optional int32 interleave_batch_size = 134 [default = 0];SatParameters.BuilderclearInterleaveSearch()Experimental.SatParameters.BuilderclearKeepAllFeasibleSolutionsInPresolve()If true, we disable the presolve reductions that remove feasible solutions from the search space.SatParameters.BuilderclearLinearizationLevel()A non-negative level indicating the type of constraints we consider in the LP relaxation.SatParameters.BuilderclearLinearSplitSize()Linear constraints that are not pseudo-Boolean and that are longer than this size will be split into sqrt(size) intermediate sums in order to have faster propation in the CP engine.SatParameters.BuilderclearLogPrefix()Add a prefix to all logs.SatParameters.BuilderclearLogSearchProgress()Whether the solver should log the search progress.SatParameters.BuilderclearLogSubsolverStatistics()Whether the solver should display per sub-solver search statistics.SatParameters.BuilderclearLogToResponse()Log to response proto.SatParameters.BuilderclearLogToStdout()Log to stdout.SatParameters.BuilderclearLpDualTolerance()optional double lp_dual_tolerance = 267 [default = 1e-07];SatParameters.BuilderclearLpPrimalTolerance()The internal LP tolerances used by CP-SAT.SatParameters.BuilderclearMaxAllDiffCutSize()Cut generator for all diffs can add too many cuts for large all_diff constraints.SatParameters.BuilderclearMaxClauseActivityValue()optional double max_clause_activity_value = 18 [default = 1e+20];SatParameters.BuilderclearMaxConsecutiveInactiveCount()If a constraint/cut in LP is not active for that many consecutive OPTIMAL solves, remove it from the LP.SatParameters.BuilderclearMaxCutRoundsAtLevelZero()Max number of time we perform cut generation and resolve the LP at level 0.SatParameters.BuilderclearMaxDeterministicTime()Maximum time allowed in deterministic time to solve a problem.SatParameters.BuilderclearMaxDomainSizeWhenEncodingEqNeqConstraints()When loading a*x + b*y ==/!= c when x and y are both fully encoded.SatParameters.BuilderclearMaxIntegerRoundingScaling()In the integer rounding procedure used for MIR and Gomory cut, the maximum "scaling" we use (must be positive).SatParameters.BuilderclearMaxMemoryInMb()Maximum memory allowed for the whole thread containing the solver.SatParameters.BuilderclearMaxNumberOfConflicts()Maximum number of conflicts allowed to solve a problem.SatParameters.BuilderclearMaxNumCuts()The limit on the number of cuts in our cut pool.SatParameters.BuilderclearMaxNumIntervalsForTimetableEdgeFinding()Max number of intervals for the timetable_edge_finding algorithm to propagate.SatParameters.BuilderclearMaxPresolveIterations()In case of large reduction in a presolve iteration, we perform multiple presolve iterations.SatParameters.BuilderclearMaxSatAssumptionOrder()optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];SatParameters.BuilderclearMaxSatReverseAssumptionOrder()If true, adds the assumption in the reverse order of the one defined by max_sat_assumption_order.SatParameters.BuilderclearMaxSatStratification()optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];SatParameters.BuilderclearMaxSizeToCreatePrecedenceLiteralsInDisjunctive()Create one literal for each disjunction of two pairs of tasks.SatParameters.BuilderclearMaxTimeInSeconds()Maximum time allowed in seconds to solve a problem.SatParameters.BuilderclearMaxVariableActivityValue()optional double max_variable_activity_value = 16 [default = 1e+100];SatParameters.BuilderclearMergeAtMostOneWorkLimit()optional double merge_at_most_one_work_limit = 146 [default = 100000000];SatParameters.BuilderclearMergeNoOverlapWorkLimit()During presolve, we use a maximum clique heuristic to merge together no-overlap constraints or at most one constraints.SatParameters.BuilderclearMinimizationAlgorithm()optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];SatParameters.BuilderclearMinimizeReductionDuringPbResolution()A different algorithm during PB resolution.SatParameters.BuilderclearMinimizeWithPropagationNumDecisions()optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];SatParameters.BuilderclearMinimizeWithPropagationRestartPeriod()Parameters for an heuristic similar to the one described in "An effective learnt clause minimization approach for CDCL Sat Solvers", https://www.ijcai.org/proceedings/2017/0098.pdf For now, we have a somewhat simpler implementation where every x restart we spend y decisions on clause minimization.SatParameters.BuilderclearMinNumLnsWorkers()Obsolete parameter.SatParameters.BuilderclearMinOrthogonalityForLpConstraints()While adding constraints, skip the constraints which have orthogonality less than 'min_orthogonality_for_lp_constraints' with already added constraints during current call.SatParameters.BuilderclearMipAutomaticallyScaleVariables()If true, some continuous variable might be automatically scaled.SatParameters.BuilderclearMipCheckPrecision()As explained in mip_precision and mip_max_activity_exponent, we cannot always reach the wanted precision during scaling.SatParameters.BuilderclearMipComputeTrueObjectiveBound()Even if we make big error when scaling the objective, we can always derive a correct lower bound on the original objective by using the exact lower bound on the scaled integer version of the objective.SatParameters.BuilderclearMipDropTolerance()Any value in the input mip with a magnitude lower than this will be set to zero.SatParameters.BuilderclearMipMaxActivityExponent()To avoid integer overflow, we always force the maximum possible constraint activity (and objective value) according to the initial variable domain to be smaller than 2 to this given power.SatParameters.BuilderclearMipMaxBound()We need to bound the maximum magnitude of the variables for CP-SAT, and that is the bound we use.SatParameters.BuilderclearMipMaxValidMagnitude()Any finite values in the input MIP must be below this threshold, otherwise the model will be reported invalid.SatParameters.BuilderclearMipPresolveLevel()When solving a MIP, we do some basic floating point presolving before scaling the problem to integer to be handled by CP-SAT.SatParameters.BuilderclearMipScaleLargeDomain()If this is false, then mip_var_scaling is only applied to variables with "small" domain.SatParameters.BuilderclearMipVarScaling()All continuous variable of the problem will be multiplied by this factor.SatParameters.BuilderclearMipWantedPrecision()When scaling constraint with double coefficients to integer coefficients, we will multiply by a power of 2 and round the coefficients.SatParameters.BuilderclearName()In some context, like in a portfolio of search, it makes sense to name a given parameters set for logging purpose.SatParameters.BuilderclearNewConstraintsBatchSize()Add that many lazy constraints (or cuts) at once in the LP.SatParameters.BuilderclearNewLinearPropagation()Experimental.SatParameters.BuilderclearNumConflictsBeforeStrategyChanges()After each restart, if the number of conflict since the last strategy change is greater that this, then we increment a "strategy_counter" that can be use to change the search strategy used by the following restarts.SatParameters.BuilderclearNumSearchWorkers()optional int32 num_search_workers = 100 [default = 0];SatParameters.BuilderclearNumViolationLs()This will create incomplete subsolvers (that are not LNS subsolvers) that use the feasibility jump code to find improving solution, treating the objective improvement as a hard constraint.SatParameters.BuilderclearNumWorkers()Specify the number of parallel workers (i.e.SatParameters.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SatParameters.BuilderclearOnlyAddCutsAtLevelZero()For the cut that can be generated at any level, this control if we only try to generate them at the root node.SatParameters.BuilderclearOnlySolveIp()If one try to solve a MIP model with CP-SAT, because we assume all variable to be integer after scaling, we will not necessarily have the correct optimal.SatParameters.BuilderclearOptimizeWithCore()The default optimization method is a simple "linear scan", each time trying to find a better solution than the previous one.SatParameters.BuilderclearOptimizeWithLbTreeSearch()Do a more conventional tree search (by opposition to SAT based one) where we keep all the explored node in a tree.SatParameters.BuilderclearOptimizeWithMaxHs()This has no effect if optimize_with_core is false.SatParameters.BuilderclearPbCleanupIncrement()Same as for the clauses, but for the learned pseudo-Boolean constraints.SatParameters.BuilderclearPbCleanupRatio()optional double pb_cleanup_ratio = 47 [default = 0.5];SatParameters.BuilderclearPermutePresolveConstraintOrder()optional bool permute_presolve_constraint_order = 179 [default = false];SatParameters.BuilderclearPermuteVariableRandomly()This is mainly here to test the solver variability.SatParameters.BuilderclearPolarityRephaseIncrement()If non-zero, then we change the polarity heuristic after that many number of conflicts in an arithmetically increasing fashion.SatParameters.BuilderclearPolishLpSolution()Whether we try to do a few degenerate iteration at the end of an LP solve to minimize the fractionality of the integer variable in the basis.SatParameters.BuilderclearPreferredVariableOrder()optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];SatParameters.BuilderclearPresolveBlockedClause()Whether we use an heuristic to detect some basic case of blocked clause in the SAT presolve.SatParameters.BuilderclearPresolveBvaThreshold()Apply Bounded Variable Addition (BVA) if the number of clauses is reduced by stricly more than this threshold.SatParameters.BuilderclearPresolveBveClauseWeight()During presolve, we apply BVE only if this weight times the number of clauses plus the number of clause literals is not increased.SatParameters.BuilderclearPresolveBveThreshold()During presolve, only try to perform the bounded variable elimination (BVE) of a variable x if the number of occurrences of x times the number of occurrences of not(x) is not greater than this parameter.SatParameters.BuilderclearPresolveExtractIntegerEnforcement()If true, we will extract from linear constraints, enforcement literals of the form "integer variable at bound => simplified constraint".SatParameters.BuilderclearPresolveInclusionWorkLimit()A few presolve operations involve detecting constraints included in other constraint.SatParameters.BuilderclearPresolveProbingDeterministicTimeLimit()optional double presolve_probing_deterministic_time_limit = 57 [default = 30];SatParameters.BuilderclearPresolveSubstitutionLevel()How much substitution (also called free variable aggregation in MIP litterature) should we perform at presolve.SatParameters.BuilderclearPresolveUseBva()Whether or not we use Bounded Variable Addition (BVA) in the presolve.SatParameters.BuilderclearProbingDeterministicTimeLimit()The maximum "deterministic" time limit to spend in probing.SatParameters.BuilderclearProbingPeriodAtRoot()If set at zero (the default), it is disabled.SatParameters.BuilderclearPropagationLoopDetectionFactor()Some search decisions might cause a really large number of propagations to happen when integer variables with large domains are only reduced by 1 at each step.SatParameters.BuilderclearPseudoCostReliabilityThreshold()The solver ignores the pseudo costs of variables with number of recordings less than this threshold.SatParameters.BuilderclearPushAllTasksTowardStart()Experimental code: specify if the objective pushes all tasks toward the start of the schedule.SatParameters.BuilderclearRandomBranchesRatio()A number between 0 and 1 that indicates the proportion of branching variables that are selected randomly instead of choosing the first variable from the given variable_ordering strategy.SatParameters.BuilderclearRandomizeSearch()Randomize fixed search.SatParameters.BuilderclearRandomPolarityRatio()The proportion of polarity chosen at random.SatParameters.BuilderclearRandomSeed()At the beginning of each solve, the random number generator used in some part of the solver is reinitialized to this seed.SatParameters.BuilderclearRelativeGapLimit()optional double relative_gap_limit = 160 [default = 0];SatParameters.BuilderclearRepairHint()If true, the solver tries to repair the solution given in the hint.SatParameters.BuilderclearRestartAlgorithms()The restart strategies will change each time the strategy_counter is increased.SatParameters.BuilderclearRestartDlAverageRatio()In the moving average restart algorithms, a restart is triggered if the window average times this ratio is greater that the global average.SatParameters.BuilderclearRestartLbdAverageRatio()optional double restart_lbd_average_ratio = 71 [default = 1];SatParameters.BuilderclearRestartPeriod()Restart period for the FIXED_RESTART strategy.SatParameters.BuilderclearRestartRunningWindowSize()Size of the window for the moving average restarts.SatParameters.BuilderclearRootLpIterations()Even at the root node, we do not want to spend too much time on the LP if it is "difficult".SatParameters.BuilderclearSearchBranching()optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];SatParameters.BuilderclearSearchRandomVariablePoolSize()Search randomization will collect the top 'search_random_variable_pool_size' valued variables, and pick one randomly.SatParameters.BuilderclearShareBinaryClauses()Allows sharing of new learned binary clause between workers.SatParameters.BuilderclearSharedTreeMaxNodesPerWorker()In order to limit total shared memory and communication overhead, limit the total number of nodes that may be generated in the shared tree.SatParameters.BuilderclearSharedTreeNumWorkers()Enables experimental workstealing-like shared tree search.SatParameters.BuilderclearSharedTreeSplitStrategy()optional .operations_research.sat.SatParameters.SharedTreeSplitStrategy shared_tree_split_strategy = 239 [default = SPLIT_STRATEGY_AUTO];SatParameters.BuilderclearSharedTreeWorkerObjectiveSplitProbability()After their assigned prefix, shared tree workers will branch on the objective with this probability.SatParameters.BuilderclearShareLevelZeroBounds()Allows sharing of the bounds of modified variables at level 0.SatParameters.BuilderclearShareObjectiveBounds()Allows objective sharing between workers.SatParameters.BuilderclearShavingSearchDeterministicTime()Specifies the amount of deterministic time spent of each try at shaving a bound in the shaving search.SatParameters.BuilderclearSolutionPoolSize()Size of the top-n different solutions kept by the solver.SatParameters.BuilderclearStopAfterFirstSolution()For an optimization problem, stop the solver as soon as we have a solution.SatParameters.BuilderclearStopAfterPresolve()Mainly used when improving the presolver.SatParameters.BuilderclearStopAfterRootPropagation()optional bool stop_after_root_propagation = 252 [default = false];SatParameters.BuilderclearStrategyChangeIncreaseRatio()The parameter num_conflicts_before_strategy_changes is increased by that much after each strategy change.SatParameters.BuilderclearSubsolverParams()It is possible to specify additional subsolver configuration.SatParameters.BuilderclearSubsolvers()In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters.SatParameters.BuilderclearSubsumptionDuringConflictAnalysis()At a really low cost, during the 1-UIP conflict computation, it is easy to detect if some of the involved reasons are subsumed by the current conflict.SatParameters.BuilderclearSymmetryLevel()Whether we try to automatically detect the symmetries in a model and exploit them.SatParameters.BuilderclearTableCompressionLevel()How much we try to "compress" a table constraint.SatParameters.BuilderclearTestFeasibilityJump()Disable every other type of subsolver, setting this turns CP-SAT into a pure local-search solver.SatParameters.BuilderclearUseAbslRandom()optional bool use_absl_random = 180 [default = false];SatParameters.BuilderclearUseBlockingRestart()Block a moving restart algorithm if the trail size of the current conflict is greater than the multiplier times the moving average of the trail size at the previous conflicts.SatParameters.BuilderclearUseBranchingInLp()If true, the solver attemts to generate more info inside lp propagator by branching on some variables if certain criteria are met during the search tree exploration.SatParameters.BuilderclearUseCombinedNoOverlap()This can be beneficial if there is a lot of no-overlap constraints but a relatively low number of different intervals in the problem.SatParameters.BuilderclearUseDisjunctiveConstraintInCumulative()When this is true, the cumulative constraint is reinforced with propagators from the disjunctive constraint to improve the inference on a set of tasks that are disjunctive at the root of the problem.SatParameters.BuilderclearUseDualSchedulingHeuristics()When set, it activates a few scheduling parameters to improve the lower bound of scheduling problems.SatParameters.BuilderclearUseDynamicPrecedenceInCumulative()optional bool use_dynamic_precedence_in_cumulative = 268 [default = false];SatParameters.BuilderclearUseDynamicPrecedenceInDisjunctive()Whether we try to branch on decision "interval A before interval B" rather than on intervals bounds.SatParameters.BuilderclearUseEnergeticReasoningInNoOverlap2D()When this is true, the no_overlap_2d constraint is reinforced with energetic reasoning.SatParameters.BuilderclearUseErwaHeuristic()Whether we use the ERWA (Exponential Recency Weighted Average) heuristic as described in "Learning Rate Based Branching Heuristic for SAT solvers", J.H.Liang, V.SatParameters.BuilderclearUseExactLpReason()The solver usually exploit the LP relaxation of a model.SatParameters.BuilderclearUseFeasibilityJump()Parameters for an heuristic similar to the one described in the paper: "Feasibility Jump: an LP-free Lagrangian MIP heuristic", Bjørnar Luteberget, Giorgio Sartor, 2023, Mathematical Programming Computation.SatParameters.BuilderclearUseFeasibilityPump()Adds a feasibility pump subsolver along with lns subsolvers.SatParameters.BuilderclearUseHardPrecedencesInCumulative()If true, detect and create constraint for integer variable that are "after" a set of intervals in the same cumulative constraint.SatParameters.BuilderclearUseImpliedBounds()Stores and exploits "implied-bounds" in the solver.SatParameters.BuilderclearUseLbRelaxLns()Turns on neighborhood generator based on local branching LP.SatParameters.BuilderclearUseLnsOnly()LNS parameters.SatParameters.BuilderclearUseObjectiveLbSearch()If true, search will search in ascending max objective value (when minimizing) starting from the lower bound of the objective.SatParameters.BuilderclearUseObjectiveShavingSearch()This search differs from the previous search as it will not use assumptions to bound the objective, and it will recreate a full model with the hardcoded objective value.SatParameters.BuilderclearUseOptimizationHints()For an optimization problem, whether we follow some hints in order to find a better first solution.SatParameters.BuilderclearUseOptionalVariables()If true, we automatically detect variables whose constraint are always enforced by the same literal and we mark them as optional.SatParameters.BuilderclearUseOverloadCheckerInCumulative()When this is true, the cumulative constraint is reinforced with overload checking, i.e., an additional level of reasoning based on energy.SatParameters.BuilderclearUsePairwiseReasoningInNoOverlap2D()Performs an extra step of propagation in the no_overlap_2d constraint by looking at all pairs of intervals.SatParameters.BuilderclearUsePbResolution()Whether to use pseudo-Boolean resolution to analyze a conflict.SatParameters.BuilderclearUsePhaseSaving()If this is true, then the polarity of a variable will be the last value it was assigned to, or its default polarity if it was never assigned since the call to ResetDecisionHeuristic().SatParameters.BuilderclearUsePrecedencesInDisjunctiveConstraint()When this is true, then a disjunctive constraint will try to use the precedence relations between time intervals to propagate their bounds further.SatParameters.BuilderclearUseProbingSearch()If true, search will continuously probe Boolean variables, and integer variable bounds.SatParameters.BuilderclearUseRinsLns()Turns on relaxation induced neighborhood generator.SatParameters.BuilderclearUseSatInprocessing()optional bool use_sat_inprocessing = 163 [default = false];SatParameters.BuilderclearUseSharedTreeSearch()Set on shared subtree workers.SatParameters.BuilderclearUseShavingInProbingSearch()Add a shaving phase (where the solver tries to prove that the lower or upper bound of a variable are infeasible) to the probing search.SatParameters.BuilderclearUseStrongPropagationInDisjunctive()Enable stronger and more expensive propagation on no_overlap constraint.SatParameters.BuilderclearUseTimetableEdgeFindingInCumulative()When this is true, the cumulative constraint is reinforced with timetable edge finding, i.e., an additional level of reasoning based on the conjunction of energy and mandatory parts.SatParameters.BuilderclearUseTimetablingInNoOverlap2D()When this is true, the no_overlap_2d constraint is reinforced with propagators from the cumulative constraints.SatParameters.BuilderclearVariableActivityDecay()Each time a conflict is found, the activities of some variables are increased by one.SatParameters.BuilderclearViolationLsCompoundMoveProbability()Probability of using compound move search each restart.SatParameters.BuilderclearViolationLsPerturbationPeriod()How long violation_ls should wait before perturbating a solution.SatParameters.Builderclone()doublegetAbsoluteGapLimit()Stop the search when the gap between the best feasible objective (O) and our best objective bound (B) is smaller than a limit.booleangetAddCgCuts()Whether we generate and add Chvatal-Gomory cuts to the LP at root node.booleangetAddCliqueCuts()Whether we generate clique cuts from the binary implication graph.booleangetAddLinMaxCuts()For the lin max constraints, generates the cuts described in "Strong mixed-integer programming formulations for trained neural networks" by Ross Anderson et.booleangetAddLpConstraintsLazily()If true, we start by an empty LP, and only add constraints not satisfied by the current LP solution batch by batch.booleangetAddMirCuts()Whether we generate MIR cuts at root node.booleangetAddObjectiveCut()When the LP objective is fractional, do we add the cut that forces the linear objective expression to be greater or equal to this fractional value rounded up? We can always do that since our objective is integer, and combined with MIR heuristic to reduce the coefficient of such cut, it can help.booleangetAddZeroHalfCuts()Whether we generate Zero-Half cuts at root node.booleangetAlsoBumpVariablesInConflictReasons()When this is true, then the variables that appear in any of the reason of the variables in a conflict have their activity bumped.booleangetAutoDetectGreaterThanAtLeastOneOf()If true, then the precedences propagator try to detect for each variable if it has a set of "optional incoming arc" for which at least one of them is present.SatParameters.BinaryMinizationAlgorithmgetBinaryMinimizationAlgorithm()optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];intgetBinarySearchNumConflicts()If non-negative, perform a binary search on the objective variable in order to find an [min, max] interval outside of which the solver proved unsat/sat under this amount of conflict.doublegetBlockingRestartMultiplier()optional double blocking_restart_multiplier = 66 [default = 1.4];intgetBlockingRestartWindowSize()optional int32 blocking_restart_window_size = 65 [default = 5000];intgetBooleanEncodingLevel()A non-negative level indicating how much we should try to fully encode Integer variables as Boolean.booleangetCatchSigintSignal()Indicates if the CP-SAT layer should catch Control-C (SIGINT) signals when calling solve.doublegetClauseActivityDecay()Clause activity parameters (same effect as the one on the variables).intgetClauseCleanupLbdBound()All the clauses with a LBD (literal blocks distance) lower or equal to this parameters will always be kept.SatParameters.ClauseOrderinggetClauseCleanupOrdering()optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];intgetClauseCleanupPeriod()Trigger a cleanup when this number of "deletable" clauses is learned.SatParameters.ClauseProtectiongetClauseCleanupProtection()optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];doublegetClauseCleanupRatio()During a cleanup, if clause_cleanup_target is 0, we will delete the clause_cleanup_ratio of "deletable" clauses instead of aiming for a fixed target of clauses to keep.intgetClauseCleanupTarget()During a cleanup, we will always keep that number of "deletable" clauses.booleangetConvertIntervals()Temporary flag util the feature is more mature.intgetCoreMinimizationLevel()If positive, we spend some effort on each core: - At level 1, we use a simple heuristic to try to minimize an UNSAT core.booleangetCountAssumptionLevelsInLbd()Whether or not the assumption levels are taken into account during the LBD computation.booleangetCoverOptimization()If true, when the max-sat algo find a core, we compute the minimal number of literals in the core that needs to be true to have a feasible solution.booleangetCpModelPresolve()Whether we presolve the cp_model before solving it.intgetCpModelProbingLevel()How much effort do we spend on probing.booleangetCpModelUseSatPresolve()Whether we also use the sat presolve when cp_model_presolve is true.doublegetCutActiveCountDecay()optional double cut_active_count_decay = 156 [default = 0.8];intgetCutCleanupTarget()Target number of constraints to remove during cleanup.intgetCutLevel()Control the global cut effort.doublegetCutMaxActiveCountValue()These parameters are similar to sat clause management activity parameters.booleangetDebugCrashOnBadHint()Crash if we do not manage to complete the hint into a full solution.intgetDebugMaxNumPresolveOperations()If positive, try to stop just after that many presolve rules have been applied.booleangetDebugPostsolveWithFullSolver()We have two different postsolve code.SatParametersgetDefaultInstanceForType()java.lang.StringgetDefaultRestartAlgorithms()optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];com.google.protobuf.ByteStringgetDefaultRestartAlgorithmsBytes()optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetDetectTableWithCost()If true, we detect variable that are unique to a table constraint and only there to encode a cost on each tuple.booleangetDisableConstraintExpansion()If true, it disable all constraint expansion.booleangetDiversifyLnsParams()If true, registers more lns subsolvers with different parameters.booleangetEncodeComplexLinearConstraintWithInteger()Linear constraint with a complex right hand side (more than a single interval) need to be expanded, there is a couple of way to do that.booleangetEnumerateAllSolutions()Whether we enumerate all solutions of a problem without objective.booleangetExpandAlldiffConstraints()If true, expand all_different constraints that are not permutations.booleangetExpandReservoirConstraints()If true, expand the reservoir constraints by creating booleans for all possible precedences between event and encoding the constraint.booleangetExploitAllLpSolution()If true and the Lp relaxation of the problem has a solution, try to exploit it.booleangetExploitAllPrecedences()optional bool exploit_all_precedences = 220 [default = false];booleangetExploitBestSolution()When branching on a variable, follow the last best solution value.booleangetExploitIntegerLpSolution()If true and the Lp relaxation of the problem has an integer optimal solution, try to exploit it.booleangetExploitObjective()When branching an a variable that directly affect the objective, branch on the value that lead to the best objective first.booleangetExploitRelaxationSolution()When branching on a variable, follow the last best relaxation solution value.java.lang.StringgetExtraSubsolvers(int index)A convenient way to add more workers types.com.google.protobuf.ByteStringgetExtraSubsolversBytes(int index)A convenient way to add more workers types.intgetExtraSubsolversCount()A convenient way to add more workers types.com.google.protobuf.ProtocolStringListgetExtraSubsolversList()A convenient way to add more workers types.doublegetFeasibilityJumpDecay()On each restart, we randomly choose if we use decay (with this parameter) or no decay.booleangetFeasibilityJumpEnableRestarts()When stagnating, feasibility jump will either restart from a default solution (with some possible randomization), or randomly pertubate the current solution.intgetFeasibilityJumpLinearizationLevel()How much do we linearize the problem in the local search code.intgetFeasibilityJumpMaxExpandedConstraintSize()Maximum size of no_overlap or no_overlap_2d constraint for a quadratic expansion.intgetFeasibilityJumpRestartFactor()This is a factor that directly influence the work before each restart.doublegetFeasibilityJumpVarPerburbationRangeRatio()Max distance between the default value and the pertubated value relative to the range of the domain of the variable.doublegetFeasibilityJumpVarRandomizationProbability()Probability for a variable to have a non default value upon restarts or perturbations.booleangetFillAdditionalSolutionsInResponse()If true, the final response addition_solutions field will be filled with all solutions from our solutions pool.booleangetFillTightenedDomainsInResponse()If true, add information about the derived variable domains to the CpSolverResponse.booleangetFindBigLinearOverlap()Try to find large "rectangle" in the linear constraint matrix with identical lines.booleangetFindMultipleCores()Whether we try to find more independent cores for a given set of assumptions in the core based max-SAT algorithms.booleangetFixVariablesToTheirHintedValue()If true, variables appearing in the solution hints will be fixed to their hinted value.SatParameters.FPRoundingMethodgetFpRounding()optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];doublegetGlucoseDecayIncrement()optional double glucose_decay_increment = 23 [default = 0.01];intgetGlucoseDecayIncrementPeriod()optional int32 glucose_decay_increment_period = 24 [default = 5000];doublegetGlucoseMaxDecay()The activity starts at 0.8 and increment by 0.01 every 5000 conflicts until 0.95.intgetHintConflictLimit()Conflict limit used in the phase that exploit the solution hint.booleangetIgnoreNames()If true, we don't keep names in our internal copy of the user given model.java.lang.StringgetIgnoreSubsolvers(int index)Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.com.google.protobuf.ByteStringgetIgnoreSubsolversBytes(int index)Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.intgetIgnoreSubsolversCount()Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.com.google.protobuf.ProtocolStringListgetIgnoreSubsolversList()Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.booleangetInferAllDiffs()Run a max-clique code amongst all the x != y we can find and try to infer set of variables that are all different.SatParameters.PolaritygetInitialPolarity()optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];doublegetInitialVariablesActivity()The initial value of the variables activity.booleangetInstantiateAllVariables()If true, the solver will add a default integer branching strategy to the already defined search strategy.intgetInterleaveBatchSize()optional int32 interleave_batch_size = 134 [default = 0];booleangetInterleaveSearch()Experimental.booleangetKeepAllFeasibleSolutionsInPresolve()If true, we disable the presolve reductions that remove feasible solutions from the search space.intgetLinearizationLevel()A non-negative level indicating the type of constraints we consider in the LP relaxation.intgetLinearSplitSize()Linear constraints that are not pseudo-Boolean and that are longer than this size will be split into sqrt(size) intermediate sums in order to have faster propation in the CP engine.java.lang.StringgetLogPrefix()Add a prefix to all logs.com.google.protobuf.ByteStringgetLogPrefixBytes()Add a prefix to all logs.booleangetLogSearchProgress()Whether the solver should log the search progress.booleangetLogSubsolverStatistics()Whether the solver should display per sub-solver search statistics.booleangetLogToResponse()Log to response proto.booleangetLogToStdout()Log to stdout.doublegetLpDualTolerance()optional double lp_dual_tolerance = 267 [default = 1e-07];doublegetLpPrimalTolerance()The internal LP tolerances used by CP-SAT.intgetMaxAllDiffCutSize()Cut generator for all diffs can add too many cuts for large all_diff constraints.doublegetMaxClauseActivityValue()optional double max_clause_activity_value = 18 [default = 1e+20];intgetMaxConsecutiveInactiveCount()If a constraint/cut in LP is not active for that many consecutive OPTIMAL solves, remove it from the LP.intgetMaxCutRoundsAtLevelZero()Max number of time we perform cut generation and resolve the LP at level 0.doublegetMaxDeterministicTime()Maximum time allowed in deterministic time to solve a problem.intgetMaxDomainSizeWhenEncodingEqNeqConstraints()When loading a*x + b*y ==/!= c when x and y are both fully encoded.intgetMaxIntegerRoundingScaling()In the integer rounding procedure used for MIR and Gomory cut, the maximum "scaling" we use (must be positive).longgetMaxMemoryInMb()Maximum memory allowed for the whole thread containing the solver.longgetMaxNumberOfConflicts()Maximum number of conflicts allowed to solve a problem.intgetMaxNumCuts()The limit on the number of cuts in our cut pool.intgetMaxNumIntervalsForTimetableEdgeFinding()Max number of intervals for the timetable_edge_finding algorithm to propagate.intgetMaxPresolveIterations()In case of large reduction in a presolve iteration, we perform multiple presolve iterations.SatParameters.MaxSatAssumptionOrdergetMaxSatAssumptionOrder()optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];booleangetMaxSatReverseAssumptionOrder()If true, adds the assumption in the reverse order of the one defined by max_sat_assumption_order.SatParameters.MaxSatStratificationAlgorithmgetMaxSatStratification()optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];intgetMaxSizeToCreatePrecedenceLiteralsInDisjunctive()Create one literal for each disjunction of two pairs of tasks.doublegetMaxTimeInSeconds()Maximum time allowed in seconds to solve a problem.doublegetMaxVariableActivityValue()optional double max_variable_activity_value = 16 [default = 1e+100];doublegetMergeAtMostOneWorkLimit()optional double merge_at_most_one_work_limit = 146 [default = 100000000];doublegetMergeNoOverlapWorkLimit()During presolve, we use a maximum clique heuristic to merge together no-overlap constraints or at most one constraints.SatParameters.ConflictMinimizationAlgorithmgetMinimizationAlgorithm()optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];booleangetMinimizeReductionDuringPbResolution()A different algorithm during PB resolution.intgetMinimizeWithPropagationNumDecisions()optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];intgetMinimizeWithPropagationRestartPeriod()Parameters for an heuristic similar to the one described in "An effective learnt clause minimization approach for CDCL Sat Solvers", https://www.ijcai.org/proceedings/2017/0098.pdf For now, we have a somewhat simpler implementation where every x restart we spend y decisions on clause minimization.intgetMinNumLnsWorkers()Obsolete parameter.doublegetMinOrthogonalityForLpConstraints()While adding constraints, skip the constraints which have orthogonality less than 'min_orthogonality_for_lp_constraints' with already added constraints during current call.booleangetMipAutomaticallyScaleVariables()If true, some continuous variable might be automatically scaled.doublegetMipCheckPrecision()As explained in mip_precision and mip_max_activity_exponent, we cannot always reach the wanted precision during scaling.booleangetMipComputeTrueObjectiveBound()Even if we make big error when scaling the objective, we can always derive a correct lower bound on the original objective by using the exact lower bound on the scaled integer version of the objective.doublegetMipDropTolerance()Any value in the input mip with a magnitude lower than this will be set to zero.intgetMipMaxActivityExponent()To avoid integer overflow, we always force the maximum possible constraint activity (and objective value) according to the initial variable domain to be smaller than 2 to this given power.doublegetMipMaxBound()We need to bound the maximum magnitude of the variables for CP-SAT, and that is the bound we use.doublegetMipMaxValidMagnitude()Any finite values in the input MIP must be below this threshold, otherwise the model will be reported invalid.intgetMipPresolveLevel()When solving a MIP, we do some basic floating point presolving before scaling the problem to integer to be handled by CP-SAT.booleangetMipScaleLargeDomain()If this is false, then mip_var_scaling is only applied to variables with "small" domain.doublegetMipVarScaling()All continuous variable of the problem will be multiplied by this factor.doublegetMipWantedPrecision()When scaling constraint with double coefficients to integer coefficients, we will multiply by a power of 2 and round the coefficients.java.lang.StringgetName()In some context, like in a portfolio of search, it makes sense to name a given parameters set for logging purpose.com.google.protobuf.ByteStringgetNameBytes()In some context, like in a portfolio of search, it makes sense to name a given parameters set for logging purpose.intgetNewConstraintsBatchSize()Add that many lazy constraints (or cuts) at once in the LP.booleangetNewLinearPropagation()Experimental.intgetNumConflictsBeforeStrategyChanges()After each restart, if the number of conflict since the last strategy change is greater that this, then we increment a "strategy_counter" that can be use to change the search strategy used by the following restarts.intgetNumSearchWorkers()optional int32 num_search_workers = 100 [default = 0];intgetNumViolationLs()This will create incomplete subsolvers (that are not LNS subsolvers) that use the feasibility jump code to find improving solution, treating the objective improvement as a hard constraint.intgetNumWorkers()Specify the number of parallel workers (i.e.booleangetOnlyAddCutsAtLevelZero()For the cut that can be generated at any level, this control if we only try to generate them at the root node.booleangetOnlySolveIp()If one try to solve a MIP model with CP-SAT, because we assume all variable to be integer after scaling, we will not necessarily have the correct optimal.booleangetOptimizeWithCore()The default optimization method is a simple "linear scan", each time trying to find a better solution than the previous one.booleangetOptimizeWithLbTreeSearch()Do a more conventional tree search (by opposition to SAT based one) where we keep all the explored node in a tree.booleangetOptimizeWithMaxHs()This has no effect if optimize_with_core is false.intgetPbCleanupIncrement()Same as for the clauses, but for the learned pseudo-Boolean constraints.doublegetPbCleanupRatio()optional double pb_cleanup_ratio = 47 [default = 0.5];booleangetPermutePresolveConstraintOrder()optional bool permute_presolve_constraint_order = 179 [default = false];booleangetPermuteVariableRandomly()This is mainly here to test the solver variability.intgetPolarityRephaseIncrement()If non-zero, then we change the polarity heuristic after that many number of conflicts in an arithmetically increasing fashion.booleangetPolishLpSolution()Whether we try to do a few degenerate iteration at the end of an LP solve to minimize the fractionality of the integer variable in the basis.SatParameters.VariableOrdergetPreferredVariableOrder()optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];booleangetPresolveBlockedClause()Whether we use an heuristic to detect some basic case of blocked clause in the SAT presolve.intgetPresolveBvaThreshold()Apply Bounded Variable Addition (BVA) if the number of clauses is reduced by stricly more than this threshold.intgetPresolveBveClauseWeight()During presolve, we apply BVE only if this weight times the number of clauses plus the number of clause literals is not increased.intgetPresolveBveThreshold()During presolve, only try to perform the bounded variable elimination (BVE) of a variable x if the number of occurrences of x times the number of occurrences of not(x) is not greater than this parameter.booleangetPresolveExtractIntegerEnforcement()If true, we will extract from linear constraints, enforcement literals of the form "integer variable at bound => simplified constraint".longgetPresolveInclusionWorkLimit()A few presolve operations involve detecting constraints included in other constraint.doublegetPresolveProbingDeterministicTimeLimit()optional double presolve_probing_deterministic_time_limit = 57 [default = 30];intgetPresolveSubstitutionLevel()How much substitution (also called free variable aggregation in MIP litterature) should we perform at presolve.booleangetPresolveUseBva()Whether or not we use Bounded Variable Addition (BVA) in the presolve.doublegetProbingDeterministicTimeLimit()The maximum "deterministic" time limit to spend in probing.longgetProbingPeriodAtRoot()If set at zero (the default), it is disabled.doublegetPropagationLoopDetectionFactor()Some search decisions might cause a really large number of propagations to happen when integer variables with large domains are only reduced by 1 at each step.longgetPseudoCostReliabilityThreshold()The solver ignores the pseudo costs of variables with number of recordings less than this threshold.booleangetPushAllTasksTowardStart()Experimental code: specify if the objective pushes all tasks toward the start of the schedule.doublegetRandomBranchesRatio()A number between 0 and 1 that indicates the proportion of branching variables that are selected randomly instead of choosing the first variable from the given variable_ordering strategy.booleangetRandomizeSearch()Randomize fixed search.doublegetRandomPolarityRatio()The proportion of polarity chosen at random.intgetRandomSeed()At the beginning of each solve, the random number generator used in some part of the solver is reinitialized to this seed.doublegetRelativeGapLimit()optional double relative_gap_limit = 160 [default = 0];booleangetRepairHint()If true, the solver tries to repair the solution given in the hint.SatParameters.RestartAlgorithmgetRestartAlgorithms(int index)The restart strategies will change each time the strategy_counter is increased.intgetRestartAlgorithmsCount()The restart strategies will change each time the strategy_counter is increased.java.util.List<SatParameters.RestartAlgorithm>getRestartAlgorithmsList()The restart strategies will change each time the strategy_counter is increased.doublegetRestartDlAverageRatio()In the moving average restart algorithms, a restart is triggered if the window average times this ratio is greater that the global average.doublegetRestartLbdAverageRatio()optional double restart_lbd_average_ratio = 71 [default = 1];intgetRestartPeriod()Restart period for the FIXED_RESTART strategy.intgetRestartRunningWindowSize()Size of the window for the moving average restarts.intgetRootLpIterations()Even at the root node, we do not want to spend too much time on the LP if it is "difficult".SatParameters.SearchBranchinggetSearchBranching()optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];longgetSearchRandomVariablePoolSize()Search randomization will collect the top 'search_random_variable_pool_size' valued variables, and pick one randomly.booleangetShareBinaryClauses()Allows sharing of new learned binary clause between workers.intgetSharedTreeMaxNodesPerWorker()In order to limit total shared memory and communication overhead, limit the total number of nodes that may be generated in the shared tree.intgetSharedTreeNumWorkers()Enables experimental workstealing-like shared tree search.SatParameters.SharedTreeSplitStrategygetSharedTreeSplitStrategy()optional .operations_research.sat.SatParameters.SharedTreeSplitStrategy shared_tree_split_strategy = 239 [default = SPLIT_STRATEGY_AUTO];doublegetSharedTreeWorkerObjectiveSplitProbability()After their assigned prefix, shared tree workers will branch on the objective with this probability.booleangetShareLevelZeroBounds()Allows sharing of the bounds of modified variables at level 0.booleangetShareObjectiveBounds()Allows objective sharing between workers.doublegetShavingSearchDeterministicTime()Specifies the amount of deterministic time spent of each try at shaving a bound in the shaving search.intgetSolutionPoolSize()Size of the top-n different solutions kept by the solver.booleangetStopAfterFirstSolution()For an optimization problem, stop the solver as soon as we have a solution.booleangetStopAfterPresolve()Mainly used when improving the presolver.booleangetStopAfterRootPropagation()optional bool stop_after_root_propagation = 252 [default = false];doublegetStrategyChangeIncreaseRatio()The parameter num_conflicts_before_strategy_changes is increased by that much after each strategy change.SatParametersgetSubsolverParams(int index)It is possible to specify additional subsolver configuration.SatParameters.BuildergetSubsolverParamsBuilder(int index)It is possible to specify additional subsolver configuration.java.util.List<SatParameters.Builder>getSubsolverParamsBuilderList()It is possible to specify additional subsolver configuration.intgetSubsolverParamsCount()It is possible to specify additional subsolver configuration.java.util.List<SatParameters>getSubsolverParamsList()It is possible to specify additional subsolver configuration.SatParametersOrBuildergetSubsolverParamsOrBuilder(int index)It is possible to specify additional subsolver configuration.java.util.List<? extends SatParametersOrBuilder>getSubsolverParamsOrBuilderList()It is possible to specify additional subsolver configuration.java.lang.StringgetSubsolvers(int index)In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters.com.google.protobuf.ByteStringgetSubsolversBytes(int index)In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters.intgetSubsolversCount()In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters.com.google.protobuf.ProtocolStringListgetSubsolversList()In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters.booleangetSubsumptionDuringConflictAnalysis()At a really low cost, during the 1-UIP conflict computation, it is easy to detect if some of the involved reasons are subsumed by the current conflict.intgetSymmetryLevel()Whether we try to automatically detect the symmetries in a model and exploit them.intgetTableCompressionLevel()How much we try to "compress" a table constraint.booleangetTestFeasibilityJump()Disable every other type of subsolver, setting this turns CP-SAT into a pure local-search solver.booleangetUseAbslRandom()optional bool use_absl_random = 180 [default = false];booleangetUseBlockingRestart()Block a moving restart algorithm if the trail size of the current conflict is greater than the multiplier times the moving average of the trail size at the previous conflicts.booleangetUseBranchingInLp()If true, the solver attemts to generate more info inside lp propagator by branching on some variables if certain criteria are met during the search tree exploration.booleangetUseCombinedNoOverlap()This can be beneficial if there is a lot of no-overlap constraints but a relatively low number of different intervals in the problem.booleangetUseDisjunctiveConstraintInCumulative()When this is true, the cumulative constraint is reinforced with propagators from the disjunctive constraint to improve the inference on a set of tasks that are disjunctive at the root of the problem.booleangetUseDualSchedulingHeuristics()When set, it activates a few scheduling parameters to improve the lower bound of scheduling problems.booleangetUseDynamicPrecedenceInCumulative()optional bool use_dynamic_precedence_in_cumulative = 268 [default = false];booleangetUseDynamicPrecedenceInDisjunctive()Whether we try to branch on decision "interval A before interval B" rather than on intervals bounds.booleangetUseEnergeticReasoningInNoOverlap2D()When this is true, the no_overlap_2d constraint is reinforced with energetic reasoning.booleangetUseErwaHeuristic()Whether we use the ERWA (Exponential Recency Weighted Average) heuristic as described in "Learning Rate Based Branching Heuristic for SAT solvers", J.H.Liang, V.booleangetUseExactLpReason()The solver usually exploit the LP relaxation of a model.booleangetUseFeasibilityJump()Parameters for an heuristic similar to the one described in the paper: "Feasibility Jump: an LP-free Lagrangian MIP heuristic", Bjørnar Luteberget, Giorgio Sartor, 2023, Mathematical Programming Computation.booleangetUseFeasibilityPump()Adds a feasibility pump subsolver along with lns subsolvers.booleangetUseHardPrecedencesInCumulative()If true, detect and create constraint for integer variable that are "after" a set of intervals in the same cumulative constraint.booleangetUseImpliedBounds()Stores and exploits "implied-bounds" in the solver.booleangetUseLbRelaxLns()Turns on neighborhood generator based on local branching LP.booleangetUseLnsOnly()LNS parameters.booleangetUseObjectiveLbSearch()If true, search will search in ascending max objective value (when minimizing) starting from the lower bound of the objective.booleangetUseObjectiveShavingSearch()This search differs from the previous search as it will not use assumptions to bound the objective, and it will recreate a full model with the hardcoded objective value.booleangetUseOptimizationHints()For an optimization problem, whether we follow some hints in order to find a better first solution.booleangetUseOptionalVariables()If true, we automatically detect variables whose constraint are always enforced by the same literal and we mark them as optional.booleangetUseOverloadCheckerInCumulative()When this is true, the cumulative constraint is reinforced with overload checking, i.e., an additional level of reasoning based on energy.booleangetUsePairwiseReasoningInNoOverlap2D()Performs an extra step of propagation in the no_overlap_2d constraint by looking at all pairs of intervals.booleangetUsePbResolution()Whether to use pseudo-Boolean resolution to analyze a conflict.booleangetUsePhaseSaving()If this is true, then the polarity of a variable will be the last value it was assigned to, or its default polarity if it was never assigned since the call to ResetDecisionHeuristic().booleangetUsePrecedencesInDisjunctiveConstraint()When this is true, then a disjunctive constraint will try to use the precedence relations between time intervals to propagate their bounds further.booleangetUseProbingSearch()If true, search will continuously probe Boolean variables, and integer variable bounds.booleangetUseRinsLns()Turns on relaxation induced neighborhood generator.booleangetUseSatInprocessing()optional bool use_sat_inprocessing = 163 [default = false];booleangetUseSharedTreeSearch()Set on shared subtree workers.booleangetUseShavingInProbingSearch()Add a shaving phase (where the solver tries to prove that the lower or upper bound of a variable are infeasible) to the probing search.booleangetUseStrongPropagationInDisjunctive()Enable stronger and more expensive propagation on no_overlap constraint.booleangetUseTimetableEdgeFindingInCumulative()When this is true, the cumulative constraint is reinforced with timetable edge finding, i.e., an additional level of reasoning based on the conjunction of energy and mandatory parts.booleangetUseTimetablingInNoOverlap2D()When this is true, the no_overlap_2d constraint is reinforced with propagators from the cumulative constraints.doublegetVariableActivityDecay()Each time a conflict is found, the activities of some variables are increased by one.doublegetViolationLsCompoundMoveProbability()Probability of using compound move search each restart.intgetViolationLsPerturbationPeriod()How long violation_ls should wait before perturbating a solution.booleanhasAbsoluteGapLimit()Stop the search when the gap between the best feasible objective (O) and our best objective bound (B) is smaller than a limit.booleanhasAddCgCuts()Whether we generate and add Chvatal-Gomory cuts to the LP at root node.booleanhasAddCliqueCuts()Whether we generate clique cuts from the binary implication graph.booleanhasAddLinMaxCuts()For the lin max constraints, generates the cuts described in "Strong mixed-integer programming formulations for trained neural networks" by Ross Anderson et.booleanhasAddLpConstraintsLazily()If true, we start by an empty LP, and only add constraints not satisfied by the current LP solution batch by batch.booleanhasAddMirCuts()Whether we generate MIR cuts at root node.booleanhasAddObjectiveCut()When the LP objective is fractional, do we add the cut that forces the linear objective expression to be greater or equal to this fractional value rounded up? We can always do that since our objective is integer, and combined with MIR heuristic to reduce the coefficient of such cut, it can help.booleanhasAddZeroHalfCuts()Whether we generate Zero-Half cuts at root node.booleanhasAlsoBumpVariablesInConflictReasons()When this is true, then the variables that appear in any of the reason of the variables in a conflict have their activity bumped.booleanhasAutoDetectGreaterThanAtLeastOneOf()If true, then the precedences propagator try to detect for each variable if it has a set of "optional incoming arc" for which at least one of them is present.booleanhasBinaryMinimizationAlgorithm()optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];booleanhasBinarySearchNumConflicts()If non-negative, perform a binary search on the objective variable in order to find an [min, max] interval outside of which the solver proved unsat/sat under this amount of conflict.booleanhasBlockingRestartMultiplier()optional double blocking_restart_multiplier = 66 [default = 1.4];booleanhasBlockingRestartWindowSize()optional int32 blocking_restart_window_size = 65 [default = 5000];booleanhasBooleanEncodingLevel()A non-negative level indicating how much we should try to fully encode Integer variables as Boolean.booleanhasCatchSigintSignal()Indicates if the CP-SAT layer should catch Control-C (SIGINT) signals when calling solve.booleanhasClauseActivityDecay()Clause activity parameters (same effect as the one on the variables).booleanhasClauseCleanupLbdBound()All the clauses with a LBD (literal blocks distance) lower or equal to this parameters will always be kept.booleanhasClauseCleanupOrdering()optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];booleanhasClauseCleanupPeriod()Trigger a cleanup when this number of "deletable" clauses is learned.booleanhasClauseCleanupProtection()optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];booleanhasClauseCleanupRatio()During a cleanup, if clause_cleanup_target is 0, we will delete the clause_cleanup_ratio of "deletable" clauses instead of aiming for a fixed target of clauses to keep.booleanhasClauseCleanupTarget()During a cleanup, we will always keep that number of "deletable" clauses.booleanhasConvertIntervals()Temporary flag util the feature is more mature.booleanhasCoreMinimizationLevel()If positive, we spend some effort on each core: - At level 1, we use a simple heuristic to try to minimize an UNSAT core.booleanhasCountAssumptionLevelsInLbd()Whether or not the assumption levels are taken into account during the LBD computation.booleanhasCoverOptimization()If true, when the max-sat algo find a core, we compute the minimal number of literals in the core that needs to be true to have a feasible solution.booleanhasCpModelPresolve()Whether we presolve the cp_model before solving it.booleanhasCpModelProbingLevel()How much effort do we spend on probing.booleanhasCpModelUseSatPresolve()Whether we also use the sat presolve when cp_model_presolve is true.booleanhasCutActiveCountDecay()optional double cut_active_count_decay = 156 [default = 0.8];booleanhasCutCleanupTarget()Target number of constraints to remove during cleanup.booleanhasCutLevel()Control the global cut effort.booleanhasCutMaxActiveCountValue()These parameters are similar to sat clause management activity parameters.booleanhasDebugCrashOnBadHint()Crash if we do not manage to complete the hint into a full solution.booleanhasDebugMaxNumPresolveOperations()If positive, try to stop just after that many presolve rules have been applied.booleanhasDebugPostsolveWithFullSolver()We have two different postsolve code.booleanhasDefaultRestartAlgorithms()optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];booleanhasDetectTableWithCost()If true, we detect variable that are unique to a table constraint and only there to encode a cost on each tuple.booleanhasDisableConstraintExpansion()If true, it disable all constraint expansion.booleanhasDiversifyLnsParams()If true, registers more lns subsolvers with different parameters.booleanhasEncodeComplexLinearConstraintWithInteger()Linear constraint with a complex right hand side (more than a single interval) need to be expanded, there is a couple of way to do that.booleanhasEnumerateAllSolutions()Whether we enumerate all solutions of a problem without objective.booleanhasExpandAlldiffConstraints()If true, expand all_different constraints that are not permutations.booleanhasExpandReservoirConstraints()If true, expand the reservoir constraints by creating booleans for all possible precedences between event and encoding the constraint.booleanhasExploitAllLpSolution()If true and the Lp relaxation of the problem has a solution, try to exploit it.booleanhasExploitAllPrecedences()optional bool exploit_all_precedences = 220 [default = false];booleanhasExploitBestSolution()When branching on a variable, follow the last best solution value.booleanhasExploitIntegerLpSolution()If true and the Lp relaxation of the problem has an integer optimal solution, try to exploit it.booleanhasExploitObjective()When branching an a variable that directly affect the objective, branch on the value that lead to the best objective first.booleanhasExploitRelaxationSolution()When branching on a variable, follow the last best relaxation solution value.booleanhasFeasibilityJumpDecay()On each restart, we randomly choose if we use decay (with this parameter) or no decay.booleanhasFeasibilityJumpEnableRestarts()When stagnating, feasibility jump will either restart from a default solution (with some possible randomization), or randomly pertubate the current solution.booleanhasFeasibilityJumpLinearizationLevel()How much do we linearize the problem in the local search code.booleanhasFeasibilityJumpMaxExpandedConstraintSize()Maximum size of no_overlap or no_overlap_2d constraint for a quadratic expansion.booleanhasFeasibilityJumpRestartFactor()This is a factor that directly influence the work before each restart.booleanhasFeasibilityJumpVarPerburbationRangeRatio()Max distance between the default value and the pertubated value relative to the range of the domain of the variable.booleanhasFeasibilityJumpVarRandomizationProbability()Probability for a variable to have a non default value upon restarts or perturbations.booleanhasFillAdditionalSolutionsInResponse()If true, the final response addition_solutions field will be filled with all solutions from our solutions pool.booleanhasFillTightenedDomainsInResponse()If true, add information about the derived variable domains to the CpSolverResponse.booleanhasFindBigLinearOverlap()Try to find large "rectangle" in the linear constraint matrix with identical lines.booleanhasFindMultipleCores()Whether we try to find more independent cores for a given set of assumptions in the core based max-SAT algorithms.booleanhasFixVariablesToTheirHintedValue()If true, variables appearing in the solution hints will be fixed to their hinted value.booleanhasFpRounding()optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];booleanhasGlucoseDecayIncrement()optional double glucose_decay_increment = 23 [default = 0.01];booleanhasGlucoseDecayIncrementPeriod()optional int32 glucose_decay_increment_period = 24 [default = 5000];booleanhasGlucoseMaxDecay()The activity starts at 0.8 and increment by 0.01 every 5000 conflicts until 0.95.booleanhasHintConflictLimit()Conflict limit used in the phase that exploit the solution hint.booleanhasIgnoreNames()If true, we don't keep names in our internal copy of the user given model.booleanhasInferAllDiffs()Run a max-clique code amongst all the x != y we can find and try to infer set of variables that are all different.booleanhasInitialPolarity()optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];booleanhasInitialVariablesActivity()The initial value of the variables activity.booleanhasInstantiateAllVariables()If true, the solver will add a default integer branching strategy to the already defined search strategy.booleanhasInterleaveBatchSize()optional int32 interleave_batch_size = 134 [default = 0];booleanhasInterleaveSearch()Experimental.booleanhasKeepAllFeasibleSolutionsInPresolve()If true, we disable the presolve reductions that remove feasible solutions from the search space.booleanhasLinearizationLevel()A non-negative level indicating the type of constraints we consider in the LP relaxation.booleanhasLinearSplitSize()Linear constraints that are not pseudo-Boolean and that are longer than this size will be split into sqrt(size) intermediate sums in order to have faster propation in the CP engine.booleanhasLogPrefix()Add a prefix to all logs.booleanhasLogSearchProgress()Whether the solver should log the search progress.booleanhasLogSubsolverStatistics()Whether the solver should display per sub-solver search statistics.booleanhasLogToResponse()Log to response proto.booleanhasLogToStdout()Log to stdout.booleanhasLpDualTolerance()optional double lp_dual_tolerance = 267 [default = 1e-07];booleanhasLpPrimalTolerance()The internal LP tolerances used by CP-SAT.booleanhasMaxAllDiffCutSize()Cut generator for all diffs can add too many cuts for large all_diff constraints.booleanhasMaxClauseActivityValue()optional double max_clause_activity_value = 18 [default = 1e+20];booleanhasMaxConsecutiveInactiveCount()If a constraint/cut in LP is not active for that many consecutive OPTIMAL solves, remove it from the LP.booleanhasMaxCutRoundsAtLevelZero()Max number of time we perform cut generation and resolve the LP at level 0.booleanhasMaxDeterministicTime()Maximum time allowed in deterministic time to solve a problem.booleanhasMaxDomainSizeWhenEncodingEqNeqConstraints()When loading a*x + b*y ==/!= c when x and y are both fully encoded.booleanhasMaxIntegerRoundingScaling()In the integer rounding procedure used for MIR and Gomory cut, the maximum "scaling" we use (must be positive).booleanhasMaxMemoryInMb()Maximum memory allowed for the whole thread containing the solver.booleanhasMaxNumberOfConflicts()Maximum number of conflicts allowed to solve a problem.booleanhasMaxNumCuts()The limit on the number of cuts in our cut pool.booleanhasMaxNumIntervalsForTimetableEdgeFinding()Max number of intervals for the timetable_edge_finding algorithm to propagate.booleanhasMaxPresolveIterations()In case of large reduction in a presolve iteration, we perform multiple presolve iterations.booleanhasMaxSatAssumptionOrder()optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];booleanhasMaxSatReverseAssumptionOrder()If true, adds the assumption in the reverse order of the one defined by max_sat_assumption_order.booleanhasMaxSatStratification()optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];booleanhasMaxSizeToCreatePrecedenceLiteralsInDisjunctive()Create one literal for each disjunction of two pairs of tasks.booleanhasMaxTimeInSeconds()Maximum time allowed in seconds to solve a problem.booleanhasMaxVariableActivityValue()optional double max_variable_activity_value = 16 [default = 1e+100];booleanhasMergeAtMostOneWorkLimit()optional double merge_at_most_one_work_limit = 146 [default = 100000000];booleanhasMergeNoOverlapWorkLimit()During presolve, we use a maximum clique heuristic to merge together no-overlap constraints or at most one constraints.booleanhasMinimizationAlgorithm()optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];booleanhasMinimizeReductionDuringPbResolution()A different algorithm during PB resolution.booleanhasMinimizeWithPropagationNumDecisions()optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];booleanhasMinimizeWithPropagationRestartPeriod()Parameters for an heuristic similar to the one described in "An effective learnt clause minimization approach for CDCL Sat Solvers", https://www.ijcai.org/proceedings/2017/0098.pdf For now, we have a somewhat simpler implementation where every x restart we spend y decisions on clause minimization.booleanhasMinNumLnsWorkers()Obsolete parameter.booleanhasMinOrthogonalityForLpConstraints()While adding constraints, skip the constraints which have orthogonality less than 'min_orthogonality_for_lp_constraints' with already added constraints during current call.booleanhasMipAutomaticallyScaleVariables()If true, some continuous variable might be automatically scaled.booleanhasMipCheckPrecision()As explained in mip_precision and mip_max_activity_exponent, we cannot always reach the wanted precision during scaling.booleanhasMipComputeTrueObjectiveBound()Even if we make big error when scaling the objective, we can always derive a correct lower bound on the original objective by using the exact lower bound on the scaled integer version of the objective.booleanhasMipDropTolerance()Any value in the input mip with a magnitude lower than this will be set to zero.booleanhasMipMaxActivityExponent()To avoid integer overflow, we always force the maximum possible constraint activity (and objective value) according to the initial variable domain to be smaller than 2 to this given power.booleanhasMipMaxBound()We need to bound the maximum magnitude of the variables for CP-SAT, and that is the bound we use.booleanhasMipMaxValidMagnitude()Any finite values in the input MIP must be below this threshold, otherwise the model will be reported invalid.booleanhasMipPresolveLevel()When solving a MIP, we do some basic floating point presolving before scaling the problem to integer to be handled by CP-SAT.booleanhasMipScaleLargeDomain()If this is false, then mip_var_scaling is only applied to variables with "small" domain.booleanhasMipVarScaling()All continuous variable of the problem will be multiplied by this factor.booleanhasMipWantedPrecision()When scaling constraint with double coefficients to integer coefficients, we will multiply by a power of 2 and round the coefficients.booleanhasName()In some context, like in a portfolio of search, it makes sense to name a given parameters set for logging purpose.booleanhasNewConstraintsBatchSize()Add that many lazy constraints (or cuts) at once in the LP.booleanhasNewLinearPropagation()Experimental.booleanhasNumConflictsBeforeStrategyChanges()After each restart, if the number of conflict since the last strategy change is greater that this, then we increment a "strategy_counter" that can be use to change the search strategy used by the following restarts.booleanhasNumSearchWorkers()optional int32 num_search_workers = 100 [default = 0];booleanhasNumViolationLs()This will create incomplete subsolvers (that are not LNS subsolvers) that use the feasibility jump code to find improving solution, treating the objective improvement as a hard constraint.booleanhasNumWorkers()Specify the number of parallel workers (i.e.booleanhasOnlyAddCutsAtLevelZero()For the cut that can be generated at any level, this control if we only try to generate them at the root node.booleanhasOnlySolveIp()If one try to solve a MIP model with CP-SAT, because we assume all variable to be integer after scaling, we will not necessarily have the correct optimal.booleanhasOptimizeWithCore()The default optimization method is a simple "linear scan", each time trying to find a better solution than the previous one.booleanhasOptimizeWithLbTreeSearch()Do a more conventional tree search (by opposition to SAT based one) where we keep all the explored node in a tree.booleanhasOptimizeWithMaxHs()This has no effect if optimize_with_core is false.booleanhasPbCleanupIncrement()Same as for the clauses, but for the learned pseudo-Boolean constraints.booleanhasPbCleanupRatio()optional double pb_cleanup_ratio = 47 [default = 0.5];booleanhasPermutePresolveConstraintOrder()optional bool permute_presolve_constraint_order = 179 [default = false];booleanhasPermuteVariableRandomly()This is mainly here to test the solver variability.booleanhasPolarityRephaseIncrement()If non-zero, then we change the polarity heuristic after that many number of conflicts in an arithmetically increasing fashion.booleanhasPolishLpSolution()Whether we try to do a few degenerate iteration at the end of an LP solve to minimize the fractionality of the integer variable in the basis.booleanhasPreferredVariableOrder()optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];booleanhasPresolveBlockedClause()Whether we use an heuristic to detect some basic case of blocked clause in the SAT presolve.booleanhasPresolveBvaThreshold()Apply Bounded Variable Addition (BVA) if the number of clauses is reduced by stricly more than this threshold.booleanhasPresolveBveClauseWeight()During presolve, we apply BVE only if this weight times the number of clauses plus the number of clause literals is not increased.booleanhasPresolveBveThreshold()During presolve, only try to perform the bounded variable elimination (BVE) of a variable x if the number of occurrences of x times the number of occurrences of not(x) is not greater than this parameter.booleanhasPresolveExtractIntegerEnforcement()If true, we will extract from linear constraints, enforcement literals of the form "integer variable at bound => simplified constraint".booleanhasPresolveInclusionWorkLimit()A few presolve operations involve detecting constraints included in other constraint.booleanhasPresolveProbingDeterministicTimeLimit()optional double presolve_probing_deterministic_time_limit = 57 [default = 30];booleanhasPresolveSubstitutionLevel()How much substitution (also called free variable aggregation in MIP litterature) should we perform at presolve.booleanhasPresolveUseBva()Whether or not we use Bounded Variable Addition (BVA) in the presolve.booleanhasProbingDeterministicTimeLimit()The maximum "deterministic" time limit to spend in probing.booleanhasProbingPeriodAtRoot()If set at zero (the default), it is disabled.booleanhasPropagationLoopDetectionFactor()Some search decisions might cause a really large number of propagations to happen when integer variables with large domains are only reduced by 1 at each step.booleanhasPseudoCostReliabilityThreshold()The solver ignores the pseudo costs of variables with number of recordings less than this threshold.booleanhasPushAllTasksTowardStart()Experimental code: specify if the objective pushes all tasks toward the start of the schedule.booleanhasRandomBranchesRatio()A number between 0 and 1 that indicates the proportion of branching variables that are selected randomly instead of choosing the first variable from the given variable_ordering strategy.booleanhasRandomizeSearch()Randomize fixed search.booleanhasRandomPolarityRatio()The proportion of polarity chosen at random.booleanhasRandomSeed()At the beginning of each solve, the random number generator used in some part of the solver is reinitialized to this seed.booleanhasRelativeGapLimit()optional double relative_gap_limit = 160 [default = 0];booleanhasRepairHint()If true, the solver tries to repair the solution given in the hint.booleanhasRestartDlAverageRatio()In the moving average restart algorithms, a restart is triggered if the window average times this ratio is greater that the global average.booleanhasRestartLbdAverageRatio()optional double restart_lbd_average_ratio = 71 [default = 1];booleanhasRestartPeriod()Restart period for the FIXED_RESTART strategy.booleanhasRestartRunningWindowSize()Size of the window for the moving average restarts.booleanhasRootLpIterations()Even at the root node, we do not want to spend too much time on the LP if it is "difficult".booleanhasSearchBranching()optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];booleanhasSearchRandomVariablePoolSize()Search randomization will collect the top 'search_random_variable_pool_size' valued variables, and pick one randomly.booleanhasShareBinaryClauses()Allows sharing of new learned binary clause between workers.booleanhasSharedTreeMaxNodesPerWorker()In order to limit total shared memory and communication overhead, limit the total number of nodes that may be generated in the shared tree.booleanhasSharedTreeNumWorkers()Enables experimental workstealing-like shared tree search.booleanhasSharedTreeSplitStrategy()optional .operations_research.sat.SatParameters.SharedTreeSplitStrategy shared_tree_split_strategy = 239 [default = SPLIT_STRATEGY_AUTO];booleanhasSharedTreeWorkerObjectiveSplitProbability()After their assigned prefix, shared tree workers will branch on the objective with this probability.booleanhasShareLevelZeroBounds()Allows sharing of the bounds of modified variables at level 0.booleanhasShareObjectiveBounds()Allows objective sharing between workers.booleanhasShavingSearchDeterministicTime()Specifies the amount of deterministic time spent of each try at shaving a bound in the shaving search.booleanhasSolutionPoolSize()Size of the top-n different solutions kept by the solver.booleanhasStopAfterFirstSolution()For an optimization problem, stop the solver as soon as we have a solution.booleanhasStopAfterPresolve()Mainly used when improving the presolver.booleanhasStopAfterRootPropagation()optional bool stop_after_root_propagation = 252 [default = false];booleanhasStrategyChangeIncreaseRatio()The parameter num_conflicts_before_strategy_changes is increased by that much after each strategy change.booleanhasSubsumptionDuringConflictAnalysis()At a really low cost, during the 1-UIP conflict computation, it is easy to detect if some of the involved reasons are subsumed by the current conflict.booleanhasSymmetryLevel()Whether we try to automatically detect the symmetries in a model and exploit them.booleanhasTableCompressionLevel()How much we try to "compress" a table constraint.booleanhasTestFeasibilityJump()Disable every other type of subsolver, setting this turns CP-SAT into a pure local-search solver.booleanhasUseAbslRandom()optional bool use_absl_random = 180 [default = false];booleanhasUseBlockingRestart()Block a moving restart algorithm if the trail size of the current conflict is greater than the multiplier times the moving average of the trail size at the previous conflicts.booleanhasUseBranchingInLp()If true, the solver attemts to generate more info inside lp propagator by branching on some variables if certain criteria are met during the search tree exploration.booleanhasUseCombinedNoOverlap()This can be beneficial if there is a lot of no-overlap constraints but a relatively low number of different intervals in the problem.booleanhasUseDisjunctiveConstraintInCumulative()When this is true, the cumulative constraint is reinforced with propagators from the disjunctive constraint to improve the inference on a set of tasks that are disjunctive at the root of the problem.booleanhasUseDualSchedulingHeuristics()When set, it activates a few scheduling parameters to improve the lower bound of scheduling problems.booleanhasUseDynamicPrecedenceInCumulative()optional bool use_dynamic_precedence_in_cumulative = 268 [default = false];booleanhasUseDynamicPrecedenceInDisjunctive()Whether we try to branch on decision "interval A before interval B" rather than on intervals bounds.booleanhasUseEnergeticReasoningInNoOverlap2D()When this is true, the no_overlap_2d constraint is reinforced with energetic reasoning.booleanhasUseErwaHeuristic()Whether we use the ERWA (Exponential Recency Weighted Average) heuristic as described in "Learning Rate Based Branching Heuristic for SAT solvers", J.H.Liang, V.booleanhasUseExactLpReason()The solver usually exploit the LP relaxation of a model.booleanhasUseFeasibilityJump()Parameters for an heuristic similar to the one described in the paper: "Feasibility Jump: an LP-free Lagrangian MIP heuristic", Bjørnar Luteberget, Giorgio Sartor, 2023, Mathematical Programming Computation.booleanhasUseFeasibilityPump()Adds a feasibility pump subsolver along with lns subsolvers.booleanhasUseHardPrecedencesInCumulative()If true, detect and create constraint for integer variable that are "after" a set of intervals in the same cumulative constraint.booleanhasUseImpliedBounds()Stores and exploits "implied-bounds" in the solver.booleanhasUseLbRelaxLns()Turns on neighborhood generator based on local branching LP.booleanhasUseLnsOnly()LNS parameters.booleanhasUseObjectiveLbSearch()If true, search will search in ascending max objective value (when minimizing) starting from the lower bound of the objective.booleanhasUseObjectiveShavingSearch()This search differs from the previous search as it will not use assumptions to bound the objective, and it will recreate a full model with the hardcoded objective value.booleanhasUseOptimizationHints()For an optimization problem, whether we follow some hints in order to find a better first solution.booleanhasUseOptionalVariables()If true, we automatically detect variables whose constraint are always enforced by the same literal and we mark them as optional.booleanhasUseOverloadCheckerInCumulative()When this is true, the cumulative constraint is reinforced with overload checking, i.e., an additional level of reasoning based on energy.booleanhasUsePairwiseReasoningInNoOverlap2D()Performs an extra step of propagation in the no_overlap_2d constraint by looking at all pairs of intervals.booleanhasUsePbResolution()Whether to use pseudo-Boolean resolution to analyze a conflict.booleanhasUsePhaseSaving()If this is true, then the polarity of a variable will be the last value it was assigned to, or its default polarity if it was never assigned since the call to ResetDecisionHeuristic().booleanhasUsePrecedencesInDisjunctiveConstraint()When this is true, then a disjunctive constraint will try to use the precedence relations between time intervals to propagate their bounds further.booleanhasUseProbingSearch()If true, search will continuously probe Boolean variables, and integer variable bounds.booleanhasUseRinsLns()Turns on relaxation induced neighborhood generator.booleanhasUseSatInprocessing()optional bool use_sat_inprocessing = 163 [default = false];booleanhasUseSharedTreeSearch()Set on shared subtree workers.booleanhasUseShavingInProbingSearch()Add a shaving phase (where the solver tries to prove that the lower or upper bound of a variable are infeasible) to the probing search.booleanhasUseStrongPropagationInDisjunctive()Enable stronger and more expensive propagation on no_overlap constraint.booleanhasUseTimetableEdgeFindingInCumulative()When this is true, the cumulative constraint is reinforced with timetable edge finding, i.e., an additional level of reasoning based on the conjunction of energy and mandatory parts.booleanhasUseTimetablingInNoOverlap2D()When this is true, the no_overlap_2d constraint is reinforced with propagators from the cumulative constraints.booleanhasVariableActivityDecay()Each time a conflict is found, the activities of some variables are increased by one.booleanhasViolationLsCompoundMoveProbability()Probability of using compound move search each restart.booleanhasViolationLsPerturbationPeriod()How long violation_ls should wait before perturbating a solution.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SatParameters.BuildermergeFrom(SatParameters other)SatParameters.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SatParameters.BuildermergeFrom(com.google.protobuf.Message other)SatParameters.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SatParameters.BuilderremoveSubsolverParams(int index)It is possible to specify additional subsolver configuration.SatParameters.BuildersetAbsoluteGapLimit(double value)Stop the search when the gap between the best feasible objective (O) and our best objective bound (B) is smaller than a limit.SatParameters.BuildersetAddCgCuts(boolean value)Whether we generate and add Chvatal-Gomory cuts to the LP at root node.SatParameters.BuildersetAddCliqueCuts(boolean value)Whether we generate clique cuts from the binary implication graph.SatParameters.BuildersetAddLinMaxCuts(boolean value)For the lin max constraints, generates the cuts described in "Strong mixed-integer programming formulations for trained neural networks" by Ross Anderson et.SatParameters.BuildersetAddLpConstraintsLazily(boolean value)If true, we start by an empty LP, and only add constraints not satisfied by the current LP solution batch by batch.SatParameters.BuildersetAddMirCuts(boolean value)Whether we generate MIR cuts at root node.SatParameters.BuildersetAddObjectiveCut(boolean value)When the LP objective is fractional, do we add the cut that forces the linear objective expression to be greater or equal to this fractional value rounded up? We can always do that since our objective is integer, and combined with MIR heuristic to reduce the coefficient of such cut, it can help.SatParameters.BuildersetAddZeroHalfCuts(boolean value)Whether we generate Zero-Half cuts at root node.SatParameters.BuildersetAlsoBumpVariablesInConflictReasons(boolean value)When this is true, then the variables that appear in any of the reason of the variables in a conflict have their activity bumped.SatParameters.BuildersetAutoDetectGreaterThanAtLeastOneOf(boolean value)If true, then the precedences propagator try to detect for each variable if it has a set of "optional incoming arc" for which at least one of them is present.SatParameters.BuildersetBinaryMinimizationAlgorithm(SatParameters.BinaryMinizationAlgorithm value)optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];SatParameters.BuildersetBinarySearchNumConflicts(int value)If non-negative, perform a binary search on the objective variable in order to find an [min, max] interval outside of which the solver proved unsat/sat under this amount of conflict.SatParameters.BuildersetBlockingRestartMultiplier(double value)optional double blocking_restart_multiplier = 66 [default = 1.4];SatParameters.BuildersetBlockingRestartWindowSize(int value)optional int32 blocking_restart_window_size = 65 [default = 5000];SatParameters.BuildersetBooleanEncodingLevel(int value)A non-negative level indicating how much we should try to fully encode Integer variables as Boolean.SatParameters.BuildersetCatchSigintSignal(boolean value)Indicates if the CP-SAT layer should catch Control-C (SIGINT) signals when calling solve.SatParameters.BuildersetClauseActivityDecay(double value)Clause activity parameters (same effect as the one on the variables).SatParameters.BuildersetClauseCleanupLbdBound(int value)All the clauses with a LBD (literal blocks distance) lower or equal to this parameters will always be kept.SatParameters.BuildersetClauseCleanupOrdering(SatParameters.ClauseOrdering value)optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];SatParameters.BuildersetClauseCleanupPeriod(int value)Trigger a cleanup when this number of "deletable" clauses is learned.SatParameters.BuildersetClauseCleanupProtection(SatParameters.ClauseProtection value)optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];SatParameters.BuildersetClauseCleanupRatio(double value)During a cleanup, if clause_cleanup_target is 0, we will delete the clause_cleanup_ratio of "deletable" clauses instead of aiming for a fixed target of clauses to keep.SatParameters.BuildersetClauseCleanupTarget(int value)During a cleanup, we will always keep that number of "deletable" clauses.SatParameters.BuildersetConvertIntervals(boolean value)Temporary flag util the feature is more mature.SatParameters.BuildersetCoreMinimizationLevel(int value)If positive, we spend some effort on each core: - At level 1, we use a simple heuristic to try to minimize an UNSAT core.SatParameters.BuildersetCountAssumptionLevelsInLbd(boolean value)Whether or not the assumption levels are taken into account during the LBD computation.SatParameters.BuildersetCoverOptimization(boolean value)If true, when the max-sat algo find a core, we compute the minimal number of literals in the core that needs to be true to have a feasible solution.SatParameters.BuildersetCpModelPresolve(boolean value)Whether we presolve the cp_model before solving it.SatParameters.BuildersetCpModelProbingLevel(int value)How much effort do we spend on probing.SatParameters.BuildersetCpModelUseSatPresolve(boolean value)Whether we also use the sat presolve when cp_model_presolve is true.SatParameters.BuildersetCutActiveCountDecay(double value)optional double cut_active_count_decay = 156 [default = 0.8];SatParameters.BuildersetCutCleanupTarget(int value)Target number of constraints to remove during cleanup.SatParameters.BuildersetCutLevel(int value)Control the global cut effort.SatParameters.BuildersetCutMaxActiveCountValue(double value)These parameters are similar to sat clause management activity parameters.SatParameters.BuildersetDebugCrashOnBadHint(boolean value)Crash if we do not manage to complete the hint into a full solution.SatParameters.BuildersetDebugMaxNumPresolveOperations(int value)If positive, try to stop just after that many presolve rules have been applied.SatParameters.BuildersetDebugPostsolveWithFullSolver(boolean value)We have two different postsolve code.SatParameters.BuildersetDefaultRestartAlgorithms(java.lang.String value)optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];SatParameters.BuildersetDefaultRestartAlgorithmsBytes(com.google.protobuf.ByteString value)optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];SatParameters.BuildersetDetectTableWithCost(boolean value)If true, we detect variable that are unique to a table constraint and only there to encode a cost on each tuple.SatParameters.BuildersetDisableConstraintExpansion(boolean value)If true, it disable all constraint expansion.SatParameters.BuildersetDiversifyLnsParams(boolean value)If true, registers more lns subsolvers with different parameters.SatParameters.BuildersetEncodeComplexLinearConstraintWithInteger(boolean value)Linear constraint with a complex right hand side (more than a single interval) need to be expanded, there is a couple of way to do that.SatParameters.BuildersetEnumerateAllSolutions(boolean value)Whether we enumerate all solutions of a problem without objective.SatParameters.BuildersetExpandAlldiffConstraints(boolean value)If true, expand all_different constraints that are not permutations.SatParameters.BuildersetExpandReservoirConstraints(boolean value)If true, expand the reservoir constraints by creating booleans for all possible precedences between event and encoding the constraint.SatParameters.BuildersetExploitAllLpSolution(boolean value)If true and the Lp relaxation of the problem has a solution, try to exploit it.SatParameters.BuildersetExploitAllPrecedences(boolean value)optional bool exploit_all_precedences = 220 [default = false];SatParameters.BuildersetExploitBestSolution(boolean value)When branching on a variable, follow the last best solution value.SatParameters.BuildersetExploitIntegerLpSolution(boolean value)If true and the Lp relaxation of the problem has an integer optimal solution, try to exploit it.SatParameters.BuildersetExploitObjective(boolean value)When branching an a variable that directly affect the objective, branch on the value that lead to the best objective first.SatParameters.BuildersetExploitRelaxationSolution(boolean value)When branching on a variable, follow the last best relaxation solution value.SatParameters.BuildersetExtraSubsolvers(int index, java.lang.String value)A convenient way to add more workers types.SatParameters.BuildersetFeasibilityJumpDecay(double value)On each restart, we randomly choose if we use decay (with this parameter) or no decay.SatParameters.BuildersetFeasibilityJumpEnableRestarts(boolean value)When stagnating, feasibility jump will either restart from a default solution (with some possible randomization), or randomly pertubate the current solution.SatParameters.BuildersetFeasibilityJumpLinearizationLevel(int value)How much do we linearize the problem in the local search code.SatParameters.BuildersetFeasibilityJumpMaxExpandedConstraintSize(int value)Maximum size of no_overlap or no_overlap_2d constraint for a quadratic expansion.SatParameters.BuildersetFeasibilityJumpRestartFactor(int value)This is a factor that directly influence the work before each restart.SatParameters.BuildersetFeasibilityJumpVarPerburbationRangeRatio(double value)Max distance between the default value and the pertubated value relative to the range of the domain of the variable.SatParameters.BuildersetFeasibilityJumpVarRandomizationProbability(double value)Probability for a variable to have a non default value upon restarts or perturbations.SatParameters.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SatParameters.BuildersetFillAdditionalSolutionsInResponse(boolean value)If true, the final response addition_solutions field will be filled with all solutions from our solutions pool.SatParameters.BuildersetFillTightenedDomainsInResponse(boolean value)If true, add information about the derived variable domains to the CpSolverResponse.SatParameters.BuildersetFindBigLinearOverlap(boolean value)Try to find large "rectangle" in the linear constraint matrix with identical lines.SatParameters.BuildersetFindMultipleCores(boolean value)Whether we try to find more independent cores for a given set of assumptions in the core based max-SAT algorithms.SatParameters.BuildersetFixVariablesToTheirHintedValue(boolean value)If true, variables appearing in the solution hints will be fixed to their hinted value.SatParameters.BuildersetFpRounding(SatParameters.FPRoundingMethod value)optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];SatParameters.BuildersetGlucoseDecayIncrement(double value)optional double glucose_decay_increment = 23 [default = 0.01];SatParameters.BuildersetGlucoseDecayIncrementPeriod(int value)optional int32 glucose_decay_increment_period = 24 [default = 5000];SatParameters.BuildersetGlucoseMaxDecay(double value)The activity starts at 0.8 and increment by 0.01 every 5000 conflicts until 0.95.SatParameters.BuildersetHintConflictLimit(int value)Conflict limit used in the phase that exploit the solution hint.SatParameters.BuildersetIgnoreNames(boolean value)If true, we don't keep names in our internal copy of the user given model.SatParameters.BuildersetIgnoreSubsolvers(int index, java.lang.String value)Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.SatParameters.BuildersetInferAllDiffs(boolean value)Run a max-clique code amongst all the x != y we can find and try to infer set of variables that are all different.SatParameters.BuildersetInitialPolarity(SatParameters.Polarity value)optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];SatParameters.BuildersetInitialVariablesActivity(double value)The initial value of the variables activity.SatParameters.BuildersetInstantiateAllVariables(boolean value)If true, the solver will add a default integer branching strategy to the already defined search strategy.SatParameters.BuildersetInterleaveBatchSize(int value)optional int32 interleave_batch_size = 134 [default = 0];SatParameters.BuildersetInterleaveSearch(boolean value)Experimental.SatParameters.BuildersetKeepAllFeasibleSolutionsInPresolve(boolean value)If true, we disable the presolve reductions that remove feasible solutions from the search space.SatParameters.BuildersetLinearizationLevel(int value)A non-negative level indicating the type of constraints we consider in the LP relaxation.SatParameters.BuildersetLinearSplitSize(int value)Linear constraints that are not pseudo-Boolean and that are longer than this size will be split into sqrt(size) intermediate sums in order to have faster propation in the CP engine.SatParameters.BuildersetLogPrefix(java.lang.String value)Add a prefix to all logs.SatParameters.BuildersetLogPrefixBytes(com.google.protobuf.ByteString value)Add a prefix to all logs.SatParameters.BuildersetLogSearchProgress(boolean value)Whether the solver should log the search progress.SatParameters.BuildersetLogSubsolverStatistics(boolean value)Whether the solver should display per sub-solver search statistics.SatParameters.BuildersetLogToResponse(boolean value)Log to response proto.SatParameters.BuildersetLogToStdout(boolean value)Log to stdout.SatParameters.BuildersetLpDualTolerance(double value)optional double lp_dual_tolerance = 267 [default = 1e-07];SatParameters.BuildersetLpPrimalTolerance(double value)The internal LP tolerances used by CP-SAT.SatParameters.BuildersetMaxAllDiffCutSize(int value)Cut generator for all diffs can add too many cuts for large all_diff constraints.SatParameters.BuildersetMaxClauseActivityValue(double value)optional double max_clause_activity_value = 18 [default = 1e+20];SatParameters.BuildersetMaxConsecutiveInactiveCount(int value)If a constraint/cut in LP is not active for that many consecutive OPTIMAL solves, remove it from the LP.SatParameters.BuildersetMaxCutRoundsAtLevelZero(int value)Max number of time we perform cut generation and resolve the LP at level 0.SatParameters.BuildersetMaxDeterministicTime(double value)Maximum time allowed in deterministic time to solve a problem.SatParameters.BuildersetMaxDomainSizeWhenEncodingEqNeqConstraints(int value)When loading a*x + b*y ==/!= c when x and y are both fully encoded.SatParameters.BuildersetMaxIntegerRoundingScaling(int value)In the integer rounding procedure used for MIR and Gomory cut, the maximum "scaling" we use (must be positive).SatParameters.BuildersetMaxMemoryInMb(long value)Maximum memory allowed for the whole thread containing the solver.SatParameters.BuildersetMaxNumberOfConflicts(long value)Maximum number of conflicts allowed to solve a problem.SatParameters.BuildersetMaxNumCuts(int value)The limit on the number of cuts in our cut pool.SatParameters.BuildersetMaxNumIntervalsForTimetableEdgeFinding(int value)Max number of intervals for the timetable_edge_finding algorithm to propagate.SatParameters.BuildersetMaxPresolveIterations(int value)In case of large reduction in a presolve iteration, we perform multiple presolve iterations.SatParameters.BuildersetMaxSatAssumptionOrder(SatParameters.MaxSatAssumptionOrder value)optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];SatParameters.BuildersetMaxSatReverseAssumptionOrder(boolean value)If true, adds the assumption in the reverse order of the one defined by max_sat_assumption_order.SatParameters.BuildersetMaxSatStratification(SatParameters.MaxSatStratificationAlgorithm value)optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];SatParameters.BuildersetMaxSizeToCreatePrecedenceLiteralsInDisjunctive(int value)Create one literal for each disjunction of two pairs of tasks.SatParameters.BuildersetMaxTimeInSeconds(double value)Maximum time allowed in seconds to solve a problem.SatParameters.BuildersetMaxVariableActivityValue(double value)optional double max_variable_activity_value = 16 [default = 1e+100];SatParameters.BuildersetMergeAtMostOneWorkLimit(double value)optional double merge_at_most_one_work_limit = 146 [default = 100000000];SatParameters.BuildersetMergeNoOverlapWorkLimit(double value)During presolve, we use a maximum clique heuristic to merge together no-overlap constraints or at most one constraints.SatParameters.BuildersetMinimizationAlgorithm(SatParameters.ConflictMinimizationAlgorithm value)optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];SatParameters.BuildersetMinimizeReductionDuringPbResolution(boolean value)A different algorithm during PB resolution.SatParameters.BuildersetMinimizeWithPropagationNumDecisions(int value)optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];SatParameters.BuildersetMinimizeWithPropagationRestartPeriod(int value)Parameters for an heuristic similar to the one described in "An effective learnt clause minimization approach for CDCL Sat Solvers", https://www.ijcai.org/proceedings/2017/0098.pdf For now, we have a somewhat simpler implementation where every x restart we spend y decisions on clause minimization.SatParameters.BuildersetMinNumLnsWorkers(int value)Obsolete parameter.SatParameters.BuildersetMinOrthogonalityForLpConstraints(double value)While adding constraints, skip the constraints which have orthogonality less than 'min_orthogonality_for_lp_constraints' with already added constraints during current call.SatParameters.BuildersetMipAutomaticallyScaleVariables(boolean value)If true, some continuous variable might be automatically scaled.SatParameters.BuildersetMipCheckPrecision(double value)As explained in mip_precision and mip_max_activity_exponent, we cannot always reach the wanted precision during scaling.SatParameters.BuildersetMipComputeTrueObjectiveBound(boolean value)Even if we make big error when scaling the objective, we can always derive a correct lower bound on the original objective by using the exact lower bound on the scaled integer version of the objective.SatParameters.BuildersetMipDropTolerance(double value)Any value in the input mip with a magnitude lower than this will be set to zero.SatParameters.BuildersetMipMaxActivityExponent(int value)To avoid integer overflow, we always force the maximum possible constraint activity (and objective value) according to the initial variable domain to be smaller than 2 to this given power.SatParameters.BuildersetMipMaxBound(double value)We need to bound the maximum magnitude of the variables for CP-SAT, and that is the bound we use.SatParameters.BuildersetMipMaxValidMagnitude(double value)Any finite values in the input MIP must be below this threshold, otherwise the model will be reported invalid.SatParameters.BuildersetMipPresolveLevel(int value)When solving a MIP, we do some basic floating point presolving before scaling the problem to integer to be handled by CP-SAT.SatParameters.BuildersetMipScaleLargeDomain(boolean value)If this is false, then mip_var_scaling is only applied to variables with "small" domain.SatParameters.BuildersetMipVarScaling(double value)All continuous variable of the problem will be multiplied by this factor.SatParameters.BuildersetMipWantedPrecision(double value)When scaling constraint with double coefficients to integer coefficients, we will multiply by a power of 2 and round the coefficients.SatParameters.BuildersetName(java.lang.String value)In some context, like in a portfolio of search, it makes sense to name a given parameters set for logging purpose.SatParameters.BuildersetNameBytes(com.google.protobuf.ByteString value)In some context, like in a portfolio of search, it makes sense to name a given parameters set for logging purpose.SatParameters.BuildersetNewConstraintsBatchSize(int value)Add that many lazy constraints (or cuts) at once in the LP.SatParameters.BuildersetNewLinearPropagation(boolean value)Experimental.SatParameters.BuildersetNumConflictsBeforeStrategyChanges(int value)After each restart, if the number of conflict since the last strategy change is greater that this, then we increment a "strategy_counter" that can be use to change the search strategy used by the following restarts.SatParameters.BuildersetNumSearchWorkers(int value)optional int32 num_search_workers = 100 [default = 0];SatParameters.BuildersetNumViolationLs(int value)This will create incomplete subsolvers (that are not LNS subsolvers) that use the feasibility jump code to find improving solution, treating the objective improvement as a hard constraint.SatParameters.BuildersetNumWorkers(int value)Specify the number of parallel workers (i.e.SatParameters.BuildersetOnlyAddCutsAtLevelZero(boolean value)For the cut that can be generated at any level, this control if we only try to generate them at the root node.SatParameters.BuildersetOnlySolveIp(boolean value)If one try to solve a MIP model with CP-SAT, because we assume all variable to be integer after scaling, we will not necessarily have the correct optimal.SatParameters.BuildersetOptimizeWithCore(boolean value)The default optimization method is a simple "linear scan", each time trying to find a better solution than the previous one.SatParameters.BuildersetOptimizeWithLbTreeSearch(boolean value)Do a more conventional tree search (by opposition to SAT based one) where we keep all the explored node in a tree.SatParameters.BuildersetOptimizeWithMaxHs(boolean value)This has no effect if optimize_with_core is false.SatParameters.BuildersetPbCleanupIncrement(int value)Same as for the clauses, but for the learned pseudo-Boolean constraints.SatParameters.BuildersetPbCleanupRatio(double value)optional double pb_cleanup_ratio = 47 [default = 0.5];SatParameters.BuildersetPermutePresolveConstraintOrder(boolean value)optional bool permute_presolve_constraint_order = 179 [default = false];SatParameters.BuildersetPermuteVariableRandomly(boolean value)This is mainly here to test the solver variability.SatParameters.BuildersetPolarityRephaseIncrement(int value)If non-zero, then we change the polarity heuristic after that many number of conflicts in an arithmetically increasing fashion.SatParameters.BuildersetPolishLpSolution(boolean value)Whether we try to do a few degenerate iteration at the end of an LP solve to minimize the fractionality of the integer variable in the basis.SatParameters.BuildersetPreferredVariableOrder(SatParameters.VariableOrder value)optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];SatParameters.BuildersetPresolveBlockedClause(boolean value)Whether we use an heuristic to detect some basic case of blocked clause in the SAT presolve.SatParameters.BuildersetPresolveBvaThreshold(int value)Apply Bounded Variable Addition (BVA) if the number of clauses is reduced by stricly more than this threshold.SatParameters.BuildersetPresolveBveClauseWeight(int value)During presolve, we apply BVE only if this weight times the number of clauses plus the number of clause literals is not increased.SatParameters.BuildersetPresolveBveThreshold(int value)During presolve, only try to perform the bounded variable elimination (BVE) of a variable x if the number of occurrences of x times the number of occurrences of not(x) is not greater than this parameter.SatParameters.BuildersetPresolveExtractIntegerEnforcement(boolean value)If true, we will extract from linear constraints, enforcement literals of the form "integer variable at bound => simplified constraint".SatParameters.BuildersetPresolveInclusionWorkLimit(long value)A few presolve operations involve detecting constraints included in other constraint.SatParameters.BuildersetPresolveProbingDeterministicTimeLimit(double value)optional double presolve_probing_deterministic_time_limit = 57 [default = 30];SatParameters.BuildersetPresolveSubstitutionLevel(int value)How much substitution (also called free variable aggregation in MIP litterature) should we perform at presolve.SatParameters.BuildersetPresolveUseBva(boolean value)Whether or not we use Bounded Variable Addition (BVA) in the presolve.SatParameters.BuildersetProbingDeterministicTimeLimit(double value)The maximum "deterministic" time limit to spend in probing.SatParameters.BuildersetProbingPeriodAtRoot(long value)If set at zero (the default), it is disabled.SatParameters.BuildersetPropagationLoopDetectionFactor(double value)Some search decisions might cause a really large number of propagations to happen when integer variables with large domains are only reduced by 1 at each step.SatParameters.BuildersetPseudoCostReliabilityThreshold(long value)The solver ignores the pseudo costs of variables with number of recordings less than this threshold.SatParameters.BuildersetPushAllTasksTowardStart(boolean value)Experimental code: specify if the objective pushes all tasks toward the start of the schedule.SatParameters.BuildersetRandomBranchesRatio(double value)A number between 0 and 1 that indicates the proportion of branching variables that are selected randomly instead of choosing the first variable from the given variable_ordering strategy.SatParameters.BuildersetRandomizeSearch(boolean value)Randomize fixed search.SatParameters.BuildersetRandomPolarityRatio(double value)The proportion of polarity chosen at random.SatParameters.BuildersetRandomSeed(int value)At the beginning of each solve, the random number generator used in some part of the solver is reinitialized to this seed.SatParameters.BuildersetRelativeGapLimit(double value)optional double relative_gap_limit = 160 [default = 0];SatParameters.BuildersetRepairHint(boolean value)If true, the solver tries to repair the solution given in the hint.SatParameters.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)SatParameters.BuildersetRestartAlgorithms(int index, SatParameters.RestartAlgorithm value)The restart strategies will change each time the strategy_counter is increased.SatParameters.BuildersetRestartDlAverageRatio(double value)In the moving average restart algorithms, a restart is triggered if the window average times this ratio is greater that the global average.SatParameters.BuildersetRestartLbdAverageRatio(double value)optional double restart_lbd_average_ratio = 71 [default = 1];SatParameters.BuildersetRestartPeriod(int value)Restart period for the FIXED_RESTART strategy.SatParameters.BuildersetRestartRunningWindowSize(int value)Size of the window for the moving average restarts.SatParameters.BuildersetRootLpIterations(int value)Even at the root node, we do not want to spend too much time on the LP if it is "difficult".SatParameters.BuildersetSearchBranching(SatParameters.SearchBranching value)optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];SatParameters.BuildersetSearchRandomVariablePoolSize(long value)Search randomization will collect the top 'search_random_variable_pool_size' valued variables, and pick one randomly.SatParameters.BuildersetShareBinaryClauses(boolean value)Allows sharing of new learned binary clause between workers.SatParameters.BuildersetSharedTreeMaxNodesPerWorker(int value)In order to limit total shared memory and communication overhead, limit the total number of nodes that may be generated in the shared tree.SatParameters.BuildersetSharedTreeNumWorkers(int value)Enables experimental workstealing-like shared tree search.SatParameters.BuildersetSharedTreeSplitStrategy(SatParameters.SharedTreeSplitStrategy value)optional .operations_research.sat.SatParameters.SharedTreeSplitStrategy shared_tree_split_strategy = 239 [default = SPLIT_STRATEGY_AUTO];SatParameters.BuildersetSharedTreeWorkerObjectiveSplitProbability(double value)After their assigned prefix, shared tree workers will branch on the objective with this probability.SatParameters.BuildersetShareLevelZeroBounds(boolean value)Allows sharing of the bounds of modified variables at level 0.SatParameters.BuildersetShareObjectiveBounds(boolean value)Allows objective sharing between workers.SatParameters.BuildersetShavingSearchDeterministicTime(double value)Specifies the amount of deterministic time spent of each try at shaving a bound in the shaving search.SatParameters.BuildersetSolutionPoolSize(int value)Size of the top-n different solutions kept by the solver.SatParameters.BuildersetStopAfterFirstSolution(boolean value)For an optimization problem, stop the solver as soon as we have a solution.SatParameters.BuildersetStopAfterPresolve(boolean value)Mainly used when improving the presolver.SatParameters.BuildersetStopAfterRootPropagation(boolean value)optional bool stop_after_root_propagation = 252 [default = false];SatParameters.BuildersetStrategyChangeIncreaseRatio(double value)The parameter num_conflicts_before_strategy_changes is increased by that much after each strategy change.SatParameters.BuildersetSubsolverParams(int index, SatParameters value)It is possible to specify additional subsolver configuration.SatParameters.BuildersetSubsolverParams(int index, SatParameters.Builder builderForValue)It is possible to specify additional subsolver configuration.SatParameters.BuildersetSubsolvers(int index, java.lang.String value)In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters.SatParameters.BuildersetSubsumptionDuringConflictAnalysis(boolean value)At a really low cost, during the 1-UIP conflict computation, it is easy to detect if some of the involved reasons are subsumed by the current conflict.SatParameters.BuildersetSymmetryLevel(int value)Whether we try to automatically detect the symmetries in a model and exploit them.SatParameters.BuildersetTableCompressionLevel(int value)How much we try to "compress" a table constraint.SatParameters.BuildersetTestFeasibilityJump(boolean value)Disable every other type of subsolver, setting this turns CP-SAT into a pure local-search solver.SatParameters.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SatParameters.BuildersetUseAbslRandom(boolean value)optional bool use_absl_random = 180 [default = false];SatParameters.BuildersetUseBlockingRestart(boolean value)Block a moving restart algorithm if the trail size of the current conflict is greater than the multiplier times the moving average of the trail size at the previous conflicts.SatParameters.BuildersetUseBranchingInLp(boolean value)If true, the solver attemts to generate more info inside lp propagator by branching on some variables if certain criteria are met during the search tree exploration.SatParameters.BuildersetUseCombinedNoOverlap(boolean value)This can be beneficial if there is a lot of no-overlap constraints but a relatively low number of different intervals in the problem.SatParameters.BuildersetUseDisjunctiveConstraintInCumulative(boolean value)When this is true, the cumulative constraint is reinforced with propagators from the disjunctive constraint to improve the inference on a set of tasks that are disjunctive at the root of the problem.SatParameters.BuildersetUseDualSchedulingHeuristics(boolean value)When set, it activates a few scheduling parameters to improve the lower bound of scheduling problems.SatParameters.BuildersetUseDynamicPrecedenceInCumulative(boolean value)optional bool use_dynamic_precedence_in_cumulative = 268 [default = false];SatParameters.BuildersetUseDynamicPrecedenceInDisjunctive(boolean value)Whether we try to branch on decision "interval A before interval B" rather than on intervals bounds.SatParameters.BuildersetUseEnergeticReasoningInNoOverlap2D(boolean value)When this is true, the no_overlap_2d constraint is reinforced with energetic reasoning.SatParameters.BuildersetUseErwaHeuristic(boolean value)Whether we use the ERWA (Exponential Recency Weighted Average) heuristic as described in "Learning Rate Based Branching Heuristic for SAT solvers", J.H.Liang, V.SatParameters.BuildersetUseExactLpReason(boolean value)The solver usually exploit the LP relaxation of a model.SatParameters.BuildersetUseFeasibilityJump(boolean value)Parameters for an heuristic similar to the one described in the paper: "Feasibility Jump: an LP-free Lagrangian MIP heuristic", Bjørnar Luteberget, Giorgio Sartor, 2023, Mathematical Programming Computation.SatParameters.BuildersetUseFeasibilityPump(boolean value)Adds a feasibility pump subsolver along with lns subsolvers.SatParameters.BuildersetUseHardPrecedencesInCumulative(boolean value)If true, detect and create constraint for integer variable that are "after" a set of intervals in the same cumulative constraint.SatParameters.BuildersetUseImpliedBounds(boolean value)Stores and exploits "implied-bounds" in the solver.SatParameters.BuildersetUseLbRelaxLns(boolean value)Turns on neighborhood generator based on local branching LP.SatParameters.BuildersetUseLnsOnly(boolean value)LNS parameters.SatParameters.BuildersetUseObjectiveLbSearch(boolean value)If true, search will search in ascending max objective value (when minimizing) starting from the lower bound of the objective.SatParameters.BuildersetUseObjectiveShavingSearch(boolean value)This search differs from the previous search as it will not use assumptions to bound the objective, and it will recreate a full model with the hardcoded objective value.SatParameters.BuildersetUseOptimizationHints(boolean value)For an optimization problem, whether we follow some hints in order to find a better first solution.SatParameters.BuildersetUseOptionalVariables(boolean value)If true, we automatically detect variables whose constraint are always enforced by the same literal and we mark them as optional.SatParameters.BuildersetUseOverloadCheckerInCumulative(boolean value)When this is true, the cumulative constraint is reinforced with overload checking, i.e., an additional level of reasoning based on energy.SatParameters.BuildersetUsePairwiseReasoningInNoOverlap2D(boolean value)Performs an extra step of propagation in the no_overlap_2d constraint by looking at all pairs of intervals.SatParameters.BuildersetUsePbResolution(boolean value)Whether to use pseudo-Boolean resolution to analyze a conflict.SatParameters.BuildersetUsePhaseSaving(boolean value)If this is true, then the polarity of a variable will be the last value it was assigned to, or its default polarity if it was never assigned since the call to ResetDecisionHeuristic().SatParameters.BuildersetUsePrecedencesInDisjunctiveConstraint(boolean value)When this is true, then a disjunctive constraint will try to use the precedence relations between time intervals to propagate their bounds further.SatParameters.BuildersetUseProbingSearch(boolean value)If true, search will continuously probe Boolean variables, and integer variable bounds.SatParameters.BuildersetUseRinsLns(boolean value)Turns on relaxation induced neighborhood generator.SatParameters.BuildersetUseSatInprocessing(boolean value)optional bool use_sat_inprocessing = 163 [default = false];SatParameters.BuildersetUseSharedTreeSearch(boolean value)Set on shared subtree workers.SatParameters.BuildersetUseShavingInProbingSearch(boolean value)Add a shaving phase (where the solver tries to prove that the lower or upper bound of a variable are infeasible) to the probing search.SatParameters.BuildersetUseStrongPropagationInDisjunctive(boolean value)Enable stronger and more expensive propagation on no_overlap constraint.SatParameters.BuildersetUseTimetableEdgeFindingInCumulative(boolean value)When this is true, the cumulative constraint is reinforced with timetable edge finding, i.e., an additional level of reasoning based on the conjunction of energy and mandatory parts.SatParameters.BuildersetUseTimetablingInNoOverlap2D(boolean value)When this is true, the no_overlap_2d constraint is reinforced with propagators from the cumulative constraints.SatParameters.BuildersetVariableActivityDecay(double value)Each time a conflict is found, the activities of some variables are increased by one.SatParameters.BuildersetViolationLsCompoundMoveProbability(double value)Probability of using compound move search each restart.SatParameters.BuildersetViolationLsPerturbationPeriod(int value)How long violation_ls should wait before perturbating a solution.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SatParameters.Builder>
-
clear
public SatParameters.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SatParameters.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SatParameters.Builder>
-
getDefaultInstanceForType
public SatParameters getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SatParameters build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SatParameters buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SatParameters.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SatParameters.Builder>
-
setField
public SatParameters.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SatParameters.Builder>
-
clearField
public SatParameters.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SatParameters.Builder>
-
clearOneof
public SatParameters.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SatParameters.Builder>
-
setRepeatedField
public SatParameters.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SatParameters.Builder>
-
addRepeatedField
public SatParameters.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SatParameters.Builder>
-
mergeFrom
public SatParameters.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SatParameters.Builder>
-
mergeFrom
public SatParameters.Builder mergeFrom(SatParameters other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SatParameters.Builder>
-
mergeFrom
public SatParameters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SatParameters.Builder>- Throws:
java.io.IOException
-
hasName
public boolean hasName()
In some context, like in a portfolio of search, it makes sense to name a given parameters set for logging purpose.
optional string name = 171 [default = ""];- Specified by:
hasNamein interfaceSatParametersOrBuilder- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
In some context, like in a portfolio of search, it makes sense to name a given parameters set for logging purpose.
optional string name = 171 [default = ""];- Specified by:
getNamein interfaceSatParametersOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
In some context, like in a portfolio of search, it makes sense to name a given parameters set for logging purpose.
optional string name = 171 [default = ""];- Specified by:
getNameBytesin interfaceSatParametersOrBuilder- Returns:
- The bytes for name.
-
setName
public SatParameters.Builder setName(java.lang.String value)
In some context, like in a portfolio of search, it makes sense to name a given parameters set for logging purpose.
optional string name = 171 [default = ""];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public SatParameters.Builder clearName()
In some context, like in a portfolio of search, it makes sense to name a given parameters set for logging purpose.
optional string name = 171 [default = ""];- Returns:
- This builder for chaining.
-
setNameBytes
public SatParameters.Builder setNameBytes(com.google.protobuf.ByteString value)
In some context, like in a portfolio of search, it makes sense to name a given parameters set for logging purpose.
optional string name = 171 [default = ""];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasPreferredVariableOrder
public boolean hasPreferredVariableOrder()
optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];- Specified by:
hasPreferredVariableOrderin interfaceSatParametersOrBuilder- Returns:
- Whether the preferredVariableOrder field is set.
-
getPreferredVariableOrder
public SatParameters.VariableOrder getPreferredVariableOrder()
optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];- Specified by:
getPreferredVariableOrderin interfaceSatParametersOrBuilder- Returns:
- The preferredVariableOrder.
-
setPreferredVariableOrder
public SatParameters.Builder setPreferredVariableOrder(SatParameters.VariableOrder value)
optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];- Parameters:
value- The preferredVariableOrder to set.- Returns:
- This builder for chaining.
-
clearPreferredVariableOrder
public SatParameters.Builder clearPreferredVariableOrder()
optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];- Returns:
- This builder for chaining.
-
hasInitialPolarity
public boolean hasInitialPolarity()
optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];- Specified by:
hasInitialPolarityin interfaceSatParametersOrBuilder- Returns:
- Whether the initialPolarity field is set.
-
getInitialPolarity
public SatParameters.Polarity getInitialPolarity()
optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];- Specified by:
getInitialPolarityin interfaceSatParametersOrBuilder- Returns:
- The initialPolarity.
-
setInitialPolarity
public SatParameters.Builder setInitialPolarity(SatParameters.Polarity value)
optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];- Parameters:
value- The initialPolarity to set.- Returns:
- This builder for chaining.
-
clearInitialPolarity
public SatParameters.Builder clearInitialPolarity()
optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];- Returns:
- This builder for chaining.
-
hasUsePhaseSaving
public boolean hasUsePhaseSaving()
If this is true, then the polarity of a variable will be the last value it was assigned to, or its default polarity if it was never assigned since the call to ResetDecisionHeuristic(). Actually, we use a newer version where we follow the last value in the longest non-conflicting partial assignment in the current phase. This is called 'literal phase saving'. For details see 'A Lightweight Component Caching Scheme for Satisfiability Solvers' K. Pipatsrisawat and A.Darwiche, In 10th International Conference on Theory and Applications of Satisfiability Testing, 2007.
optional bool use_phase_saving = 44 [default = true];- Specified by:
hasUsePhaseSavingin interfaceSatParametersOrBuilder- Returns:
- Whether the usePhaseSaving field is set.
-
getUsePhaseSaving
public boolean getUsePhaseSaving()
If this is true, then the polarity of a variable will be the last value it was assigned to, or its default polarity if it was never assigned since the call to ResetDecisionHeuristic(). Actually, we use a newer version where we follow the last value in the longest non-conflicting partial assignment in the current phase. This is called 'literal phase saving'. For details see 'A Lightweight Component Caching Scheme for Satisfiability Solvers' K. Pipatsrisawat and A.Darwiche, In 10th International Conference on Theory and Applications of Satisfiability Testing, 2007.
optional bool use_phase_saving = 44 [default = true];- Specified by:
getUsePhaseSavingin interfaceSatParametersOrBuilder- Returns:
- The usePhaseSaving.
-
setUsePhaseSaving
public SatParameters.Builder setUsePhaseSaving(boolean value)
If this is true, then the polarity of a variable will be the last value it was assigned to, or its default polarity if it was never assigned since the call to ResetDecisionHeuristic(). Actually, we use a newer version where we follow the last value in the longest non-conflicting partial assignment in the current phase. This is called 'literal phase saving'. For details see 'A Lightweight Component Caching Scheme for Satisfiability Solvers' K. Pipatsrisawat and A.Darwiche, In 10th International Conference on Theory and Applications of Satisfiability Testing, 2007.
optional bool use_phase_saving = 44 [default = true];- Parameters:
value- The usePhaseSaving to set.- Returns:
- This builder for chaining.
-
clearUsePhaseSaving
public SatParameters.Builder clearUsePhaseSaving()
If this is true, then the polarity of a variable will be the last value it was assigned to, or its default polarity if it was never assigned since the call to ResetDecisionHeuristic(). Actually, we use a newer version where we follow the last value in the longest non-conflicting partial assignment in the current phase. This is called 'literal phase saving'. For details see 'A Lightweight Component Caching Scheme for Satisfiability Solvers' K. Pipatsrisawat and A.Darwiche, In 10th International Conference on Theory and Applications of Satisfiability Testing, 2007.
optional bool use_phase_saving = 44 [default = true];- Returns:
- This builder for chaining.
-
hasPolarityRephaseIncrement
public boolean hasPolarityRephaseIncrement()
If non-zero, then we change the polarity heuristic after that many number of conflicts in an arithmetically increasing fashion. So x the first time, 2 * x the second time, etc...
optional int32 polarity_rephase_increment = 168 [default = 1000];- Specified by:
hasPolarityRephaseIncrementin interfaceSatParametersOrBuilder- Returns:
- Whether the polarityRephaseIncrement field is set.
-
getPolarityRephaseIncrement
public int getPolarityRephaseIncrement()
If non-zero, then we change the polarity heuristic after that many number of conflicts in an arithmetically increasing fashion. So x the first time, 2 * x the second time, etc...
optional int32 polarity_rephase_increment = 168 [default = 1000];- Specified by:
getPolarityRephaseIncrementin interfaceSatParametersOrBuilder- Returns:
- The polarityRephaseIncrement.
-
setPolarityRephaseIncrement
public SatParameters.Builder setPolarityRephaseIncrement(int value)
If non-zero, then we change the polarity heuristic after that many number of conflicts in an arithmetically increasing fashion. So x the first time, 2 * x the second time, etc...
optional int32 polarity_rephase_increment = 168 [default = 1000];- Parameters:
value- The polarityRephaseIncrement to set.- Returns:
- This builder for chaining.
-
clearPolarityRephaseIncrement
public SatParameters.Builder clearPolarityRephaseIncrement()
If non-zero, then we change the polarity heuristic after that many number of conflicts in an arithmetically increasing fashion. So x the first time, 2 * x the second time, etc...
optional int32 polarity_rephase_increment = 168 [default = 1000];- Returns:
- This builder for chaining.
-
hasRandomPolarityRatio
public boolean hasRandomPolarityRatio()
The proportion of polarity chosen at random. Note that this take precedence over the phase saving heuristic. This is different from initial_polarity:POLARITY_RANDOM because it will select a new random polarity each time the variable is branched upon instead of selecting one initially and then always taking this choice.
optional double random_polarity_ratio = 45 [default = 0];- Specified by:
hasRandomPolarityRatioin interfaceSatParametersOrBuilder- Returns:
- Whether the randomPolarityRatio field is set.
-
getRandomPolarityRatio
public double getRandomPolarityRatio()
The proportion of polarity chosen at random. Note that this take precedence over the phase saving heuristic. This is different from initial_polarity:POLARITY_RANDOM because it will select a new random polarity each time the variable is branched upon instead of selecting one initially and then always taking this choice.
optional double random_polarity_ratio = 45 [default = 0];- Specified by:
getRandomPolarityRatioin interfaceSatParametersOrBuilder- Returns:
- The randomPolarityRatio.
-
setRandomPolarityRatio
public SatParameters.Builder setRandomPolarityRatio(double value)
The proportion of polarity chosen at random. Note that this take precedence over the phase saving heuristic. This is different from initial_polarity:POLARITY_RANDOM because it will select a new random polarity each time the variable is branched upon instead of selecting one initially and then always taking this choice.
optional double random_polarity_ratio = 45 [default = 0];- Parameters:
value- The randomPolarityRatio to set.- Returns:
- This builder for chaining.
-
clearRandomPolarityRatio
public SatParameters.Builder clearRandomPolarityRatio()
The proportion of polarity chosen at random. Note that this take precedence over the phase saving heuristic. This is different from initial_polarity:POLARITY_RANDOM because it will select a new random polarity each time the variable is branched upon instead of selecting one initially and then always taking this choice.
optional double random_polarity_ratio = 45 [default = 0];- Returns:
- This builder for chaining.
-
hasRandomBranchesRatio
public boolean hasRandomBranchesRatio()
A number between 0 and 1 that indicates the proportion of branching variables that are selected randomly instead of choosing the first variable from the given variable_ordering strategy.
optional double random_branches_ratio = 32 [default = 0];- Specified by:
hasRandomBranchesRatioin interfaceSatParametersOrBuilder- Returns:
- Whether the randomBranchesRatio field is set.
-
getRandomBranchesRatio
public double getRandomBranchesRatio()
A number between 0 and 1 that indicates the proportion of branching variables that are selected randomly instead of choosing the first variable from the given variable_ordering strategy.
optional double random_branches_ratio = 32 [default = 0];- Specified by:
getRandomBranchesRatioin interfaceSatParametersOrBuilder- Returns:
- The randomBranchesRatio.
-
setRandomBranchesRatio
public SatParameters.Builder setRandomBranchesRatio(double value)
A number between 0 and 1 that indicates the proportion of branching variables that are selected randomly instead of choosing the first variable from the given variable_ordering strategy.
optional double random_branches_ratio = 32 [default = 0];- Parameters:
value- The randomBranchesRatio to set.- Returns:
- This builder for chaining.
-
clearRandomBranchesRatio
public SatParameters.Builder clearRandomBranchesRatio()
A number between 0 and 1 that indicates the proportion of branching variables that are selected randomly instead of choosing the first variable from the given variable_ordering strategy.
optional double random_branches_ratio = 32 [default = 0];- Returns:
- This builder for chaining.
-
hasUseErwaHeuristic
public boolean hasUseErwaHeuristic()
Whether we use the ERWA (Exponential Recency Weighted Average) heuristic as described in "Learning Rate Based Branching Heuristic for SAT solvers", J.H.Liang, V. Ganesh, P. Poupart, K.Czarnecki, SAT 2016.
optional bool use_erwa_heuristic = 75 [default = false];- Specified by:
hasUseErwaHeuristicin interfaceSatParametersOrBuilder- Returns:
- Whether the useErwaHeuristic field is set.
-
getUseErwaHeuristic
public boolean getUseErwaHeuristic()
Whether we use the ERWA (Exponential Recency Weighted Average) heuristic as described in "Learning Rate Based Branching Heuristic for SAT solvers", J.H.Liang, V. Ganesh, P. Poupart, K.Czarnecki, SAT 2016.
optional bool use_erwa_heuristic = 75 [default = false];- Specified by:
getUseErwaHeuristicin interfaceSatParametersOrBuilder- Returns:
- The useErwaHeuristic.
-
setUseErwaHeuristic
public SatParameters.Builder setUseErwaHeuristic(boolean value)
Whether we use the ERWA (Exponential Recency Weighted Average) heuristic as described in "Learning Rate Based Branching Heuristic for SAT solvers", J.H.Liang, V. Ganesh, P. Poupart, K.Czarnecki, SAT 2016.
optional bool use_erwa_heuristic = 75 [default = false];- Parameters:
value- The useErwaHeuristic to set.- Returns:
- This builder for chaining.
-
clearUseErwaHeuristic
public SatParameters.Builder clearUseErwaHeuristic()
Whether we use the ERWA (Exponential Recency Weighted Average) heuristic as described in "Learning Rate Based Branching Heuristic for SAT solvers", J.H.Liang, V. Ganesh, P. Poupart, K.Czarnecki, SAT 2016.
optional bool use_erwa_heuristic = 75 [default = false];- Returns:
- This builder for chaining.
-
hasInitialVariablesActivity
public boolean hasInitialVariablesActivity()
The initial value of the variables activity. A non-zero value only make sense when use_erwa_heuristic is true. Experiments with a value of 1e-2 together with the ERWA heuristic showed slighthly better result than simply using zero. The idea is that when the "learning rate" of a variable becomes lower than this value, then we prefer to branch on never explored before variables. This is not in the ERWA paper.
optional double initial_variables_activity = 76 [default = 0];- Specified by:
hasInitialVariablesActivityin interfaceSatParametersOrBuilder- Returns:
- Whether the initialVariablesActivity field is set.
-
getInitialVariablesActivity
public double getInitialVariablesActivity()
The initial value of the variables activity. A non-zero value only make sense when use_erwa_heuristic is true. Experiments with a value of 1e-2 together with the ERWA heuristic showed slighthly better result than simply using zero. The idea is that when the "learning rate" of a variable becomes lower than this value, then we prefer to branch on never explored before variables. This is not in the ERWA paper.
optional double initial_variables_activity = 76 [default = 0];- Specified by:
getInitialVariablesActivityin interfaceSatParametersOrBuilder- Returns:
- The initialVariablesActivity.
-
setInitialVariablesActivity
public SatParameters.Builder setInitialVariablesActivity(double value)
The initial value of the variables activity. A non-zero value only make sense when use_erwa_heuristic is true. Experiments with a value of 1e-2 together with the ERWA heuristic showed slighthly better result than simply using zero. The idea is that when the "learning rate" of a variable becomes lower than this value, then we prefer to branch on never explored before variables. This is not in the ERWA paper.
optional double initial_variables_activity = 76 [default = 0];- Parameters:
value- The initialVariablesActivity to set.- Returns:
- This builder for chaining.
-
clearInitialVariablesActivity
public SatParameters.Builder clearInitialVariablesActivity()
The initial value of the variables activity. A non-zero value only make sense when use_erwa_heuristic is true. Experiments with a value of 1e-2 together with the ERWA heuristic showed slighthly better result than simply using zero. The idea is that when the "learning rate" of a variable becomes lower than this value, then we prefer to branch on never explored before variables. This is not in the ERWA paper.
optional double initial_variables_activity = 76 [default = 0];- Returns:
- This builder for chaining.
-
hasAlsoBumpVariablesInConflictReasons
public boolean hasAlsoBumpVariablesInConflictReasons()
When this is true, then the variables that appear in any of the reason of the variables in a conflict have their activity bumped. This is addition to the variables in the conflict, and the one that were used during conflict resolution.
optional bool also_bump_variables_in_conflict_reasons = 77 [default = false];- Specified by:
hasAlsoBumpVariablesInConflictReasonsin interfaceSatParametersOrBuilder- Returns:
- Whether the alsoBumpVariablesInConflictReasons field is set.
-
getAlsoBumpVariablesInConflictReasons
public boolean getAlsoBumpVariablesInConflictReasons()
When this is true, then the variables that appear in any of the reason of the variables in a conflict have their activity bumped. This is addition to the variables in the conflict, and the one that were used during conflict resolution.
optional bool also_bump_variables_in_conflict_reasons = 77 [default = false];- Specified by:
getAlsoBumpVariablesInConflictReasonsin interfaceSatParametersOrBuilder- Returns:
- The alsoBumpVariablesInConflictReasons.
-
setAlsoBumpVariablesInConflictReasons
public SatParameters.Builder setAlsoBumpVariablesInConflictReasons(boolean value)
When this is true, then the variables that appear in any of the reason of the variables in a conflict have their activity bumped. This is addition to the variables in the conflict, and the one that were used during conflict resolution.
optional bool also_bump_variables_in_conflict_reasons = 77 [default = false];- Parameters:
value- The alsoBumpVariablesInConflictReasons to set.- Returns:
- This builder for chaining.
-
clearAlsoBumpVariablesInConflictReasons
public SatParameters.Builder clearAlsoBumpVariablesInConflictReasons()
When this is true, then the variables that appear in any of the reason of the variables in a conflict have their activity bumped. This is addition to the variables in the conflict, and the one that were used during conflict resolution.
optional bool also_bump_variables_in_conflict_reasons = 77 [default = false];- Returns:
- This builder for chaining.
-
hasMinimizationAlgorithm
public boolean hasMinimizationAlgorithm()
optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];- Specified by:
hasMinimizationAlgorithmin interfaceSatParametersOrBuilder- Returns:
- Whether the minimizationAlgorithm field is set.
-
getMinimizationAlgorithm
public SatParameters.ConflictMinimizationAlgorithm getMinimizationAlgorithm()
optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];- Specified by:
getMinimizationAlgorithmin interfaceSatParametersOrBuilder- Returns:
- The minimizationAlgorithm.
-
setMinimizationAlgorithm
public SatParameters.Builder setMinimizationAlgorithm(SatParameters.ConflictMinimizationAlgorithm value)
optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];- Parameters:
value- The minimizationAlgorithm to set.- Returns:
- This builder for chaining.
-
clearMinimizationAlgorithm
public SatParameters.Builder clearMinimizationAlgorithm()
optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];- Returns:
- This builder for chaining.
-
hasBinaryMinimizationAlgorithm
public boolean hasBinaryMinimizationAlgorithm()
optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];- Specified by:
hasBinaryMinimizationAlgorithmin interfaceSatParametersOrBuilder- Returns:
- Whether the binaryMinimizationAlgorithm field is set.
-
getBinaryMinimizationAlgorithm
public SatParameters.BinaryMinizationAlgorithm getBinaryMinimizationAlgorithm()
optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];- Specified by:
getBinaryMinimizationAlgorithmin interfaceSatParametersOrBuilder- Returns:
- The binaryMinimizationAlgorithm.
-
setBinaryMinimizationAlgorithm
public SatParameters.Builder setBinaryMinimizationAlgorithm(SatParameters.BinaryMinizationAlgorithm value)
optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];- Parameters:
value- The binaryMinimizationAlgorithm to set.- Returns:
- This builder for chaining.
-
clearBinaryMinimizationAlgorithm
public SatParameters.Builder clearBinaryMinimizationAlgorithm()
optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];- Returns:
- This builder for chaining.
-
hasSubsumptionDuringConflictAnalysis
public boolean hasSubsumptionDuringConflictAnalysis()
At a really low cost, during the 1-UIP conflict computation, it is easy to detect if some of the involved reasons are subsumed by the current conflict. When this is true, such clauses are detached and later removed from the problem.
optional bool subsumption_during_conflict_analysis = 56 [default = true];- Specified by:
hasSubsumptionDuringConflictAnalysisin interfaceSatParametersOrBuilder- Returns:
- Whether the subsumptionDuringConflictAnalysis field is set.
-
getSubsumptionDuringConflictAnalysis
public boolean getSubsumptionDuringConflictAnalysis()
At a really low cost, during the 1-UIP conflict computation, it is easy to detect if some of the involved reasons are subsumed by the current conflict. When this is true, such clauses are detached and later removed from the problem.
optional bool subsumption_during_conflict_analysis = 56 [default = true];- Specified by:
getSubsumptionDuringConflictAnalysisin interfaceSatParametersOrBuilder- Returns:
- The subsumptionDuringConflictAnalysis.
-
setSubsumptionDuringConflictAnalysis
public SatParameters.Builder setSubsumptionDuringConflictAnalysis(boolean value)
At a really low cost, during the 1-UIP conflict computation, it is easy to detect if some of the involved reasons are subsumed by the current conflict. When this is true, such clauses are detached and later removed from the problem.
optional bool subsumption_during_conflict_analysis = 56 [default = true];- Parameters:
value- The subsumptionDuringConflictAnalysis to set.- Returns:
- This builder for chaining.
-
clearSubsumptionDuringConflictAnalysis
public SatParameters.Builder clearSubsumptionDuringConflictAnalysis()
At a really low cost, during the 1-UIP conflict computation, it is easy to detect if some of the involved reasons are subsumed by the current conflict. When this is true, such clauses are detached and later removed from the problem.
optional bool subsumption_during_conflict_analysis = 56 [default = true];- Returns:
- This builder for chaining.
-
hasClauseCleanupPeriod
public boolean hasClauseCleanupPeriod()
Trigger a cleanup when this number of "deletable" clauses is learned.
optional int32 clause_cleanup_period = 11 [default = 10000];- Specified by:
hasClauseCleanupPeriodin interfaceSatParametersOrBuilder- Returns:
- Whether the clauseCleanupPeriod field is set.
-
getClauseCleanupPeriod
public int getClauseCleanupPeriod()
Trigger a cleanup when this number of "deletable" clauses is learned.
optional int32 clause_cleanup_period = 11 [default = 10000];- Specified by:
getClauseCleanupPeriodin interfaceSatParametersOrBuilder- Returns:
- The clauseCleanupPeriod.
-
setClauseCleanupPeriod
public SatParameters.Builder setClauseCleanupPeriod(int value)
Trigger a cleanup when this number of "deletable" clauses is learned.
optional int32 clause_cleanup_period = 11 [default = 10000];- Parameters:
value- The clauseCleanupPeriod to set.- Returns:
- This builder for chaining.
-
clearClauseCleanupPeriod
public SatParameters.Builder clearClauseCleanupPeriod()
Trigger a cleanup when this number of "deletable" clauses is learned.
optional int32 clause_cleanup_period = 11 [default = 10000];- Returns:
- This builder for chaining.
-
hasClauseCleanupTarget
public boolean hasClauseCleanupTarget()
During a cleanup, we will always keep that number of "deletable" clauses. Note that this doesn't include the "protected" clauses.
optional int32 clause_cleanup_target = 13 [default = 0];- Specified by:
hasClauseCleanupTargetin interfaceSatParametersOrBuilder- Returns:
- Whether the clauseCleanupTarget field is set.
-
getClauseCleanupTarget
public int getClauseCleanupTarget()
During a cleanup, we will always keep that number of "deletable" clauses. Note that this doesn't include the "protected" clauses.
optional int32 clause_cleanup_target = 13 [default = 0];- Specified by:
getClauseCleanupTargetin interfaceSatParametersOrBuilder- Returns:
- The clauseCleanupTarget.
-
setClauseCleanupTarget
public SatParameters.Builder setClauseCleanupTarget(int value)
During a cleanup, we will always keep that number of "deletable" clauses. Note that this doesn't include the "protected" clauses.
optional int32 clause_cleanup_target = 13 [default = 0];- Parameters:
value- The clauseCleanupTarget to set.- Returns:
- This builder for chaining.
-
clearClauseCleanupTarget
public SatParameters.Builder clearClauseCleanupTarget()
During a cleanup, we will always keep that number of "deletable" clauses. Note that this doesn't include the "protected" clauses.
optional int32 clause_cleanup_target = 13 [default = 0];- Returns:
- This builder for chaining.
-
hasClauseCleanupRatio
public boolean hasClauseCleanupRatio()
During a cleanup, if clause_cleanup_target is 0, we will delete the clause_cleanup_ratio of "deletable" clauses instead of aiming for a fixed target of clauses to keep.
optional double clause_cleanup_ratio = 190 [default = 0.5];- Specified by:
hasClauseCleanupRatioin interfaceSatParametersOrBuilder- Returns:
- Whether the clauseCleanupRatio field is set.
-
getClauseCleanupRatio
public double getClauseCleanupRatio()
During a cleanup, if clause_cleanup_target is 0, we will delete the clause_cleanup_ratio of "deletable" clauses instead of aiming for a fixed target of clauses to keep.
optional double clause_cleanup_ratio = 190 [default = 0.5];- Specified by:
getClauseCleanupRatioin interfaceSatParametersOrBuilder- Returns:
- The clauseCleanupRatio.
-
setClauseCleanupRatio
public SatParameters.Builder setClauseCleanupRatio(double value)
During a cleanup, if clause_cleanup_target is 0, we will delete the clause_cleanup_ratio of "deletable" clauses instead of aiming for a fixed target of clauses to keep.
optional double clause_cleanup_ratio = 190 [default = 0.5];- Parameters:
value- The clauseCleanupRatio to set.- Returns:
- This builder for chaining.
-
clearClauseCleanupRatio
public SatParameters.Builder clearClauseCleanupRatio()
During a cleanup, if clause_cleanup_target is 0, we will delete the clause_cleanup_ratio of "deletable" clauses instead of aiming for a fixed target of clauses to keep.
optional double clause_cleanup_ratio = 190 [default = 0.5];- Returns:
- This builder for chaining.
-
hasClauseCleanupProtection
public boolean hasClauseCleanupProtection()
optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];- Specified by:
hasClauseCleanupProtectionin interfaceSatParametersOrBuilder- Returns:
- Whether the clauseCleanupProtection field is set.
-
getClauseCleanupProtection
public SatParameters.ClauseProtection getClauseCleanupProtection()
optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];- Specified by:
getClauseCleanupProtectionin interfaceSatParametersOrBuilder- Returns:
- The clauseCleanupProtection.
-
setClauseCleanupProtection
public SatParameters.Builder setClauseCleanupProtection(SatParameters.ClauseProtection value)
optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];- Parameters:
value- The clauseCleanupProtection to set.- Returns:
- This builder for chaining.
-
clearClauseCleanupProtection
public SatParameters.Builder clearClauseCleanupProtection()
optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];- Returns:
- This builder for chaining.
-
hasClauseCleanupLbdBound
public boolean hasClauseCleanupLbdBound()
All the clauses with a LBD (literal blocks distance) lower or equal to this parameters will always be kept.
optional int32 clause_cleanup_lbd_bound = 59 [default = 5];- Specified by:
hasClauseCleanupLbdBoundin interfaceSatParametersOrBuilder- Returns:
- Whether the clauseCleanupLbdBound field is set.
-
getClauseCleanupLbdBound
public int getClauseCleanupLbdBound()
All the clauses with a LBD (literal blocks distance) lower or equal to this parameters will always be kept.
optional int32 clause_cleanup_lbd_bound = 59 [default = 5];- Specified by:
getClauseCleanupLbdBoundin interfaceSatParametersOrBuilder- Returns:
- The clauseCleanupLbdBound.
-
setClauseCleanupLbdBound
public SatParameters.Builder setClauseCleanupLbdBound(int value)
All the clauses with a LBD (literal blocks distance) lower or equal to this parameters will always be kept.
optional int32 clause_cleanup_lbd_bound = 59 [default = 5];- Parameters:
value- The clauseCleanupLbdBound to set.- Returns:
- This builder for chaining.
-
clearClauseCleanupLbdBound
public SatParameters.Builder clearClauseCleanupLbdBound()
All the clauses with a LBD (literal blocks distance) lower or equal to this parameters will always be kept.
optional int32 clause_cleanup_lbd_bound = 59 [default = 5];- Returns:
- This builder for chaining.
-
hasClauseCleanupOrdering
public boolean hasClauseCleanupOrdering()
optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];- Specified by:
hasClauseCleanupOrderingin interfaceSatParametersOrBuilder- Returns:
- Whether the clauseCleanupOrdering field is set.
-
getClauseCleanupOrdering
public SatParameters.ClauseOrdering getClauseCleanupOrdering()
optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];- Specified by:
getClauseCleanupOrderingin interfaceSatParametersOrBuilder- Returns:
- The clauseCleanupOrdering.
-
setClauseCleanupOrdering
public SatParameters.Builder setClauseCleanupOrdering(SatParameters.ClauseOrdering value)
optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];- Parameters:
value- The clauseCleanupOrdering to set.- Returns:
- This builder for chaining.
-
clearClauseCleanupOrdering
public SatParameters.Builder clearClauseCleanupOrdering()
optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];- Returns:
- This builder for chaining.
-
hasPbCleanupIncrement
public boolean hasPbCleanupIncrement()
Same as for the clauses, but for the learned pseudo-Boolean constraints.
optional int32 pb_cleanup_increment = 46 [default = 200];- Specified by:
hasPbCleanupIncrementin interfaceSatParametersOrBuilder- Returns:
- Whether the pbCleanupIncrement field is set.
-
getPbCleanupIncrement
public int getPbCleanupIncrement()
Same as for the clauses, but for the learned pseudo-Boolean constraints.
optional int32 pb_cleanup_increment = 46 [default = 200];- Specified by:
getPbCleanupIncrementin interfaceSatParametersOrBuilder- Returns:
- The pbCleanupIncrement.
-
setPbCleanupIncrement
public SatParameters.Builder setPbCleanupIncrement(int value)
Same as for the clauses, but for the learned pseudo-Boolean constraints.
optional int32 pb_cleanup_increment = 46 [default = 200];- Parameters:
value- The pbCleanupIncrement to set.- Returns:
- This builder for chaining.
-
clearPbCleanupIncrement
public SatParameters.Builder clearPbCleanupIncrement()
Same as for the clauses, but for the learned pseudo-Boolean constraints.
optional int32 pb_cleanup_increment = 46 [default = 200];- Returns:
- This builder for chaining.
-
hasPbCleanupRatio
public boolean hasPbCleanupRatio()
optional double pb_cleanup_ratio = 47 [default = 0.5];- Specified by:
hasPbCleanupRatioin interfaceSatParametersOrBuilder- Returns:
- Whether the pbCleanupRatio field is set.
-
getPbCleanupRatio
public double getPbCleanupRatio()
optional double pb_cleanup_ratio = 47 [default = 0.5];- Specified by:
getPbCleanupRatioin interfaceSatParametersOrBuilder- Returns:
- The pbCleanupRatio.
-
setPbCleanupRatio
public SatParameters.Builder setPbCleanupRatio(double value)
optional double pb_cleanup_ratio = 47 [default = 0.5];- Parameters:
value- The pbCleanupRatio to set.- Returns:
- This builder for chaining.
-
clearPbCleanupRatio
public SatParameters.Builder clearPbCleanupRatio()
optional double pb_cleanup_ratio = 47 [default = 0.5];- Returns:
- This builder for chaining.
-
hasMinimizeWithPropagationRestartPeriod
public boolean hasMinimizeWithPropagationRestartPeriod()
Parameters for an heuristic similar to the one described in "An effective learnt clause minimization approach for CDCL Sat Solvers", https://www.ijcai.org/proceedings/2017/0098.pdf For now, we have a somewhat simpler implementation where every x restart we spend y decisions on clause minimization. The minimization technique is the same as the one used to minimize core in max-sat. We also minimize problem clauses and not just the learned clause that we keep forever like in the paper. Changing these parameters or the kind of clause we minimize seems to have a big impact on the overall perf on our benchmarks. So this technique seems definitely useful, but it is hard to tune properly.
optional int32 minimize_with_propagation_restart_period = 96 [default = 10];- Specified by:
hasMinimizeWithPropagationRestartPeriodin interfaceSatParametersOrBuilder- Returns:
- Whether the minimizeWithPropagationRestartPeriod field is set.
-
getMinimizeWithPropagationRestartPeriod
public int getMinimizeWithPropagationRestartPeriod()
Parameters for an heuristic similar to the one described in "An effective learnt clause minimization approach for CDCL Sat Solvers", https://www.ijcai.org/proceedings/2017/0098.pdf For now, we have a somewhat simpler implementation where every x restart we spend y decisions on clause minimization. The minimization technique is the same as the one used to minimize core in max-sat. We also minimize problem clauses and not just the learned clause that we keep forever like in the paper. Changing these parameters or the kind of clause we minimize seems to have a big impact on the overall perf on our benchmarks. So this technique seems definitely useful, but it is hard to tune properly.
optional int32 minimize_with_propagation_restart_period = 96 [default = 10];- Specified by:
getMinimizeWithPropagationRestartPeriodin interfaceSatParametersOrBuilder- Returns:
- The minimizeWithPropagationRestartPeriod.
-
setMinimizeWithPropagationRestartPeriod
public SatParameters.Builder setMinimizeWithPropagationRestartPeriod(int value)
Parameters for an heuristic similar to the one described in "An effective learnt clause minimization approach for CDCL Sat Solvers", https://www.ijcai.org/proceedings/2017/0098.pdf For now, we have a somewhat simpler implementation where every x restart we spend y decisions on clause minimization. The minimization technique is the same as the one used to minimize core in max-sat. We also minimize problem clauses and not just the learned clause that we keep forever like in the paper. Changing these parameters or the kind of clause we minimize seems to have a big impact on the overall perf on our benchmarks. So this technique seems definitely useful, but it is hard to tune properly.
optional int32 minimize_with_propagation_restart_period = 96 [default = 10];- Parameters:
value- The minimizeWithPropagationRestartPeriod to set.- Returns:
- This builder for chaining.
-
clearMinimizeWithPropagationRestartPeriod
public SatParameters.Builder clearMinimizeWithPropagationRestartPeriod()
Parameters for an heuristic similar to the one described in "An effective learnt clause minimization approach for CDCL Sat Solvers", https://www.ijcai.org/proceedings/2017/0098.pdf For now, we have a somewhat simpler implementation where every x restart we spend y decisions on clause minimization. The minimization technique is the same as the one used to minimize core in max-sat. We also minimize problem clauses and not just the learned clause that we keep forever like in the paper. Changing these parameters or the kind of clause we minimize seems to have a big impact on the overall perf on our benchmarks. So this technique seems definitely useful, but it is hard to tune properly.
optional int32 minimize_with_propagation_restart_period = 96 [default = 10];- Returns:
- This builder for chaining.
-
hasMinimizeWithPropagationNumDecisions
public boolean hasMinimizeWithPropagationNumDecisions()
optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];- Specified by:
hasMinimizeWithPropagationNumDecisionsin interfaceSatParametersOrBuilder- Returns:
- Whether the minimizeWithPropagationNumDecisions field is set.
-
getMinimizeWithPropagationNumDecisions
public int getMinimizeWithPropagationNumDecisions()
optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];- Specified by:
getMinimizeWithPropagationNumDecisionsin interfaceSatParametersOrBuilder- Returns:
- The minimizeWithPropagationNumDecisions.
-
setMinimizeWithPropagationNumDecisions
public SatParameters.Builder setMinimizeWithPropagationNumDecisions(int value)
optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];- Parameters:
value- The minimizeWithPropagationNumDecisions to set.- Returns:
- This builder for chaining.
-
clearMinimizeWithPropagationNumDecisions
public SatParameters.Builder clearMinimizeWithPropagationNumDecisions()
optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];- Returns:
- This builder for chaining.
-
hasVariableActivityDecay
public boolean hasVariableActivityDecay()
Each time a conflict is found, the activities of some variables are increased by one. Then, the activity of all variables are multiplied by variable_activity_decay. To implement this efficiently, the activity of all the variables is not decayed at each conflict. Instead, the activity increment is multiplied by 1 / decay. When an activity reach max_variable_activity_value, all the activity are multiplied by 1 / max_variable_activity_value.
optional double variable_activity_decay = 15 [default = 0.8];- Specified by:
hasVariableActivityDecayin interfaceSatParametersOrBuilder- Returns:
- Whether the variableActivityDecay field is set.
-
getVariableActivityDecay
public double getVariableActivityDecay()
Each time a conflict is found, the activities of some variables are increased by one. Then, the activity of all variables are multiplied by variable_activity_decay. To implement this efficiently, the activity of all the variables is not decayed at each conflict. Instead, the activity increment is multiplied by 1 / decay. When an activity reach max_variable_activity_value, all the activity are multiplied by 1 / max_variable_activity_value.
optional double variable_activity_decay = 15 [default = 0.8];- Specified by:
getVariableActivityDecayin interfaceSatParametersOrBuilder- Returns:
- The variableActivityDecay.
-
setVariableActivityDecay
public SatParameters.Builder setVariableActivityDecay(double value)
Each time a conflict is found, the activities of some variables are increased by one. Then, the activity of all variables are multiplied by variable_activity_decay. To implement this efficiently, the activity of all the variables is not decayed at each conflict. Instead, the activity increment is multiplied by 1 / decay. When an activity reach max_variable_activity_value, all the activity are multiplied by 1 / max_variable_activity_value.
optional double variable_activity_decay = 15 [default = 0.8];- Parameters:
value- The variableActivityDecay to set.- Returns:
- This builder for chaining.
-
clearVariableActivityDecay
public SatParameters.Builder clearVariableActivityDecay()
Each time a conflict is found, the activities of some variables are increased by one. Then, the activity of all variables are multiplied by variable_activity_decay. To implement this efficiently, the activity of all the variables is not decayed at each conflict. Instead, the activity increment is multiplied by 1 / decay. When an activity reach max_variable_activity_value, all the activity are multiplied by 1 / max_variable_activity_value.
optional double variable_activity_decay = 15 [default = 0.8];- Returns:
- This builder for chaining.
-
hasMaxVariableActivityValue
public boolean hasMaxVariableActivityValue()
optional double max_variable_activity_value = 16 [default = 1e+100];- Specified by:
hasMaxVariableActivityValuein interfaceSatParametersOrBuilder- Returns:
- Whether the maxVariableActivityValue field is set.
-
getMaxVariableActivityValue
public double getMaxVariableActivityValue()
optional double max_variable_activity_value = 16 [default = 1e+100];- Specified by:
getMaxVariableActivityValuein interfaceSatParametersOrBuilder- Returns:
- The maxVariableActivityValue.
-
setMaxVariableActivityValue
public SatParameters.Builder setMaxVariableActivityValue(double value)
optional double max_variable_activity_value = 16 [default = 1e+100];- Parameters:
value- The maxVariableActivityValue to set.- Returns:
- This builder for chaining.
-
clearMaxVariableActivityValue
public SatParameters.Builder clearMaxVariableActivityValue()
optional double max_variable_activity_value = 16 [default = 1e+100];- Returns:
- This builder for chaining.
-
hasGlucoseMaxDecay
public boolean hasGlucoseMaxDecay()
The activity starts at 0.8 and increment by 0.01 every 5000 conflicts until 0.95. This "hack" seems to work well and comes from: Glucose 2.3 in the SAT 2013 Competition - SAT Competition 2013 http://edacc4.informatik.uni-ulm.de/SC13/solver-description-download/136
optional double glucose_max_decay = 22 [default = 0.95];- Specified by:
hasGlucoseMaxDecayin interfaceSatParametersOrBuilder- Returns:
- Whether the glucoseMaxDecay field is set.
-
getGlucoseMaxDecay
public double getGlucoseMaxDecay()
The activity starts at 0.8 and increment by 0.01 every 5000 conflicts until 0.95. This "hack" seems to work well and comes from: Glucose 2.3 in the SAT 2013 Competition - SAT Competition 2013 http://edacc4.informatik.uni-ulm.de/SC13/solver-description-download/136
optional double glucose_max_decay = 22 [default = 0.95];- Specified by:
getGlucoseMaxDecayin interfaceSatParametersOrBuilder- Returns:
- The glucoseMaxDecay.
-
setGlucoseMaxDecay
public SatParameters.Builder setGlucoseMaxDecay(double value)
The activity starts at 0.8 and increment by 0.01 every 5000 conflicts until 0.95. This "hack" seems to work well and comes from: Glucose 2.3 in the SAT 2013 Competition - SAT Competition 2013 http://edacc4.informatik.uni-ulm.de/SC13/solver-description-download/136
optional double glucose_max_decay = 22 [default = 0.95];- Parameters:
value- The glucoseMaxDecay to set.- Returns:
- This builder for chaining.
-
clearGlucoseMaxDecay
public SatParameters.Builder clearGlucoseMaxDecay()
The activity starts at 0.8 and increment by 0.01 every 5000 conflicts until 0.95. This "hack" seems to work well and comes from: Glucose 2.3 in the SAT 2013 Competition - SAT Competition 2013 http://edacc4.informatik.uni-ulm.de/SC13/solver-description-download/136
optional double glucose_max_decay = 22 [default = 0.95];- Returns:
- This builder for chaining.
-
hasGlucoseDecayIncrement
public boolean hasGlucoseDecayIncrement()
optional double glucose_decay_increment = 23 [default = 0.01];- Specified by:
hasGlucoseDecayIncrementin interfaceSatParametersOrBuilder- Returns:
- Whether the glucoseDecayIncrement field is set.
-
getGlucoseDecayIncrement
public double getGlucoseDecayIncrement()
optional double glucose_decay_increment = 23 [default = 0.01];- Specified by:
getGlucoseDecayIncrementin interfaceSatParametersOrBuilder- Returns:
- The glucoseDecayIncrement.
-
setGlucoseDecayIncrement
public SatParameters.Builder setGlucoseDecayIncrement(double value)
optional double glucose_decay_increment = 23 [default = 0.01];- Parameters:
value- The glucoseDecayIncrement to set.- Returns:
- This builder for chaining.
-
clearGlucoseDecayIncrement
public SatParameters.Builder clearGlucoseDecayIncrement()
optional double glucose_decay_increment = 23 [default = 0.01];- Returns:
- This builder for chaining.
-
hasGlucoseDecayIncrementPeriod
public boolean hasGlucoseDecayIncrementPeriod()
optional int32 glucose_decay_increment_period = 24 [default = 5000];- Specified by:
hasGlucoseDecayIncrementPeriodin interfaceSatParametersOrBuilder- Returns:
- Whether the glucoseDecayIncrementPeriod field is set.
-
getGlucoseDecayIncrementPeriod
public int getGlucoseDecayIncrementPeriod()
optional int32 glucose_decay_increment_period = 24 [default = 5000];- Specified by:
getGlucoseDecayIncrementPeriodin interfaceSatParametersOrBuilder- Returns:
- The glucoseDecayIncrementPeriod.
-
setGlucoseDecayIncrementPeriod
public SatParameters.Builder setGlucoseDecayIncrementPeriod(int value)
optional int32 glucose_decay_increment_period = 24 [default = 5000];- Parameters:
value- The glucoseDecayIncrementPeriod to set.- Returns:
- This builder for chaining.
-
clearGlucoseDecayIncrementPeriod
public SatParameters.Builder clearGlucoseDecayIncrementPeriod()
optional int32 glucose_decay_increment_period = 24 [default = 5000];- Returns:
- This builder for chaining.
-
hasClauseActivityDecay
public boolean hasClauseActivityDecay()
Clause activity parameters (same effect as the one on the variables).
optional double clause_activity_decay = 17 [default = 0.999];- Specified by:
hasClauseActivityDecayin interfaceSatParametersOrBuilder- Returns:
- Whether the clauseActivityDecay field is set.
-
getClauseActivityDecay
public double getClauseActivityDecay()
Clause activity parameters (same effect as the one on the variables).
optional double clause_activity_decay = 17 [default = 0.999];- Specified by:
getClauseActivityDecayin interfaceSatParametersOrBuilder- Returns:
- The clauseActivityDecay.
-
setClauseActivityDecay
public SatParameters.Builder setClauseActivityDecay(double value)
Clause activity parameters (same effect as the one on the variables).
optional double clause_activity_decay = 17 [default = 0.999];- Parameters:
value- The clauseActivityDecay to set.- Returns:
- This builder for chaining.
-
clearClauseActivityDecay
public SatParameters.Builder clearClauseActivityDecay()
Clause activity parameters (same effect as the one on the variables).
optional double clause_activity_decay = 17 [default = 0.999];- Returns:
- This builder for chaining.
-
hasMaxClauseActivityValue
public boolean hasMaxClauseActivityValue()
optional double max_clause_activity_value = 18 [default = 1e+20];- Specified by:
hasMaxClauseActivityValuein interfaceSatParametersOrBuilder- Returns:
- Whether the maxClauseActivityValue field is set.
-
getMaxClauseActivityValue
public double getMaxClauseActivityValue()
optional double max_clause_activity_value = 18 [default = 1e+20];- Specified by:
getMaxClauseActivityValuein interfaceSatParametersOrBuilder- Returns:
- The maxClauseActivityValue.
-
setMaxClauseActivityValue
public SatParameters.Builder setMaxClauseActivityValue(double value)
optional double max_clause_activity_value = 18 [default = 1e+20];- Parameters:
value- The maxClauseActivityValue to set.- Returns:
- This builder for chaining.
-
clearMaxClauseActivityValue
public SatParameters.Builder clearMaxClauseActivityValue()
optional double max_clause_activity_value = 18 [default = 1e+20];- Returns:
- This builder for chaining.
-
getRestartAlgorithmsList
public java.util.List<SatParameters.RestartAlgorithm> getRestartAlgorithmsList()
The restart strategies will change each time the strategy_counter is increased. The current strategy will simply be the one at index strategy_counter modulo the number of strategy. Note that if this list includes a NO_RESTART, nothing will change when it is reached because the strategy_counter will only increment after a restart. The idea of switching of search strategy tailored for SAT/UNSAT comes from Chanseok Oh with his COMiniSatPS solver, see http://cs.nyu.edu/~chanseok/. But more generally, it seems REALLY beneficial to try different strategy.
repeated .operations_research.sat.SatParameters.RestartAlgorithm restart_algorithms = 61;- Specified by:
getRestartAlgorithmsListin interfaceSatParametersOrBuilder- Returns:
- A list containing the restartAlgorithms.
-
getRestartAlgorithmsCount
public int getRestartAlgorithmsCount()
The restart strategies will change each time the strategy_counter is increased. The current strategy will simply be the one at index strategy_counter modulo the number of strategy. Note that if this list includes a NO_RESTART, nothing will change when it is reached because the strategy_counter will only increment after a restart. The idea of switching of search strategy tailored for SAT/UNSAT comes from Chanseok Oh with his COMiniSatPS solver, see http://cs.nyu.edu/~chanseok/. But more generally, it seems REALLY beneficial to try different strategy.
repeated .operations_research.sat.SatParameters.RestartAlgorithm restart_algorithms = 61;- Specified by:
getRestartAlgorithmsCountin interfaceSatParametersOrBuilder- Returns:
- The count of restartAlgorithms.
-
getRestartAlgorithms
public SatParameters.RestartAlgorithm getRestartAlgorithms(int index)
The restart strategies will change each time the strategy_counter is increased. The current strategy will simply be the one at index strategy_counter modulo the number of strategy. Note that if this list includes a NO_RESTART, nothing will change when it is reached because the strategy_counter will only increment after a restart. The idea of switching of search strategy tailored for SAT/UNSAT comes from Chanseok Oh with his COMiniSatPS solver, see http://cs.nyu.edu/~chanseok/. But more generally, it seems REALLY beneficial to try different strategy.
repeated .operations_research.sat.SatParameters.RestartAlgorithm restart_algorithms = 61;- Specified by:
getRestartAlgorithmsin interfaceSatParametersOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The restartAlgorithms at the given index.
-
setRestartAlgorithms
public SatParameters.Builder setRestartAlgorithms(int index, SatParameters.RestartAlgorithm value)
The restart strategies will change each time the strategy_counter is increased. The current strategy will simply be the one at index strategy_counter modulo the number of strategy. Note that if this list includes a NO_RESTART, nothing will change when it is reached because the strategy_counter will only increment after a restart. The idea of switching of search strategy tailored for SAT/UNSAT comes from Chanseok Oh with his COMiniSatPS solver, see http://cs.nyu.edu/~chanseok/. But more generally, it seems REALLY beneficial to try different strategy.
repeated .operations_research.sat.SatParameters.RestartAlgorithm restart_algorithms = 61;- Parameters:
index- The index to set the value at.value- The restartAlgorithms to set.- Returns:
- This builder for chaining.
-
addRestartAlgorithms
public SatParameters.Builder addRestartAlgorithms(SatParameters.RestartAlgorithm value)
The restart strategies will change each time the strategy_counter is increased. The current strategy will simply be the one at index strategy_counter modulo the number of strategy. Note that if this list includes a NO_RESTART, nothing will change when it is reached because the strategy_counter will only increment after a restart. The idea of switching of search strategy tailored for SAT/UNSAT comes from Chanseok Oh with his COMiniSatPS solver, see http://cs.nyu.edu/~chanseok/. But more generally, it seems REALLY beneficial to try different strategy.
repeated .operations_research.sat.SatParameters.RestartAlgorithm restart_algorithms = 61;- Parameters:
value- The restartAlgorithms to add.- Returns:
- This builder for chaining.
-
addAllRestartAlgorithms
public SatParameters.Builder addAllRestartAlgorithms(java.lang.Iterable<? extends SatParameters.RestartAlgorithm> values)
The restart strategies will change each time the strategy_counter is increased. The current strategy will simply be the one at index strategy_counter modulo the number of strategy. Note that if this list includes a NO_RESTART, nothing will change when it is reached because the strategy_counter will only increment after a restart. The idea of switching of search strategy tailored for SAT/UNSAT comes from Chanseok Oh with his COMiniSatPS solver, see http://cs.nyu.edu/~chanseok/. But more generally, it seems REALLY beneficial to try different strategy.
repeated .operations_research.sat.SatParameters.RestartAlgorithm restart_algorithms = 61;- Parameters:
values- The restartAlgorithms to add.- Returns:
- This builder for chaining.
-
clearRestartAlgorithms
public SatParameters.Builder clearRestartAlgorithms()
The restart strategies will change each time the strategy_counter is increased. The current strategy will simply be the one at index strategy_counter modulo the number of strategy. Note that if this list includes a NO_RESTART, nothing will change when it is reached because the strategy_counter will only increment after a restart. The idea of switching of search strategy tailored for SAT/UNSAT comes from Chanseok Oh with his COMiniSatPS solver, see http://cs.nyu.edu/~chanseok/. But more generally, it seems REALLY beneficial to try different strategy.
repeated .operations_research.sat.SatParameters.RestartAlgorithm restart_algorithms = 61;- Returns:
- This builder for chaining.
-
hasDefaultRestartAlgorithms
public boolean hasDefaultRestartAlgorithms()
optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];- Specified by:
hasDefaultRestartAlgorithmsin interfaceSatParametersOrBuilder- Returns:
- Whether the defaultRestartAlgorithms field is set.
-
getDefaultRestartAlgorithms
public java.lang.String getDefaultRestartAlgorithms()
optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];- Specified by:
getDefaultRestartAlgorithmsin interfaceSatParametersOrBuilder- Returns:
- The defaultRestartAlgorithms.
-
getDefaultRestartAlgorithmsBytes
public com.google.protobuf.ByteString getDefaultRestartAlgorithmsBytes()
optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];- Specified by:
getDefaultRestartAlgorithmsBytesin interfaceSatParametersOrBuilder- Returns:
- The bytes for defaultRestartAlgorithms.
-
setDefaultRestartAlgorithms
public SatParameters.Builder setDefaultRestartAlgorithms(java.lang.String value)
optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];- Parameters:
value- The defaultRestartAlgorithms to set.- Returns:
- This builder for chaining.
-
clearDefaultRestartAlgorithms
public SatParameters.Builder clearDefaultRestartAlgorithms()
optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];- Returns:
- This builder for chaining.
-
setDefaultRestartAlgorithmsBytes
public SatParameters.Builder setDefaultRestartAlgorithmsBytes(com.google.protobuf.ByteString value)
optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];- Parameters:
value- The bytes for defaultRestartAlgorithms to set.- Returns:
- This builder for chaining.
-
hasRestartPeriod
public boolean hasRestartPeriod()
Restart period for the FIXED_RESTART strategy. This is also the multiplier used by the LUBY_RESTART strategy.
optional int32 restart_period = 30 [default = 50];- Specified by:
hasRestartPeriodin interfaceSatParametersOrBuilder- Returns:
- Whether the restartPeriod field is set.
-
getRestartPeriod
public int getRestartPeriod()
Restart period for the FIXED_RESTART strategy. This is also the multiplier used by the LUBY_RESTART strategy.
optional int32 restart_period = 30 [default = 50];- Specified by:
getRestartPeriodin interfaceSatParametersOrBuilder- Returns:
- The restartPeriod.
-
setRestartPeriod
public SatParameters.Builder setRestartPeriod(int value)
Restart period for the FIXED_RESTART strategy. This is also the multiplier used by the LUBY_RESTART strategy.
optional int32 restart_period = 30 [default = 50];- Parameters:
value- The restartPeriod to set.- Returns:
- This builder for chaining.
-
clearRestartPeriod
public SatParameters.Builder clearRestartPeriod()
Restart period for the FIXED_RESTART strategy. This is also the multiplier used by the LUBY_RESTART strategy.
optional int32 restart_period = 30 [default = 50];- Returns:
- This builder for chaining.
-
hasRestartRunningWindowSize
public boolean hasRestartRunningWindowSize()
Size of the window for the moving average restarts.
optional int32 restart_running_window_size = 62 [default = 50];- Specified by:
hasRestartRunningWindowSizein interfaceSatParametersOrBuilder- Returns:
- Whether the restartRunningWindowSize field is set.
-
getRestartRunningWindowSize
public int getRestartRunningWindowSize()
Size of the window for the moving average restarts.
optional int32 restart_running_window_size = 62 [default = 50];- Specified by:
getRestartRunningWindowSizein interfaceSatParametersOrBuilder- Returns:
- The restartRunningWindowSize.
-
setRestartRunningWindowSize
public SatParameters.Builder setRestartRunningWindowSize(int value)
Size of the window for the moving average restarts.
optional int32 restart_running_window_size = 62 [default = 50];- Parameters:
value- The restartRunningWindowSize to set.- Returns:
- This builder for chaining.
-
clearRestartRunningWindowSize
public SatParameters.Builder clearRestartRunningWindowSize()
Size of the window for the moving average restarts.
optional int32 restart_running_window_size = 62 [default = 50];- Returns:
- This builder for chaining.
-
hasRestartDlAverageRatio
public boolean hasRestartDlAverageRatio()
In the moving average restart algorithms, a restart is triggered if the window average times this ratio is greater that the global average.
optional double restart_dl_average_ratio = 63 [default = 1];- Specified by:
hasRestartDlAverageRatioin interfaceSatParametersOrBuilder- Returns:
- Whether the restartDlAverageRatio field is set.
-
getRestartDlAverageRatio
public double getRestartDlAverageRatio()
In the moving average restart algorithms, a restart is triggered if the window average times this ratio is greater that the global average.
optional double restart_dl_average_ratio = 63 [default = 1];- Specified by:
getRestartDlAverageRatioin interfaceSatParametersOrBuilder- Returns:
- The restartDlAverageRatio.
-
setRestartDlAverageRatio
public SatParameters.Builder setRestartDlAverageRatio(double value)
In the moving average restart algorithms, a restart is triggered if the window average times this ratio is greater that the global average.
optional double restart_dl_average_ratio = 63 [default = 1];- Parameters:
value- The restartDlAverageRatio to set.- Returns:
- This builder for chaining.
-
clearRestartDlAverageRatio
public SatParameters.Builder clearRestartDlAverageRatio()
In the moving average restart algorithms, a restart is triggered if the window average times this ratio is greater that the global average.
optional double restart_dl_average_ratio = 63 [default = 1];- Returns:
- This builder for chaining.
-
hasRestartLbdAverageRatio
public boolean hasRestartLbdAverageRatio()
optional double restart_lbd_average_ratio = 71 [default = 1];- Specified by:
hasRestartLbdAverageRatioin interfaceSatParametersOrBuilder- Returns:
- Whether the restartLbdAverageRatio field is set.
-
getRestartLbdAverageRatio
public double getRestartLbdAverageRatio()
optional double restart_lbd_average_ratio = 71 [default = 1];- Specified by:
getRestartLbdAverageRatioin interfaceSatParametersOrBuilder- Returns:
- The restartLbdAverageRatio.
-
setRestartLbdAverageRatio
public SatParameters.Builder setRestartLbdAverageRatio(double value)
optional double restart_lbd_average_ratio = 71 [default = 1];- Parameters:
value- The restartLbdAverageRatio to set.- Returns:
- This builder for chaining.
-
clearRestartLbdAverageRatio
public SatParameters.Builder clearRestartLbdAverageRatio()
optional double restart_lbd_average_ratio = 71 [default = 1];- Returns:
- This builder for chaining.
-
hasUseBlockingRestart
public boolean hasUseBlockingRestart()
Block a moving restart algorithm if the trail size of the current conflict is greater than the multiplier times the moving average of the trail size at the previous conflicts.
optional bool use_blocking_restart = 64 [default = false];- Specified by:
hasUseBlockingRestartin interfaceSatParametersOrBuilder- Returns:
- Whether the useBlockingRestart field is set.
-
getUseBlockingRestart
public boolean getUseBlockingRestart()
Block a moving restart algorithm if the trail size of the current conflict is greater than the multiplier times the moving average of the trail size at the previous conflicts.
optional bool use_blocking_restart = 64 [default = false];- Specified by:
getUseBlockingRestartin interfaceSatParametersOrBuilder- Returns:
- The useBlockingRestart.
-
setUseBlockingRestart
public SatParameters.Builder setUseBlockingRestart(boolean value)
Block a moving restart algorithm if the trail size of the current conflict is greater than the multiplier times the moving average of the trail size at the previous conflicts.
optional bool use_blocking_restart = 64 [default = false];- Parameters:
value- The useBlockingRestart to set.- Returns:
- This builder for chaining.
-
clearUseBlockingRestart
public SatParameters.Builder clearUseBlockingRestart()
Block a moving restart algorithm if the trail size of the current conflict is greater than the multiplier times the moving average of the trail size at the previous conflicts.
optional bool use_blocking_restart = 64 [default = false];- Returns:
- This builder for chaining.
-
hasBlockingRestartWindowSize
public boolean hasBlockingRestartWindowSize()
optional int32 blocking_restart_window_size = 65 [default = 5000];- Specified by:
hasBlockingRestartWindowSizein interfaceSatParametersOrBuilder- Returns:
- Whether the blockingRestartWindowSize field is set.
-
getBlockingRestartWindowSize
public int getBlockingRestartWindowSize()
optional int32 blocking_restart_window_size = 65 [default = 5000];- Specified by:
getBlockingRestartWindowSizein interfaceSatParametersOrBuilder- Returns:
- The blockingRestartWindowSize.
-
setBlockingRestartWindowSize
public SatParameters.Builder setBlockingRestartWindowSize(int value)
optional int32 blocking_restart_window_size = 65 [default = 5000];- Parameters:
value- The blockingRestartWindowSize to set.- Returns:
- This builder for chaining.
-
clearBlockingRestartWindowSize
public SatParameters.Builder clearBlockingRestartWindowSize()
optional int32 blocking_restart_window_size = 65 [default = 5000];- Returns:
- This builder for chaining.
-
hasBlockingRestartMultiplier
public boolean hasBlockingRestartMultiplier()
optional double blocking_restart_multiplier = 66 [default = 1.4];- Specified by:
hasBlockingRestartMultiplierin interfaceSatParametersOrBuilder- Returns:
- Whether the blockingRestartMultiplier field is set.
-
getBlockingRestartMultiplier
public double getBlockingRestartMultiplier()
optional double blocking_restart_multiplier = 66 [default = 1.4];- Specified by:
getBlockingRestartMultiplierin interfaceSatParametersOrBuilder- Returns:
- The blockingRestartMultiplier.
-
setBlockingRestartMultiplier
public SatParameters.Builder setBlockingRestartMultiplier(double value)
optional double blocking_restart_multiplier = 66 [default = 1.4];- Parameters:
value- The blockingRestartMultiplier to set.- Returns:
- This builder for chaining.
-
clearBlockingRestartMultiplier
public SatParameters.Builder clearBlockingRestartMultiplier()
optional double blocking_restart_multiplier = 66 [default = 1.4];- Returns:
- This builder for chaining.
-
hasNumConflictsBeforeStrategyChanges
public boolean hasNumConflictsBeforeStrategyChanges()
After each restart, if the number of conflict since the last strategy change is greater that this, then we increment a "strategy_counter" that can be use to change the search strategy used by the following restarts.
optional int32 num_conflicts_before_strategy_changes = 68 [default = 0];- Specified by:
hasNumConflictsBeforeStrategyChangesin interfaceSatParametersOrBuilder- Returns:
- Whether the numConflictsBeforeStrategyChanges field is set.
-
getNumConflictsBeforeStrategyChanges
public int getNumConflictsBeforeStrategyChanges()
After each restart, if the number of conflict since the last strategy change is greater that this, then we increment a "strategy_counter" that can be use to change the search strategy used by the following restarts.
optional int32 num_conflicts_before_strategy_changes = 68 [default = 0];- Specified by:
getNumConflictsBeforeStrategyChangesin interfaceSatParametersOrBuilder- Returns:
- The numConflictsBeforeStrategyChanges.
-
setNumConflictsBeforeStrategyChanges
public SatParameters.Builder setNumConflictsBeforeStrategyChanges(int value)
After each restart, if the number of conflict since the last strategy change is greater that this, then we increment a "strategy_counter" that can be use to change the search strategy used by the following restarts.
optional int32 num_conflicts_before_strategy_changes = 68 [default = 0];- Parameters:
value- The numConflictsBeforeStrategyChanges to set.- Returns:
- This builder for chaining.
-
clearNumConflictsBeforeStrategyChanges
public SatParameters.Builder clearNumConflictsBeforeStrategyChanges()
After each restart, if the number of conflict since the last strategy change is greater that this, then we increment a "strategy_counter" that can be use to change the search strategy used by the following restarts.
optional int32 num_conflicts_before_strategy_changes = 68 [default = 0];- Returns:
- This builder for chaining.
-
hasStrategyChangeIncreaseRatio
public boolean hasStrategyChangeIncreaseRatio()
The parameter num_conflicts_before_strategy_changes is increased by that much after each strategy change.
optional double strategy_change_increase_ratio = 69 [default = 0];- Specified by:
hasStrategyChangeIncreaseRatioin interfaceSatParametersOrBuilder- Returns:
- Whether the strategyChangeIncreaseRatio field is set.
-
getStrategyChangeIncreaseRatio
public double getStrategyChangeIncreaseRatio()
The parameter num_conflicts_before_strategy_changes is increased by that much after each strategy change.
optional double strategy_change_increase_ratio = 69 [default = 0];- Specified by:
getStrategyChangeIncreaseRatioin interfaceSatParametersOrBuilder- Returns:
- The strategyChangeIncreaseRatio.
-
setStrategyChangeIncreaseRatio
public SatParameters.Builder setStrategyChangeIncreaseRatio(double value)
The parameter num_conflicts_before_strategy_changes is increased by that much after each strategy change.
optional double strategy_change_increase_ratio = 69 [default = 0];- Parameters:
value- The strategyChangeIncreaseRatio to set.- Returns:
- This builder for chaining.
-
clearStrategyChangeIncreaseRatio
public SatParameters.Builder clearStrategyChangeIncreaseRatio()
The parameter num_conflicts_before_strategy_changes is increased by that much after each strategy change.
optional double strategy_change_increase_ratio = 69 [default = 0];- Returns:
- This builder for chaining.
-
hasMaxTimeInSeconds
public boolean hasMaxTimeInSeconds()
Maximum time allowed in seconds to solve a problem. The counter will starts at the beginning of the Solve() call.
optional double max_time_in_seconds = 36 [default = inf];- Specified by:
hasMaxTimeInSecondsin interfaceSatParametersOrBuilder- Returns:
- Whether the maxTimeInSeconds field is set.
-
getMaxTimeInSeconds
public double getMaxTimeInSeconds()
Maximum time allowed in seconds to solve a problem. The counter will starts at the beginning of the Solve() call.
optional double max_time_in_seconds = 36 [default = inf];- Specified by:
getMaxTimeInSecondsin interfaceSatParametersOrBuilder- Returns:
- The maxTimeInSeconds.
-
setMaxTimeInSeconds
public SatParameters.Builder setMaxTimeInSeconds(double value)
Maximum time allowed in seconds to solve a problem. The counter will starts at the beginning of the Solve() call.
optional double max_time_in_seconds = 36 [default = inf];- Parameters:
value- The maxTimeInSeconds to set.- Returns:
- This builder for chaining.
-
clearMaxTimeInSeconds
public SatParameters.Builder clearMaxTimeInSeconds()
Maximum time allowed in seconds to solve a problem. The counter will starts at the beginning of the Solve() call.
optional double max_time_in_seconds = 36 [default = inf];- Returns:
- This builder for chaining.
-
hasMaxDeterministicTime
public boolean hasMaxDeterministicTime()
Maximum time allowed in deterministic time to solve a problem. The deterministic time should be correlated with the real time used by the solver, the time unit being as close as possible to a second.
optional double max_deterministic_time = 67 [default = inf];- Specified by:
hasMaxDeterministicTimein interfaceSatParametersOrBuilder- Returns:
- Whether the maxDeterministicTime field is set.
-
getMaxDeterministicTime
public double getMaxDeterministicTime()
Maximum time allowed in deterministic time to solve a problem. The deterministic time should be correlated with the real time used by the solver, the time unit being as close as possible to a second.
optional double max_deterministic_time = 67 [default = inf];- Specified by:
getMaxDeterministicTimein interfaceSatParametersOrBuilder- Returns:
- The maxDeterministicTime.
-
setMaxDeterministicTime
public SatParameters.Builder setMaxDeterministicTime(double value)
Maximum time allowed in deterministic time to solve a problem. The deterministic time should be correlated with the real time used by the solver, the time unit being as close as possible to a second.
optional double max_deterministic_time = 67 [default = inf];- Parameters:
value- The maxDeterministicTime to set.- Returns:
- This builder for chaining.
-
clearMaxDeterministicTime
public SatParameters.Builder clearMaxDeterministicTime()
Maximum time allowed in deterministic time to solve a problem. The deterministic time should be correlated with the real time used by the solver, the time unit being as close as possible to a second.
optional double max_deterministic_time = 67 [default = inf];- Returns:
- This builder for chaining.
-
hasMaxNumberOfConflicts
public boolean hasMaxNumberOfConflicts()
Maximum number of conflicts allowed to solve a problem. TODO(user): Maybe change the way the conflict limit is enforced? currently it is enforced on each independent internal SAT solve, rather than on the overall number of conflicts across all solves. So in the context of an optimization problem, this is not really usable directly by a client.
optional int64 max_number_of_conflicts = 37 [default = 9223372036854775807];- Specified by:
hasMaxNumberOfConflictsin interfaceSatParametersOrBuilder- Returns:
- Whether the maxNumberOfConflicts field is set.
-
getMaxNumberOfConflicts
public long getMaxNumberOfConflicts()
Maximum number of conflicts allowed to solve a problem. TODO(user): Maybe change the way the conflict limit is enforced? currently it is enforced on each independent internal SAT solve, rather than on the overall number of conflicts across all solves. So in the context of an optimization problem, this is not really usable directly by a client.
optional int64 max_number_of_conflicts = 37 [default = 9223372036854775807];- Specified by:
getMaxNumberOfConflictsin interfaceSatParametersOrBuilder- Returns:
- The maxNumberOfConflicts.
-
setMaxNumberOfConflicts
public SatParameters.Builder setMaxNumberOfConflicts(long value)
Maximum number of conflicts allowed to solve a problem. TODO(user): Maybe change the way the conflict limit is enforced? currently it is enforced on each independent internal SAT solve, rather than on the overall number of conflicts across all solves. So in the context of an optimization problem, this is not really usable directly by a client.
optional int64 max_number_of_conflicts = 37 [default = 9223372036854775807];- Parameters:
value- The maxNumberOfConflicts to set.- Returns:
- This builder for chaining.
-
clearMaxNumberOfConflicts
public SatParameters.Builder clearMaxNumberOfConflicts()
Maximum number of conflicts allowed to solve a problem. TODO(user): Maybe change the way the conflict limit is enforced? currently it is enforced on each independent internal SAT solve, rather than on the overall number of conflicts across all solves. So in the context of an optimization problem, this is not really usable directly by a client.
optional int64 max_number_of_conflicts = 37 [default = 9223372036854775807];- Returns:
- This builder for chaining.
-
hasMaxMemoryInMb
public boolean hasMaxMemoryInMb()
Maximum memory allowed for the whole thread containing the solver. The solver will abort as soon as it detects that this limit is crossed. As a result, this limit is approximative, but usually the solver will not go too much over. TODO(user): This is only used by the pure SAT solver, generalize to CP-SAT.
optional int64 max_memory_in_mb = 40 [default = 10000];- Specified by:
hasMaxMemoryInMbin interfaceSatParametersOrBuilder- Returns:
- Whether the maxMemoryInMb field is set.
-
getMaxMemoryInMb
public long getMaxMemoryInMb()
Maximum memory allowed for the whole thread containing the solver. The solver will abort as soon as it detects that this limit is crossed. As a result, this limit is approximative, but usually the solver will not go too much over. TODO(user): This is only used by the pure SAT solver, generalize to CP-SAT.
optional int64 max_memory_in_mb = 40 [default = 10000];- Specified by:
getMaxMemoryInMbin interfaceSatParametersOrBuilder- Returns:
- The maxMemoryInMb.
-
setMaxMemoryInMb
public SatParameters.Builder setMaxMemoryInMb(long value)
Maximum memory allowed for the whole thread containing the solver. The solver will abort as soon as it detects that this limit is crossed. As a result, this limit is approximative, but usually the solver will not go too much over. TODO(user): This is only used by the pure SAT solver, generalize to CP-SAT.
optional int64 max_memory_in_mb = 40 [default = 10000];- Parameters:
value- The maxMemoryInMb to set.- Returns:
- This builder for chaining.
-
clearMaxMemoryInMb
public SatParameters.Builder clearMaxMemoryInMb()
Maximum memory allowed for the whole thread containing the solver. The solver will abort as soon as it detects that this limit is crossed. As a result, this limit is approximative, but usually the solver will not go too much over. TODO(user): This is only used by the pure SAT solver, generalize to CP-SAT.
optional int64 max_memory_in_mb = 40 [default = 10000];- Returns:
- This builder for chaining.
-
hasAbsoluteGapLimit
public boolean hasAbsoluteGapLimit()
Stop the search when the gap between the best feasible objective (O) and our best objective bound (B) is smaller than a limit. The exact definition is: - Absolute: abs(O - B) - Relative: abs(O - B) / max(1, abs(O)). Important: The relative gap depends on the objective offset! If you artificially shift the objective, you will get widely different value of the relative gap. Note that if the gap is reached, the search status will be OPTIMAL. But one can check the best objective bound to see the actual gap. If the objective is integer, then any absolute gap < 1 will lead to a true optimal. If the objective is floating point, a gap of zero make little sense so is is why we use a non-zero default value. At the end of the search, we will display a warning if OPTIMAL is reported yet the gap is greater than this absolute gap.
optional double absolute_gap_limit = 159 [default = 0.0001];- Specified by:
hasAbsoluteGapLimitin interfaceSatParametersOrBuilder- Returns:
- Whether the absoluteGapLimit field is set.
-
getAbsoluteGapLimit
public double getAbsoluteGapLimit()
Stop the search when the gap between the best feasible objective (O) and our best objective bound (B) is smaller than a limit. The exact definition is: - Absolute: abs(O - B) - Relative: abs(O - B) / max(1, abs(O)). Important: The relative gap depends on the objective offset! If you artificially shift the objective, you will get widely different value of the relative gap. Note that if the gap is reached, the search status will be OPTIMAL. But one can check the best objective bound to see the actual gap. If the objective is integer, then any absolute gap < 1 will lead to a true optimal. If the objective is floating point, a gap of zero make little sense so is is why we use a non-zero default value. At the end of the search, we will display a warning if OPTIMAL is reported yet the gap is greater than this absolute gap.
optional double absolute_gap_limit = 159 [default = 0.0001];- Specified by:
getAbsoluteGapLimitin interfaceSatParametersOrBuilder- Returns:
- The absoluteGapLimit.
-
setAbsoluteGapLimit
public SatParameters.Builder setAbsoluteGapLimit(double value)
Stop the search when the gap between the best feasible objective (O) and our best objective bound (B) is smaller than a limit. The exact definition is: - Absolute: abs(O - B) - Relative: abs(O - B) / max(1, abs(O)). Important: The relative gap depends on the objective offset! If you artificially shift the objective, you will get widely different value of the relative gap. Note that if the gap is reached, the search status will be OPTIMAL. But one can check the best objective bound to see the actual gap. If the objective is integer, then any absolute gap < 1 will lead to a true optimal. If the objective is floating point, a gap of zero make little sense so is is why we use a non-zero default value. At the end of the search, we will display a warning if OPTIMAL is reported yet the gap is greater than this absolute gap.
optional double absolute_gap_limit = 159 [default = 0.0001];- Parameters:
value- The absoluteGapLimit to set.- Returns:
- This builder for chaining.
-
clearAbsoluteGapLimit
public SatParameters.Builder clearAbsoluteGapLimit()
Stop the search when the gap between the best feasible objective (O) and our best objective bound (B) is smaller than a limit. The exact definition is: - Absolute: abs(O - B) - Relative: abs(O - B) / max(1, abs(O)). Important: The relative gap depends on the objective offset! If you artificially shift the objective, you will get widely different value of the relative gap. Note that if the gap is reached, the search status will be OPTIMAL. But one can check the best objective bound to see the actual gap. If the objective is integer, then any absolute gap < 1 will lead to a true optimal. If the objective is floating point, a gap of zero make little sense so is is why we use a non-zero default value. At the end of the search, we will display a warning if OPTIMAL is reported yet the gap is greater than this absolute gap.
optional double absolute_gap_limit = 159 [default = 0.0001];- Returns:
- This builder for chaining.
-
hasRelativeGapLimit
public boolean hasRelativeGapLimit()
optional double relative_gap_limit = 160 [default = 0];- Specified by:
hasRelativeGapLimitin interfaceSatParametersOrBuilder- Returns:
- Whether the relativeGapLimit field is set.
-
getRelativeGapLimit
public double getRelativeGapLimit()
optional double relative_gap_limit = 160 [default = 0];- Specified by:
getRelativeGapLimitin interfaceSatParametersOrBuilder- Returns:
- The relativeGapLimit.
-
setRelativeGapLimit
public SatParameters.Builder setRelativeGapLimit(double value)
optional double relative_gap_limit = 160 [default = 0];- Parameters:
value- The relativeGapLimit to set.- Returns:
- This builder for chaining.
-
clearRelativeGapLimit
public SatParameters.Builder clearRelativeGapLimit()
optional double relative_gap_limit = 160 [default = 0];- Returns:
- This builder for chaining.
-
hasRandomSeed
public boolean hasRandomSeed()
At the beginning of each solve, the random number generator used in some part of the solver is reinitialized to this seed. If you change the random seed, the solver may make different choices during the solving process. For some problems, the running time may vary a lot depending on small change in the solving algorithm. Running the solver with different seeds enables to have more robust benchmarks when evaluating new features.
optional int32 random_seed = 31 [default = 1];- Specified by:
hasRandomSeedin interfaceSatParametersOrBuilder- Returns:
- Whether the randomSeed field is set.
-
getRandomSeed
public int getRandomSeed()
At the beginning of each solve, the random number generator used in some part of the solver is reinitialized to this seed. If you change the random seed, the solver may make different choices during the solving process. For some problems, the running time may vary a lot depending on small change in the solving algorithm. Running the solver with different seeds enables to have more robust benchmarks when evaluating new features.
optional int32 random_seed = 31 [default = 1];- Specified by:
getRandomSeedin interfaceSatParametersOrBuilder- Returns:
- The randomSeed.
-
setRandomSeed
public SatParameters.Builder setRandomSeed(int value)
At the beginning of each solve, the random number generator used in some part of the solver is reinitialized to this seed. If you change the random seed, the solver may make different choices during the solving process. For some problems, the running time may vary a lot depending on small change in the solving algorithm. Running the solver with different seeds enables to have more robust benchmarks when evaluating new features.
optional int32 random_seed = 31 [default = 1];- Parameters:
value- The randomSeed to set.- Returns:
- This builder for chaining.
-
clearRandomSeed
public SatParameters.Builder clearRandomSeed()
At the beginning of each solve, the random number generator used in some part of the solver is reinitialized to this seed. If you change the random seed, the solver may make different choices during the solving process. For some problems, the running time may vary a lot depending on small change in the solving algorithm. Running the solver with different seeds enables to have more robust benchmarks when evaluating new features.
optional int32 random_seed = 31 [default = 1];- Returns:
- This builder for chaining.
-
hasPermuteVariableRandomly
public boolean hasPermuteVariableRandomly()
This is mainly here to test the solver variability. Note that in tests, if not explicitly set to false, all 3 options will be set to true so that clients do not rely on the solver returning a specific solution if they are many equivalent optimal solutions.
optional bool permute_variable_randomly = 178 [default = false];- Specified by:
hasPermuteVariableRandomlyin interfaceSatParametersOrBuilder- Returns:
- Whether the permuteVariableRandomly field is set.
-
getPermuteVariableRandomly
public boolean getPermuteVariableRandomly()
This is mainly here to test the solver variability. Note that in tests, if not explicitly set to false, all 3 options will be set to true so that clients do not rely on the solver returning a specific solution if they are many equivalent optimal solutions.
optional bool permute_variable_randomly = 178 [default = false];- Specified by:
getPermuteVariableRandomlyin interfaceSatParametersOrBuilder- Returns:
- The permuteVariableRandomly.
-
setPermuteVariableRandomly
public SatParameters.Builder setPermuteVariableRandomly(boolean value)
This is mainly here to test the solver variability. Note that in tests, if not explicitly set to false, all 3 options will be set to true so that clients do not rely on the solver returning a specific solution if they are many equivalent optimal solutions.
optional bool permute_variable_randomly = 178 [default = false];- Parameters:
value- The permuteVariableRandomly to set.- Returns:
- This builder for chaining.
-
clearPermuteVariableRandomly
public SatParameters.Builder clearPermuteVariableRandomly()
This is mainly here to test the solver variability. Note that in tests, if not explicitly set to false, all 3 options will be set to true so that clients do not rely on the solver returning a specific solution if they are many equivalent optimal solutions.
optional bool permute_variable_randomly = 178 [default = false];- Returns:
- This builder for chaining.
-
hasPermutePresolveConstraintOrder
public boolean hasPermutePresolveConstraintOrder()
optional bool permute_presolve_constraint_order = 179 [default = false];- Specified by:
hasPermutePresolveConstraintOrderin interfaceSatParametersOrBuilder- Returns:
- Whether the permutePresolveConstraintOrder field is set.
-
getPermutePresolveConstraintOrder
public boolean getPermutePresolveConstraintOrder()
optional bool permute_presolve_constraint_order = 179 [default = false];- Specified by:
getPermutePresolveConstraintOrderin interfaceSatParametersOrBuilder- Returns:
- The permutePresolveConstraintOrder.
-
setPermutePresolveConstraintOrder
public SatParameters.Builder setPermutePresolveConstraintOrder(boolean value)
optional bool permute_presolve_constraint_order = 179 [default = false];- Parameters:
value- The permutePresolveConstraintOrder to set.- Returns:
- This builder for chaining.
-
clearPermutePresolveConstraintOrder
public SatParameters.Builder clearPermutePresolveConstraintOrder()
optional bool permute_presolve_constraint_order = 179 [default = false];- Returns:
- This builder for chaining.
-
hasUseAbslRandom
public boolean hasUseAbslRandom()
optional bool use_absl_random = 180 [default = false];- Specified by:
hasUseAbslRandomin interfaceSatParametersOrBuilder- Returns:
- Whether the useAbslRandom field is set.
-
getUseAbslRandom
public boolean getUseAbslRandom()
optional bool use_absl_random = 180 [default = false];- Specified by:
getUseAbslRandomin interfaceSatParametersOrBuilder- Returns:
- The useAbslRandom.
-
setUseAbslRandom
public SatParameters.Builder setUseAbslRandom(boolean value)
optional bool use_absl_random = 180 [default = false];- Parameters:
value- The useAbslRandom to set.- Returns:
- This builder for chaining.
-
clearUseAbslRandom
public SatParameters.Builder clearUseAbslRandom()
optional bool use_absl_random = 180 [default = false];- Returns:
- This builder for chaining.
-
hasLogSearchProgress
public boolean hasLogSearchProgress()
Whether the solver should log the search progress. This is the maing logging parameter and if this is false, none of the logging (callbacks, log_to_stdout, log_to_response, ...) will do anything.
optional bool log_search_progress = 41 [default = false];- Specified by:
hasLogSearchProgressin interfaceSatParametersOrBuilder- Returns:
- Whether the logSearchProgress field is set.
-
getLogSearchProgress
public boolean getLogSearchProgress()
Whether the solver should log the search progress. This is the maing logging parameter and if this is false, none of the logging (callbacks, log_to_stdout, log_to_response, ...) will do anything.
optional bool log_search_progress = 41 [default = false];- Specified by:
getLogSearchProgressin interfaceSatParametersOrBuilder- Returns:
- The logSearchProgress.
-
setLogSearchProgress
public SatParameters.Builder setLogSearchProgress(boolean value)
Whether the solver should log the search progress. This is the maing logging parameter and if this is false, none of the logging (callbacks, log_to_stdout, log_to_response, ...) will do anything.
optional bool log_search_progress = 41 [default = false];- Parameters:
value- The logSearchProgress to set.- Returns:
- This builder for chaining.
-
clearLogSearchProgress
public SatParameters.Builder clearLogSearchProgress()
Whether the solver should log the search progress. This is the maing logging parameter and if this is false, none of the logging (callbacks, log_to_stdout, log_to_response, ...) will do anything.
optional bool log_search_progress = 41 [default = false];- Returns:
- This builder for chaining.
-
hasLogSubsolverStatistics
public boolean hasLogSubsolverStatistics()
Whether the solver should display per sub-solver search statistics. This is only useful is log_search_progress is set to true, and if the number of search workers is > 1. Note that in all case we display a bit of stats with one line per subsolver.
optional bool log_subsolver_statistics = 189 [default = false];- Specified by:
hasLogSubsolverStatisticsin interfaceSatParametersOrBuilder- Returns:
- Whether the logSubsolverStatistics field is set.
-
getLogSubsolverStatistics
public boolean getLogSubsolverStatistics()
Whether the solver should display per sub-solver search statistics. This is only useful is log_search_progress is set to true, and if the number of search workers is > 1. Note that in all case we display a bit of stats with one line per subsolver.
optional bool log_subsolver_statistics = 189 [default = false];- Specified by:
getLogSubsolverStatisticsin interfaceSatParametersOrBuilder- Returns:
- The logSubsolverStatistics.
-
setLogSubsolverStatistics
public SatParameters.Builder setLogSubsolverStatistics(boolean value)
Whether the solver should display per sub-solver search statistics. This is only useful is log_search_progress is set to true, and if the number of search workers is > 1. Note that in all case we display a bit of stats with one line per subsolver.
optional bool log_subsolver_statistics = 189 [default = false];- Parameters:
value- The logSubsolverStatistics to set.- Returns:
- This builder for chaining.
-
clearLogSubsolverStatistics
public SatParameters.Builder clearLogSubsolverStatistics()
Whether the solver should display per sub-solver search statistics. This is only useful is log_search_progress is set to true, and if the number of search workers is > 1. Note that in all case we display a bit of stats with one line per subsolver.
optional bool log_subsolver_statistics = 189 [default = false];- Returns:
- This builder for chaining.
-
hasLogPrefix
public boolean hasLogPrefix()
Add a prefix to all logs.
optional string log_prefix = 185 [default = ""];- Specified by:
hasLogPrefixin interfaceSatParametersOrBuilder- Returns:
- Whether the logPrefix field is set.
-
getLogPrefix
public java.lang.String getLogPrefix()
Add a prefix to all logs.
optional string log_prefix = 185 [default = ""];- Specified by:
getLogPrefixin interfaceSatParametersOrBuilder- Returns:
- The logPrefix.
-
getLogPrefixBytes
public com.google.protobuf.ByteString getLogPrefixBytes()
Add a prefix to all logs.
optional string log_prefix = 185 [default = ""];- Specified by:
getLogPrefixBytesin interfaceSatParametersOrBuilder- Returns:
- The bytes for logPrefix.
-
setLogPrefix
public SatParameters.Builder setLogPrefix(java.lang.String value)
Add a prefix to all logs.
optional string log_prefix = 185 [default = ""];- Parameters:
value- The logPrefix to set.- Returns:
- This builder for chaining.
-
clearLogPrefix
public SatParameters.Builder clearLogPrefix()
Add a prefix to all logs.
optional string log_prefix = 185 [default = ""];- Returns:
- This builder for chaining.
-
setLogPrefixBytes
public SatParameters.Builder setLogPrefixBytes(com.google.protobuf.ByteString value)
Add a prefix to all logs.
optional string log_prefix = 185 [default = ""];- Parameters:
value- The bytes for logPrefix to set.- Returns:
- This builder for chaining.
-
hasLogToStdout
public boolean hasLogToStdout()
Log to stdout.
optional bool log_to_stdout = 186 [default = true];- Specified by:
hasLogToStdoutin interfaceSatParametersOrBuilder- Returns:
- Whether the logToStdout field is set.
-
getLogToStdout
public boolean getLogToStdout()
Log to stdout.
optional bool log_to_stdout = 186 [default = true];- Specified by:
getLogToStdoutin interfaceSatParametersOrBuilder- Returns:
- The logToStdout.
-
setLogToStdout
public SatParameters.Builder setLogToStdout(boolean value)
Log to stdout.
optional bool log_to_stdout = 186 [default = true];- Parameters:
value- The logToStdout to set.- Returns:
- This builder for chaining.
-
clearLogToStdout
public SatParameters.Builder clearLogToStdout()
Log to stdout.
optional bool log_to_stdout = 186 [default = true];- Returns:
- This builder for chaining.
-
hasLogToResponse
public boolean hasLogToResponse()
Log to response proto.
optional bool log_to_response = 187 [default = false];- Specified by:
hasLogToResponsein interfaceSatParametersOrBuilder- Returns:
- Whether the logToResponse field is set.
-
getLogToResponse
public boolean getLogToResponse()
Log to response proto.
optional bool log_to_response = 187 [default = false];- Specified by:
getLogToResponsein interfaceSatParametersOrBuilder- Returns:
- The logToResponse.
-
setLogToResponse
public SatParameters.Builder setLogToResponse(boolean value)
Log to response proto.
optional bool log_to_response = 187 [default = false];- Parameters:
value- The logToResponse to set.- Returns:
- This builder for chaining.
-
clearLogToResponse
public SatParameters.Builder clearLogToResponse()
Log to response proto.
optional bool log_to_response = 187 [default = false];- Returns:
- This builder for chaining.
-
hasUsePbResolution
public boolean hasUsePbResolution()
Whether to use pseudo-Boolean resolution to analyze a conflict. Note that this option only make sense if your problem is modelized using pseudo-Boolean constraints. If you only have clauses, this shouldn't change anything (except slow the solver down).
optional bool use_pb_resolution = 43 [default = false];- Specified by:
hasUsePbResolutionin interfaceSatParametersOrBuilder- Returns:
- Whether the usePbResolution field is set.
-
getUsePbResolution
public boolean getUsePbResolution()
Whether to use pseudo-Boolean resolution to analyze a conflict. Note that this option only make sense if your problem is modelized using pseudo-Boolean constraints. If you only have clauses, this shouldn't change anything (except slow the solver down).
optional bool use_pb_resolution = 43 [default = false];- Specified by:
getUsePbResolutionin interfaceSatParametersOrBuilder- Returns:
- The usePbResolution.
-
setUsePbResolution
public SatParameters.Builder setUsePbResolution(boolean value)
Whether to use pseudo-Boolean resolution to analyze a conflict. Note that this option only make sense if your problem is modelized using pseudo-Boolean constraints. If you only have clauses, this shouldn't change anything (except slow the solver down).
optional bool use_pb_resolution = 43 [default = false];- Parameters:
value- The usePbResolution to set.- Returns:
- This builder for chaining.
-
clearUsePbResolution
public SatParameters.Builder clearUsePbResolution()
Whether to use pseudo-Boolean resolution to analyze a conflict. Note that this option only make sense if your problem is modelized using pseudo-Boolean constraints. If you only have clauses, this shouldn't change anything (except slow the solver down).
optional bool use_pb_resolution = 43 [default = false];- Returns:
- This builder for chaining.
-
hasMinimizeReductionDuringPbResolution
public boolean hasMinimizeReductionDuringPbResolution()
A different algorithm during PB resolution. It minimizes the number of calls to ReduceCoefficients() which can be time consuming. However, the search space will be different and if the coefficients are large, this may lead to integer overflows that could otherwise be prevented.
optional bool minimize_reduction_during_pb_resolution = 48 [default = false];- Specified by:
hasMinimizeReductionDuringPbResolutionin interfaceSatParametersOrBuilder- Returns:
- Whether the minimizeReductionDuringPbResolution field is set.
-
getMinimizeReductionDuringPbResolution
public boolean getMinimizeReductionDuringPbResolution()
A different algorithm during PB resolution. It minimizes the number of calls to ReduceCoefficients() which can be time consuming. However, the search space will be different and if the coefficients are large, this may lead to integer overflows that could otherwise be prevented.
optional bool minimize_reduction_during_pb_resolution = 48 [default = false];- Specified by:
getMinimizeReductionDuringPbResolutionin interfaceSatParametersOrBuilder- Returns:
- The minimizeReductionDuringPbResolution.
-
setMinimizeReductionDuringPbResolution
public SatParameters.Builder setMinimizeReductionDuringPbResolution(boolean value)
A different algorithm during PB resolution. It minimizes the number of calls to ReduceCoefficients() which can be time consuming. However, the search space will be different and if the coefficients are large, this may lead to integer overflows that could otherwise be prevented.
optional bool minimize_reduction_during_pb_resolution = 48 [default = false];- Parameters:
value- The minimizeReductionDuringPbResolution to set.- Returns:
- This builder for chaining.
-
clearMinimizeReductionDuringPbResolution
public SatParameters.Builder clearMinimizeReductionDuringPbResolution()
A different algorithm during PB resolution. It minimizes the number of calls to ReduceCoefficients() which can be time consuming. However, the search space will be different and if the coefficients are large, this may lead to integer overflows that could otherwise be prevented.
optional bool minimize_reduction_during_pb_resolution = 48 [default = false];- Returns:
- This builder for chaining.
-
hasCountAssumptionLevelsInLbd
public boolean hasCountAssumptionLevelsInLbd()
Whether or not the assumption levels are taken into account during the LBD computation. According to the reference below, not counting them improves the solver in some situation. Note that this only impact solves under assumptions. Gilles Audemard, Jean-Marie Lagniez, Laurent Simon, "Improving Glucose for Incremental SAT Solving with Assumptions: Application to MUS Extraction" Theory and Applications of Satisfiability Testing - SAT 2013, Lecture Notes in Computer Science Volume 7962, 2013, pp 309-317.
optional bool count_assumption_levels_in_lbd = 49 [default = true];- Specified by:
hasCountAssumptionLevelsInLbdin interfaceSatParametersOrBuilder- Returns:
- Whether the countAssumptionLevelsInLbd field is set.
-
getCountAssumptionLevelsInLbd
public boolean getCountAssumptionLevelsInLbd()
Whether or not the assumption levels are taken into account during the LBD computation. According to the reference below, not counting them improves the solver in some situation. Note that this only impact solves under assumptions. Gilles Audemard, Jean-Marie Lagniez, Laurent Simon, "Improving Glucose for Incremental SAT Solving with Assumptions: Application to MUS Extraction" Theory and Applications of Satisfiability Testing - SAT 2013, Lecture Notes in Computer Science Volume 7962, 2013, pp 309-317.
optional bool count_assumption_levels_in_lbd = 49 [default = true];- Specified by:
getCountAssumptionLevelsInLbdin interfaceSatParametersOrBuilder- Returns:
- The countAssumptionLevelsInLbd.
-
setCountAssumptionLevelsInLbd
public SatParameters.Builder setCountAssumptionLevelsInLbd(boolean value)
Whether or not the assumption levels are taken into account during the LBD computation. According to the reference below, not counting them improves the solver in some situation. Note that this only impact solves under assumptions. Gilles Audemard, Jean-Marie Lagniez, Laurent Simon, "Improving Glucose for Incremental SAT Solving with Assumptions: Application to MUS Extraction" Theory and Applications of Satisfiability Testing - SAT 2013, Lecture Notes in Computer Science Volume 7962, 2013, pp 309-317.
optional bool count_assumption_levels_in_lbd = 49 [default = true];- Parameters:
value- The countAssumptionLevelsInLbd to set.- Returns:
- This builder for chaining.
-
clearCountAssumptionLevelsInLbd
public SatParameters.Builder clearCountAssumptionLevelsInLbd()
Whether or not the assumption levels are taken into account during the LBD computation. According to the reference below, not counting them improves the solver in some situation. Note that this only impact solves under assumptions. Gilles Audemard, Jean-Marie Lagniez, Laurent Simon, "Improving Glucose for Incremental SAT Solving with Assumptions: Application to MUS Extraction" Theory and Applications of Satisfiability Testing - SAT 2013, Lecture Notes in Computer Science Volume 7962, 2013, pp 309-317.
optional bool count_assumption_levels_in_lbd = 49 [default = true];- Returns:
- This builder for chaining.
-
hasPresolveBveThreshold
public boolean hasPresolveBveThreshold()
During presolve, only try to perform the bounded variable elimination (BVE) of a variable x if the number of occurrences of x times the number of occurrences of not(x) is not greater than this parameter.
optional int32 presolve_bve_threshold = 54 [default = 500];- Specified by:
hasPresolveBveThresholdin interfaceSatParametersOrBuilder- Returns:
- Whether the presolveBveThreshold field is set.
-
getPresolveBveThreshold
public int getPresolveBveThreshold()
During presolve, only try to perform the bounded variable elimination (BVE) of a variable x if the number of occurrences of x times the number of occurrences of not(x) is not greater than this parameter.
optional int32 presolve_bve_threshold = 54 [default = 500];- Specified by:
getPresolveBveThresholdin interfaceSatParametersOrBuilder- Returns:
- The presolveBveThreshold.
-
setPresolveBveThreshold
public SatParameters.Builder setPresolveBveThreshold(int value)
During presolve, only try to perform the bounded variable elimination (BVE) of a variable x if the number of occurrences of x times the number of occurrences of not(x) is not greater than this parameter.
optional int32 presolve_bve_threshold = 54 [default = 500];- Parameters:
value- The presolveBveThreshold to set.- Returns:
- This builder for chaining.
-
clearPresolveBveThreshold
public SatParameters.Builder clearPresolveBveThreshold()
During presolve, only try to perform the bounded variable elimination (BVE) of a variable x if the number of occurrences of x times the number of occurrences of not(x) is not greater than this parameter.
optional int32 presolve_bve_threshold = 54 [default = 500];- Returns:
- This builder for chaining.
-
hasPresolveBveClauseWeight
public boolean hasPresolveBveClauseWeight()
During presolve, we apply BVE only if this weight times the number of clauses plus the number of clause literals is not increased.
optional int32 presolve_bve_clause_weight = 55 [default = 3];- Specified by:
hasPresolveBveClauseWeightin interfaceSatParametersOrBuilder- Returns:
- Whether the presolveBveClauseWeight field is set.
-
getPresolveBveClauseWeight
public int getPresolveBveClauseWeight()
During presolve, we apply BVE only if this weight times the number of clauses plus the number of clause literals is not increased.
optional int32 presolve_bve_clause_weight = 55 [default = 3];- Specified by:
getPresolveBveClauseWeightin interfaceSatParametersOrBuilder- Returns:
- The presolveBveClauseWeight.
-
setPresolveBveClauseWeight
public SatParameters.Builder setPresolveBveClauseWeight(int value)
During presolve, we apply BVE only if this weight times the number of clauses plus the number of clause literals is not increased.
optional int32 presolve_bve_clause_weight = 55 [default = 3];- Parameters:
value- The presolveBveClauseWeight to set.- Returns:
- This builder for chaining.
-
clearPresolveBveClauseWeight
public SatParameters.Builder clearPresolveBveClauseWeight()
During presolve, we apply BVE only if this weight times the number of clauses plus the number of clause literals is not increased.
optional int32 presolve_bve_clause_weight = 55 [default = 3];- Returns:
- This builder for chaining.
-
hasProbingDeterministicTimeLimit
public boolean hasProbingDeterministicTimeLimit()
The maximum "deterministic" time limit to spend in probing. A value of zero will disable the probing. TODO(user): Clean up. The first one is used in CP-SAT, the other in pure SAT presolve.
optional double probing_deterministic_time_limit = 226 [default = 1];- Specified by:
hasProbingDeterministicTimeLimitin interfaceSatParametersOrBuilder- Returns:
- Whether the probingDeterministicTimeLimit field is set.
-
getProbingDeterministicTimeLimit
public double getProbingDeterministicTimeLimit()
The maximum "deterministic" time limit to spend in probing. A value of zero will disable the probing. TODO(user): Clean up. The first one is used in CP-SAT, the other in pure SAT presolve.
optional double probing_deterministic_time_limit = 226 [default = 1];- Specified by:
getProbingDeterministicTimeLimitin interfaceSatParametersOrBuilder- Returns:
- The probingDeterministicTimeLimit.
-
setProbingDeterministicTimeLimit
public SatParameters.Builder setProbingDeterministicTimeLimit(double value)
The maximum "deterministic" time limit to spend in probing. A value of zero will disable the probing. TODO(user): Clean up. The first one is used in CP-SAT, the other in pure SAT presolve.
optional double probing_deterministic_time_limit = 226 [default = 1];- Parameters:
value- The probingDeterministicTimeLimit to set.- Returns:
- This builder for chaining.
-
clearProbingDeterministicTimeLimit
public SatParameters.Builder clearProbingDeterministicTimeLimit()
The maximum "deterministic" time limit to spend in probing. A value of zero will disable the probing. TODO(user): Clean up. The first one is used in CP-SAT, the other in pure SAT presolve.
optional double probing_deterministic_time_limit = 226 [default = 1];- Returns:
- This builder for chaining.
-
hasPresolveProbingDeterministicTimeLimit
public boolean hasPresolveProbingDeterministicTimeLimit()
optional double presolve_probing_deterministic_time_limit = 57 [default = 30];- Specified by:
hasPresolveProbingDeterministicTimeLimitin interfaceSatParametersOrBuilder- Returns:
- Whether the presolveProbingDeterministicTimeLimit field is set.
-
getPresolveProbingDeterministicTimeLimit
public double getPresolveProbingDeterministicTimeLimit()
optional double presolve_probing_deterministic_time_limit = 57 [default = 30];- Specified by:
getPresolveProbingDeterministicTimeLimitin interfaceSatParametersOrBuilder- Returns:
- The presolveProbingDeterministicTimeLimit.
-
setPresolveProbingDeterministicTimeLimit
public SatParameters.Builder setPresolveProbingDeterministicTimeLimit(double value)
optional double presolve_probing_deterministic_time_limit = 57 [default = 30];- Parameters:
value- The presolveProbingDeterministicTimeLimit to set.- Returns:
- This builder for chaining.
-
clearPresolveProbingDeterministicTimeLimit
public SatParameters.Builder clearPresolveProbingDeterministicTimeLimit()
optional double presolve_probing_deterministic_time_limit = 57 [default = 30];- Returns:
- This builder for chaining.
-
hasPresolveBlockedClause
public boolean hasPresolveBlockedClause()
Whether we use an heuristic to detect some basic case of blocked clause in the SAT presolve.
optional bool presolve_blocked_clause = 88 [default = true];- Specified by:
hasPresolveBlockedClausein interfaceSatParametersOrBuilder- Returns:
- Whether the presolveBlockedClause field is set.
-
getPresolveBlockedClause
public boolean getPresolveBlockedClause()
Whether we use an heuristic to detect some basic case of blocked clause in the SAT presolve.
optional bool presolve_blocked_clause = 88 [default = true];- Specified by:
getPresolveBlockedClausein interfaceSatParametersOrBuilder- Returns:
- The presolveBlockedClause.
-
setPresolveBlockedClause
public SatParameters.Builder setPresolveBlockedClause(boolean value)
Whether we use an heuristic to detect some basic case of blocked clause in the SAT presolve.
optional bool presolve_blocked_clause = 88 [default = true];- Parameters:
value- The presolveBlockedClause to set.- Returns:
- This builder for chaining.
-
clearPresolveBlockedClause
public SatParameters.Builder clearPresolveBlockedClause()
Whether we use an heuristic to detect some basic case of blocked clause in the SAT presolve.
optional bool presolve_blocked_clause = 88 [default = true];- Returns:
- This builder for chaining.
-
hasPresolveUseBva
public boolean hasPresolveUseBva()
Whether or not we use Bounded Variable Addition (BVA) in the presolve.
optional bool presolve_use_bva = 72 [default = true];- Specified by:
hasPresolveUseBvain interfaceSatParametersOrBuilder- Returns:
- Whether the presolveUseBva field is set.
-
getPresolveUseBva
public boolean getPresolveUseBva()
Whether or not we use Bounded Variable Addition (BVA) in the presolve.
optional bool presolve_use_bva = 72 [default = true];- Specified by:
getPresolveUseBvain interfaceSatParametersOrBuilder- Returns:
- The presolveUseBva.
-
setPresolveUseBva
public SatParameters.Builder setPresolveUseBva(boolean value)
Whether or not we use Bounded Variable Addition (BVA) in the presolve.
optional bool presolve_use_bva = 72 [default = true];- Parameters:
value- The presolveUseBva to set.- Returns:
- This builder for chaining.
-
clearPresolveUseBva
public SatParameters.Builder clearPresolveUseBva()
Whether or not we use Bounded Variable Addition (BVA) in the presolve.
optional bool presolve_use_bva = 72 [default = true];- Returns:
- This builder for chaining.
-
hasPresolveBvaThreshold
public boolean hasPresolveBvaThreshold()
Apply Bounded Variable Addition (BVA) if the number of clauses is reduced by stricly more than this threshold. The algorithm described in the paper uses 0, but quick experiments showed that 1 is a good value. It may not be worth it to add a new variable just to remove one clause.
optional int32 presolve_bva_threshold = 73 [default = 1];- Specified by:
hasPresolveBvaThresholdin interfaceSatParametersOrBuilder- Returns:
- Whether the presolveBvaThreshold field is set.
-
getPresolveBvaThreshold
public int getPresolveBvaThreshold()
Apply Bounded Variable Addition (BVA) if the number of clauses is reduced by stricly more than this threshold. The algorithm described in the paper uses 0, but quick experiments showed that 1 is a good value. It may not be worth it to add a new variable just to remove one clause.
optional int32 presolve_bva_threshold = 73 [default = 1];- Specified by:
getPresolveBvaThresholdin interfaceSatParametersOrBuilder- Returns:
- The presolveBvaThreshold.
-
setPresolveBvaThreshold
public SatParameters.Builder setPresolveBvaThreshold(int value)
Apply Bounded Variable Addition (BVA) if the number of clauses is reduced by stricly more than this threshold. The algorithm described in the paper uses 0, but quick experiments showed that 1 is a good value. It may not be worth it to add a new variable just to remove one clause.
optional int32 presolve_bva_threshold = 73 [default = 1];- Parameters:
value- The presolveBvaThreshold to set.- Returns:
- This builder for chaining.
-
clearPresolveBvaThreshold
public SatParameters.Builder clearPresolveBvaThreshold()
Apply Bounded Variable Addition (BVA) if the number of clauses is reduced by stricly more than this threshold. The algorithm described in the paper uses 0, but quick experiments showed that 1 is a good value. It may not be worth it to add a new variable just to remove one clause.
optional int32 presolve_bva_threshold = 73 [default = 1];- Returns:
- This builder for chaining.
-
hasMaxPresolveIterations
public boolean hasMaxPresolveIterations()
In case of large reduction in a presolve iteration, we perform multiple presolve iterations. This parameter controls the maximum number of such presolve iterations.
optional int32 max_presolve_iterations = 138 [default = 3];- Specified by:
hasMaxPresolveIterationsin interfaceSatParametersOrBuilder- Returns:
- Whether the maxPresolveIterations field is set.
-
getMaxPresolveIterations
public int getMaxPresolveIterations()
In case of large reduction in a presolve iteration, we perform multiple presolve iterations. This parameter controls the maximum number of such presolve iterations.
optional int32 max_presolve_iterations = 138 [default = 3];- Specified by:
getMaxPresolveIterationsin interfaceSatParametersOrBuilder- Returns:
- The maxPresolveIterations.
-
setMaxPresolveIterations
public SatParameters.Builder setMaxPresolveIterations(int value)
In case of large reduction in a presolve iteration, we perform multiple presolve iterations. This parameter controls the maximum number of such presolve iterations.
optional int32 max_presolve_iterations = 138 [default = 3];- Parameters:
value- The maxPresolveIterations to set.- Returns:
- This builder for chaining.
-
clearMaxPresolveIterations
public SatParameters.Builder clearMaxPresolveIterations()
In case of large reduction in a presolve iteration, we perform multiple presolve iterations. This parameter controls the maximum number of such presolve iterations.
optional int32 max_presolve_iterations = 138 [default = 3];- Returns:
- This builder for chaining.
-
hasCpModelPresolve
public boolean hasCpModelPresolve()
Whether we presolve the cp_model before solving it.
optional bool cp_model_presolve = 86 [default = true];- Specified by:
hasCpModelPresolvein interfaceSatParametersOrBuilder- Returns:
- Whether the cpModelPresolve field is set.
-
getCpModelPresolve
public boolean getCpModelPresolve()
Whether we presolve the cp_model before solving it.
optional bool cp_model_presolve = 86 [default = true];- Specified by:
getCpModelPresolvein interfaceSatParametersOrBuilder- Returns:
- The cpModelPresolve.
-
setCpModelPresolve
public SatParameters.Builder setCpModelPresolve(boolean value)
Whether we presolve the cp_model before solving it.
optional bool cp_model_presolve = 86 [default = true];- Parameters:
value- The cpModelPresolve to set.- Returns:
- This builder for chaining.
-
clearCpModelPresolve
public SatParameters.Builder clearCpModelPresolve()
Whether we presolve the cp_model before solving it.
optional bool cp_model_presolve = 86 [default = true];- Returns:
- This builder for chaining.
-
hasCpModelProbingLevel
public boolean hasCpModelProbingLevel()
How much effort do we spend on probing. 0 disables it completely.
optional int32 cp_model_probing_level = 110 [default = 2];- Specified by:
hasCpModelProbingLevelin interfaceSatParametersOrBuilder- Returns:
- Whether the cpModelProbingLevel field is set.
-
getCpModelProbingLevel
public int getCpModelProbingLevel()
How much effort do we spend on probing. 0 disables it completely.
optional int32 cp_model_probing_level = 110 [default = 2];- Specified by:
getCpModelProbingLevelin interfaceSatParametersOrBuilder- Returns:
- The cpModelProbingLevel.
-
setCpModelProbingLevel
public SatParameters.Builder setCpModelProbingLevel(int value)
How much effort do we spend on probing. 0 disables it completely.
optional int32 cp_model_probing_level = 110 [default = 2];- Parameters:
value- The cpModelProbingLevel to set.- Returns:
- This builder for chaining.
-
clearCpModelProbingLevel
public SatParameters.Builder clearCpModelProbingLevel()
How much effort do we spend on probing. 0 disables it completely.
optional int32 cp_model_probing_level = 110 [default = 2];- Returns:
- This builder for chaining.
-
hasCpModelUseSatPresolve
public boolean hasCpModelUseSatPresolve()
Whether we also use the sat presolve when cp_model_presolve is true.
optional bool cp_model_use_sat_presolve = 93 [default = true];- Specified by:
hasCpModelUseSatPresolvein interfaceSatParametersOrBuilder- Returns:
- Whether the cpModelUseSatPresolve field is set.
-
getCpModelUseSatPresolve
public boolean getCpModelUseSatPresolve()
Whether we also use the sat presolve when cp_model_presolve is true.
optional bool cp_model_use_sat_presolve = 93 [default = true];- Specified by:
getCpModelUseSatPresolvein interfaceSatParametersOrBuilder- Returns:
- The cpModelUseSatPresolve.
-
setCpModelUseSatPresolve
public SatParameters.Builder setCpModelUseSatPresolve(boolean value)
Whether we also use the sat presolve when cp_model_presolve is true.
optional bool cp_model_use_sat_presolve = 93 [default = true];- Parameters:
value- The cpModelUseSatPresolve to set.- Returns:
- This builder for chaining.
-
clearCpModelUseSatPresolve
public SatParameters.Builder clearCpModelUseSatPresolve()
Whether we also use the sat presolve when cp_model_presolve is true.
optional bool cp_model_use_sat_presolve = 93 [default = true];- Returns:
- This builder for chaining.
-
hasUseSatInprocessing
public boolean hasUseSatInprocessing()
optional bool use_sat_inprocessing = 163 [default = false];- Specified by:
hasUseSatInprocessingin interfaceSatParametersOrBuilder- Returns:
- Whether the useSatInprocessing field is set.
-
getUseSatInprocessing
public boolean getUseSatInprocessing()
optional bool use_sat_inprocessing = 163 [default = false];- Specified by:
getUseSatInprocessingin interfaceSatParametersOrBuilder- Returns:
- The useSatInprocessing.
-
setUseSatInprocessing
public SatParameters.Builder setUseSatInprocessing(boolean value)
optional bool use_sat_inprocessing = 163 [default = false];- Parameters:
value- The useSatInprocessing to set.- Returns:
- This builder for chaining.
-
clearUseSatInprocessing
public SatParameters.Builder clearUseSatInprocessing()
optional bool use_sat_inprocessing = 163 [default = false];- Returns:
- This builder for chaining.
-
hasDetectTableWithCost
public boolean hasDetectTableWithCost()
If true, we detect variable that are unique to a table constraint and only there to encode a cost on each tuple. This is usually the case when a WCSP (weighted constraint program) is encoded into CP-SAT format. This can lead to a dramatic speed-up for such problems but is still experimental at this point.
optional bool detect_table_with_cost = 216 [default = false];- Specified by:
hasDetectTableWithCostin interfaceSatParametersOrBuilder- Returns:
- Whether the detectTableWithCost field is set.
-
getDetectTableWithCost
public boolean getDetectTableWithCost()
If true, we detect variable that are unique to a table constraint and only there to encode a cost on each tuple. This is usually the case when a WCSP (weighted constraint program) is encoded into CP-SAT format. This can lead to a dramatic speed-up for such problems but is still experimental at this point.
optional bool detect_table_with_cost = 216 [default = false];- Specified by:
getDetectTableWithCostin interfaceSatParametersOrBuilder- Returns:
- The detectTableWithCost.
-
setDetectTableWithCost
public SatParameters.Builder setDetectTableWithCost(boolean value)
If true, we detect variable that are unique to a table constraint and only there to encode a cost on each tuple. This is usually the case when a WCSP (weighted constraint program) is encoded into CP-SAT format. This can lead to a dramatic speed-up for such problems but is still experimental at this point.
optional bool detect_table_with_cost = 216 [default = false];- Parameters:
value- The detectTableWithCost to set.- Returns:
- This builder for chaining.
-
clearDetectTableWithCost
public SatParameters.Builder clearDetectTableWithCost()
If true, we detect variable that are unique to a table constraint and only there to encode a cost on each tuple. This is usually the case when a WCSP (weighted constraint program) is encoded into CP-SAT format. This can lead to a dramatic speed-up for such problems but is still experimental at this point.
optional bool detect_table_with_cost = 216 [default = false];- Returns:
- This builder for chaining.
-
hasTableCompressionLevel
public boolean hasTableCompressionLevel()
How much we try to "compress" a table constraint. Compressing more leads to less Booleans and faster propagation but can reduced the quality of the lp relaxation. Values goes from 0 to 3 where we always try to fully compress a table. At 2, we try to automatically decide if it is worth it.
optional int32 table_compression_level = 217 [default = 2];- Specified by:
hasTableCompressionLevelin interfaceSatParametersOrBuilder- Returns:
- Whether the tableCompressionLevel field is set.
-
getTableCompressionLevel
public int getTableCompressionLevel()
How much we try to "compress" a table constraint. Compressing more leads to less Booleans and faster propagation but can reduced the quality of the lp relaxation. Values goes from 0 to 3 where we always try to fully compress a table. At 2, we try to automatically decide if it is worth it.
optional int32 table_compression_level = 217 [default = 2];- Specified by:
getTableCompressionLevelin interfaceSatParametersOrBuilder- Returns:
- The tableCompressionLevel.
-
setTableCompressionLevel
public SatParameters.Builder setTableCompressionLevel(int value)
How much we try to "compress" a table constraint. Compressing more leads to less Booleans and faster propagation but can reduced the quality of the lp relaxation. Values goes from 0 to 3 where we always try to fully compress a table. At 2, we try to automatically decide if it is worth it.
optional int32 table_compression_level = 217 [default = 2];- Parameters:
value- The tableCompressionLevel to set.- Returns:
- This builder for chaining.
-
clearTableCompressionLevel
public SatParameters.Builder clearTableCompressionLevel()
How much we try to "compress" a table constraint. Compressing more leads to less Booleans and faster propagation but can reduced the quality of the lp relaxation. Values goes from 0 to 3 where we always try to fully compress a table. At 2, we try to automatically decide if it is worth it.
optional int32 table_compression_level = 217 [default = 2];- Returns:
- This builder for chaining.
-
hasExpandAlldiffConstraints
public boolean hasExpandAlldiffConstraints()
If true, expand all_different constraints that are not permutations. Permutations (#Variables = #Values) are always expanded.
optional bool expand_alldiff_constraints = 170 [default = false];- Specified by:
hasExpandAlldiffConstraintsin interfaceSatParametersOrBuilder- Returns:
- Whether the expandAlldiffConstraints field is set.
-
getExpandAlldiffConstraints
public boolean getExpandAlldiffConstraints()
If true, expand all_different constraints that are not permutations. Permutations (#Variables = #Values) are always expanded.
optional bool expand_alldiff_constraints = 170 [default = false];- Specified by:
getExpandAlldiffConstraintsin interfaceSatParametersOrBuilder- Returns:
- The expandAlldiffConstraints.
-
setExpandAlldiffConstraints
public SatParameters.Builder setExpandAlldiffConstraints(boolean value)
If true, expand all_different constraints that are not permutations. Permutations (#Variables = #Values) are always expanded.
optional bool expand_alldiff_constraints = 170 [default = false];- Parameters:
value- The expandAlldiffConstraints to set.- Returns:
- This builder for chaining.
-
clearExpandAlldiffConstraints
public SatParameters.Builder clearExpandAlldiffConstraints()
If true, expand all_different constraints that are not permutations. Permutations (#Variables = #Values) are always expanded.
optional bool expand_alldiff_constraints = 170 [default = false];- Returns:
- This builder for chaining.
-
hasExpandReservoirConstraints
public boolean hasExpandReservoirConstraints()
If true, expand the reservoir constraints by creating booleans for all possible precedences between event and encoding the constraint.
optional bool expand_reservoir_constraints = 182 [default = true];- Specified by:
hasExpandReservoirConstraintsin interfaceSatParametersOrBuilder- Returns:
- Whether the expandReservoirConstraints field is set.
-
getExpandReservoirConstraints
public boolean getExpandReservoirConstraints()
If true, expand the reservoir constraints by creating booleans for all possible precedences between event and encoding the constraint.
optional bool expand_reservoir_constraints = 182 [default = true];- Specified by:
getExpandReservoirConstraintsin interfaceSatParametersOrBuilder- Returns:
- The expandReservoirConstraints.
-
setExpandReservoirConstraints
public SatParameters.Builder setExpandReservoirConstraints(boolean value)
If true, expand the reservoir constraints by creating booleans for all possible precedences between event and encoding the constraint.
optional bool expand_reservoir_constraints = 182 [default = true];- Parameters:
value- The expandReservoirConstraints to set.- Returns:
- This builder for chaining.
-
clearExpandReservoirConstraints
public SatParameters.Builder clearExpandReservoirConstraints()
If true, expand the reservoir constraints by creating booleans for all possible precedences between event and encoding the constraint.
optional bool expand_reservoir_constraints = 182 [default = true];- Returns:
- This builder for chaining.
-
hasDisableConstraintExpansion
public boolean hasDisableConstraintExpansion()
If true, it disable all constraint expansion. This should only be used to test the presolve of expanded constraints.
optional bool disable_constraint_expansion = 181 [default = false];- Specified by:
hasDisableConstraintExpansionin interfaceSatParametersOrBuilder- Returns:
- Whether the disableConstraintExpansion field is set.
-
getDisableConstraintExpansion
public boolean getDisableConstraintExpansion()
If true, it disable all constraint expansion. This should only be used to test the presolve of expanded constraints.
optional bool disable_constraint_expansion = 181 [default = false];- Specified by:
getDisableConstraintExpansionin interfaceSatParametersOrBuilder- Returns:
- The disableConstraintExpansion.
-
setDisableConstraintExpansion
public SatParameters.Builder setDisableConstraintExpansion(boolean value)
If true, it disable all constraint expansion. This should only be used to test the presolve of expanded constraints.
optional bool disable_constraint_expansion = 181 [default = false];- Parameters:
value- The disableConstraintExpansion to set.- Returns:
- This builder for chaining.
-
clearDisableConstraintExpansion
public SatParameters.Builder clearDisableConstraintExpansion()
If true, it disable all constraint expansion. This should only be used to test the presolve of expanded constraints.
optional bool disable_constraint_expansion = 181 [default = false];- Returns:
- This builder for chaining.
-
hasEncodeComplexLinearConstraintWithInteger
public boolean hasEncodeComplexLinearConstraintWithInteger()
Linear constraint with a complex right hand side (more than a single interval) need to be expanded, there is a couple of way to do that.
optional bool encode_complex_linear_constraint_with_integer = 223 [default = false];- Specified by:
hasEncodeComplexLinearConstraintWithIntegerin interfaceSatParametersOrBuilder- Returns:
- Whether the encodeComplexLinearConstraintWithInteger field is set.
-
getEncodeComplexLinearConstraintWithInteger
public boolean getEncodeComplexLinearConstraintWithInteger()
Linear constraint with a complex right hand side (more than a single interval) need to be expanded, there is a couple of way to do that.
optional bool encode_complex_linear_constraint_with_integer = 223 [default = false];- Specified by:
getEncodeComplexLinearConstraintWithIntegerin interfaceSatParametersOrBuilder- Returns:
- The encodeComplexLinearConstraintWithInteger.
-
setEncodeComplexLinearConstraintWithInteger
public SatParameters.Builder setEncodeComplexLinearConstraintWithInteger(boolean value)
Linear constraint with a complex right hand side (more than a single interval) need to be expanded, there is a couple of way to do that.
optional bool encode_complex_linear_constraint_with_integer = 223 [default = false];- Parameters:
value- The encodeComplexLinearConstraintWithInteger to set.- Returns:
- This builder for chaining.
-
clearEncodeComplexLinearConstraintWithInteger
public SatParameters.Builder clearEncodeComplexLinearConstraintWithInteger()
Linear constraint with a complex right hand side (more than a single interval) need to be expanded, there is a couple of way to do that.
optional bool encode_complex_linear_constraint_with_integer = 223 [default = false];- Returns:
- This builder for chaining.
-
hasMergeNoOverlapWorkLimit
public boolean hasMergeNoOverlapWorkLimit()
During presolve, we use a maximum clique heuristic to merge together no-overlap constraints or at most one constraints. This code can be slow, so we have a limit in place on the number of explored nodes in the underlying graph. The internal limit is an int64, but we use double here to simplify manual input.
optional double merge_no_overlap_work_limit = 145 [default = 1000000000000];- Specified by:
hasMergeNoOverlapWorkLimitin interfaceSatParametersOrBuilder- Returns:
- Whether the mergeNoOverlapWorkLimit field is set.
-
getMergeNoOverlapWorkLimit
public double getMergeNoOverlapWorkLimit()
During presolve, we use a maximum clique heuristic to merge together no-overlap constraints or at most one constraints. This code can be slow, so we have a limit in place on the number of explored nodes in the underlying graph. The internal limit is an int64, but we use double here to simplify manual input.
optional double merge_no_overlap_work_limit = 145 [default = 1000000000000];- Specified by:
getMergeNoOverlapWorkLimitin interfaceSatParametersOrBuilder- Returns:
- The mergeNoOverlapWorkLimit.
-
setMergeNoOverlapWorkLimit
public SatParameters.Builder setMergeNoOverlapWorkLimit(double value)
During presolve, we use a maximum clique heuristic to merge together no-overlap constraints or at most one constraints. This code can be slow, so we have a limit in place on the number of explored nodes in the underlying graph. The internal limit is an int64, but we use double here to simplify manual input.
optional double merge_no_overlap_work_limit = 145 [default = 1000000000000];- Parameters:
value- The mergeNoOverlapWorkLimit to set.- Returns:
- This builder for chaining.
-
clearMergeNoOverlapWorkLimit
public SatParameters.Builder clearMergeNoOverlapWorkLimit()
During presolve, we use a maximum clique heuristic to merge together no-overlap constraints or at most one constraints. This code can be slow, so we have a limit in place on the number of explored nodes in the underlying graph. The internal limit is an int64, but we use double here to simplify manual input.
optional double merge_no_overlap_work_limit = 145 [default = 1000000000000];- Returns:
- This builder for chaining.
-
hasMergeAtMostOneWorkLimit
public boolean hasMergeAtMostOneWorkLimit()
optional double merge_at_most_one_work_limit = 146 [default = 100000000];- Specified by:
hasMergeAtMostOneWorkLimitin interfaceSatParametersOrBuilder- Returns:
- Whether the mergeAtMostOneWorkLimit field is set.
-
getMergeAtMostOneWorkLimit
public double getMergeAtMostOneWorkLimit()
optional double merge_at_most_one_work_limit = 146 [default = 100000000];- Specified by:
getMergeAtMostOneWorkLimitin interfaceSatParametersOrBuilder- Returns:
- The mergeAtMostOneWorkLimit.
-
setMergeAtMostOneWorkLimit
public SatParameters.Builder setMergeAtMostOneWorkLimit(double value)
optional double merge_at_most_one_work_limit = 146 [default = 100000000];- Parameters:
value- The mergeAtMostOneWorkLimit to set.- Returns:
- This builder for chaining.
-
clearMergeAtMostOneWorkLimit
public SatParameters.Builder clearMergeAtMostOneWorkLimit()
optional double merge_at_most_one_work_limit = 146 [default = 100000000];- Returns:
- This builder for chaining.
-
hasPresolveSubstitutionLevel
public boolean hasPresolveSubstitutionLevel()
How much substitution (also called free variable aggregation in MIP litterature) should we perform at presolve. This currently only concerns variable appearing only in linear constraints. For now the value 0 turns it off and any positive value performs substitution.
optional int32 presolve_substitution_level = 147 [default = 1];- Specified by:
hasPresolveSubstitutionLevelin interfaceSatParametersOrBuilder- Returns:
- Whether the presolveSubstitutionLevel field is set.
-
getPresolveSubstitutionLevel
public int getPresolveSubstitutionLevel()
How much substitution (also called free variable aggregation in MIP litterature) should we perform at presolve. This currently only concerns variable appearing only in linear constraints. For now the value 0 turns it off and any positive value performs substitution.
optional int32 presolve_substitution_level = 147 [default = 1];- Specified by:
getPresolveSubstitutionLevelin interfaceSatParametersOrBuilder- Returns:
- The presolveSubstitutionLevel.
-
setPresolveSubstitutionLevel
public SatParameters.Builder setPresolveSubstitutionLevel(int value)
How much substitution (also called free variable aggregation in MIP litterature) should we perform at presolve. This currently only concerns variable appearing only in linear constraints. For now the value 0 turns it off and any positive value performs substitution.
optional int32 presolve_substitution_level = 147 [default = 1];- Parameters:
value- The presolveSubstitutionLevel to set.- Returns:
- This builder for chaining.
-
clearPresolveSubstitutionLevel
public SatParameters.Builder clearPresolveSubstitutionLevel()
How much substitution (also called free variable aggregation in MIP litterature) should we perform at presolve. This currently only concerns variable appearing only in linear constraints. For now the value 0 turns it off and any positive value performs substitution.
optional int32 presolve_substitution_level = 147 [default = 1];- Returns:
- This builder for chaining.
-
hasPresolveExtractIntegerEnforcement
public boolean hasPresolveExtractIntegerEnforcement()
If true, we will extract from linear constraints, enforcement literals of the form "integer variable at bound => simplified constraint". This should always be beneficial except that we don't always handle them as efficiently as we could for now. This causes problem on manna81.mps (LP relaxation not as tight it seems) and on neos-3354841-apure.mps.gz (too many literals created this way).
optional bool presolve_extract_integer_enforcement = 174 [default = false];- Specified by:
hasPresolveExtractIntegerEnforcementin interfaceSatParametersOrBuilder- Returns:
- Whether the presolveExtractIntegerEnforcement field is set.
-
getPresolveExtractIntegerEnforcement
public boolean getPresolveExtractIntegerEnforcement()
If true, we will extract from linear constraints, enforcement literals of the form "integer variable at bound => simplified constraint". This should always be beneficial except that we don't always handle them as efficiently as we could for now. This causes problem on manna81.mps (LP relaxation not as tight it seems) and on neos-3354841-apure.mps.gz (too many literals created this way).
optional bool presolve_extract_integer_enforcement = 174 [default = false];- Specified by:
getPresolveExtractIntegerEnforcementin interfaceSatParametersOrBuilder- Returns:
- The presolveExtractIntegerEnforcement.
-
setPresolveExtractIntegerEnforcement
public SatParameters.Builder setPresolveExtractIntegerEnforcement(boolean value)
If true, we will extract from linear constraints, enforcement literals of the form "integer variable at bound => simplified constraint". This should always be beneficial except that we don't always handle them as efficiently as we could for now. This causes problem on manna81.mps (LP relaxation not as tight it seems) and on neos-3354841-apure.mps.gz (too many literals created this way).
optional bool presolve_extract_integer_enforcement = 174 [default = false];- Parameters:
value- The presolveExtractIntegerEnforcement to set.- Returns:
- This builder for chaining.
-
clearPresolveExtractIntegerEnforcement
public SatParameters.Builder clearPresolveExtractIntegerEnforcement()
If true, we will extract from linear constraints, enforcement literals of the form "integer variable at bound => simplified constraint". This should always be beneficial except that we don't always handle them as efficiently as we could for now. This causes problem on manna81.mps (LP relaxation not as tight it seems) and on neos-3354841-apure.mps.gz (too many literals created this way).
optional bool presolve_extract_integer_enforcement = 174 [default = false];- Returns:
- This builder for chaining.
-
hasPresolveInclusionWorkLimit
public boolean hasPresolveInclusionWorkLimit()
A few presolve operations involve detecting constraints included in other constraint. Since there can be a quadratic number of such pairs, and processing them usually involve scanning them, the complexity of these operations can be big. This enforce a local deterministic limit on the number of entries scanned. Default is 1e8. A value of zero will disable these presolve rules completely.
optional int64 presolve_inclusion_work_limit = 201 [default = 100000000];- Specified by:
hasPresolveInclusionWorkLimitin interfaceSatParametersOrBuilder- Returns:
- Whether the presolveInclusionWorkLimit field is set.
-
getPresolveInclusionWorkLimit
public long getPresolveInclusionWorkLimit()
A few presolve operations involve detecting constraints included in other constraint. Since there can be a quadratic number of such pairs, and processing them usually involve scanning them, the complexity of these operations can be big. This enforce a local deterministic limit on the number of entries scanned. Default is 1e8. A value of zero will disable these presolve rules completely.
optional int64 presolve_inclusion_work_limit = 201 [default = 100000000];- Specified by:
getPresolveInclusionWorkLimitin interfaceSatParametersOrBuilder- Returns:
- The presolveInclusionWorkLimit.
-
setPresolveInclusionWorkLimit
public SatParameters.Builder setPresolveInclusionWorkLimit(long value)
A few presolve operations involve detecting constraints included in other constraint. Since there can be a quadratic number of such pairs, and processing them usually involve scanning them, the complexity of these operations can be big. This enforce a local deterministic limit on the number of entries scanned. Default is 1e8. A value of zero will disable these presolve rules completely.
optional int64 presolve_inclusion_work_limit = 201 [default = 100000000];- Parameters:
value- The presolveInclusionWorkLimit to set.- Returns:
- This builder for chaining.
-
clearPresolveInclusionWorkLimit
public SatParameters.Builder clearPresolveInclusionWorkLimit()
A few presolve operations involve detecting constraints included in other constraint. Since there can be a quadratic number of such pairs, and processing them usually involve scanning them, the complexity of these operations can be big. This enforce a local deterministic limit on the number of entries scanned. Default is 1e8. A value of zero will disable these presolve rules completely.
optional int64 presolve_inclusion_work_limit = 201 [default = 100000000];- Returns:
- This builder for chaining.
-
hasIgnoreNames
public boolean hasIgnoreNames()
If true, we don't keep names in our internal copy of the user given model.
optional bool ignore_names = 202 [default = true];- Specified by:
hasIgnoreNamesin interfaceSatParametersOrBuilder- Returns:
- Whether the ignoreNames field is set.
-
getIgnoreNames
public boolean getIgnoreNames()
If true, we don't keep names in our internal copy of the user given model.
optional bool ignore_names = 202 [default = true];- Specified by:
getIgnoreNamesin interfaceSatParametersOrBuilder- Returns:
- The ignoreNames.
-
setIgnoreNames
public SatParameters.Builder setIgnoreNames(boolean value)
If true, we don't keep names in our internal copy of the user given model.
optional bool ignore_names = 202 [default = true];- Parameters:
value- The ignoreNames to set.- Returns:
- This builder for chaining.
-
clearIgnoreNames
public SatParameters.Builder clearIgnoreNames()
If true, we don't keep names in our internal copy of the user given model.
optional bool ignore_names = 202 [default = true];- Returns:
- This builder for chaining.
-
hasInferAllDiffs
public boolean hasInferAllDiffs()
Run a max-clique code amongst all the x != y we can find and try to infer set of variables that are all different. This allows to close neos16.mps for instance. Note that we only run this code if there is no all_diff already in the model so that if a user want to add some all_diff, we assume it is well done and do not try to add more.
optional bool infer_all_diffs = 233 [default = true];- Specified by:
hasInferAllDiffsin interfaceSatParametersOrBuilder- Returns:
- Whether the inferAllDiffs field is set.
-
getInferAllDiffs
public boolean getInferAllDiffs()
Run a max-clique code amongst all the x != y we can find and try to infer set of variables that are all different. This allows to close neos16.mps for instance. Note that we only run this code if there is no all_diff already in the model so that if a user want to add some all_diff, we assume it is well done and do not try to add more.
optional bool infer_all_diffs = 233 [default = true];- Specified by:
getInferAllDiffsin interfaceSatParametersOrBuilder- Returns:
- The inferAllDiffs.
-
setInferAllDiffs
public SatParameters.Builder setInferAllDiffs(boolean value)
Run a max-clique code amongst all the x != y we can find and try to infer set of variables that are all different. This allows to close neos16.mps for instance. Note that we only run this code if there is no all_diff already in the model so that if a user want to add some all_diff, we assume it is well done and do not try to add more.
optional bool infer_all_diffs = 233 [default = true];- Parameters:
value- The inferAllDiffs to set.- Returns:
- This builder for chaining.
-
clearInferAllDiffs
public SatParameters.Builder clearInferAllDiffs()
Run a max-clique code amongst all the x != y we can find and try to infer set of variables that are all different. This allows to close neos16.mps for instance. Note that we only run this code if there is no all_diff already in the model so that if a user want to add some all_diff, we assume it is well done and do not try to add more.
optional bool infer_all_diffs = 233 [default = true];- Returns:
- This builder for chaining.
-
hasFindBigLinearOverlap
public boolean hasFindBigLinearOverlap()
Try to find large "rectangle" in the linear constraint matrix with identical lines. If such rectangle is big enough, we can introduce a new integer variable corresponding to the common expression and greatly reduce the number of non-zero.
optional bool find_big_linear_overlap = 234 [default = true];- Specified by:
hasFindBigLinearOverlapin interfaceSatParametersOrBuilder- Returns:
- Whether the findBigLinearOverlap field is set.
-
getFindBigLinearOverlap
public boolean getFindBigLinearOverlap()
Try to find large "rectangle" in the linear constraint matrix with identical lines. If such rectangle is big enough, we can introduce a new integer variable corresponding to the common expression and greatly reduce the number of non-zero.
optional bool find_big_linear_overlap = 234 [default = true];- Specified by:
getFindBigLinearOverlapin interfaceSatParametersOrBuilder- Returns:
- The findBigLinearOverlap.
-
setFindBigLinearOverlap
public SatParameters.Builder setFindBigLinearOverlap(boolean value)
Try to find large "rectangle" in the linear constraint matrix with identical lines. If such rectangle is big enough, we can introduce a new integer variable corresponding to the common expression and greatly reduce the number of non-zero.
optional bool find_big_linear_overlap = 234 [default = true];- Parameters:
value- The findBigLinearOverlap to set.- Returns:
- This builder for chaining.
-
clearFindBigLinearOverlap
public SatParameters.Builder clearFindBigLinearOverlap()
Try to find large "rectangle" in the linear constraint matrix with identical lines. If such rectangle is big enough, we can introduce a new integer variable corresponding to the common expression and greatly reduce the number of non-zero.
optional bool find_big_linear_overlap = 234 [default = true];- Returns:
- This builder for chaining.
-
hasNumWorkers
public boolean hasNumWorkers()
Specify the number of parallel workers (i.e. threads) to use during search. This should usually be lower than your number of available cpus + hyperthread in your machine. A value of 0 means the solver will try to use all cores on the machine. A number of 1 means no parallelism. Note that 'num_workers' is the preferred name, but if it is set to zero, we will still read the deprecated 'num_search_worker'. As of 2020-04-10, if you're using SAT via MPSolver (to solve integer programs) this field is overridden with a value of 8, if the field is not set *explicitly*. Thus, always set this field explicitly or via MPSolver::SetNumThreads().
optional int32 num_workers = 206 [default = 0];- Specified by:
hasNumWorkersin interfaceSatParametersOrBuilder- Returns:
- Whether the numWorkers field is set.
-
getNumWorkers
public int getNumWorkers()
Specify the number of parallel workers (i.e. threads) to use during search. This should usually be lower than your number of available cpus + hyperthread in your machine. A value of 0 means the solver will try to use all cores on the machine. A number of 1 means no parallelism. Note that 'num_workers' is the preferred name, but if it is set to zero, we will still read the deprecated 'num_search_worker'. As of 2020-04-10, if you're using SAT via MPSolver (to solve integer programs) this field is overridden with a value of 8, if the field is not set *explicitly*. Thus, always set this field explicitly or via MPSolver::SetNumThreads().
optional int32 num_workers = 206 [default = 0];- Specified by:
getNumWorkersin interfaceSatParametersOrBuilder- Returns:
- The numWorkers.
-
setNumWorkers
public SatParameters.Builder setNumWorkers(int value)
Specify the number of parallel workers (i.e. threads) to use during search. This should usually be lower than your number of available cpus + hyperthread in your machine. A value of 0 means the solver will try to use all cores on the machine. A number of 1 means no parallelism. Note that 'num_workers' is the preferred name, but if it is set to zero, we will still read the deprecated 'num_search_worker'. As of 2020-04-10, if you're using SAT via MPSolver (to solve integer programs) this field is overridden with a value of 8, if the field is not set *explicitly*. Thus, always set this field explicitly or via MPSolver::SetNumThreads().
optional int32 num_workers = 206 [default = 0];- Parameters:
value- The numWorkers to set.- Returns:
- This builder for chaining.
-
clearNumWorkers
public SatParameters.Builder clearNumWorkers()
Specify the number of parallel workers (i.e. threads) to use during search. This should usually be lower than your number of available cpus + hyperthread in your machine. A value of 0 means the solver will try to use all cores on the machine. A number of 1 means no parallelism. Note that 'num_workers' is the preferred name, but if it is set to zero, we will still read the deprecated 'num_search_worker'. As of 2020-04-10, if you're using SAT via MPSolver (to solve integer programs) this field is overridden with a value of 8, if the field is not set *explicitly*. Thus, always set this field explicitly or via MPSolver::SetNumThreads().
optional int32 num_workers = 206 [default = 0];- Returns:
- This builder for chaining.
-
hasNumSearchWorkers
public boolean hasNumSearchWorkers()
optional int32 num_search_workers = 100 [default = 0];- Specified by:
hasNumSearchWorkersin interfaceSatParametersOrBuilder- Returns:
- Whether the numSearchWorkers field is set.
-
getNumSearchWorkers
public int getNumSearchWorkers()
optional int32 num_search_workers = 100 [default = 0];- Specified by:
getNumSearchWorkersin interfaceSatParametersOrBuilder- Returns:
- The numSearchWorkers.
-
setNumSearchWorkers
public SatParameters.Builder setNumSearchWorkers(int value)
optional int32 num_search_workers = 100 [default = 0];- Parameters:
value- The numSearchWorkers to set.- Returns:
- This builder for chaining.
-
clearNumSearchWorkers
public SatParameters.Builder clearNumSearchWorkers()
optional int32 num_search_workers = 100 [default = 0];- Returns:
- This builder for chaining.
-
hasMinNumLnsWorkers
public boolean hasMinNumLnsWorkers()
Obsolete parameter. No-op.
optional int32 min_num_lns_workers = 211 [default = 2];- Specified by:
hasMinNumLnsWorkersin interfaceSatParametersOrBuilder- Returns:
- Whether the minNumLnsWorkers field is set.
-
getMinNumLnsWorkers
public int getMinNumLnsWorkers()
Obsolete parameter. No-op.
optional int32 min_num_lns_workers = 211 [default = 2];- Specified by:
getMinNumLnsWorkersin interfaceSatParametersOrBuilder- Returns:
- The minNumLnsWorkers.
-
setMinNumLnsWorkers
public SatParameters.Builder setMinNumLnsWorkers(int value)
Obsolete parameter. No-op.
optional int32 min_num_lns_workers = 211 [default = 2];- Parameters:
value- The minNumLnsWorkers to set.- Returns:
- This builder for chaining.
-
clearMinNumLnsWorkers
public SatParameters.Builder clearMinNumLnsWorkers()
Obsolete parameter. No-op.
optional int32 min_num_lns_workers = 211 [default = 2];- Returns:
- This builder for chaining.
-
getSubsolversList
public com.google.protobuf.ProtocolStringList getSubsolversList()
In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters. This field indicates the names of the parameters that are used in multithread. See cp_model_search.cc to see a list of the names and the default value (if left empty) that looks like: - default_lp (linearization_level:1) - fixed (only if fixed search specified or scheduling) - no_lp (linearization_level:0) - max_lp (linearization_level:2) - pseudo_costs (only if objective, change search heuristic) - reduced_costs (only if objective, change search heuristic) - quick_restart (kind of probing) - quick_restart_no_lp (kind of probing with linearization_level:0) - lb_tree_search (to improve lower bound, MIP like tree search) - probing (continuous probing and shaving) Also, note that some set of parameters will be ignored if they do not make sense. For instance if there is no objective, pseudo_cost or reduced_cost search will be ignored. Core based search will only work if the objective has many terms. If there is no fixed strategy fixed will be ignored. And so on. The order is important, as only the first usable "num_workers - min_num_lns_workers" subsolvers will be scheduled. You can see in the log which one are selected for a given run. All the others will be LNS if there is an objective, or randomized SAT search for pure satisfiability problems.
repeated string subsolvers = 207;- Specified by:
getSubsolversListin interfaceSatParametersOrBuilder- Returns:
- A list containing the subsolvers.
-
getSubsolversCount
public int getSubsolversCount()
In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters. This field indicates the names of the parameters that are used in multithread. See cp_model_search.cc to see a list of the names and the default value (if left empty) that looks like: - default_lp (linearization_level:1) - fixed (only if fixed search specified or scheduling) - no_lp (linearization_level:0) - max_lp (linearization_level:2) - pseudo_costs (only if objective, change search heuristic) - reduced_costs (only if objective, change search heuristic) - quick_restart (kind of probing) - quick_restart_no_lp (kind of probing with linearization_level:0) - lb_tree_search (to improve lower bound, MIP like tree search) - probing (continuous probing and shaving) Also, note that some set of parameters will be ignored if they do not make sense. For instance if there is no objective, pseudo_cost or reduced_cost search will be ignored. Core based search will only work if the objective has many terms. If there is no fixed strategy fixed will be ignored. And so on. The order is important, as only the first usable "num_workers - min_num_lns_workers" subsolvers will be scheduled. You can see in the log which one are selected for a given run. All the others will be LNS if there is an objective, or randomized SAT search for pure satisfiability problems.
repeated string subsolvers = 207;- Specified by:
getSubsolversCountin interfaceSatParametersOrBuilder- Returns:
- The count of subsolvers.
-
getSubsolvers
public java.lang.String getSubsolvers(int index)
In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters. This field indicates the names of the parameters that are used in multithread. See cp_model_search.cc to see a list of the names and the default value (if left empty) that looks like: - default_lp (linearization_level:1) - fixed (only if fixed search specified or scheduling) - no_lp (linearization_level:0) - max_lp (linearization_level:2) - pseudo_costs (only if objective, change search heuristic) - reduced_costs (only if objective, change search heuristic) - quick_restart (kind of probing) - quick_restart_no_lp (kind of probing with linearization_level:0) - lb_tree_search (to improve lower bound, MIP like tree search) - probing (continuous probing and shaving) Also, note that some set of parameters will be ignored if they do not make sense. For instance if there is no objective, pseudo_cost or reduced_cost search will be ignored. Core based search will only work if the objective has many terms. If there is no fixed strategy fixed will be ignored. And so on. The order is important, as only the first usable "num_workers - min_num_lns_workers" subsolvers will be scheduled. You can see in the log which one are selected for a given run. All the others will be LNS if there is an objective, or randomized SAT search for pure satisfiability problems.
repeated string subsolvers = 207;- Specified by:
getSubsolversin interfaceSatParametersOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The subsolvers at the given index.
-
getSubsolversBytes
public com.google.protobuf.ByteString getSubsolversBytes(int index)
In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters. This field indicates the names of the parameters that are used in multithread. See cp_model_search.cc to see a list of the names and the default value (if left empty) that looks like: - default_lp (linearization_level:1) - fixed (only if fixed search specified or scheduling) - no_lp (linearization_level:0) - max_lp (linearization_level:2) - pseudo_costs (only if objective, change search heuristic) - reduced_costs (only if objective, change search heuristic) - quick_restart (kind of probing) - quick_restart_no_lp (kind of probing with linearization_level:0) - lb_tree_search (to improve lower bound, MIP like tree search) - probing (continuous probing and shaving) Also, note that some set of parameters will be ignored if they do not make sense. For instance if there is no objective, pseudo_cost or reduced_cost search will be ignored. Core based search will only work if the objective has many terms. If there is no fixed strategy fixed will be ignored. And so on. The order is important, as only the first usable "num_workers - min_num_lns_workers" subsolvers will be scheduled. You can see in the log which one are selected for a given run. All the others will be LNS if there is an objective, or randomized SAT search for pure satisfiability problems.
repeated string subsolvers = 207;- Specified by:
getSubsolversBytesin interfaceSatParametersOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the subsolvers at the given index.
-
setSubsolvers
public SatParameters.Builder setSubsolvers(int index, java.lang.String value)
In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters. This field indicates the names of the parameters that are used in multithread. See cp_model_search.cc to see a list of the names and the default value (if left empty) that looks like: - default_lp (linearization_level:1) - fixed (only if fixed search specified or scheduling) - no_lp (linearization_level:0) - max_lp (linearization_level:2) - pseudo_costs (only if objective, change search heuristic) - reduced_costs (only if objective, change search heuristic) - quick_restart (kind of probing) - quick_restart_no_lp (kind of probing with linearization_level:0) - lb_tree_search (to improve lower bound, MIP like tree search) - probing (continuous probing and shaving) Also, note that some set of parameters will be ignored if they do not make sense. For instance if there is no objective, pseudo_cost or reduced_cost search will be ignored. Core based search will only work if the objective has many terms. If there is no fixed strategy fixed will be ignored. And so on. The order is important, as only the first usable "num_workers - min_num_lns_workers" subsolvers will be scheduled. You can see in the log which one are selected for a given run. All the others will be LNS if there is an objective, or randomized SAT search for pure satisfiability problems.
repeated string subsolvers = 207;- Parameters:
index- The index to set the value at.value- The subsolvers to set.- Returns:
- This builder for chaining.
-
addSubsolvers
public SatParameters.Builder addSubsolvers(java.lang.String value)
In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters. This field indicates the names of the parameters that are used in multithread. See cp_model_search.cc to see a list of the names and the default value (if left empty) that looks like: - default_lp (linearization_level:1) - fixed (only if fixed search specified or scheduling) - no_lp (linearization_level:0) - max_lp (linearization_level:2) - pseudo_costs (only if objective, change search heuristic) - reduced_costs (only if objective, change search heuristic) - quick_restart (kind of probing) - quick_restart_no_lp (kind of probing with linearization_level:0) - lb_tree_search (to improve lower bound, MIP like tree search) - probing (continuous probing and shaving) Also, note that some set of parameters will be ignored if they do not make sense. For instance if there is no objective, pseudo_cost or reduced_cost search will be ignored. Core based search will only work if the objective has many terms. If there is no fixed strategy fixed will be ignored. And so on. The order is important, as only the first usable "num_workers - min_num_lns_workers" subsolvers will be scheduled. You can see in the log which one are selected for a given run. All the others will be LNS if there is an objective, or randomized SAT search for pure satisfiability problems.
repeated string subsolvers = 207;- Parameters:
value- The subsolvers to add.- Returns:
- This builder for chaining.
-
addAllSubsolvers
public SatParameters.Builder addAllSubsolvers(java.lang.Iterable<java.lang.String> values)
In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters. This field indicates the names of the parameters that are used in multithread. See cp_model_search.cc to see a list of the names and the default value (if left empty) that looks like: - default_lp (linearization_level:1) - fixed (only if fixed search specified or scheduling) - no_lp (linearization_level:0) - max_lp (linearization_level:2) - pseudo_costs (only if objective, change search heuristic) - reduced_costs (only if objective, change search heuristic) - quick_restart (kind of probing) - quick_restart_no_lp (kind of probing with linearization_level:0) - lb_tree_search (to improve lower bound, MIP like tree search) - probing (continuous probing and shaving) Also, note that some set of parameters will be ignored if they do not make sense. For instance if there is no objective, pseudo_cost or reduced_cost search will be ignored. Core based search will only work if the objective has many terms. If there is no fixed strategy fixed will be ignored. And so on. The order is important, as only the first usable "num_workers - min_num_lns_workers" subsolvers will be scheduled. You can see in the log which one are selected for a given run. All the others will be LNS if there is an objective, or randomized SAT search for pure satisfiability problems.
repeated string subsolvers = 207;- Parameters:
values- The subsolvers to add.- Returns:
- This builder for chaining.
-
clearSubsolvers
public SatParameters.Builder clearSubsolvers()
In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters. This field indicates the names of the parameters that are used in multithread. See cp_model_search.cc to see a list of the names and the default value (if left empty) that looks like: - default_lp (linearization_level:1) - fixed (only if fixed search specified or scheduling) - no_lp (linearization_level:0) - max_lp (linearization_level:2) - pseudo_costs (only if objective, change search heuristic) - reduced_costs (only if objective, change search heuristic) - quick_restart (kind of probing) - quick_restart_no_lp (kind of probing with linearization_level:0) - lb_tree_search (to improve lower bound, MIP like tree search) - probing (continuous probing and shaving) Also, note that some set of parameters will be ignored if they do not make sense. For instance if there is no objective, pseudo_cost or reduced_cost search will be ignored. Core based search will only work if the objective has many terms. If there is no fixed strategy fixed will be ignored. And so on. The order is important, as only the first usable "num_workers - min_num_lns_workers" subsolvers will be scheduled. You can see in the log which one are selected for a given run. All the others will be LNS if there is an objective, or randomized SAT search for pure satisfiability problems.
repeated string subsolvers = 207;- Returns:
- This builder for chaining.
-
addSubsolversBytes
public SatParameters.Builder addSubsolversBytes(com.google.protobuf.ByteString value)
In multi-thread, the solver can be mainly seen as a portfolio of solvers with different parameters. This field indicates the names of the parameters that are used in multithread. See cp_model_search.cc to see a list of the names and the default value (if left empty) that looks like: - default_lp (linearization_level:1) - fixed (only if fixed search specified or scheduling) - no_lp (linearization_level:0) - max_lp (linearization_level:2) - pseudo_costs (only if objective, change search heuristic) - reduced_costs (only if objective, change search heuristic) - quick_restart (kind of probing) - quick_restart_no_lp (kind of probing with linearization_level:0) - lb_tree_search (to improve lower bound, MIP like tree search) - probing (continuous probing and shaving) Also, note that some set of parameters will be ignored if they do not make sense. For instance if there is no objective, pseudo_cost or reduced_cost search will be ignored. Core based search will only work if the objective has many terms. If there is no fixed strategy fixed will be ignored. And so on. The order is important, as only the first usable "num_workers - min_num_lns_workers" subsolvers will be scheduled. You can see in the log which one are selected for a given run. All the others will be LNS if there is an objective, or randomized SAT search for pure satisfiability problems.
repeated string subsolvers = 207;- Parameters:
value- The bytes of the subsolvers to add.- Returns:
- This builder for chaining.
-
getExtraSubsolversList
public com.google.protobuf.ProtocolStringList getExtraSubsolversList()
A convenient way to add more workers types. These will be added at the beginning of the list.
repeated string extra_subsolvers = 219;- Specified by:
getExtraSubsolversListin interfaceSatParametersOrBuilder- Returns:
- A list containing the extraSubsolvers.
-
getExtraSubsolversCount
public int getExtraSubsolversCount()
A convenient way to add more workers types. These will be added at the beginning of the list.
repeated string extra_subsolvers = 219;- Specified by:
getExtraSubsolversCountin interfaceSatParametersOrBuilder- Returns:
- The count of extraSubsolvers.
-
getExtraSubsolvers
public java.lang.String getExtraSubsolvers(int index)
A convenient way to add more workers types. These will be added at the beginning of the list.
repeated string extra_subsolvers = 219;- Specified by:
getExtraSubsolversin interfaceSatParametersOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The extraSubsolvers at the given index.
-
getExtraSubsolversBytes
public com.google.protobuf.ByteString getExtraSubsolversBytes(int index)
A convenient way to add more workers types. These will be added at the beginning of the list.
repeated string extra_subsolvers = 219;- Specified by:
getExtraSubsolversBytesin interfaceSatParametersOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the extraSubsolvers at the given index.
-
setExtraSubsolvers
public SatParameters.Builder setExtraSubsolvers(int index, java.lang.String value)
A convenient way to add more workers types. These will be added at the beginning of the list.
repeated string extra_subsolvers = 219;- Parameters:
index- The index to set the value at.value- The extraSubsolvers to set.- Returns:
- This builder for chaining.
-
addExtraSubsolvers
public SatParameters.Builder addExtraSubsolvers(java.lang.String value)
A convenient way to add more workers types. These will be added at the beginning of the list.
repeated string extra_subsolvers = 219;- Parameters:
value- The extraSubsolvers to add.- Returns:
- This builder for chaining.
-
addAllExtraSubsolvers
public SatParameters.Builder addAllExtraSubsolvers(java.lang.Iterable<java.lang.String> values)
A convenient way to add more workers types. These will be added at the beginning of the list.
repeated string extra_subsolvers = 219;- Parameters:
values- The extraSubsolvers to add.- Returns:
- This builder for chaining.
-
clearExtraSubsolvers
public SatParameters.Builder clearExtraSubsolvers()
A convenient way to add more workers types. These will be added at the beginning of the list.
repeated string extra_subsolvers = 219;- Returns:
- This builder for chaining.
-
addExtraSubsolversBytes
public SatParameters.Builder addExtraSubsolversBytes(com.google.protobuf.ByteString value)
A convenient way to add more workers types. These will be added at the beginning of the list.
repeated string extra_subsolvers = 219;- Parameters:
value- The bytes of the extraSubsolvers to add.- Returns:
- This builder for chaining.
-
getIgnoreSubsolversList
public com.google.protobuf.ProtocolStringList getIgnoreSubsolversList()
Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.
repeated string ignore_subsolvers = 209;- Specified by:
getIgnoreSubsolversListin interfaceSatParametersOrBuilder- Returns:
- A list containing the ignoreSubsolvers.
-
getIgnoreSubsolversCount
public int getIgnoreSubsolversCount()
Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.
repeated string ignore_subsolvers = 209;- Specified by:
getIgnoreSubsolversCountin interfaceSatParametersOrBuilder- Returns:
- The count of ignoreSubsolvers.
-
getIgnoreSubsolvers
public java.lang.String getIgnoreSubsolvers(int index)
Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.
repeated string ignore_subsolvers = 209;- Specified by:
getIgnoreSubsolversin interfaceSatParametersOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ignoreSubsolvers at the given index.
-
getIgnoreSubsolversBytes
public com.google.protobuf.ByteString getIgnoreSubsolversBytes(int index)
Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.
repeated string ignore_subsolvers = 209;- Specified by:
getIgnoreSubsolversBytesin interfaceSatParametersOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ignoreSubsolvers at the given index.
-
setIgnoreSubsolvers
public SatParameters.Builder setIgnoreSubsolvers(int index, java.lang.String value)
Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.
repeated string ignore_subsolvers = 209;- Parameters:
index- The index to set the value at.value- The ignoreSubsolvers to set.- Returns:
- This builder for chaining.
-
addIgnoreSubsolvers
public SatParameters.Builder addIgnoreSubsolvers(java.lang.String value)
Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.
repeated string ignore_subsolvers = 209;- Parameters:
value- The ignoreSubsolvers to add.- Returns:
- This builder for chaining.
-
addAllIgnoreSubsolvers
public SatParameters.Builder addAllIgnoreSubsolvers(java.lang.Iterable<java.lang.String> values)
Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.
repeated string ignore_subsolvers = 209;- Parameters:
values- The ignoreSubsolvers to add.- Returns:
- This builder for chaining.
-
clearIgnoreSubsolvers
public SatParameters.Builder clearIgnoreSubsolvers()
Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.
repeated string ignore_subsolvers = 209;- Returns:
- This builder for chaining.
-
addIgnoreSubsolversBytes
public SatParameters.Builder addIgnoreSubsolversBytes(com.google.protobuf.ByteString value)
Rather than fully specifying subsolvers, it is often convenient to just remove the ones that are not useful on a given problem.
repeated string ignore_subsolvers = 209;- Parameters:
value- The bytes of the ignoreSubsolvers to add.- Returns:
- This builder for chaining.
-
getSubsolverParamsList
public java.util.List<SatParameters> getSubsolverParamsList()
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;- Specified by:
getSubsolverParamsListin interfaceSatParametersOrBuilder
-
getSubsolverParamsCount
public int getSubsolverParamsCount()
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;- Specified by:
getSubsolverParamsCountin interfaceSatParametersOrBuilder
-
getSubsolverParams
public SatParameters getSubsolverParams(int index)
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;- Specified by:
getSubsolverParamsin interfaceSatParametersOrBuilder
-
setSubsolverParams
public SatParameters.Builder setSubsolverParams(int index, SatParameters value)
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;
-
setSubsolverParams
public SatParameters.Builder setSubsolverParams(int index, SatParameters.Builder builderForValue)
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;
-
addSubsolverParams
public SatParameters.Builder addSubsolverParams(SatParameters value)
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;
-
addSubsolverParams
public SatParameters.Builder addSubsolverParams(int index, SatParameters value)
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;
-
addSubsolverParams
public SatParameters.Builder addSubsolverParams(SatParameters.Builder builderForValue)
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;
-
addSubsolverParams
public SatParameters.Builder addSubsolverParams(int index, SatParameters.Builder builderForValue)
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;
-
addAllSubsolverParams
public SatParameters.Builder addAllSubsolverParams(java.lang.Iterable<? extends SatParameters> values)
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;
-
clearSubsolverParams
public SatParameters.Builder clearSubsolverParams()
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;
-
removeSubsolverParams
public SatParameters.Builder removeSubsolverParams(int index)
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;
-
getSubsolverParamsBuilder
public SatParameters.Builder getSubsolverParamsBuilder(int index)
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;
-
getSubsolverParamsOrBuilder
public SatParametersOrBuilder getSubsolverParamsOrBuilder(int index)
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;- Specified by:
getSubsolverParamsOrBuilderin interfaceSatParametersOrBuilder
-
getSubsolverParamsOrBuilderList
public java.util.List<? extends SatParametersOrBuilder> getSubsolverParamsOrBuilderList()
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;- Specified by:
getSubsolverParamsOrBuilderListin interfaceSatParametersOrBuilder
-
addSubsolverParamsBuilder
public SatParameters.Builder addSubsolverParamsBuilder()
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;
-
addSubsolverParamsBuilder
public SatParameters.Builder addSubsolverParamsBuilder(int index)
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;
-
getSubsolverParamsBuilderList
public java.util.List<SatParameters.Builder> getSubsolverParamsBuilderList()
It is possible to specify additional subsolver configuration. These can be referred by their params.name() in the fields above. Note that only the specified field will "overwrite" the ones of the base parameter. It is also possible to overwrite the default names above.
repeated .operations_research.sat.SatParameters subsolver_params = 210;
-
hasInterleaveSearch
public boolean hasInterleaveSearch()
Experimental. If this is true, then we interleave all our major search strategy and distribute the work amongst num_workers. The search is deterministic (independently of num_workers!), and we schedule and wait for interleave_batch_size task to be completed before synchronizing and scheduling the next batch of tasks.
optional bool interleave_search = 136 [default = false];- Specified by:
hasInterleaveSearchin interfaceSatParametersOrBuilder- Returns:
- Whether the interleaveSearch field is set.
-
getInterleaveSearch
public boolean getInterleaveSearch()
Experimental. If this is true, then we interleave all our major search strategy and distribute the work amongst num_workers. The search is deterministic (independently of num_workers!), and we schedule and wait for interleave_batch_size task to be completed before synchronizing and scheduling the next batch of tasks.
optional bool interleave_search = 136 [default = false];- Specified by:
getInterleaveSearchin interfaceSatParametersOrBuilder- Returns:
- The interleaveSearch.
-
setInterleaveSearch
public SatParameters.Builder setInterleaveSearch(boolean value)
Experimental. If this is true, then we interleave all our major search strategy and distribute the work amongst num_workers. The search is deterministic (independently of num_workers!), and we schedule and wait for interleave_batch_size task to be completed before synchronizing and scheduling the next batch of tasks.
optional bool interleave_search = 136 [default = false];- Parameters:
value- The interleaveSearch to set.- Returns:
- This builder for chaining.
-
clearInterleaveSearch
public SatParameters.Builder clearInterleaveSearch()
Experimental. If this is true, then we interleave all our major search strategy and distribute the work amongst num_workers. The search is deterministic (independently of num_workers!), and we schedule and wait for interleave_batch_size task to be completed before synchronizing and scheduling the next batch of tasks.
optional bool interleave_search = 136 [default = false];- Returns:
- This builder for chaining.
-
hasInterleaveBatchSize
public boolean hasInterleaveBatchSize()
optional int32 interleave_batch_size = 134 [default = 0];- Specified by:
hasInterleaveBatchSizein interfaceSatParametersOrBuilder- Returns:
- Whether the interleaveBatchSize field is set.
-
getInterleaveBatchSize
public int getInterleaveBatchSize()
optional int32 interleave_batch_size = 134 [default = 0];- Specified by:
getInterleaveBatchSizein interfaceSatParametersOrBuilder- Returns:
- The interleaveBatchSize.
-
setInterleaveBatchSize
public SatParameters.Builder setInterleaveBatchSize(int value)
optional int32 interleave_batch_size = 134 [default = 0];- Parameters:
value- The interleaveBatchSize to set.- Returns:
- This builder for chaining.
-
clearInterleaveBatchSize
public SatParameters.Builder clearInterleaveBatchSize()
optional int32 interleave_batch_size = 134 [default = 0];- Returns:
- This builder for chaining.
-
hasShareObjectiveBounds
public boolean hasShareObjectiveBounds()
Allows objective sharing between workers.
optional bool share_objective_bounds = 113 [default = true];- Specified by:
hasShareObjectiveBoundsin interfaceSatParametersOrBuilder- Returns:
- Whether the shareObjectiveBounds field is set.
-
getShareObjectiveBounds
public boolean getShareObjectiveBounds()
Allows objective sharing between workers.
optional bool share_objective_bounds = 113 [default = true];- Specified by:
getShareObjectiveBoundsin interfaceSatParametersOrBuilder- Returns:
- The shareObjectiveBounds.
-
setShareObjectiveBounds
public SatParameters.Builder setShareObjectiveBounds(boolean value)
Allows objective sharing between workers.
optional bool share_objective_bounds = 113 [default = true];- Parameters:
value- The shareObjectiveBounds to set.- Returns:
- This builder for chaining.
-
clearShareObjectiveBounds
public SatParameters.Builder clearShareObjectiveBounds()
Allows objective sharing between workers.
optional bool share_objective_bounds = 113 [default = true];- Returns:
- This builder for chaining.
-
hasShareLevelZeroBounds
public boolean hasShareLevelZeroBounds()
Allows sharing of the bounds of modified variables at level 0.
optional bool share_level_zero_bounds = 114 [default = true];- Specified by:
hasShareLevelZeroBoundsin interfaceSatParametersOrBuilder- Returns:
- Whether the shareLevelZeroBounds field is set.
-
getShareLevelZeroBounds
public boolean getShareLevelZeroBounds()
Allows sharing of the bounds of modified variables at level 0.
optional bool share_level_zero_bounds = 114 [default = true];- Specified by:
getShareLevelZeroBoundsin interfaceSatParametersOrBuilder- Returns:
- The shareLevelZeroBounds.
-
setShareLevelZeroBounds
public SatParameters.Builder setShareLevelZeroBounds(boolean value)
Allows sharing of the bounds of modified variables at level 0.
optional bool share_level_zero_bounds = 114 [default = true];- Parameters:
value- The shareLevelZeroBounds to set.- Returns:
- This builder for chaining.
-
clearShareLevelZeroBounds
public SatParameters.Builder clearShareLevelZeroBounds()
Allows sharing of the bounds of modified variables at level 0.
optional bool share_level_zero_bounds = 114 [default = true];- Returns:
- This builder for chaining.
-
hasShareBinaryClauses
public boolean hasShareBinaryClauses()
Allows sharing of new learned binary clause between workers.
optional bool share_binary_clauses = 203 [default = true];- Specified by:
hasShareBinaryClausesin interfaceSatParametersOrBuilder- Returns:
- Whether the shareBinaryClauses field is set.
-
getShareBinaryClauses
public boolean getShareBinaryClauses()
Allows sharing of new learned binary clause between workers.
optional bool share_binary_clauses = 203 [default = true];- Specified by:
getShareBinaryClausesin interfaceSatParametersOrBuilder- Returns:
- The shareBinaryClauses.
-
setShareBinaryClauses
public SatParameters.Builder setShareBinaryClauses(boolean value)
Allows sharing of new learned binary clause between workers.
optional bool share_binary_clauses = 203 [default = true];- Parameters:
value- The shareBinaryClauses to set.- Returns:
- This builder for chaining.
-
clearShareBinaryClauses
public SatParameters.Builder clearShareBinaryClauses()
Allows sharing of new learned binary clause between workers.
optional bool share_binary_clauses = 203 [default = true];- Returns:
- This builder for chaining.
-
hasDebugPostsolveWithFullSolver
public boolean hasDebugPostsolveWithFullSolver()
We have two different postsolve code. The default one should be better and it allows for a more powerful presolve, but it can be useful to postsolve using the full solver instead.
optional bool debug_postsolve_with_full_solver = 162 [default = false];- Specified by:
hasDebugPostsolveWithFullSolverin interfaceSatParametersOrBuilder- Returns:
- Whether the debugPostsolveWithFullSolver field is set.
-
getDebugPostsolveWithFullSolver
public boolean getDebugPostsolveWithFullSolver()
We have two different postsolve code. The default one should be better and it allows for a more powerful presolve, but it can be useful to postsolve using the full solver instead.
optional bool debug_postsolve_with_full_solver = 162 [default = false];- Specified by:
getDebugPostsolveWithFullSolverin interfaceSatParametersOrBuilder- Returns:
- The debugPostsolveWithFullSolver.
-
setDebugPostsolveWithFullSolver
public SatParameters.Builder setDebugPostsolveWithFullSolver(boolean value)
We have two different postsolve code. The default one should be better and it allows for a more powerful presolve, but it can be useful to postsolve using the full solver instead.
optional bool debug_postsolve_with_full_solver = 162 [default = false];- Parameters:
value- The debugPostsolveWithFullSolver to set.- Returns:
- This builder for chaining.
-
clearDebugPostsolveWithFullSolver
public SatParameters.Builder clearDebugPostsolveWithFullSolver()
We have two different postsolve code. The default one should be better and it allows for a more powerful presolve, but it can be useful to postsolve using the full solver instead.
optional bool debug_postsolve_with_full_solver = 162 [default = false];- Returns:
- This builder for chaining.
-
hasDebugMaxNumPresolveOperations
public boolean hasDebugMaxNumPresolveOperations()
If positive, try to stop just after that many presolve rules have been applied. This is mainly useful for debugging presolve.
optional int32 debug_max_num_presolve_operations = 151 [default = 0];- Specified by:
hasDebugMaxNumPresolveOperationsin interfaceSatParametersOrBuilder- Returns:
- Whether the debugMaxNumPresolveOperations field is set.
-
getDebugMaxNumPresolveOperations
public int getDebugMaxNumPresolveOperations()
If positive, try to stop just after that many presolve rules have been applied. This is mainly useful for debugging presolve.
optional int32 debug_max_num_presolve_operations = 151 [default = 0];- Specified by:
getDebugMaxNumPresolveOperationsin interfaceSatParametersOrBuilder- Returns:
- The debugMaxNumPresolveOperations.
-
setDebugMaxNumPresolveOperations
public SatParameters.Builder setDebugMaxNumPresolveOperations(int value)
If positive, try to stop just after that many presolve rules have been applied. This is mainly useful for debugging presolve.
optional int32 debug_max_num_presolve_operations = 151 [default = 0];- Parameters:
value- The debugMaxNumPresolveOperations to set.- Returns:
- This builder for chaining.
-
clearDebugMaxNumPresolveOperations
public SatParameters.Builder clearDebugMaxNumPresolveOperations()
If positive, try to stop just after that many presolve rules have been applied. This is mainly useful for debugging presolve.
optional int32 debug_max_num_presolve_operations = 151 [default = 0];- Returns:
- This builder for chaining.
-
hasDebugCrashOnBadHint
public boolean hasDebugCrashOnBadHint()
Crash if we do not manage to complete the hint into a full solution.
optional bool debug_crash_on_bad_hint = 195 [default = false];- Specified by:
hasDebugCrashOnBadHintin interfaceSatParametersOrBuilder- Returns:
- Whether the debugCrashOnBadHint field is set.
-
getDebugCrashOnBadHint
public boolean getDebugCrashOnBadHint()
Crash if we do not manage to complete the hint into a full solution.
optional bool debug_crash_on_bad_hint = 195 [default = false];- Specified by:
getDebugCrashOnBadHintin interfaceSatParametersOrBuilder- Returns:
- The debugCrashOnBadHint.
-
setDebugCrashOnBadHint
public SatParameters.Builder setDebugCrashOnBadHint(boolean value)
Crash if we do not manage to complete the hint into a full solution.
optional bool debug_crash_on_bad_hint = 195 [default = false];- Parameters:
value- The debugCrashOnBadHint to set.- Returns:
- This builder for chaining.
-
clearDebugCrashOnBadHint
public SatParameters.Builder clearDebugCrashOnBadHint()
Crash if we do not manage to complete the hint into a full solution.
optional bool debug_crash_on_bad_hint = 195 [default = false];- Returns:
- This builder for chaining.
-
hasUseOptimizationHints
public boolean hasUseOptimizationHints()
For an optimization problem, whether we follow some hints in order to find a better first solution. For a variable with hint, the solver will always try to follow the hint. It will revert to the variable_branching default otherwise.
optional bool use_optimization_hints = 35 [default = true];- Specified by:
hasUseOptimizationHintsin interfaceSatParametersOrBuilder- Returns:
- Whether the useOptimizationHints field is set.
-
getUseOptimizationHints
public boolean getUseOptimizationHints()
For an optimization problem, whether we follow some hints in order to find a better first solution. For a variable with hint, the solver will always try to follow the hint. It will revert to the variable_branching default otherwise.
optional bool use_optimization_hints = 35 [default = true];- Specified by:
getUseOptimizationHintsin interfaceSatParametersOrBuilder- Returns:
- The useOptimizationHints.
-
setUseOptimizationHints
public SatParameters.Builder setUseOptimizationHints(boolean value)
For an optimization problem, whether we follow some hints in order to find a better first solution. For a variable with hint, the solver will always try to follow the hint. It will revert to the variable_branching default otherwise.
optional bool use_optimization_hints = 35 [default = true];- Parameters:
value- The useOptimizationHints to set.- Returns:
- This builder for chaining.
-
clearUseOptimizationHints
public SatParameters.Builder clearUseOptimizationHints()
For an optimization problem, whether we follow some hints in order to find a better first solution. For a variable with hint, the solver will always try to follow the hint. It will revert to the variable_branching default otherwise.
optional bool use_optimization_hints = 35 [default = true];- Returns:
- This builder for chaining.
-
hasCoreMinimizationLevel
public boolean hasCoreMinimizationLevel()
If positive, we spend some effort on each core: - At level 1, we use a simple heuristic to try to minimize an UNSAT core. - At level 2, we use propagation to minimize the core but also identify literal in at most one relationship in this core.
optional int32 core_minimization_level = 50 [default = 2];- Specified by:
hasCoreMinimizationLevelin interfaceSatParametersOrBuilder- Returns:
- Whether the coreMinimizationLevel field is set.
-
getCoreMinimizationLevel
public int getCoreMinimizationLevel()
If positive, we spend some effort on each core: - At level 1, we use a simple heuristic to try to minimize an UNSAT core. - At level 2, we use propagation to minimize the core but also identify literal in at most one relationship in this core.
optional int32 core_minimization_level = 50 [default = 2];- Specified by:
getCoreMinimizationLevelin interfaceSatParametersOrBuilder- Returns:
- The coreMinimizationLevel.
-
setCoreMinimizationLevel
public SatParameters.Builder setCoreMinimizationLevel(int value)
If positive, we spend some effort on each core: - At level 1, we use a simple heuristic to try to minimize an UNSAT core. - At level 2, we use propagation to minimize the core but also identify literal in at most one relationship in this core.
optional int32 core_minimization_level = 50 [default = 2];- Parameters:
value- The coreMinimizationLevel to set.- Returns:
- This builder for chaining.
-
clearCoreMinimizationLevel
public SatParameters.Builder clearCoreMinimizationLevel()
If positive, we spend some effort on each core: - At level 1, we use a simple heuristic to try to minimize an UNSAT core. - At level 2, we use propagation to minimize the core but also identify literal in at most one relationship in this core.
optional int32 core_minimization_level = 50 [default = 2];- Returns:
- This builder for chaining.
-
hasFindMultipleCores
public boolean hasFindMultipleCores()
Whether we try to find more independent cores for a given set of assumptions in the core based max-SAT algorithms.
optional bool find_multiple_cores = 84 [default = true];- Specified by:
hasFindMultipleCoresin interfaceSatParametersOrBuilder- Returns:
- Whether the findMultipleCores field is set.
-
getFindMultipleCores
public boolean getFindMultipleCores()
Whether we try to find more independent cores for a given set of assumptions in the core based max-SAT algorithms.
optional bool find_multiple_cores = 84 [default = true];- Specified by:
getFindMultipleCoresin interfaceSatParametersOrBuilder- Returns:
- The findMultipleCores.
-
setFindMultipleCores
public SatParameters.Builder setFindMultipleCores(boolean value)
Whether we try to find more independent cores for a given set of assumptions in the core based max-SAT algorithms.
optional bool find_multiple_cores = 84 [default = true];- Parameters:
value- The findMultipleCores to set.- Returns:
- This builder for chaining.
-
clearFindMultipleCores
public SatParameters.Builder clearFindMultipleCores()
Whether we try to find more independent cores for a given set of assumptions in the core based max-SAT algorithms.
optional bool find_multiple_cores = 84 [default = true];- Returns:
- This builder for chaining.
-
hasCoverOptimization
public boolean hasCoverOptimization()
If true, when the max-sat algo find a core, we compute the minimal number of literals in the core that needs to be true to have a feasible solution. This is also called core exhaustion in more recent max-SAT papers.
optional bool cover_optimization = 89 [default = true];- Specified by:
hasCoverOptimizationin interfaceSatParametersOrBuilder- Returns:
- Whether the coverOptimization field is set.
-
getCoverOptimization
public boolean getCoverOptimization()
If true, when the max-sat algo find a core, we compute the minimal number of literals in the core that needs to be true to have a feasible solution. This is also called core exhaustion in more recent max-SAT papers.
optional bool cover_optimization = 89 [default = true];- Specified by:
getCoverOptimizationin interfaceSatParametersOrBuilder- Returns:
- The coverOptimization.
-
setCoverOptimization
public SatParameters.Builder setCoverOptimization(boolean value)
If true, when the max-sat algo find a core, we compute the minimal number of literals in the core that needs to be true to have a feasible solution. This is also called core exhaustion in more recent max-SAT papers.
optional bool cover_optimization = 89 [default = true];- Parameters:
value- The coverOptimization to set.- Returns:
- This builder for chaining.
-
clearCoverOptimization
public SatParameters.Builder clearCoverOptimization()
If true, when the max-sat algo find a core, we compute the minimal number of literals in the core that needs to be true to have a feasible solution. This is also called core exhaustion in more recent max-SAT papers.
optional bool cover_optimization = 89 [default = true];- Returns:
- This builder for chaining.
-
hasMaxSatAssumptionOrder
public boolean hasMaxSatAssumptionOrder()
optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];- Specified by:
hasMaxSatAssumptionOrderin interfaceSatParametersOrBuilder- Returns:
- Whether the maxSatAssumptionOrder field is set.
-
getMaxSatAssumptionOrder
public SatParameters.MaxSatAssumptionOrder getMaxSatAssumptionOrder()
optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];- Specified by:
getMaxSatAssumptionOrderin interfaceSatParametersOrBuilder- Returns:
- The maxSatAssumptionOrder.
-
setMaxSatAssumptionOrder
public SatParameters.Builder setMaxSatAssumptionOrder(SatParameters.MaxSatAssumptionOrder value)
optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];- Parameters:
value- The maxSatAssumptionOrder to set.- Returns:
- This builder for chaining.
-
clearMaxSatAssumptionOrder
public SatParameters.Builder clearMaxSatAssumptionOrder()
optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];- Returns:
- This builder for chaining.
-
hasMaxSatReverseAssumptionOrder
public boolean hasMaxSatReverseAssumptionOrder()
If true, adds the assumption in the reverse order of the one defined by max_sat_assumption_order.
optional bool max_sat_reverse_assumption_order = 52 [default = false];- Specified by:
hasMaxSatReverseAssumptionOrderin interfaceSatParametersOrBuilder- Returns:
- Whether the maxSatReverseAssumptionOrder field is set.
-
getMaxSatReverseAssumptionOrder
public boolean getMaxSatReverseAssumptionOrder()
If true, adds the assumption in the reverse order of the one defined by max_sat_assumption_order.
optional bool max_sat_reverse_assumption_order = 52 [default = false];- Specified by:
getMaxSatReverseAssumptionOrderin interfaceSatParametersOrBuilder- Returns:
- The maxSatReverseAssumptionOrder.
-
setMaxSatReverseAssumptionOrder
public SatParameters.Builder setMaxSatReverseAssumptionOrder(boolean value)
If true, adds the assumption in the reverse order of the one defined by max_sat_assumption_order.
optional bool max_sat_reverse_assumption_order = 52 [default = false];- Parameters:
value- The maxSatReverseAssumptionOrder to set.- Returns:
- This builder for chaining.
-
clearMaxSatReverseAssumptionOrder
public SatParameters.Builder clearMaxSatReverseAssumptionOrder()
If true, adds the assumption in the reverse order of the one defined by max_sat_assumption_order.
optional bool max_sat_reverse_assumption_order = 52 [default = false];- Returns:
- This builder for chaining.
-
hasMaxSatStratification
public boolean hasMaxSatStratification()
optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];- Specified by:
hasMaxSatStratificationin interfaceSatParametersOrBuilder- Returns:
- Whether the maxSatStratification field is set.
-
getMaxSatStratification
public SatParameters.MaxSatStratificationAlgorithm getMaxSatStratification()
optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];- Specified by:
getMaxSatStratificationin interfaceSatParametersOrBuilder- Returns:
- The maxSatStratification.
-
setMaxSatStratification
public SatParameters.Builder setMaxSatStratification(SatParameters.MaxSatStratificationAlgorithm value)
optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];- Parameters:
value- The maxSatStratification to set.- Returns:
- This builder for chaining.
-
clearMaxSatStratification
public SatParameters.Builder clearMaxSatStratification()
optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];- Returns:
- This builder for chaining.
-
hasPropagationLoopDetectionFactor
public boolean hasPropagationLoopDetectionFactor()
Some search decisions might cause a really large number of propagations to happen when integer variables with large domains are only reduced by 1 at each step. If we propagate more than the number of variable times this parameters we try to take counter-measure. Setting this to 0.0 disable this feature. TODO(user): Setting this to something like 10 helps in most cases, but the code is currently buggy and can cause the solve to enter a bad state where no progress is made.
optional double propagation_loop_detection_factor = 221 [default = 10];- Specified by:
hasPropagationLoopDetectionFactorin interfaceSatParametersOrBuilder- Returns:
- Whether the propagationLoopDetectionFactor field is set.
-
getPropagationLoopDetectionFactor
public double getPropagationLoopDetectionFactor()
Some search decisions might cause a really large number of propagations to happen when integer variables with large domains are only reduced by 1 at each step. If we propagate more than the number of variable times this parameters we try to take counter-measure. Setting this to 0.0 disable this feature. TODO(user): Setting this to something like 10 helps in most cases, but the code is currently buggy and can cause the solve to enter a bad state where no progress is made.
optional double propagation_loop_detection_factor = 221 [default = 10];- Specified by:
getPropagationLoopDetectionFactorin interfaceSatParametersOrBuilder- Returns:
- The propagationLoopDetectionFactor.
-
setPropagationLoopDetectionFactor
public SatParameters.Builder setPropagationLoopDetectionFactor(double value)
Some search decisions might cause a really large number of propagations to happen when integer variables with large domains are only reduced by 1 at each step. If we propagate more than the number of variable times this parameters we try to take counter-measure. Setting this to 0.0 disable this feature. TODO(user): Setting this to something like 10 helps in most cases, but the code is currently buggy and can cause the solve to enter a bad state where no progress is made.
optional double propagation_loop_detection_factor = 221 [default = 10];- Parameters:
value- The propagationLoopDetectionFactor to set.- Returns:
- This builder for chaining.
-
clearPropagationLoopDetectionFactor
public SatParameters.Builder clearPropagationLoopDetectionFactor()
Some search decisions might cause a really large number of propagations to happen when integer variables with large domains are only reduced by 1 at each step. If we propagate more than the number of variable times this parameters we try to take counter-measure. Setting this to 0.0 disable this feature. TODO(user): Setting this to something like 10 helps in most cases, but the code is currently buggy and can cause the solve to enter a bad state where no progress is made.
optional double propagation_loop_detection_factor = 221 [default = 10];- Returns:
- This builder for chaining.
-
hasUsePrecedencesInDisjunctiveConstraint
public boolean hasUsePrecedencesInDisjunctiveConstraint()
When this is true, then a disjunctive constraint will try to use the precedence relations between time intervals to propagate their bounds further. For instance if task A and B are both before C and task A and B are in disjunction, then we can deduce that task C must start after duration(A) + duration(B) instead of simply max(duration(A), duration(B)), provided that the start time for all task was currently zero. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_precedences_in_disjunctive_constraint = 74 [default = true];- Specified by:
hasUsePrecedencesInDisjunctiveConstraintin interfaceSatParametersOrBuilder- Returns:
- Whether the usePrecedencesInDisjunctiveConstraint field is set.
-
getUsePrecedencesInDisjunctiveConstraint
public boolean getUsePrecedencesInDisjunctiveConstraint()
When this is true, then a disjunctive constraint will try to use the precedence relations between time intervals to propagate their bounds further. For instance if task A and B are both before C and task A and B are in disjunction, then we can deduce that task C must start after duration(A) + duration(B) instead of simply max(duration(A), duration(B)), provided that the start time for all task was currently zero. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_precedences_in_disjunctive_constraint = 74 [default = true];- Specified by:
getUsePrecedencesInDisjunctiveConstraintin interfaceSatParametersOrBuilder- Returns:
- The usePrecedencesInDisjunctiveConstraint.
-
setUsePrecedencesInDisjunctiveConstraint
public SatParameters.Builder setUsePrecedencesInDisjunctiveConstraint(boolean value)
When this is true, then a disjunctive constraint will try to use the precedence relations between time intervals to propagate their bounds further. For instance if task A and B are both before C and task A and B are in disjunction, then we can deduce that task C must start after duration(A) + duration(B) instead of simply max(duration(A), duration(B)), provided that the start time for all task was currently zero. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_precedences_in_disjunctive_constraint = 74 [default = true];- Parameters:
value- The usePrecedencesInDisjunctiveConstraint to set.- Returns:
- This builder for chaining.
-
clearUsePrecedencesInDisjunctiveConstraint
public SatParameters.Builder clearUsePrecedencesInDisjunctiveConstraint()
When this is true, then a disjunctive constraint will try to use the precedence relations between time intervals to propagate their bounds further. For instance if task A and B are both before C and task A and B are in disjunction, then we can deduce that task C must start after duration(A) + duration(B) instead of simply max(duration(A), duration(B)), provided that the start time for all task was currently zero. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_precedences_in_disjunctive_constraint = 74 [default = true];- Returns:
- This builder for chaining.
-
hasMaxSizeToCreatePrecedenceLiteralsInDisjunctive
public boolean hasMaxSizeToCreatePrecedenceLiteralsInDisjunctive()
Create one literal for each disjunction of two pairs of tasks. This slows down the solve time, but improves the lower bound of the objective in the makespan case. This will be triggered if the number of intervals is less or equal than the parameter and if use_strong_propagation_in_disjunctive is true.
optional int32 max_size_to_create_precedence_literals_in_disjunctive = 229 [default = 60];- Specified by:
hasMaxSizeToCreatePrecedenceLiteralsInDisjunctivein interfaceSatParametersOrBuilder- Returns:
- Whether the maxSizeToCreatePrecedenceLiteralsInDisjunctive field is set.
-
getMaxSizeToCreatePrecedenceLiteralsInDisjunctive
public int getMaxSizeToCreatePrecedenceLiteralsInDisjunctive()
Create one literal for each disjunction of two pairs of tasks. This slows down the solve time, but improves the lower bound of the objective in the makespan case. This will be triggered if the number of intervals is less or equal than the parameter and if use_strong_propagation_in_disjunctive is true.
optional int32 max_size_to_create_precedence_literals_in_disjunctive = 229 [default = 60];- Specified by:
getMaxSizeToCreatePrecedenceLiteralsInDisjunctivein interfaceSatParametersOrBuilder- Returns:
- The maxSizeToCreatePrecedenceLiteralsInDisjunctive.
-
setMaxSizeToCreatePrecedenceLiteralsInDisjunctive
public SatParameters.Builder setMaxSizeToCreatePrecedenceLiteralsInDisjunctive(int value)
Create one literal for each disjunction of two pairs of tasks. This slows down the solve time, but improves the lower bound of the objective in the makespan case. This will be triggered if the number of intervals is less or equal than the parameter and if use_strong_propagation_in_disjunctive is true.
optional int32 max_size_to_create_precedence_literals_in_disjunctive = 229 [default = 60];- Parameters:
value- The maxSizeToCreatePrecedenceLiteralsInDisjunctive to set.- Returns:
- This builder for chaining.
-
clearMaxSizeToCreatePrecedenceLiteralsInDisjunctive
public SatParameters.Builder clearMaxSizeToCreatePrecedenceLiteralsInDisjunctive()
Create one literal for each disjunction of two pairs of tasks. This slows down the solve time, but improves the lower bound of the objective in the makespan case. This will be triggered if the number of intervals is less or equal than the parameter and if use_strong_propagation_in_disjunctive is true.
optional int32 max_size_to_create_precedence_literals_in_disjunctive = 229 [default = 60];- Returns:
- This builder for chaining.
-
hasUseStrongPropagationInDisjunctive
public boolean hasUseStrongPropagationInDisjunctive()
Enable stronger and more expensive propagation on no_overlap constraint.
optional bool use_strong_propagation_in_disjunctive = 230 [default = false];- Specified by:
hasUseStrongPropagationInDisjunctivein interfaceSatParametersOrBuilder- Returns:
- Whether the useStrongPropagationInDisjunctive field is set.
-
getUseStrongPropagationInDisjunctive
public boolean getUseStrongPropagationInDisjunctive()
Enable stronger and more expensive propagation on no_overlap constraint.
optional bool use_strong_propagation_in_disjunctive = 230 [default = false];- Specified by:
getUseStrongPropagationInDisjunctivein interfaceSatParametersOrBuilder- Returns:
- The useStrongPropagationInDisjunctive.
-
setUseStrongPropagationInDisjunctive
public SatParameters.Builder setUseStrongPropagationInDisjunctive(boolean value)
Enable stronger and more expensive propagation on no_overlap constraint.
optional bool use_strong_propagation_in_disjunctive = 230 [default = false];- Parameters:
value- The useStrongPropagationInDisjunctive to set.- Returns:
- This builder for chaining.
-
clearUseStrongPropagationInDisjunctive
public SatParameters.Builder clearUseStrongPropagationInDisjunctive()
Enable stronger and more expensive propagation on no_overlap constraint.
optional bool use_strong_propagation_in_disjunctive = 230 [default = false];- Returns:
- This builder for chaining.
-
hasUseDynamicPrecedenceInDisjunctive
public boolean hasUseDynamicPrecedenceInDisjunctive()
Whether we try to branch on decision "interval A before interval B" rather than on intervals bounds. This usually works better, but slow down a bit the time to find the first solution. These parameters are still EXPERIMENTAL, the result should be correct, but it some corner cases, they can cause some failing CHECK in the solver.
optional bool use_dynamic_precedence_in_disjunctive = 263 [default = false];- Specified by:
hasUseDynamicPrecedenceInDisjunctivein interfaceSatParametersOrBuilder- Returns:
- Whether the useDynamicPrecedenceInDisjunctive field is set.
-
getUseDynamicPrecedenceInDisjunctive
public boolean getUseDynamicPrecedenceInDisjunctive()
Whether we try to branch on decision "interval A before interval B" rather than on intervals bounds. This usually works better, but slow down a bit the time to find the first solution. These parameters are still EXPERIMENTAL, the result should be correct, but it some corner cases, they can cause some failing CHECK in the solver.
optional bool use_dynamic_precedence_in_disjunctive = 263 [default = false];- Specified by:
getUseDynamicPrecedenceInDisjunctivein interfaceSatParametersOrBuilder- Returns:
- The useDynamicPrecedenceInDisjunctive.
-
setUseDynamicPrecedenceInDisjunctive
public SatParameters.Builder setUseDynamicPrecedenceInDisjunctive(boolean value)
Whether we try to branch on decision "interval A before interval B" rather than on intervals bounds. This usually works better, but slow down a bit the time to find the first solution. These parameters are still EXPERIMENTAL, the result should be correct, but it some corner cases, they can cause some failing CHECK in the solver.
optional bool use_dynamic_precedence_in_disjunctive = 263 [default = false];- Parameters:
value- The useDynamicPrecedenceInDisjunctive to set.- Returns:
- This builder for chaining.
-
clearUseDynamicPrecedenceInDisjunctive
public SatParameters.Builder clearUseDynamicPrecedenceInDisjunctive()
Whether we try to branch on decision "interval A before interval B" rather than on intervals bounds. This usually works better, but slow down a bit the time to find the first solution. These parameters are still EXPERIMENTAL, the result should be correct, but it some corner cases, they can cause some failing CHECK in the solver.
optional bool use_dynamic_precedence_in_disjunctive = 263 [default = false];- Returns:
- This builder for chaining.
-
hasUseDynamicPrecedenceInCumulative
public boolean hasUseDynamicPrecedenceInCumulative()
optional bool use_dynamic_precedence_in_cumulative = 268 [default = false];- Specified by:
hasUseDynamicPrecedenceInCumulativein interfaceSatParametersOrBuilder- Returns:
- Whether the useDynamicPrecedenceInCumulative field is set.
-
getUseDynamicPrecedenceInCumulative
public boolean getUseDynamicPrecedenceInCumulative()
optional bool use_dynamic_precedence_in_cumulative = 268 [default = false];- Specified by:
getUseDynamicPrecedenceInCumulativein interfaceSatParametersOrBuilder- Returns:
- The useDynamicPrecedenceInCumulative.
-
setUseDynamicPrecedenceInCumulative
public SatParameters.Builder setUseDynamicPrecedenceInCumulative(boolean value)
optional bool use_dynamic_precedence_in_cumulative = 268 [default = false];- Parameters:
value- The useDynamicPrecedenceInCumulative to set.- Returns:
- This builder for chaining.
-
clearUseDynamicPrecedenceInCumulative
public SatParameters.Builder clearUseDynamicPrecedenceInCumulative()
optional bool use_dynamic_precedence_in_cumulative = 268 [default = false];- Returns:
- This builder for chaining.
-
hasUseOverloadCheckerInCumulative
public boolean hasUseOverloadCheckerInCumulative()
When this is true, the cumulative constraint is reinforced with overload checking, i.e., an additional level of reasoning based on energy. This additional level supplements the default level of reasoning as well as timetable edge finding. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_overload_checker_in_cumulative = 78 [default = false];- Specified by:
hasUseOverloadCheckerInCumulativein interfaceSatParametersOrBuilder- Returns:
- Whether the useOverloadCheckerInCumulative field is set.
-
getUseOverloadCheckerInCumulative
public boolean getUseOverloadCheckerInCumulative()
When this is true, the cumulative constraint is reinforced with overload checking, i.e., an additional level of reasoning based on energy. This additional level supplements the default level of reasoning as well as timetable edge finding. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_overload_checker_in_cumulative = 78 [default = false];- Specified by:
getUseOverloadCheckerInCumulativein interfaceSatParametersOrBuilder- Returns:
- The useOverloadCheckerInCumulative.
-
setUseOverloadCheckerInCumulative
public SatParameters.Builder setUseOverloadCheckerInCumulative(boolean value)
When this is true, the cumulative constraint is reinforced with overload checking, i.e., an additional level of reasoning based on energy. This additional level supplements the default level of reasoning as well as timetable edge finding. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_overload_checker_in_cumulative = 78 [default = false];- Parameters:
value- The useOverloadCheckerInCumulative to set.- Returns:
- This builder for chaining.
-
clearUseOverloadCheckerInCumulative
public SatParameters.Builder clearUseOverloadCheckerInCumulative()
When this is true, the cumulative constraint is reinforced with overload checking, i.e., an additional level of reasoning based on energy. This additional level supplements the default level of reasoning as well as timetable edge finding. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_overload_checker_in_cumulative = 78 [default = false];- Returns:
- This builder for chaining.
-
hasUseTimetableEdgeFindingInCumulative
public boolean hasUseTimetableEdgeFindingInCumulative()
When this is true, the cumulative constraint is reinforced with timetable edge finding, i.e., an additional level of reasoning based on the conjunction of energy and mandatory parts. This additional level supplements the default level of reasoning as well as overload_checker. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_timetable_edge_finding_in_cumulative = 79 [default = false];- Specified by:
hasUseTimetableEdgeFindingInCumulativein interfaceSatParametersOrBuilder- Returns:
- Whether the useTimetableEdgeFindingInCumulative field is set.
-
getUseTimetableEdgeFindingInCumulative
public boolean getUseTimetableEdgeFindingInCumulative()
When this is true, the cumulative constraint is reinforced with timetable edge finding, i.e., an additional level of reasoning based on the conjunction of energy and mandatory parts. This additional level supplements the default level of reasoning as well as overload_checker. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_timetable_edge_finding_in_cumulative = 79 [default = false];- Specified by:
getUseTimetableEdgeFindingInCumulativein interfaceSatParametersOrBuilder- Returns:
- The useTimetableEdgeFindingInCumulative.
-
setUseTimetableEdgeFindingInCumulative
public SatParameters.Builder setUseTimetableEdgeFindingInCumulative(boolean value)
When this is true, the cumulative constraint is reinforced with timetable edge finding, i.e., an additional level of reasoning based on the conjunction of energy and mandatory parts. This additional level supplements the default level of reasoning as well as overload_checker. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_timetable_edge_finding_in_cumulative = 79 [default = false];- Parameters:
value- The useTimetableEdgeFindingInCumulative to set.- Returns:
- This builder for chaining.
-
clearUseTimetableEdgeFindingInCumulative
public SatParameters.Builder clearUseTimetableEdgeFindingInCumulative()
When this is true, the cumulative constraint is reinforced with timetable edge finding, i.e., an additional level of reasoning based on the conjunction of energy and mandatory parts. This additional level supplements the default level of reasoning as well as overload_checker. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_timetable_edge_finding_in_cumulative = 79 [default = false];- Returns:
- This builder for chaining.
-
hasMaxNumIntervalsForTimetableEdgeFinding
public boolean hasMaxNumIntervalsForTimetableEdgeFinding()
Max number of intervals for the timetable_edge_finding algorithm to propagate. A value of 0 disables the constraint.
optional int32 max_num_intervals_for_timetable_edge_finding = 260 [default = 100];- Specified by:
hasMaxNumIntervalsForTimetableEdgeFindingin interfaceSatParametersOrBuilder- Returns:
- Whether the maxNumIntervalsForTimetableEdgeFinding field is set.
-
getMaxNumIntervalsForTimetableEdgeFinding
public int getMaxNumIntervalsForTimetableEdgeFinding()
Max number of intervals for the timetable_edge_finding algorithm to propagate. A value of 0 disables the constraint.
optional int32 max_num_intervals_for_timetable_edge_finding = 260 [default = 100];- Specified by:
getMaxNumIntervalsForTimetableEdgeFindingin interfaceSatParametersOrBuilder- Returns:
- The maxNumIntervalsForTimetableEdgeFinding.
-
setMaxNumIntervalsForTimetableEdgeFinding
public SatParameters.Builder setMaxNumIntervalsForTimetableEdgeFinding(int value)
Max number of intervals for the timetable_edge_finding algorithm to propagate. A value of 0 disables the constraint.
optional int32 max_num_intervals_for_timetable_edge_finding = 260 [default = 100];- Parameters:
value- The maxNumIntervalsForTimetableEdgeFinding to set.- Returns:
- This builder for chaining.
-
clearMaxNumIntervalsForTimetableEdgeFinding
public SatParameters.Builder clearMaxNumIntervalsForTimetableEdgeFinding()
Max number of intervals for the timetable_edge_finding algorithm to propagate. A value of 0 disables the constraint.
optional int32 max_num_intervals_for_timetable_edge_finding = 260 [default = 100];- Returns:
- This builder for chaining.
-
hasUseHardPrecedencesInCumulative
public boolean hasUseHardPrecedencesInCumulative()
If true, detect and create constraint for integer variable that are "after" a set of intervals in the same cumulative constraint. Experimental: by default we just use "direct" precedences. If exploit_all_precedences is true, we explore the full precedence graph. This assumes we have a DAG otherwise it fails.
optional bool use_hard_precedences_in_cumulative = 215 [default = false];- Specified by:
hasUseHardPrecedencesInCumulativein interfaceSatParametersOrBuilder- Returns:
- Whether the useHardPrecedencesInCumulative field is set.
-
getUseHardPrecedencesInCumulative
public boolean getUseHardPrecedencesInCumulative()
If true, detect and create constraint for integer variable that are "after" a set of intervals in the same cumulative constraint. Experimental: by default we just use "direct" precedences. If exploit_all_precedences is true, we explore the full precedence graph. This assumes we have a DAG otherwise it fails.
optional bool use_hard_precedences_in_cumulative = 215 [default = false];- Specified by:
getUseHardPrecedencesInCumulativein interfaceSatParametersOrBuilder- Returns:
- The useHardPrecedencesInCumulative.
-
setUseHardPrecedencesInCumulative
public SatParameters.Builder setUseHardPrecedencesInCumulative(boolean value)
If true, detect and create constraint for integer variable that are "after" a set of intervals in the same cumulative constraint. Experimental: by default we just use "direct" precedences. If exploit_all_precedences is true, we explore the full precedence graph. This assumes we have a DAG otherwise it fails.
optional bool use_hard_precedences_in_cumulative = 215 [default = false];- Parameters:
value- The useHardPrecedencesInCumulative to set.- Returns:
- This builder for chaining.
-
clearUseHardPrecedencesInCumulative
public SatParameters.Builder clearUseHardPrecedencesInCumulative()
If true, detect and create constraint for integer variable that are "after" a set of intervals in the same cumulative constraint. Experimental: by default we just use "direct" precedences. If exploit_all_precedences is true, we explore the full precedence graph. This assumes we have a DAG otherwise it fails.
optional bool use_hard_precedences_in_cumulative = 215 [default = false];- Returns:
- This builder for chaining.
-
hasExploitAllPrecedences
public boolean hasExploitAllPrecedences()
optional bool exploit_all_precedences = 220 [default = false];- Specified by:
hasExploitAllPrecedencesin interfaceSatParametersOrBuilder- Returns:
- Whether the exploitAllPrecedences field is set.
-
getExploitAllPrecedences
public boolean getExploitAllPrecedences()
optional bool exploit_all_precedences = 220 [default = false];- Specified by:
getExploitAllPrecedencesin interfaceSatParametersOrBuilder- Returns:
- The exploitAllPrecedences.
-
setExploitAllPrecedences
public SatParameters.Builder setExploitAllPrecedences(boolean value)
optional bool exploit_all_precedences = 220 [default = false];- Parameters:
value- The exploitAllPrecedences to set.- Returns:
- This builder for chaining.
-
clearExploitAllPrecedences
public SatParameters.Builder clearExploitAllPrecedences()
optional bool exploit_all_precedences = 220 [default = false];- Returns:
- This builder for chaining.
-
hasUseDisjunctiveConstraintInCumulative
public boolean hasUseDisjunctiveConstraintInCumulative()
When this is true, the cumulative constraint is reinforced with propagators from the disjunctive constraint to improve the inference on a set of tasks that are disjunctive at the root of the problem. This additional level supplements the default level of reasoning. Propagators of the cumulative constraint will not be used at all if all the tasks are disjunctive at root node. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_disjunctive_constraint_in_cumulative = 80 [default = true];- Specified by:
hasUseDisjunctiveConstraintInCumulativein interfaceSatParametersOrBuilder- Returns:
- Whether the useDisjunctiveConstraintInCumulative field is set.
-
getUseDisjunctiveConstraintInCumulative
public boolean getUseDisjunctiveConstraintInCumulative()
When this is true, the cumulative constraint is reinforced with propagators from the disjunctive constraint to improve the inference on a set of tasks that are disjunctive at the root of the problem. This additional level supplements the default level of reasoning. Propagators of the cumulative constraint will not be used at all if all the tasks are disjunctive at root node. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_disjunctive_constraint_in_cumulative = 80 [default = true];- Specified by:
getUseDisjunctiveConstraintInCumulativein interfaceSatParametersOrBuilder- Returns:
- The useDisjunctiveConstraintInCumulative.
-
setUseDisjunctiveConstraintInCumulative
public SatParameters.Builder setUseDisjunctiveConstraintInCumulative(boolean value)
When this is true, the cumulative constraint is reinforced with propagators from the disjunctive constraint to improve the inference on a set of tasks that are disjunctive at the root of the problem. This additional level supplements the default level of reasoning. Propagators of the cumulative constraint will not be used at all if all the tasks are disjunctive at root node. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_disjunctive_constraint_in_cumulative = 80 [default = true];- Parameters:
value- The useDisjunctiveConstraintInCumulative to set.- Returns:
- This builder for chaining.
-
clearUseDisjunctiveConstraintInCumulative
public SatParameters.Builder clearUseDisjunctiveConstraintInCumulative()
When this is true, the cumulative constraint is reinforced with propagators from the disjunctive constraint to improve the inference on a set of tasks that are disjunctive at the root of the problem. This additional level supplements the default level of reasoning. Propagators of the cumulative constraint will not be used at all if all the tasks are disjunctive at root node. This always result in better propagation, but it is usually slow, so depending on the problem, turning this off may lead to a faster solution.
optional bool use_disjunctive_constraint_in_cumulative = 80 [default = true];- Returns:
- This builder for chaining.
-
hasUseTimetablingInNoOverlap2D
public boolean hasUseTimetablingInNoOverlap2D()
When this is true, the no_overlap_2d constraint is reinforced with propagators from the cumulative constraints. It consists of ignoring the position of rectangles in one position and projecting the no_overlap_2d on the other dimension to create a cumulative constraint. This is done on both axis. This additional level supplements the default level of reasoning.
optional bool use_timetabling_in_no_overlap_2d = 200 [default = false];- Specified by:
hasUseTimetablingInNoOverlap2Din interfaceSatParametersOrBuilder- Returns:
- Whether the useTimetablingInNoOverlap2d field is set.
-
getUseTimetablingInNoOverlap2D
public boolean getUseTimetablingInNoOverlap2D()
When this is true, the no_overlap_2d constraint is reinforced with propagators from the cumulative constraints. It consists of ignoring the position of rectangles in one position and projecting the no_overlap_2d on the other dimension to create a cumulative constraint. This is done on both axis. This additional level supplements the default level of reasoning.
optional bool use_timetabling_in_no_overlap_2d = 200 [default = false];- Specified by:
getUseTimetablingInNoOverlap2Din interfaceSatParametersOrBuilder- Returns:
- The useTimetablingInNoOverlap2d.
-
setUseTimetablingInNoOverlap2D
public SatParameters.Builder setUseTimetablingInNoOverlap2D(boolean value)
When this is true, the no_overlap_2d constraint is reinforced with propagators from the cumulative constraints. It consists of ignoring the position of rectangles in one position and projecting the no_overlap_2d on the other dimension to create a cumulative constraint. This is done on both axis. This additional level supplements the default level of reasoning.
optional bool use_timetabling_in_no_overlap_2d = 200 [default = false];- Parameters:
value- The useTimetablingInNoOverlap2d to set.- Returns:
- This builder for chaining.
-
clearUseTimetablingInNoOverlap2D
public SatParameters.Builder clearUseTimetablingInNoOverlap2D()
When this is true, the no_overlap_2d constraint is reinforced with propagators from the cumulative constraints. It consists of ignoring the position of rectangles in one position and projecting the no_overlap_2d on the other dimension to create a cumulative constraint. This is done on both axis. This additional level supplements the default level of reasoning.
optional bool use_timetabling_in_no_overlap_2d = 200 [default = false];- Returns:
- This builder for chaining.
-
hasUseEnergeticReasoningInNoOverlap2D
public boolean hasUseEnergeticReasoningInNoOverlap2D()
When this is true, the no_overlap_2d constraint is reinforced with energetic reasoning. This additional level supplements the default level of reasoning.
optional bool use_energetic_reasoning_in_no_overlap_2d = 213 [default = false];- Specified by:
hasUseEnergeticReasoningInNoOverlap2Din interfaceSatParametersOrBuilder- Returns:
- Whether the useEnergeticReasoningInNoOverlap2d field is set.
-
getUseEnergeticReasoningInNoOverlap2D
public boolean getUseEnergeticReasoningInNoOverlap2D()
When this is true, the no_overlap_2d constraint is reinforced with energetic reasoning. This additional level supplements the default level of reasoning.
optional bool use_energetic_reasoning_in_no_overlap_2d = 213 [default = false];- Specified by:
getUseEnergeticReasoningInNoOverlap2Din interfaceSatParametersOrBuilder- Returns:
- The useEnergeticReasoningInNoOverlap2d.
-
setUseEnergeticReasoningInNoOverlap2D
public SatParameters.Builder setUseEnergeticReasoningInNoOverlap2D(boolean value)
When this is true, the no_overlap_2d constraint is reinforced with energetic reasoning. This additional level supplements the default level of reasoning.
optional bool use_energetic_reasoning_in_no_overlap_2d = 213 [default = false];- Parameters:
value- The useEnergeticReasoningInNoOverlap2d to set.- Returns:
- This builder for chaining.
-
clearUseEnergeticReasoningInNoOverlap2D
public SatParameters.Builder clearUseEnergeticReasoningInNoOverlap2D()
When this is true, the no_overlap_2d constraint is reinforced with energetic reasoning. This additional level supplements the default level of reasoning.
optional bool use_energetic_reasoning_in_no_overlap_2d = 213 [default = false];- Returns:
- This builder for chaining.
-
hasUsePairwiseReasoningInNoOverlap2D
public boolean hasUsePairwiseReasoningInNoOverlap2D()
Performs an extra step of propagation in the no_overlap_2d constraint by looking at all pairs of intervals.
optional bool use_pairwise_reasoning_in_no_overlap_2d = 251 [default = false];- Specified by:
hasUsePairwiseReasoningInNoOverlap2Din interfaceSatParametersOrBuilder- Returns:
- Whether the usePairwiseReasoningInNoOverlap2d field is set.
-
getUsePairwiseReasoningInNoOverlap2D
public boolean getUsePairwiseReasoningInNoOverlap2D()
Performs an extra step of propagation in the no_overlap_2d constraint by looking at all pairs of intervals.
optional bool use_pairwise_reasoning_in_no_overlap_2d = 251 [default = false];- Specified by:
getUsePairwiseReasoningInNoOverlap2Din interfaceSatParametersOrBuilder- Returns:
- The usePairwiseReasoningInNoOverlap2d.
-
setUsePairwiseReasoningInNoOverlap2D
public SatParameters.Builder setUsePairwiseReasoningInNoOverlap2D(boolean value)
Performs an extra step of propagation in the no_overlap_2d constraint by looking at all pairs of intervals.
optional bool use_pairwise_reasoning_in_no_overlap_2d = 251 [default = false];- Parameters:
value- The usePairwiseReasoningInNoOverlap2d to set.- Returns:
- This builder for chaining.
-
clearUsePairwiseReasoningInNoOverlap2D
public SatParameters.Builder clearUsePairwiseReasoningInNoOverlap2D()
Performs an extra step of propagation in the no_overlap_2d constraint by looking at all pairs of intervals.
optional bool use_pairwise_reasoning_in_no_overlap_2d = 251 [default = false];- Returns:
- This builder for chaining.
-
hasUseDualSchedulingHeuristics
public boolean hasUseDualSchedulingHeuristics()
When set, it activates a few scheduling parameters to improve the lower bound of scheduling problems. This is only effective with multiple workers as it modifies the reduced_cost, lb_tree_search, and probing workers.
optional bool use_dual_scheduling_heuristics = 214 [default = true];- Specified by:
hasUseDualSchedulingHeuristicsin interfaceSatParametersOrBuilder- Returns:
- Whether the useDualSchedulingHeuristics field is set.
-
getUseDualSchedulingHeuristics
public boolean getUseDualSchedulingHeuristics()
When set, it activates a few scheduling parameters to improve the lower bound of scheduling problems. This is only effective with multiple workers as it modifies the reduced_cost, lb_tree_search, and probing workers.
optional bool use_dual_scheduling_heuristics = 214 [default = true];- Specified by:
getUseDualSchedulingHeuristicsin interfaceSatParametersOrBuilder- Returns:
- The useDualSchedulingHeuristics.
-
setUseDualSchedulingHeuristics
public SatParameters.Builder setUseDualSchedulingHeuristics(boolean value)
When set, it activates a few scheduling parameters to improve the lower bound of scheduling problems. This is only effective with multiple workers as it modifies the reduced_cost, lb_tree_search, and probing workers.
optional bool use_dual_scheduling_heuristics = 214 [default = true];- Parameters:
value- The useDualSchedulingHeuristics to set.- Returns:
- This builder for chaining.
-
clearUseDualSchedulingHeuristics
public SatParameters.Builder clearUseDualSchedulingHeuristics()
When set, it activates a few scheduling parameters to improve the lower bound of scheduling problems. This is only effective with multiple workers as it modifies the reduced_cost, lb_tree_search, and probing workers.
optional bool use_dual_scheduling_heuristics = 214 [default = true];- Returns:
- This builder for chaining.
-
hasLinearizationLevel
public boolean hasLinearizationLevel()
A non-negative level indicating the type of constraints we consider in the LP relaxation. At level zero, no LP relaxation is used. At level 1, only the linear constraint and full encoding are added. At level 2, we also add all the Boolean constraints.
optional int32 linearization_level = 90 [default = 1];- Specified by:
hasLinearizationLevelin interfaceSatParametersOrBuilder- Returns:
- Whether the linearizationLevel field is set.
-
getLinearizationLevel
public int getLinearizationLevel()
A non-negative level indicating the type of constraints we consider in the LP relaxation. At level zero, no LP relaxation is used. At level 1, only the linear constraint and full encoding are added. At level 2, we also add all the Boolean constraints.
optional int32 linearization_level = 90 [default = 1];- Specified by:
getLinearizationLevelin interfaceSatParametersOrBuilder- Returns:
- The linearizationLevel.
-
setLinearizationLevel
public SatParameters.Builder setLinearizationLevel(int value)
A non-negative level indicating the type of constraints we consider in the LP relaxation. At level zero, no LP relaxation is used. At level 1, only the linear constraint and full encoding are added. At level 2, we also add all the Boolean constraints.
optional int32 linearization_level = 90 [default = 1];- Parameters:
value- The linearizationLevel to set.- Returns:
- This builder for chaining.
-
clearLinearizationLevel
public SatParameters.Builder clearLinearizationLevel()
A non-negative level indicating the type of constraints we consider in the LP relaxation. At level zero, no LP relaxation is used. At level 1, only the linear constraint and full encoding are added. At level 2, we also add all the Boolean constraints.
optional int32 linearization_level = 90 [default = 1];- Returns:
- This builder for chaining.
-
hasBooleanEncodingLevel
public boolean hasBooleanEncodingLevel()
A non-negative level indicating how much we should try to fully encode Integer variables as Boolean.
optional int32 boolean_encoding_level = 107 [default = 1];- Specified by:
hasBooleanEncodingLevelin interfaceSatParametersOrBuilder- Returns:
- Whether the booleanEncodingLevel field is set.
-
getBooleanEncodingLevel
public int getBooleanEncodingLevel()
A non-negative level indicating how much we should try to fully encode Integer variables as Boolean.
optional int32 boolean_encoding_level = 107 [default = 1];- Specified by:
getBooleanEncodingLevelin interfaceSatParametersOrBuilder- Returns:
- The booleanEncodingLevel.
-
setBooleanEncodingLevel
public SatParameters.Builder setBooleanEncodingLevel(int value)
A non-negative level indicating how much we should try to fully encode Integer variables as Boolean.
optional int32 boolean_encoding_level = 107 [default = 1];- Parameters:
value- The booleanEncodingLevel to set.- Returns:
- This builder for chaining.
-
clearBooleanEncodingLevel
public SatParameters.Builder clearBooleanEncodingLevel()
A non-negative level indicating how much we should try to fully encode Integer variables as Boolean.
optional int32 boolean_encoding_level = 107 [default = 1];- Returns:
- This builder for chaining.
-
hasMaxDomainSizeWhenEncodingEqNeqConstraints
public boolean hasMaxDomainSizeWhenEncodingEqNeqConstraints()
When loading a*x + b*y ==/!= c when x and y are both fully encoded. The solver may decide to replace the linear equation by a set of clauses. This is triggered if the sizes of the domains of x and y are below the threshold.
optional int32 max_domain_size_when_encoding_eq_neq_constraints = 191 [default = 16];- Specified by:
hasMaxDomainSizeWhenEncodingEqNeqConstraintsin interfaceSatParametersOrBuilder- Returns:
- Whether the maxDomainSizeWhenEncodingEqNeqConstraints field is set.
-
getMaxDomainSizeWhenEncodingEqNeqConstraints
public int getMaxDomainSizeWhenEncodingEqNeqConstraints()
When loading a*x + b*y ==/!= c when x and y are both fully encoded. The solver may decide to replace the linear equation by a set of clauses. This is triggered if the sizes of the domains of x and y are below the threshold.
optional int32 max_domain_size_when_encoding_eq_neq_constraints = 191 [default = 16];- Specified by:
getMaxDomainSizeWhenEncodingEqNeqConstraintsin interfaceSatParametersOrBuilder- Returns:
- The maxDomainSizeWhenEncodingEqNeqConstraints.
-
setMaxDomainSizeWhenEncodingEqNeqConstraints
public SatParameters.Builder setMaxDomainSizeWhenEncodingEqNeqConstraints(int value)
When loading a*x + b*y ==/!= c when x and y are both fully encoded. The solver may decide to replace the linear equation by a set of clauses. This is triggered if the sizes of the domains of x and y are below the threshold.
optional int32 max_domain_size_when_encoding_eq_neq_constraints = 191 [default = 16];- Parameters:
value- The maxDomainSizeWhenEncodingEqNeqConstraints to set.- Returns:
- This builder for chaining.
-
clearMaxDomainSizeWhenEncodingEqNeqConstraints
public SatParameters.Builder clearMaxDomainSizeWhenEncodingEqNeqConstraints()
When loading a*x + b*y ==/!= c when x and y are both fully encoded. The solver may decide to replace the linear equation by a set of clauses. This is triggered if the sizes of the domains of x and y are below the threshold.
optional int32 max_domain_size_when_encoding_eq_neq_constraints = 191 [default = 16];- Returns:
- This builder for chaining.
-
hasMaxNumCuts
public boolean hasMaxNumCuts()
The limit on the number of cuts in our cut pool. When this is reached we do not generate cuts anymore. TODO(user): We should probably remove this parameters, and just always generate cuts but only keep the best n or something.
optional int32 max_num_cuts = 91 [default = 10000];- Specified by:
hasMaxNumCutsin interfaceSatParametersOrBuilder- Returns:
- Whether the maxNumCuts field is set.
-
getMaxNumCuts
public int getMaxNumCuts()
The limit on the number of cuts in our cut pool. When this is reached we do not generate cuts anymore. TODO(user): We should probably remove this parameters, and just always generate cuts but only keep the best n or something.
optional int32 max_num_cuts = 91 [default = 10000];- Specified by:
getMaxNumCutsin interfaceSatParametersOrBuilder- Returns:
- The maxNumCuts.
-
setMaxNumCuts
public SatParameters.Builder setMaxNumCuts(int value)
The limit on the number of cuts in our cut pool. When this is reached we do not generate cuts anymore. TODO(user): We should probably remove this parameters, and just always generate cuts but only keep the best n or something.
optional int32 max_num_cuts = 91 [default = 10000];- Parameters:
value- The maxNumCuts to set.- Returns:
- This builder for chaining.
-
clearMaxNumCuts
public SatParameters.Builder clearMaxNumCuts()
The limit on the number of cuts in our cut pool. When this is reached we do not generate cuts anymore. TODO(user): We should probably remove this parameters, and just always generate cuts but only keep the best n or something.
optional int32 max_num_cuts = 91 [default = 10000];- Returns:
- This builder for chaining.
-
hasCutLevel
public boolean hasCutLevel()
Control the global cut effort. Zero will turn off all cut. For now we just have one level. Note also that most cuts are only used at linearization level >= 2.
optional int32 cut_level = 196 [default = 1];- Specified by:
hasCutLevelin interfaceSatParametersOrBuilder- Returns:
- Whether the cutLevel field is set.
-
getCutLevel
public int getCutLevel()
Control the global cut effort. Zero will turn off all cut. For now we just have one level. Note also that most cuts are only used at linearization level >= 2.
optional int32 cut_level = 196 [default = 1];- Specified by:
getCutLevelin interfaceSatParametersOrBuilder- Returns:
- The cutLevel.
-
setCutLevel
public SatParameters.Builder setCutLevel(int value)
Control the global cut effort. Zero will turn off all cut. For now we just have one level. Note also that most cuts are only used at linearization level >= 2.
optional int32 cut_level = 196 [default = 1];- Parameters:
value- The cutLevel to set.- Returns:
- This builder for chaining.
-
clearCutLevel
public SatParameters.Builder clearCutLevel()
Control the global cut effort. Zero will turn off all cut. For now we just have one level. Note also that most cuts are only used at linearization level >= 2.
optional int32 cut_level = 196 [default = 1];- Returns:
- This builder for chaining.
-
hasOnlyAddCutsAtLevelZero
public boolean hasOnlyAddCutsAtLevelZero()
For the cut that can be generated at any level, this control if we only try to generate them at the root node.
optional bool only_add_cuts_at_level_zero = 92 [default = false];- Specified by:
hasOnlyAddCutsAtLevelZeroin interfaceSatParametersOrBuilder- Returns:
- Whether the onlyAddCutsAtLevelZero field is set.
-
getOnlyAddCutsAtLevelZero
public boolean getOnlyAddCutsAtLevelZero()
For the cut that can be generated at any level, this control if we only try to generate them at the root node.
optional bool only_add_cuts_at_level_zero = 92 [default = false];- Specified by:
getOnlyAddCutsAtLevelZeroin interfaceSatParametersOrBuilder- Returns:
- The onlyAddCutsAtLevelZero.
-
setOnlyAddCutsAtLevelZero
public SatParameters.Builder setOnlyAddCutsAtLevelZero(boolean value)
For the cut that can be generated at any level, this control if we only try to generate them at the root node.
optional bool only_add_cuts_at_level_zero = 92 [default = false];- Parameters:
value- The onlyAddCutsAtLevelZero to set.- Returns:
- This builder for chaining.
-
clearOnlyAddCutsAtLevelZero
public SatParameters.Builder clearOnlyAddCutsAtLevelZero()
For the cut that can be generated at any level, this control if we only try to generate them at the root node.
optional bool only_add_cuts_at_level_zero = 92 [default = false];- Returns:
- This builder for chaining.
-
hasAddObjectiveCut
public boolean hasAddObjectiveCut()
When the LP objective is fractional, do we add the cut that forces the linear objective expression to be greater or equal to this fractional value rounded up? We can always do that since our objective is integer, and combined with MIR heuristic to reduce the coefficient of such cut, it can help.
optional bool add_objective_cut = 197 [default = false];- Specified by:
hasAddObjectiveCutin interfaceSatParametersOrBuilder- Returns:
- Whether the addObjectiveCut field is set.
-
getAddObjectiveCut
public boolean getAddObjectiveCut()
When the LP objective is fractional, do we add the cut that forces the linear objective expression to be greater or equal to this fractional value rounded up? We can always do that since our objective is integer, and combined with MIR heuristic to reduce the coefficient of such cut, it can help.
optional bool add_objective_cut = 197 [default = false];- Specified by:
getAddObjectiveCutin interfaceSatParametersOrBuilder- Returns:
- The addObjectiveCut.
-
setAddObjectiveCut
public SatParameters.Builder setAddObjectiveCut(boolean value)
When the LP objective is fractional, do we add the cut that forces the linear objective expression to be greater or equal to this fractional value rounded up? We can always do that since our objective is integer, and combined with MIR heuristic to reduce the coefficient of such cut, it can help.
optional bool add_objective_cut = 197 [default = false];- Parameters:
value- The addObjectiveCut to set.- Returns:
- This builder for chaining.
-
clearAddObjectiveCut
public SatParameters.Builder clearAddObjectiveCut()
When the LP objective is fractional, do we add the cut that forces the linear objective expression to be greater or equal to this fractional value rounded up? We can always do that since our objective is integer, and combined with MIR heuristic to reduce the coefficient of such cut, it can help.
optional bool add_objective_cut = 197 [default = false];- Returns:
- This builder for chaining.
-
hasAddCgCuts
public boolean hasAddCgCuts()
Whether we generate and add Chvatal-Gomory cuts to the LP at root node. Note that for now, this is not heavily tuned.
optional bool add_cg_cuts = 117 [default = true];- Specified by:
hasAddCgCutsin interfaceSatParametersOrBuilder- Returns:
- Whether the addCgCuts field is set.
-
getAddCgCuts
public boolean getAddCgCuts()
Whether we generate and add Chvatal-Gomory cuts to the LP at root node. Note that for now, this is not heavily tuned.
optional bool add_cg_cuts = 117 [default = true];- Specified by:
getAddCgCutsin interfaceSatParametersOrBuilder- Returns:
- The addCgCuts.
-
setAddCgCuts
public SatParameters.Builder setAddCgCuts(boolean value)
Whether we generate and add Chvatal-Gomory cuts to the LP at root node. Note that for now, this is not heavily tuned.
optional bool add_cg_cuts = 117 [default = true];- Parameters:
value- The addCgCuts to set.- Returns:
- This builder for chaining.
-
clearAddCgCuts
public SatParameters.Builder clearAddCgCuts()
Whether we generate and add Chvatal-Gomory cuts to the LP at root node. Note that for now, this is not heavily tuned.
optional bool add_cg_cuts = 117 [default = true];- Returns:
- This builder for chaining.
-
hasAddMirCuts
public boolean hasAddMirCuts()
Whether we generate MIR cuts at root node. Note that for now, this is not heavily tuned.
optional bool add_mir_cuts = 120 [default = true];- Specified by:
hasAddMirCutsin interfaceSatParametersOrBuilder- Returns:
- Whether the addMirCuts field is set.
-
getAddMirCuts
public boolean getAddMirCuts()
Whether we generate MIR cuts at root node. Note that for now, this is not heavily tuned.
optional bool add_mir_cuts = 120 [default = true];- Specified by:
getAddMirCutsin interfaceSatParametersOrBuilder- Returns:
- The addMirCuts.
-
setAddMirCuts
public SatParameters.Builder setAddMirCuts(boolean value)
Whether we generate MIR cuts at root node. Note that for now, this is not heavily tuned.
optional bool add_mir_cuts = 120 [default = true];- Parameters:
value- The addMirCuts to set.- Returns:
- This builder for chaining.
-
clearAddMirCuts
public SatParameters.Builder clearAddMirCuts()
Whether we generate MIR cuts at root node. Note that for now, this is not heavily tuned.
optional bool add_mir_cuts = 120 [default = true];- Returns:
- This builder for chaining.
-
hasAddZeroHalfCuts
public boolean hasAddZeroHalfCuts()
Whether we generate Zero-Half cuts at root node. Note that for now, this is not heavily tuned.
optional bool add_zero_half_cuts = 169 [default = true];- Specified by:
hasAddZeroHalfCutsin interfaceSatParametersOrBuilder- Returns:
- Whether the addZeroHalfCuts field is set.
-
getAddZeroHalfCuts
public boolean getAddZeroHalfCuts()
Whether we generate Zero-Half cuts at root node. Note that for now, this is not heavily tuned.
optional bool add_zero_half_cuts = 169 [default = true];- Specified by:
getAddZeroHalfCutsin interfaceSatParametersOrBuilder- Returns:
- The addZeroHalfCuts.
-
setAddZeroHalfCuts
public SatParameters.Builder setAddZeroHalfCuts(boolean value)
Whether we generate Zero-Half cuts at root node. Note that for now, this is not heavily tuned.
optional bool add_zero_half_cuts = 169 [default = true];- Parameters:
value- The addZeroHalfCuts to set.- Returns:
- This builder for chaining.
-
clearAddZeroHalfCuts
public SatParameters.Builder clearAddZeroHalfCuts()
Whether we generate Zero-Half cuts at root node. Note that for now, this is not heavily tuned.
optional bool add_zero_half_cuts = 169 [default = true];- Returns:
- This builder for chaining.
-
hasAddCliqueCuts
public boolean hasAddCliqueCuts()
Whether we generate clique cuts from the binary implication graph. Note that as the search goes on, this graph will contains new binary clauses learned by the SAT engine.
optional bool add_clique_cuts = 172 [default = true];- Specified by:
hasAddCliqueCutsin interfaceSatParametersOrBuilder- Returns:
- Whether the addCliqueCuts field is set.
-
getAddCliqueCuts
public boolean getAddCliqueCuts()
Whether we generate clique cuts from the binary implication graph. Note that as the search goes on, this graph will contains new binary clauses learned by the SAT engine.
optional bool add_clique_cuts = 172 [default = true];- Specified by:
getAddCliqueCutsin interfaceSatParametersOrBuilder- Returns:
- The addCliqueCuts.
-
setAddCliqueCuts
public SatParameters.Builder setAddCliqueCuts(boolean value)
Whether we generate clique cuts from the binary implication graph. Note that as the search goes on, this graph will contains new binary clauses learned by the SAT engine.
optional bool add_clique_cuts = 172 [default = true];- Parameters:
value- The addCliqueCuts to set.- Returns:
- This builder for chaining.
-
clearAddCliqueCuts
public SatParameters.Builder clearAddCliqueCuts()
Whether we generate clique cuts from the binary implication graph. Note that as the search goes on, this graph will contains new binary clauses learned by the SAT engine.
optional bool add_clique_cuts = 172 [default = true];- Returns:
- This builder for chaining.
-
hasMaxAllDiffCutSize
public boolean hasMaxAllDiffCutSize()
Cut generator for all diffs can add too many cuts for large all_diff constraints. This parameter restricts the large all_diff constraints to have a cut generator.
optional int32 max_all_diff_cut_size = 148 [default = 64];- Specified by:
hasMaxAllDiffCutSizein interfaceSatParametersOrBuilder- Returns:
- Whether the maxAllDiffCutSize field is set.
-
getMaxAllDiffCutSize
public int getMaxAllDiffCutSize()
Cut generator for all diffs can add too many cuts for large all_diff constraints. This parameter restricts the large all_diff constraints to have a cut generator.
optional int32 max_all_diff_cut_size = 148 [default = 64];- Specified by:
getMaxAllDiffCutSizein interfaceSatParametersOrBuilder- Returns:
- The maxAllDiffCutSize.
-
setMaxAllDiffCutSize
public SatParameters.Builder setMaxAllDiffCutSize(int value)
Cut generator for all diffs can add too many cuts for large all_diff constraints. This parameter restricts the large all_diff constraints to have a cut generator.
optional int32 max_all_diff_cut_size = 148 [default = 64];- Parameters:
value- The maxAllDiffCutSize to set.- Returns:
- This builder for chaining.
-
clearMaxAllDiffCutSize
public SatParameters.Builder clearMaxAllDiffCutSize()
Cut generator for all diffs can add too many cuts for large all_diff constraints. This parameter restricts the large all_diff constraints to have a cut generator.
optional int32 max_all_diff_cut_size = 148 [default = 64];- Returns:
- This builder for chaining.
-
hasAddLinMaxCuts
public boolean hasAddLinMaxCuts()
For the lin max constraints, generates the cuts described in "Strong mixed-integer programming formulations for trained neural networks" by Ross Anderson et. (https://arxiv.org/pdf/1811.01988.pdf)
optional bool add_lin_max_cuts = 152 [default = true];- Specified by:
hasAddLinMaxCutsin interfaceSatParametersOrBuilder- Returns:
- Whether the addLinMaxCuts field is set.
-
getAddLinMaxCuts
public boolean getAddLinMaxCuts()
For the lin max constraints, generates the cuts described in "Strong mixed-integer programming formulations for trained neural networks" by Ross Anderson et. (https://arxiv.org/pdf/1811.01988.pdf)
optional bool add_lin_max_cuts = 152 [default = true];- Specified by:
getAddLinMaxCutsin interfaceSatParametersOrBuilder- Returns:
- The addLinMaxCuts.
-
setAddLinMaxCuts
public SatParameters.Builder setAddLinMaxCuts(boolean value)
For the lin max constraints, generates the cuts described in "Strong mixed-integer programming formulations for trained neural networks" by Ross Anderson et. (https://arxiv.org/pdf/1811.01988.pdf)
optional bool add_lin_max_cuts = 152 [default = true];- Parameters:
value- The addLinMaxCuts to set.- Returns:
- This builder for chaining.
-
clearAddLinMaxCuts
public SatParameters.Builder clearAddLinMaxCuts()
For the lin max constraints, generates the cuts described in "Strong mixed-integer programming formulations for trained neural networks" by Ross Anderson et. (https://arxiv.org/pdf/1811.01988.pdf)
optional bool add_lin_max_cuts = 152 [default = true];- Returns:
- This builder for chaining.
-
hasMaxIntegerRoundingScaling
public boolean hasMaxIntegerRoundingScaling()
In the integer rounding procedure used for MIR and Gomory cut, the maximum "scaling" we use (must be positive). The lower this is, the lower the integer coefficients of the cut will be. Note that cut generated by lower values are not necessarily worse than cut generated by larger value. There is no strict dominance relationship. Setting this to 2 result in the "strong fractional rouding" of Letchford and Lodi.
optional int32 max_integer_rounding_scaling = 119 [default = 600];- Specified by:
hasMaxIntegerRoundingScalingin interfaceSatParametersOrBuilder- Returns:
- Whether the maxIntegerRoundingScaling field is set.
-
getMaxIntegerRoundingScaling
public int getMaxIntegerRoundingScaling()
In the integer rounding procedure used for MIR and Gomory cut, the maximum "scaling" we use (must be positive). The lower this is, the lower the integer coefficients of the cut will be. Note that cut generated by lower values are not necessarily worse than cut generated by larger value. There is no strict dominance relationship. Setting this to 2 result in the "strong fractional rouding" of Letchford and Lodi.
optional int32 max_integer_rounding_scaling = 119 [default = 600];- Specified by:
getMaxIntegerRoundingScalingin interfaceSatParametersOrBuilder- Returns:
- The maxIntegerRoundingScaling.
-
setMaxIntegerRoundingScaling
public SatParameters.Builder setMaxIntegerRoundingScaling(int value)
In the integer rounding procedure used for MIR and Gomory cut, the maximum "scaling" we use (must be positive). The lower this is, the lower the integer coefficients of the cut will be. Note that cut generated by lower values are not necessarily worse than cut generated by larger value. There is no strict dominance relationship. Setting this to 2 result in the "strong fractional rouding" of Letchford and Lodi.
optional int32 max_integer_rounding_scaling = 119 [default = 600];- Parameters:
value- The maxIntegerRoundingScaling to set.- Returns:
- This builder for chaining.
-
clearMaxIntegerRoundingScaling
public SatParameters.Builder clearMaxIntegerRoundingScaling()
In the integer rounding procedure used for MIR and Gomory cut, the maximum "scaling" we use (must be positive). The lower this is, the lower the integer coefficients of the cut will be. Note that cut generated by lower values are not necessarily worse than cut generated by larger value. There is no strict dominance relationship. Setting this to 2 result in the "strong fractional rouding" of Letchford and Lodi.
optional int32 max_integer_rounding_scaling = 119 [default = 600];- Returns:
- This builder for chaining.
-
hasAddLpConstraintsLazily
public boolean hasAddLpConstraintsLazily()
If true, we start by an empty LP, and only add constraints not satisfied by the current LP solution batch by batch. A constraint that is only added like this is known as a "lazy" constraint in the literature, except that we currently consider all constraints as lazy here.
optional bool add_lp_constraints_lazily = 112 [default = true];- Specified by:
hasAddLpConstraintsLazilyin interfaceSatParametersOrBuilder- Returns:
- Whether the addLpConstraintsLazily field is set.
-
getAddLpConstraintsLazily
public boolean getAddLpConstraintsLazily()
If true, we start by an empty LP, and only add constraints not satisfied by the current LP solution batch by batch. A constraint that is only added like this is known as a "lazy" constraint in the literature, except that we currently consider all constraints as lazy here.
optional bool add_lp_constraints_lazily = 112 [default = true];- Specified by:
getAddLpConstraintsLazilyin interfaceSatParametersOrBuilder- Returns:
- The addLpConstraintsLazily.
-
setAddLpConstraintsLazily
public SatParameters.Builder setAddLpConstraintsLazily(boolean value)
If true, we start by an empty LP, and only add constraints not satisfied by the current LP solution batch by batch. A constraint that is only added like this is known as a "lazy" constraint in the literature, except that we currently consider all constraints as lazy here.
optional bool add_lp_constraints_lazily = 112 [default = true];- Parameters:
value- The addLpConstraintsLazily to set.- Returns:
- This builder for chaining.
-
clearAddLpConstraintsLazily
public SatParameters.Builder clearAddLpConstraintsLazily()
If true, we start by an empty LP, and only add constraints not satisfied by the current LP solution batch by batch. A constraint that is only added like this is known as a "lazy" constraint in the literature, except that we currently consider all constraints as lazy here.
optional bool add_lp_constraints_lazily = 112 [default = true];- Returns:
- This builder for chaining.
-
hasRootLpIterations
public boolean hasRootLpIterations()
Even at the root node, we do not want to spend too much time on the LP if it is "difficult". So we solve it in "chunks" of that many iterations. The solve will be continued down in the tree or the next time we go back to the root node.
optional int32 root_lp_iterations = 227 [default = 2000];- Specified by:
hasRootLpIterationsin interfaceSatParametersOrBuilder- Returns:
- Whether the rootLpIterations field is set.
-
getRootLpIterations
public int getRootLpIterations()
Even at the root node, we do not want to spend too much time on the LP if it is "difficult". So we solve it in "chunks" of that many iterations. The solve will be continued down in the tree or the next time we go back to the root node.
optional int32 root_lp_iterations = 227 [default = 2000];- Specified by:
getRootLpIterationsin interfaceSatParametersOrBuilder- Returns:
- The rootLpIterations.
-
setRootLpIterations
public SatParameters.Builder setRootLpIterations(int value)
Even at the root node, we do not want to spend too much time on the LP if it is "difficult". So we solve it in "chunks" of that many iterations. The solve will be continued down in the tree or the next time we go back to the root node.
optional int32 root_lp_iterations = 227 [default = 2000];- Parameters:
value- The rootLpIterations to set.- Returns:
- This builder for chaining.
-
clearRootLpIterations
public SatParameters.Builder clearRootLpIterations()
Even at the root node, we do not want to spend too much time on the LP if it is "difficult". So we solve it in "chunks" of that many iterations. The solve will be continued down in the tree or the next time we go back to the root node.
optional int32 root_lp_iterations = 227 [default = 2000];- Returns:
- This builder for chaining.
-
hasMinOrthogonalityForLpConstraints
public boolean hasMinOrthogonalityForLpConstraints()
While adding constraints, skip the constraints which have orthogonality less than 'min_orthogonality_for_lp_constraints' with already added constraints during current call. Orthogonality is defined as 1 - cosine(vector angle between constraints). A value of zero disable this feature.
optional double min_orthogonality_for_lp_constraints = 115 [default = 0.05];- Specified by:
hasMinOrthogonalityForLpConstraintsin interfaceSatParametersOrBuilder- Returns:
- Whether the minOrthogonalityForLpConstraints field is set.
-
getMinOrthogonalityForLpConstraints
public double getMinOrthogonalityForLpConstraints()
While adding constraints, skip the constraints which have orthogonality less than 'min_orthogonality_for_lp_constraints' with already added constraints during current call. Orthogonality is defined as 1 - cosine(vector angle between constraints). A value of zero disable this feature.
optional double min_orthogonality_for_lp_constraints = 115 [default = 0.05];- Specified by:
getMinOrthogonalityForLpConstraintsin interfaceSatParametersOrBuilder- Returns:
- The minOrthogonalityForLpConstraints.
-
setMinOrthogonalityForLpConstraints
public SatParameters.Builder setMinOrthogonalityForLpConstraints(double value)
While adding constraints, skip the constraints which have orthogonality less than 'min_orthogonality_for_lp_constraints' with already added constraints during current call. Orthogonality is defined as 1 - cosine(vector angle between constraints). A value of zero disable this feature.
optional double min_orthogonality_for_lp_constraints = 115 [default = 0.05];- Parameters:
value- The minOrthogonalityForLpConstraints to set.- Returns:
- This builder for chaining.
-
clearMinOrthogonalityForLpConstraints
public SatParameters.Builder clearMinOrthogonalityForLpConstraints()
While adding constraints, skip the constraints which have orthogonality less than 'min_orthogonality_for_lp_constraints' with already added constraints during current call. Orthogonality is defined as 1 - cosine(vector angle between constraints). A value of zero disable this feature.
optional double min_orthogonality_for_lp_constraints = 115 [default = 0.05];- Returns:
- This builder for chaining.
-
hasMaxCutRoundsAtLevelZero
public boolean hasMaxCutRoundsAtLevelZero()
Max number of time we perform cut generation and resolve the LP at level 0.
optional int32 max_cut_rounds_at_level_zero = 154 [default = 1];- Specified by:
hasMaxCutRoundsAtLevelZeroin interfaceSatParametersOrBuilder- Returns:
- Whether the maxCutRoundsAtLevelZero field is set.
-
getMaxCutRoundsAtLevelZero
public int getMaxCutRoundsAtLevelZero()
Max number of time we perform cut generation and resolve the LP at level 0.
optional int32 max_cut_rounds_at_level_zero = 154 [default = 1];- Specified by:
getMaxCutRoundsAtLevelZeroin interfaceSatParametersOrBuilder- Returns:
- The maxCutRoundsAtLevelZero.
-
setMaxCutRoundsAtLevelZero
public SatParameters.Builder setMaxCutRoundsAtLevelZero(int value)
Max number of time we perform cut generation and resolve the LP at level 0.
optional int32 max_cut_rounds_at_level_zero = 154 [default = 1];- Parameters:
value- The maxCutRoundsAtLevelZero to set.- Returns:
- This builder for chaining.
-
clearMaxCutRoundsAtLevelZero
public SatParameters.Builder clearMaxCutRoundsAtLevelZero()
Max number of time we perform cut generation and resolve the LP at level 0.
optional int32 max_cut_rounds_at_level_zero = 154 [default = 1];- Returns:
- This builder for chaining.
-
hasMaxConsecutiveInactiveCount
public boolean hasMaxConsecutiveInactiveCount()
If a constraint/cut in LP is not active for that many consecutive OPTIMAL solves, remove it from the LP. Note that it might be added again later if it become violated by the current LP solution.
optional int32 max_consecutive_inactive_count = 121 [default = 100];- Specified by:
hasMaxConsecutiveInactiveCountin interfaceSatParametersOrBuilder- Returns:
- Whether the maxConsecutiveInactiveCount field is set.
-
getMaxConsecutiveInactiveCount
public int getMaxConsecutiveInactiveCount()
If a constraint/cut in LP is not active for that many consecutive OPTIMAL solves, remove it from the LP. Note that it might be added again later if it become violated by the current LP solution.
optional int32 max_consecutive_inactive_count = 121 [default = 100];- Specified by:
getMaxConsecutiveInactiveCountin interfaceSatParametersOrBuilder- Returns:
- The maxConsecutiveInactiveCount.
-
setMaxConsecutiveInactiveCount
public SatParameters.Builder setMaxConsecutiveInactiveCount(int value)
If a constraint/cut in LP is not active for that many consecutive OPTIMAL solves, remove it from the LP. Note that it might be added again later if it become violated by the current LP solution.
optional int32 max_consecutive_inactive_count = 121 [default = 100];- Parameters:
value- The maxConsecutiveInactiveCount to set.- Returns:
- This builder for chaining.
-
clearMaxConsecutiveInactiveCount
public SatParameters.Builder clearMaxConsecutiveInactiveCount()
If a constraint/cut in LP is not active for that many consecutive OPTIMAL solves, remove it from the LP. Note that it might be added again later if it become violated by the current LP solution.
optional int32 max_consecutive_inactive_count = 121 [default = 100];- Returns:
- This builder for chaining.
-
hasCutMaxActiveCountValue
public boolean hasCutMaxActiveCountValue()
These parameters are similar to sat clause management activity parameters. They are effective only if the number of generated cuts exceed the storage limit. Default values are based on a few experiments on miplib instances.
optional double cut_max_active_count_value = 155 [default = 10000000000];- Specified by:
hasCutMaxActiveCountValuein interfaceSatParametersOrBuilder- Returns:
- Whether the cutMaxActiveCountValue field is set.
-
getCutMaxActiveCountValue
public double getCutMaxActiveCountValue()
These parameters are similar to sat clause management activity parameters. They are effective only if the number of generated cuts exceed the storage limit. Default values are based on a few experiments on miplib instances.
optional double cut_max_active_count_value = 155 [default = 10000000000];- Specified by:
getCutMaxActiveCountValuein interfaceSatParametersOrBuilder- Returns:
- The cutMaxActiveCountValue.
-
setCutMaxActiveCountValue
public SatParameters.Builder setCutMaxActiveCountValue(double value)
These parameters are similar to sat clause management activity parameters. They are effective only if the number of generated cuts exceed the storage limit. Default values are based on a few experiments on miplib instances.
optional double cut_max_active_count_value = 155 [default = 10000000000];- Parameters:
value- The cutMaxActiveCountValue to set.- Returns:
- This builder for chaining.
-
clearCutMaxActiveCountValue
public SatParameters.Builder clearCutMaxActiveCountValue()
These parameters are similar to sat clause management activity parameters. They are effective only if the number of generated cuts exceed the storage limit. Default values are based on a few experiments on miplib instances.
optional double cut_max_active_count_value = 155 [default = 10000000000];- Returns:
- This builder for chaining.
-
hasCutActiveCountDecay
public boolean hasCutActiveCountDecay()
optional double cut_active_count_decay = 156 [default = 0.8];- Specified by:
hasCutActiveCountDecayin interfaceSatParametersOrBuilder- Returns:
- Whether the cutActiveCountDecay field is set.
-
getCutActiveCountDecay
public double getCutActiveCountDecay()
optional double cut_active_count_decay = 156 [default = 0.8];- Specified by:
getCutActiveCountDecayin interfaceSatParametersOrBuilder- Returns:
- The cutActiveCountDecay.
-
setCutActiveCountDecay
public SatParameters.Builder setCutActiveCountDecay(double value)
optional double cut_active_count_decay = 156 [default = 0.8];- Parameters:
value- The cutActiveCountDecay to set.- Returns:
- This builder for chaining.
-
clearCutActiveCountDecay
public SatParameters.Builder clearCutActiveCountDecay()
optional double cut_active_count_decay = 156 [default = 0.8];- Returns:
- This builder for chaining.
-
hasCutCleanupTarget
public boolean hasCutCleanupTarget()
Target number of constraints to remove during cleanup.
optional int32 cut_cleanup_target = 157 [default = 1000];- Specified by:
hasCutCleanupTargetin interfaceSatParametersOrBuilder- Returns:
- Whether the cutCleanupTarget field is set.
-
getCutCleanupTarget
public int getCutCleanupTarget()
Target number of constraints to remove during cleanup.
optional int32 cut_cleanup_target = 157 [default = 1000];- Specified by:
getCutCleanupTargetin interfaceSatParametersOrBuilder- Returns:
- The cutCleanupTarget.
-
setCutCleanupTarget
public SatParameters.Builder setCutCleanupTarget(int value)
Target number of constraints to remove during cleanup.
optional int32 cut_cleanup_target = 157 [default = 1000];- Parameters:
value- The cutCleanupTarget to set.- Returns:
- This builder for chaining.
-
clearCutCleanupTarget
public SatParameters.Builder clearCutCleanupTarget()
Target number of constraints to remove during cleanup.
optional int32 cut_cleanup_target = 157 [default = 1000];- Returns:
- This builder for chaining.
-
hasNewConstraintsBatchSize
public boolean hasNewConstraintsBatchSize()
Add that many lazy constraints (or cuts) at once in the LP. Note that at the beginning of the solve, we do add more than this.
optional int32 new_constraints_batch_size = 122 [default = 50];- Specified by:
hasNewConstraintsBatchSizein interfaceSatParametersOrBuilder- Returns:
- Whether the newConstraintsBatchSize field is set.
-
getNewConstraintsBatchSize
public int getNewConstraintsBatchSize()
Add that many lazy constraints (or cuts) at once in the LP. Note that at the beginning of the solve, we do add more than this.
optional int32 new_constraints_batch_size = 122 [default = 50];- Specified by:
getNewConstraintsBatchSizein interfaceSatParametersOrBuilder- Returns:
- The newConstraintsBatchSize.
-
setNewConstraintsBatchSize
public SatParameters.Builder setNewConstraintsBatchSize(int value)
Add that many lazy constraints (or cuts) at once in the LP. Note that at the beginning of the solve, we do add more than this.
optional int32 new_constraints_batch_size = 122 [default = 50];- Parameters:
value- The newConstraintsBatchSize to set.- Returns:
- This builder for chaining.
-
clearNewConstraintsBatchSize
public SatParameters.Builder clearNewConstraintsBatchSize()
Add that many lazy constraints (or cuts) at once in the LP. Note that at the beginning of the solve, we do add more than this.
optional int32 new_constraints_batch_size = 122 [default = 50];- Returns:
- This builder for chaining.
-
hasSearchBranching
public boolean hasSearchBranching()
optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];- Specified by:
hasSearchBranchingin interfaceSatParametersOrBuilder- Returns:
- Whether the searchBranching field is set.
-
getSearchBranching
public SatParameters.SearchBranching getSearchBranching()
optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];- Specified by:
getSearchBranchingin interfaceSatParametersOrBuilder- Returns:
- The searchBranching.
-
setSearchBranching
public SatParameters.Builder setSearchBranching(SatParameters.SearchBranching value)
optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];- Parameters:
value- The searchBranching to set.- Returns:
- This builder for chaining.
-
clearSearchBranching
public SatParameters.Builder clearSearchBranching()
optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];- Returns:
- This builder for chaining.
-
hasHintConflictLimit
public boolean hasHintConflictLimit()
Conflict limit used in the phase that exploit the solution hint.
optional int32 hint_conflict_limit = 153 [default = 10];- Specified by:
hasHintConflictLimitin interfaceSatParametersOrBuilder- Returns:
- Whether the hintConflictLimit field is set.
-
getHintConflictLimit
public int getHintConflictLimit()
Conflict limit used in the phase that exploit the solution hint.
optional int32 hint_conflict_limit = 153 [default = 10];- Specified by:
getHintConflictLimitin interfaceSatParametersOrBuilder- Returns:
- The hintConflictLimit.
-
setHintConflictLimit
public SatParameters.Builder setHintConflictLimit(int value)
Conflict limit used in the phase that exploit the solution hint.
optional int32 hint_conflict_limit = 153 [default = 10];- Parameters:
value- The hintConflictLimit to set.- Returns:
- This builder for chaining.
-
clearHintConflictLimit
public SatParameters.Builder clearHintConflictLimit()
Conflict limit used in the phase that exploit the solution hint.
optional int32 hint_conflict_limit = 153 [default = 10];- Returns:
- This builder for chaining.
-
hasRepairHint
public boolean hasRepairHint()
If true, the solver tries to repair the solution given in the hint. This search terminates after the 'hint_conflict_limit' is reached and the solver switches to regular search. If false, then we do a FIXED_SEARCH using the hint until the hint_conflict_limit is reached.
optional bool repair_hint = 167 [default = false];- Specified by:
hasRepairHintin interfaceSatParametersOrBuilder- Returns:
- Whether the repairHint field is set.
-
getRepairHint
public boolean getRepairHint()
If true, the solver tries to repair the solution given in the hint. This search terminates after the 'hint_conflict_limit' is reached and the solver switches to regular search. If false, then we do a FIXED_SEARCH using the hint until the hint_conflict_limit is reached.
optional bool repair_hint = 167 [default = false];- Specified by:
getRepairHintin interfaceSatParametersOrBuilder- Returns:
- The repairHint.
-
setRepairHint
public SatParameters.Builder setRepairHint(boolean value)
If true, the solver tries to repair the solution given in the hint. This search terminates after the 'hint_conflict_limit' is reached and the solver switches to regular search. If false, then we do a FIXED_SEARCH using the hint until the hint_conflict_limit is reached.
optional bool repair_hint = 167 [default = false];- Parameters:
value- The repairHint to set.- Returns:
- This builder for chaining.
-
clearRepairHint
public SatParameters.Builder clearRepairHint()
If true, the solver tries to repair the solution given in the hint. This search terminates after the 'hint_conflict_limit' is reached and the solver switches to regular search. If false, then we do a FIXED_SEARCH using the hint until the hint_conflict_limit is reached.
optional bool repair_hint = 167 [default = false];- Returns:
- This builder for chaining.
-
hasFixVariablesToTheirHintedValue
public boolean hasFixVariablesToTheirHintedValue()
If true, variables appearing in the solution hints will be fixed to their hinted value.
optional bool fix_variables_to_their_hinted_value = 192 [default = false];- Specified by:
hasFixVariablesToTheirHintedValuein interfaceSatParametersOrBuilder- Returns:
- Whether the fixVariablesToTheirHintedValue field is set.
-
getFixVariablesToTheirHintedValue
public boolean getFixVariablesToTheirHintedValue()
If true, variables appearing in the solution hints will be fixed to their hinted value.
optional bool fix_variables_to_their_hinted_value = 192 [default = false];- Specified by:
getFixVariablesToTheirHintedValuein interfaceSatParametersOrBuilder- Returns:
- The fixVariablesToTheirHintedValue.
-
setFixVariablesToTheirHintedValue
public SatParameters.Builder setFixVariablesToTheirHintedValue(boolean value)
If true, variables appearing in the solution hints will be fixed to their hinted value.
optional bool fix_variables_to_their_hinted_value = 192 [default = false];- Parameters:
value- The fixVariablesToTheirHintedValue to set.- Returns:
- This builder for chaining.
-
clearFixVariablesToTheirHintedValue
public SatParameters.Builder clearFixVariablesToTheirHintedValue()
If true, variables appearing in the solution hints will be fixed to their hinted value.
optional bool fix_variables_to_their_hinted_value = 192 [default = false];- Returns:
- This builder for chaining.
-
hasExploitIntegerLpSolution
public boolean hasExploitIntegerLpSolution()
If true and the Lp relaxation of the problem has an integer optimal solution, try to exploit it. Note that since the LP relaxation may not contain all the constraints, such a solution is not necessarily a solution of the full problem.
optional bool exploit_integer_lp_solution = 94 [default = true];- Specified by:
hasExploitIntegerLpSolutionin interfaceSatParametersOrBuilder- Returns:
- Whether the exploitIntegerLpSolution field is set.
-
getExploitIntegerLpSolution
public boolean getExploitIntegerLpSolution()
If true and the Lp relaxation of the problem has an integer optimal solution, try to exploit it. Note that since the LP relaxation may not contain all the constraints, such a solution is not necessarily a solution of the full problem.
optional bool exploit_integer_lp_solution = 94 [default = true];- Specified by:
getExploitIntegerLpSolutionin interfaceSatParametersOrBuilder- Returns:
- The exploitIntegerLpSolution.
-
setExploitIntegerLpSolution
public SatParameters.Builder setExploitIntegerLpSolution(boolean value)
If true and the Lp relaxation of the problem has an integer optimal solution, try to exploit it. Note that since the LP relaxation may not contain all the constraints, such a solution is not necessarily a solution of the full problem.
optional bool exploit_integer_lp_solution = 94 [default = true];- Parameters:
value- The exploitIntegerLpSolution to set.- Returns:
- This builder for chaining.
-
clearExploitIntegerLpSolution
public SatParameters.Builder clearExploitIntegerLpSolution()
If true and the Lp relaxation of the problem has an integer optimal solution, try to exploit it. Note that since the LP relaxation may not contain all the constraints, such a solution is not necessarily a solution of the full problem.
optional bool exploit_integer_lp_solution = 94 [default = true];- Returns:
- This builder for chaining.
-
hasExploitAllLpSolution
public boolean hasExploitAllLpSolution()
If true and the Lp relaxation of the problem has a solution, try to exploit it. This is same as above except in this case the lp solution might not be an integer solution.
optional bool exploit_all_lp_solution = 116 [default = true];- Specified by:
hasExploitAllLpSolutionin interfaceSatParametersOrBuilder- Returns:
- Whether the exploitAllLpSolution field is set.
-
getExploitAllLpSolution
public boolean getExploitAllLpSolution()
If true and the Lp relaxation of the problem has a solution, try to exploit it. This is same as above except in this case the lp solution might not be an integer solution.
optional bool exploit_all_lp_solution = 116 [default = true];- Specified by:
getExploitAllLpSolutionin interfaceSatParametersOrBuilder- Returns:
- The exploitAllLpSolution.
-
setExploitAllLpSolution
public SatParameters.Builder setExploitAllLpSolution(boolean value)
If true and the Lp relaxation of the problem has a solution, try to exploit it. This is same as above except in this case the lp solution might not be an integer solution.
optional bool exploit_all_lp_solution = 116 [default = true];- Parameters:
value- The exploitAllLpSolution to set.- Returns:
- This builder for chaining.
-
clearExploitAllLpSolution
public SatParameters.Builder clearExploitAllLpSolution()
If true and the Lp relaxation of the problem has a solution, try to exploit it. This is same as above except in this case the lp solution might not be an integer solution.
optional bool exploit_all_lp_solution = 116 [default = true];- Returns:
- This builder for chaining.
-
hasExploitBestSolution
public boolean hasExploitBestSolution()
When branching on a variable, follow the last best solution value.
optional bool exploit_best_solution = 130 [default = false];- Specified by:
hasExploitBestSolutionin interfaceSatParametersOrBuilder- Returns:
- Whether the exploitBestSolution field is set.
-
getExploitBestSolution
public boolean getExploitBestSolution()
When branching on a variable, follow the last best solution value.
optional bool exploit_best_solution = 130 [default = false];- Specified by:
getExploitBestSolutionin interfaceSatParametersOrBuilder- Returns:
- The exploitBestSolution.
-
setExploitBestSolution
public SatParameters.Builder setExploitBestSolution(boolean value)
When branching on a variable, follow the last best solution value.
optional bool exploit_best_solution = 130 [default = false];- Parameters:
value- The exploitBestSolution to set.- Returns:
- This builder for chaining.
-
clearExploitBestSolution
public SatParameters.Builder clearExploitBestSolution()
When branching on a variable, follow the last best solution value.
optional bool exploit_best_solution = 130 [default = false];- Returns:
- This builder for chaining.
-
hasExploitRelaxationSolution
public boolean hasExploitRelaxationSolution()
When branching on a variable, follow the last best relaxation solution value. We use the relaxation with the tightest bound on the objective as the best relaxation solution.
optional bool exploit_relaxation_solution = 161 [default = false];- Specified by:
hasExploitRelaxationSolutionin interfaceSatParametersOrBuilder- Returns:
- Whether the exploitRelaxationSolution field is set.
-
getExploitRelaxationSolution
public boolean getExploitRelaxationSolution()
When branching on a variable, follow the last best relaxation solution value. We use the relaxation with the tightest bound on the objective as the best relaxation solution.
optional bool exploit_relaxation_solution = 161 [default = false];- Specified by:
getExploitRelaxationSolutionin interfaceSatParametersOrBuilder- Returns:
- The exploitRelaxationSolution.
-
setExploitRelaxationSolution
public SatParameters.Builder setExploitRelaxationSolution(boolean value)
When branching on a variable, follow the last best relaxation solution value. We use the relaxation with the tightest bound on the objective as the best relaxation solution.
optional bool exploit_relaxation_solution = 161 [default = false];- Parameters:
value- The exploitRelaxationSolution to set.- Returns:
- This builder for chaining.
-
clearExploitRelaxationSolution
public SatParameters.Builder clearExploitRelaxationSolution()
When branching on a variable, follow the last best relaxation solution value. We use the relaxation with the tightest bound on the objective as the best relaxation solution.
optional bool exploit_relaxation_solution = 161 [default = false];- Returns:
- This builder for chaining.
-
hasExploitObjective
public boolean hasExploitObjective()
When branching an a variable that directly affect the objective, branch on the value that lead to the best objective first.
optional bool exploit_objective = 131 [default = true];- Specified by:
hasExploitObjectivein interfaceSatParametersOrBuilder- Returns:
- Whether the exploitObjective field is set.
-
getExploitObjective
public boolean getExploitObjective()
When branching an a variable that directly affect the objective, branch on the value that lead to the best objective first.
optional bool exploit_objective = 131 [default = true];- Specified by:
getExploitObjectivein interfaceSatParametersOrBuilder- Returns:
- The exploitObjective.
-
setExploitObjective
public SatParameters.Builder setExploitObjective(boolean value)
When branching an a variable that directly affect the objective, branch on the value that lead to the best objective first.
optional bool exploit_objective = 131 [default = true];- Parameters:
value- The exploitObjective to set.- Returns:
- This builder for chaining.
-
clearExploitObjective
public SatParameters.Builder clearExploitObjective()
When branching an a variable that directly affect the objective, branch on the value that lead to the best objective first.
optional bool exploit_objective = 131 [default = true];- Returns:
- This builder for chaining.
-
hasProbingPeriodAtRoot
public boolean hasProbingPeriodAtRoot()
If set at zero (the default), it is disabled. Otherwise the solver attempts probing at every 'probing_period' root node. Period of 1 enables probing at every root node.
optional int64 probing_period_at_root = 142 [default = 0];- Specified by:
hasProbingPeriodAtRootin interfaceSatParametersOrBuilder- Returns:
- Whether the probingPeriodAtRoot field is set.
-
getProbingPeriodAtRoot
public long getProbingPeriodAtRoot()
If set at zero (the default), it is disabled. Otherwise the solver attempts probing at every 'probing_period' root node. Period of 1 enables probing at every root node.
optional int64 probing_period_at_root = 142 [default = 0];- Specified by:
getProbingPeriodAtRootin interfaceSatParametersOrBuilder- Returns:
- The probingPeriodAtRoot.
-
setProbingPeriodAtRoot
public SatParameters.Builder setProbingPeriodAtRoot(long value)
If set at zero (the default), it is disabled. Otherwise the solver attempts probing at every 'probing_period' root node. Period of 1 enables probing at every root node.
optional int64 probing_period_at_root = 142 [default = 0];- Parameters:
value- The probingPeriodAtRoot to set.- Returns:
- This builder for chaining.
-
clearProbingPeriodAtRoot
public SatParameters.Builder clearProbingPeriodAtRoot()
If set at zero (the default), it is disabled. Otherwise the solver attempts probing at every 'probing_period' root node. Period of 1 enables probing at every root node.
optional int64 probing_period_at_root = 142 [default = 0];- Returns:
- This builder for chaining.
-
hasUseProbingSearch
public boolean hasUseProbingSearch()
If true, search will continuously probe Boolean variables, and integer variable bounds. This parameter is set to true in parallel on the probing worker.
optional bool use_probing_search = 176 [default = false];- Specified by:
hasUseProbingSearchin interfaceSatParametersOrBuilder- Returns:
- Whether the useProbingSearch field is set.
-
getUseProbingSearch
public boolean getUseProbingSearch()
If true, search will continuously probe Boolean variables, and integer variable bounds. This parameter is set to true in parallel on the probing worker.
optional bool use_probing_search = 176 [default = false];- Specified by:
getUseProbingSearchin interfaceSatParametersOrBuilder- Returns:
- The useProbingSearch.
-
setUseProbingSearch
public SatParameters.Builder setUseProbingSearch(boolean value)
If true, search will continuously probe Boolean variables, and integer variable bounds. This parameter is set to true in parallel on the probing worker.
optional bool use_probing_search = 176 [default = false];- Parameters:
value- The useProbingSearch to set.- Returns:
- This builder for chaining.
-
clearUseProbingSearch
public SatParameters.Builder clearUseProbingSearch()
If true, search will continuously probe Boolean variables, and integer variable bounds. This parameter is set to true in parallel on the probing worker.
optional bool use_probing_search = 176 [default = false];- Returns:
- This builder for chaining.
-
hasUseShavingInProbingSearch
public boolean hasUseShavingInProbingSearch()
Add a shaving phase (where the solver tries to prove that the lower or upper bound of a variable are infeasible) to the probing search.
optional bool use_shaving_in_probing_search = 204 [default = true];- Specified by:
hasUseShavingInProbingSearchin interfaceSatParametersOrBuilder- Returns:
- Whether the useShavingInProbingSearch field is set.
-
getUseShavingInProbingSearch
public boolean getUseShavingInProbingSearch()
Add a shaving phase (where the solver tries to prove that the lower or upper bound of a variable are infeasible) to the probing search.
optional bool use_shaving_in_probing_search = 204 [default = true];- Specified by:
getUseShavingInProbingSearchin interfaceSatParametersOrBuilder- Returns:
- The useShavingInProbingSearch.
-
setUseShavingInProbingSearch
public SatParameters.Builder setUseShavingInProbingSearch(boolean value)
Add a shaving phase (where the solver tries to prove that the lower or upper bound of a variable are infeasible) to the probing search.
optional bool use_shaving_in_probing_search = 204 [default = true];- Parameters:
value- The useShavingInProbingSearch to set.- Returns:
- This builder for chaining.
-
clearUseShavingInProbingSearch
public SatParameters.Builder clearUseShavingInProbingSearch()
Add a shaving phase (where the solver tries to prove that the lower or upper bound of a variable are infeasible) to the probing search.
optional bool use_shaving_in_probing_search = 204 [default = true];- Returns:
- This builder for chaining.
-
hasShavingSearchDeterministicTime
public boolean hasShavingSearchDeterministicTime()
Specifies the amount of deterministic time spent of each try at shaving a bound in the shaving search.
optional double shaving_search_deterministic_time = 205 [default = 0.001];- Specified by:
hasShavingSearchDeterministicTimein interfaceSatParametersOrBuilder- Returns:
- Whether the shavingSearchDeterministicTime field is set.
-
getShavingSearchDeterministicTime
public double getShavingSearchDeterministicTime()
Specifies the amount of deterministic time spent of each try at shaving a bound in the shaving search.
optional double shaving_search_deterministic_time = 205 [default = 0.001];- Specified by:
getShavingSearchDeterministicTimein interfaceSatParametersOrBuilder- Returns:
- The shavingSearchDeterministicTime.
-
setShavingSearchDeterministicTime
public SatParameters.Builder setShavingSearchDeterministicTime(double value)
Specifies the amount of deterministic time spent of each try at shaving a bound in the shaving search.
optional double shaving_search_deterministic_time = 205 [default = 0.001];- Parameters:
value- The shavingSearchDeterministicTime to set.- Returns:
- This builder for chaining.
-
clearShavingSearchDeterministicTime
public SatParameters.Builder clearShavingSearchDeterministicTime()
Specifies the amount of deterministic time spent of each try at shaving a bound in the shaving search.
optional double shaving_search_deterministic_time = 205 [default = 0.001];- Returns:
- This builder for chaining.
-
hasUseObjectiveLbSearch
public boolean hasUseObjectiveLbSearch()
If true, search will search in ascending max objective value (when minimizing) starting from the lower bound of the objective.
optional bool use_objective_lb_search = 228 [default = false];- Specified by:
hasUseObjectiveLbSearchin interfaceSatParametersOrBuilder- Returns:
- Whether the useObjectiveLbSearch field is set.
-
getUseObjectiveLbSearch
public boolean getUseObjectiveLbSearch()
If true, search will search in ascending max objective value (when minimizing) starting from the lower bound of the objective.
optional bool use_objective_lb_search = 228 [default = false];- Specified by:
getUseObjectiveLbSearchin interfaceSatParametersOrBuilder- Returns:
- The useObjectiveLbSearch.
-
setUseObjectiveLbSearch
public SatParameters.Builder setUseObjectiveLbSearch(boolean value)
If true, search will search in ascending max objective value (when minimizing) starting from the lower bound of the objective.
optional bool use_objective_lb_search = 228 [default = false];- Parameters:
value- The useObjectiveLbSearch to set.- Returns:
- This builder for chaining.
-
clearUseObjectiveLbSearch
public SatParameters.Builder clearUseObjectiveLbSearch()
If true, search will search in ascending max objective value (when minimizing) starting from the lower bound of the objective.
optional bool use_objective_lb_search = 228 [default = false];- Returns:
- This builder for chaining.
-
hasUseObjectiveShavingSearch
public boolean hasUseObjectiveShavingSearch()
This search differs from the previous search as it will not use assumptions to bound the objective, and it will recreate a full model with the hardcoded objective value.
optional bool use_objective_shaving_search = 253 [default = false];- Specified by:
hasUseObjectiveShavingSearchin interfaceSatParametersOrBuilder- Returns:
- Whether the useObjectiveShavingSearch field is set.
-
getUseObjectiveShavingSearch
public boolean getUseObjectiveShavingSearch()
This search differs from the previous search as it will not use assumptions to bound the objective, and it will recreate a full model with the hardcoded objective value.
optional bool use_objective_shaving_search = 253 [default = false];- Specified by:
getUseObjectiveShavingSearchin interfaceSatParametersOrBuilder- Returns:
- The useObjectiveShavingSearch.
-
setUseObjectiveShavingSearch
public SatParameters.Builder setUseObjectiveShavingSearch(boolean value)
This search differs from the previous search as it will not use assumptions to bound the objective, and it will recreate a full model with the hardcoded objective value.
optional bool use_objective_shaving_search = 253 [default = false];- Parameters:
value- The useObjectiveShavingSearch to set.- Returns:
- This builder for chaining.
-
clearUseObjectiveShavingSearch
public SatParameters.Builder clearUseObjectiveShavingSearch()
This search differs from the previous search as it will not use assumptions to bound the objective, and it will recreate a full model with the hardcoded objective value.
optional bool use_objective_shaving_search = 253 [default = false];- Returns:
- This builder for chaining.
-
hasPseudoCostReliabilityThreshold
public boolean hasPseudoCostReliabilityThreshold()
The solver ignores the pseudo costs of variables with number of recordings less than this threshold.
optional int64 pseudo_cost_reliability_threshold = 123 [default = 100];- Specified by:
hasPseudoCostReliabilityThresholdin interfaceSatParametersOrBuilder- Returns:
- Whether the pseudoCostReliabilityThreshold field is set.
-
getPseudoCostReliabilityThreshold
public long getPseudoCostReliabilityThreshold()
The solver ignores the pseudo costs of variables with number of recordings less than this threshold.
optional int64 pseudo_cost_reliability_threshold = 123 [default = 100];- Specified by:
getPseudoCostReliabilityThresholdin interfaceSatParametersOrBuilder- Returns:
- The pseudoCostReliabilityThreshold.
-
setPseudoCostReliabilityThreshold
public SatParameters.Builder setPseudoCostReliabilityThreshold(long value)
The solver ignores the pseudo costs of variables with number of recordings less than this threshold.
optional int64 pseudo_cost_reliability_threshold = 123 [default = 100];- Parameters:
value- The pseudoCostReliabilityThreshold to set.- Returns:
- This builder for chaining.
-
clearPseudoCostReliabilityThreshold
public SatParameters.Builder clearPseudoCostReliabilityThreshold()
The solver ignores the pseudo costs of variables with number of recordings less than this threshold.
optional int64 pseudo_cost_reliability_threshold = 123 [default = 100];- Returns:
- This builder for chaining.
-
hasOptimizeWithCore
public boolean hasOptimizeWithCore()
The default optimization method is a simple "linear scan", each time trying to find a better solution than the previous one. If this is true, then we use a core-based approach (like in max-SAT) when we try to increase the lower bound instead.
optional bool optimize_with_core = 83 [default = false];- Specified by:
hasOptimizeWithCorein interfaceSatParametersOrBuilder- Returns:
- Whether the optimizeWithCore field is set.
-
getOptimizeWithCore
public boolean getOptimizeWithCore()
The default optimization method is a simple "linear scan", each time trying to find a better solution than the previous one. If this is true, then we use a core-based approach (like in max-SAT) when we try to increase the lower bound instead.
optional bool optimize_with_core = 83 [default = false];- Specified by:
getOptimizeWithCorein interfaceSatParametersOrBuilder- Returns:
- The optimizeWithCore.
-
setOptimizeWithCore
public SatParameters.Builder setOptimizeWithCore(boolean value)
The default optimization method is a simple "linear scan", each time trying to find a better solution than the previous one. If this is true, then we use a core-based approach (like in max-SAT) when we try to increase the lower bound instead.
optional bool optimize_with_core = 83 [default = false];- Parameters:
value- The optimizeWithCore to set.- Returns:
- This builder for chaining.
-
clearOptimizeWithCore
public SatParameters.Builder clearOptimizeWithCore()
The default optimization method is a simple "linear scan", each time trying to find a better solution than the previous one. If this is true, then we use a core-based approach (like in max-SAT) when we try to increase the lower bound instead.
optional bool optimize_with_core = 83 [default = false];- Returns:
- This builder for chaining.
-
hasOptimizeWithLbTreeSearch
public boolean hasOptimizeWithLbTreeSearch()
Do a more conventional tree search (by opposition to SAT based one) where we keep all the explored node in a tree. This is meant to be used in a portfolio and focus on improving the objective lower bound. Keeping the whole tree allow us to report a better objective lower bound coming from the worst open node in the tree.
optional bool optimize_with_lb_tree_search = 188 [default = false];- Specified by:
hasOptimizeWithLbTreeSearchin interfaceSatParametersOrBuilder- Returns:
- Whether the optimizeWithLbTreeSearch field is set.
-
getOptimizeWithLbTreeSearch
public boolean getOptimizeWithLbTreeSearch()
Do a more conventional tree search (by opposition to SAT based one) where we keep all the explored node in a tree. This is meant to be used in a portfolio and focus on improving the objective lower bound. Keeping the whole tree allow us to report a better objective lower bound coming from the worst open node in the tree.
optional bool optimize_with_lb_tree_search = 188 [default = false];- Specified by:
getOptimizeWithLbTreeSearchin interfaceSatParametersOrBuilder- Returns:
- The optimizeWithLbTreeSearch.
-
setOptimizeWithLbTreeSearch
public SatParameters.Builder setOptimizeWithLbTreeSearch(boolean value)
Do a more conventional tree search (by opposition to SAT based one) where we keep all the explored node in a tree. This is meant to be used in a portfolio and focus on improving the objective lower bound. Keeping the whole tree allow us to report a better objective lower bound coming from the worst open node in the tree.
optional bool optimize_with_lb_tree_search = 188 [default = false];- Parameters:
value- The optimizeWithLbTreeSearch to set.- Returns:
- This builder for chaining.
-
clearOptimizeWithLbTreeSearch
public SatParameters.Builder clearOptimizeWithLbTreeSearch()
Do a more conventional tree search (by opposition to SAT based one) where we keep all the explored node in a tree. This is meant to be used in a portfolio and focus on improving the objective lower bound. Keeping the whole tree allow us to report a better objective lower bound coming from the worst open node in the tree.
optional bool optimize_with_lb_tree_search = 188 [default = false];- Returns:
- This builder for chaining.
-
hasBinarySearchNumConflicts
public boolean hasBinarySearchNumConflicts()
If non-negative, perform a binary search on the objective variable in order to find an [min, max] interval outside of which the solver proved unsat/sat under this amount of conflict. This can quickly reduce the objective domain on some problems.
optional int32 binary_search_num_conflicts = 99 [default = -1];- Specified by:
hasBinarySearchNumConflictsin interfaceSatParametersOrBuilder- Returns:
- Whether the binarySearchNumConflicts field is set.
-
getBinarySearchNumConflicts
public int getBinarySearchNumConflicts()
If non-negative, perform a binary search on the objective variable in order to find an [min, max] interval outside of which the solver proved unsat/sat under this amount of conflict. This can quickly reduce the objective domain on some problems.
optional int32 binary_search_num_conflicts = 99 [default = -1];- Specified by:
getBinarySearchNumConflictsin interfaceSatParametersOrBuilder- Returns:
- The binarySearchNumConflicts.
-
setBinarySearchNumConflicts
public SatParameters.Builder setBinarySearchNumConflicts(int value)
If non-negative, perform a binary search on the objective variable in order to find an [min, max] interval outside of which the solver proved unsat/sat under this amount of conflict. This can quickly reduce the objective domain on some problems.
optional int32 binary_search_num_conflicts = 99 [default = -1];- Parameters:
value- The binarySearchNumConflicts to set.- Returns:
- This builder for chaining.
-
clearBinarySearchNumConflicts
public SatParameters.Builder clearBinarySearchNumConflicts()
If non-negative, perform a binary search on the objective variable in order to find an [min, max] interval outside of which the solver proved unsat/sat under this amount of conflict. This can quickly reduce the objective domain on some problems.
optional int32 binary_search_num_conflicts = 99 [default = -1];- Returns:
- This builder for chaining.
-
hasOptimizeWithMaxHs
public boolean hasOptimizeWithMaxHs()
This has no effect if optimize_with_core is false. If true, use a different core-based algorithm similar to the max-HS algo for max-SAT. This is a hybrid MIP/CP approach and it uses a MIP solver in addition to the CP/SAT one. This is also related to the PhD work of tobyodavies@ "Automatic Logic-Based Benders Decomposition with MiniZinc" http://aaai.org/ocs/index.php/AAAI/AAAI17/paper/view/14489
optional bool optimize_with_max_hs = 85 [default = false];- Specified by:
hasOptimizeWithMaxHsin interfaceSatParametersOrBuilder- Returns:
- Whether the optimizeWithMaxHs field is set.
-
getOptimizeWithMaxHs
public boolean getOptimizeWithMaxHs()
This has no effect if optimize_with_core is false. If true, use a different core-based algorithm similar to the max-HS algo for max-SAT. This is a hybrid MIP/CP approach and it uses a MIP solver in addition to the CP/SAT one. This is also related to the PhD work of tobyodavies@ "Automatic Logic-Based Benders Decomposition with MiniZinc" http://aaai.org/ocs/index.php/AAAI/AAAI17/paper/view/14489
optional bool optimize_with_max_hs = 85 [default = false];- Specified by:
getOptimizeWithMaxHsin interfaceSatParametersOrBuilder- Returns:
- The optimizeWithMaxHs.
-
setOptimizeWithMaxHs
public SatParameters.Builder setOptimizeWithMaxHs(boolean value)
This has no effect if optimize_with_core is false. If true, use a different core-based algorithm similar to the max-HS algo for max-SAT. This is a hybrid MIP/CP approach and it uses a MIP solver in addition to the CP/SAT one. This is also related to the PhD work of tobyodavies@ "Automatic Logic-Based Benders Decomposition with MiniZinc" http://aaai.org/ocs/index.php/AAAI/AAAI17/paper/view/14489
optional bool optimize_with_max_hs = 85 [default = false];- Parameters:
value- The optimizeWithMaxHs to set.- Returns:
- This builder for chaining.
-
clearOptimizeWithMaxHs
public SatParameters.Builder clearOptimizeWithMaxHs()
This has no effect if optimize_with_core is false. If true, use a different core-based algorithm similar to the max-HS algo for max-SAT. This is a hybrid MIP/CP approach and it uses a MIP solver in addition to the CP/SAT one. This is also related to the PhD work of tobyodavies@ "Automatic Logic-Based Benders Decomposition with MiniZinc" http://aaai.org/ocs/index.php/AAAI/AAAI17/paper/view/14489
optional bool optimize_with_max_hs = 85 [default = false];- Returns:
- This builder for chaining.
-
hasUseFeasibilityJump
public boolean hasUseFeasibilityJump()
Parameters for an heuristic similar to the one described in the paper: "Feasibility Jump: an LP-free Lagrangian MIP heuristic", Bjørnar Luteberget, Giorgio Sartor, 2023, Mathematical Programming Computation.
optional bool use_feasibility_jump = 265 [default = true];- Specified by:
hasUseFeasibilityJumpin interfaceSatParametersOrBuilder- Returns:
- Whether the useFeasibilityJump field is set.
-
getUseFeasibilityJump
public boolean getUseFeasibilityJump()
Parameters for an heuristic similar to the one described in the paper: "Feasibility Jump: an LP-free Lagrangian MIP heuristic", Bjørnar Luteberget, Giorgio Sartor, 2023, Mathematical Programming Computation.
optional bool use_feasibility_jump = 265 [default = true];- Specified by:
getUseFeasibilityJumpin interfaceSatParametersOrBuilder- Returns:
- The useFeasibilityJump.
-
setUseFeasibilityJump
public SatParameters.Builder setUseFeasibilityJump(boolean value)
Parameters for an heuristic similar to the one described in the paper: "Feasibility Jump: an LP-free Lagrangian MIP heuristic", Bjørnar Luteberget, Giorgio Sartor, 2023, Mathematical Programming Computation.
optional bool use_feasibility_jump = 265 [default = true];- Parameters:
value- The useFeasibilityJump to set.- Returns:
- This builder for chaining.
-
clearUseFeasibilityJump
public SatParameters.Builder clearUseFeasibilityJump()
Parameters for an heuristic similar to the one described in the paper: "Feasibility Jump: an LP-free Lagrangian MIP heuristic", Bjørnar Luteberget, Giorgio Sartor, 2023, Mathematical Programming Computation.
optional bool use_feasibility_jump = 265 [default = true];- Returns:
- This builder for chaining.
-
hasTestFeasibilityJump
public boolean hasTestFeasibilityJump()
Disable every other type of subsolver, setting this turns CP-SAT into a pure local-search solver.
optional bool test_feasibility_jump = 240 [default = false];- Specified by:
hasTestFeasibilityJumpin interfaceSatParametersOrBuilder- Returns:
- Whether the testFeasibilityJump field is set.
-
getTestFeasibilityJump
public boolean getTestFeasibilityJump()
Disable every other type of subsolver, setting this turns CP-SAT into a pure local-search solver.
optional bool test_feasibility_jump = 240 [default = false];- Specified by:
getTestFeasibilityJumpin interfaceSatParametersOrBuilder- Returns:
- The testFeasibilityJump.
-
setTestFeasibilityJump
public SatParameters.Builder setTestFeasibilityJump(boolean value)
Disable every other type of subsolver, setting this turns CP-SAT into a pure local-search solver.
optional bool test_feasibility_jump = 240 [default = false];- Parameters:
value- The testFeasibilityJump to set.- Returns:
- This builder for chaining.
-
clearTestFeasibilityJump
public SatParameters.Builder clearTestFeasibilityJump()
Disable every other type of subsolver, setting this turns CP-SAT into a pure local-search solver.
optional bool test_feasibility_jump = 240 [default = false];- Returns:
- This builder for chaining.
-
hasFeasibilityJumpDecay
public boolean hasFeasibilityJumpDecay()
On each restart, we randomly choose if we use decay (with this parameter) or no decay.
optional double feasibility_jump_decay = 242 [default = 0.95];- Specified by:
hasFeasibilityJumpDecayin interfaceSatParametersOrBuilder- Returns:
- Whether the feasibilityJumpDecay field is set.
-
getFeasibilityJumpDecay
public double getFeasibilityJumpDecay()
On each restart, we randomly choose if we use decay (with this parameter) or no decay.
optional double feasibility_jump_decay = 242 [default = 0.95];- Specified by:
getFeasibilityJumpDecayin interfaceSatParametersOrBuilder- Returns:
- The feasibilityJumpDecay.
-
setFeasibilityJumpDecay
public SatParameters.Builder setFeasibilityJumpDecay(double value)
On each restart, we randomly choose if we use decay (with this parameter) or no decay.
optional double feasibility_jump_decay = 242 [default = 0.95];- Parameters:
value- The feasibilityJumpDecay to set.- Returns:
- This builder for chaining.
-
clearFeasibilityJumpDecay
public SatParameters.Builder clearFeasibilityJumpDecay()
On each restart, we randomly choose if we use decay (with this parameter) or no decay.
optional double feasibility_jump_decay = 242 [default = 0.95];- Returns:
- This builder for chaining.
-
hasFeasibilityJumpLinearizationLevel
public boolean hasFeasibilityJumpLinearizationLevel()
How much do we linearize the problem in the local search code.
optional int32 feasibility_jump_linearization_level = 257 [default = 2];- Specified by:
hasFeasibilityJumpLinearizationLevelin interfaceSatParametersOrBuilder- Returns:
- Whether the feasibilityJumpLinearizationLevel field is set.
-
getFeasibilityJumpLinearizationLevel
public int getFeasibilityJumpLinearizationLevel()
How much do we linearize the problem in the local search code.
optional int32 feasibility_jump_linearization_level = 257 [default = 2];- Specified by:
getFeasibilityJumpLinearizationLevelin interfaceSatParametersOrBuilder- Returns:
- The feasibilityJumpLinearizationLevel.
-
setFeasibilityJumpLinearizationLevel
public SatParameters.Builder setFeasibilityJumpLinearizationLevel(int value)
How much do we linearize the problem in the local search code.
optional int32 feasibility_jump_linearization_level = 257 [default = 2];- Parameters:
value- The feasibilityJumpLinearizationLevel to set.- Returns:
- This builder for chaining.
-
clearFeasibilityJumpLinearizationLevel
public SatParameters.Builder clearFeasibilityJumpLinearizationLevel()
How much do we linearize the problem in the local search code.
optional int32 feasibility_jump_linearization_level = 257 [default = 2];- Returns:
- This builder for chaining.
-
hasFeasibilityJumpRestartFactor
public boolean hasFeasibilityJumpRestartFactor()
This is a factor that directly influence the work before each restart. Setting this to zero disable restart, and increasing it lead to longer restarts.
optional int32 feasibility_jump_restart_factor = 258 [default = 1];- Specified by:
hasFeasibilityJumpRestartFactorin interfaceSatParametersOrBuilder- Returns:
- Whether the feasibilityJumpRestartFactor field is set.
-
getFeasibilityJumpRestartFactor
public int getFeasibilityJumpRestartFactor()
This is a factor that directly influence the work before each restart. Setting this to zero disable restart, and increasing it lead to longer restarts.
optional int32 feasibility_jump_restart_factor = 258 [default = 1];- Specified by:
getFeasibilityJumpRestartFactorin interfaceSatParametersOrBuilder- Returns:
- The feasibilityJumpRestartFactor.
-
setFeasibilityJumpRestartFactor
public SatParameters.Builder setFeasibilityJumpRestartFactor(int value)
This is a factor that directly influence the work before each restart. Setting this to zero disable restart, and increasing it lead to longer restarts.
optional int32 feasibility_jump_restart_factor = 258 [default = 1];- Parameters:
value- The feasibilityJumpRestartFactor to set.- Returns:
- This builder for chaining.
-
clearFeasibilityJumpRestartFactor
public SatParameters.Builder clearFeasibilityJumpRestartFactor()
This is a factor that directly influence the work before each restart. Setting this to zero disable restart, and increasing it lead to longer restarts.
optional int32 feasibility_jump_restart_factor = 258 [default = 1];- Returns:
- This builder for chaining.
-
hasFeasibilityJumpVarRandomizationProbability
public boolean hasFeasibilityJumpVarRandomizationProbability()
Probability for a variable to have a non default value upon restarts or perturbations.
optional double feasibility_jump_var_randomization_probability = 247 [default = 0];- Specified by:
hasFeasibilityJumpVarRandomizationProbabilityin interfaceSatParametersOrBuilder- Returns:
- Whether the feasibilityJumpVarRandomizationProbability field is set.
-
getFeasibilityJumpVarRandomizationProbability
public double getFeasibilityJumpVarRandomizationProbability()
Probability for a variable to have a non default value upon restarts or perturbations.
optional double feasibility_jump_var_randomization_probability = 247 [default = 0];- Specified by:
getFeasibilityJumpVarRandomizationProbabilityin interfaceSatParametersOrBuilder- Returns:
- The feasibilityJumpVarRandomizationProbability.
-
setFeasibilityJumpVarRandomizationProbability
public SatParameters.Builder setFeasibilityJumpVarRandomizationProbability(double value)
Probability for a variable to have a non default value upon restarts or perturbations.
optional double feasibility_jump_var_randomization_probability = 247 [default = 0];- Parameters:
value- The feasibilityJumpVarRandomizationProbability to set.- Returns:
- This builder for chaining.
-
clearFeasibilityJumpVarRandomizationProbability
public SatParameters.Builder clearFeasibilityJumpVarRandomizationProbability()
Probability for a variable to have a non default value upon restarts or perturbations.
optional double feasibility_jump_var_randomization_probability = 247 [default = 0];- Returns:
- This builder for chaining.
-
hasFeasibilityJumpVarPerburbationRangeRatio
public boolean hasFeasibilityJumpVarPerburbationRangeRatio()
Max distance between the default value and the pertubated value relative to the range of the domain of the variable.
optional double feasibility_jump_var_perburbation_range_ratio = 248 [default = 0.2];- Specified by:
hasFeasibilityJumpVarPerburbationRangeRatioin interfaceSatParametersOrBuilder- Returns:
- Whether the feasibilityJumpVarPerburbationRangeRatio field is set.
-
getFeasibilityJumpVarPerburbationRangeRatio
public double getFeasibilityJumpVarPerburbationRangeRatio()
Max distance between the default value and the pertubated value relative to the range of the domain of the variable.
optional double feasibility_jump_var_perburbation_range_ratio = 248 [default = 0.2];- Specified by:
getFeasibilityJumpVarPerburbationRangeRatioin interfaceSatParametersOrBuilder- Returns:
- The feasibilityJumpVarPerburbationRangeRatio.
-
setFeasibilityJumpVarPerburbationRangeRatio
public SatParameters.Builder setFeasibilityJumpVarPerburbationRangeRatio(double value)
Max distance between the default value and the pertubated value relative to the range of the domain of the variable.
optional double feasibility_jump_var_perburbation_range_ratio = 248 [default = 0.2];- Parameters:
value- The feasibilityJumpVarPerburbationRangeRatio to set.- Returns:
- This builder for chaining.
-
clearFeasibilityJumpVarPerburbationRangeRatio
public SatParameters.Builder clearFeasibilityJumpVarPerburbationRangeRatio()
Max distance between the default value and the pertubated value relative to the range of the domain of the variable.
optional double feasibility_jump_var_perburbation_range_ratio = 248 [default = 0.2];- Returns:
- This builder for chaining.
-
hasFeasibilityJumpEnableRestarts
public boolean hasFeasibilityJumpEnableRestarts()
When stagnating, feasibility jump will either restart from a default solution (with some possible randomization), or randomly pertubate the current solution. This parameter selects the first option.
optional bool feasibility_jump_enable_restarts = 250 [default = true];- Specified by:
hasFeasibilityJumpEnableRestartsin interfaceSatParametersOrBuilder- Returns:
- Whether the feasibilityJumpEnableRestarts field is set.
-
getFeasibilityJumpEnableRestarts
public boolean getFeasibilityJumpEnableRestarts()
When stagnating, feasibility jump will either restart from a default solution (with some possible randomization), or randomly pertubate the current solution. This parameter selects the first option.
optional bool feasibility_jump_enable_restarts = 250 [default = true];- Specified by:
getFeasibilityJumpEnableRestartsin interfaceSatParametersOrBuilder- Returns:
- The feasibilityJumpEnableRestarts.
-
setFeasibilityJumpEnableRestarts
public SatParameters.Builder setFeasibilityJumpEnableRestarts(boolean value)
When stagnating, feasibility jump will either restart from a default solution (with some possible randomization), or randomly pertubate the current solution. This parameter selects the first option.
optional bool feasibility_jump_enable_restarts = 250 [default = true];- Parameters:
value- The feasibilityJumpEnableRestarts to set.- Returns:
- This builder for chaining.
-
clearFeasibilityJumpEnableRestarts
public SatParameters.Builder clearFeasibilityJumpEnableRestarts()
When stagnating, feasibility jump will either restart from a default solution (with some possible randomization), or randomly pertubate the current solution. This parameter selects the first option.
optional bool feasibility_jump_enable_restarts = 250 [default = true];- Returns:
- This builder for chaining.
-
hasFeasibilityJumpMaxExpandedConstraintSize
public boolean hasFeasibilityJumpMaxExpandedConstraintSize()
Maximum size of no_overlap or no_overlap_2d constraint for a quadratic expansion.
optional int32 feasibility_jump_max_expanded_constraint_size = 264 [default = 100];- Specified by:
hasFeasibilityJumpMaxExpandedConstraintSizein interfaceSatParametersOrBuilder- Returns:
- Whether the feasibilityJumpMaxExpandedConstraintSize field is set.
-
getFeasibilityJumpMaxExpandedConstraintSize
public int getFeasibilityJumpMaxExpandedConstraintSize()
Maximum size of no_overlap or no_overlap_2d constraint for a quadratic expansion.
optional int32 feasibility_jump_max_expanded_constraint_size = 264 [default = 100];- Specified by:
getFeasibilityJumpMaxExpandedConstraintSizein interfaceSatParametersOrBuilder- Returns:
- The feasibilityJumpMaxExpandedConstraintSize.
-
setFeasibilityJumpMaxExpandedConstraintSize
public SatParameters.Builder setFeasibilityJumpMaxExpandedConstraintSize(int value)
Maximum size of no_overlap or no_overlap_2d constraint for a quadratic expansion.
optional int32 feasibility_jump_max_expanded_constraint_size = 264 [default = 100];- Parameters:
value- The feasibilityJumpMaxExpandedConstraintSize to set.- Returns:
- This builder for chaining.
-
clearFeasibilityJumpMaxExpandedConstraintSize
public SatParameters.Builder clearFeasibilityJumpMaxExpandedConstraintSize()
Maximum size of no_overlap or no_overlap_2d constraint for a quadratic expansion.
optional int32 feasibility_jump_max_expanded_constraint_size = 264 [default = 100];- Returns:
- This builder for chaining.
-
hasNumViolationLs
public boolean hasNumViolationLs()
This will create incomplete subsolvers (that are not LNS subsolvers) that use the feasibility jump code to find improving solution, treating the objective improvement as a hard constraint.
optional int32 num_violation_ls = 244 [default = 0];- Specified by:
hasNumViolationLsin interfaceSatParametersOrBuilder- Returns:
- Whether the numViolationLs field is set.
-
getNumViolationLs
public int getNumViolationLs()
This will create incomplete subsolvers (that are not LNS subsolvers) that use the feasibility jump code to find improving solution, treating the objective improvement as a hard constraint.
optional int32 num_violation_ls = 244 [default = 0];- Specified by:
getNumViolationLsin interfaceSatParametersOrBuilder- Returns:
- The numViolationLs.
-
setNumViolationLs
public SatParameters.Builder setNumViolationLs(int value)
This will create incomplete subsolvers (that are not LNS subsolvers) that use the feasibility jump code to find improving solution, treating the objective improvement as a hard constraint.
optional int32 num_violation_ls = 244 [default = 0];- Parameters:
value- The numViolationLs to set.- Returns:
- This builder for chaining.
-
clearNumViolationLs
public SatParameters.Builder clearNumViolationLs()
This will create incomplete subsolvers (that are not LNS subsolvers) that use the feasibility jump code to find improving solution, treating the objective improvement as a hard constraint.
optional int32 num_violation_ls = 244 [default = 0];- Returns:
- This builder for chaining.
-
hasViolationLsPerturbationPeriod
public boolean hasViolationLsPerturbationPeriod()
How long violation_ls should wait before perturbating a solution.
optional int32 violation_ls_perturbation_period = 249 [default = 100];- Specified by:
hasViolationLsPerturbationPeriodin interfaceSatParametersOrBuilder- Returns:
- Whether the violationLsPerturbationPeriod field is set.
-
getViolationLsPerturbationPeriod
public int getViolationLsPerturbationPeriod()
How long violation_ls should wait before perturbating a solution.
optional int32 violation_ls_perturbation_period = 249 [default = 100];- Specified by:
getViolationLsPerturbationPeriodin interfaceSatParametersOrBuilder- Returns:
- The violationLsPerturbationPeriod.
-
setViolationLsPerturbationPeriod
public SatParameters.Builder setViolationLsPerturbationPeriod(int value)
How long violation_ls should wait before perturbating a solution.
optional int32 violation_ls_perturbation_period = 249 [default = 100];- Parameters:
value- The violationLsPerturbationPeriod to set.- Returns:
- This builder for chaining.
-
clearViolationLsPerturbationPeriod
public SatParameters.Builder clearViolationLsPerturbationPeriod()
How long violation_ls should wait before perturbating a solution.
optional int32 violation_ls_perturbation_period = 249 [default = 100];- Returns:
- This builder for chaining.
-
hasViolationLsCompoundMoveProbability
public boolean hasViolationLsCompoundMoveProbability()
Probability of using compound move search each restart. TODO(user): Add reference to paper when published.
optional double violation_ls_compound_move_probability = 259 [default = 0.5];- Specified by:
hasViolationLsCompoundMoveProbabilityin interfaceSatParametersOrBuilder- Returns:
- Whether the violationLsCompoundMoveProbability field is set.
-
getViolationLsCompoundMoveProbability
public double getViolationLsCompoundMoveProbability()
Probability of using compound move search each restart. TODO(user): Add reference to paper when published.
optional double violation_ls_compound_move_probability = 259 [default = 0.5];- Specified by:
getViolationLsCompoundMoveProbabilityin interfaceSatParametersOrBuilder- Returns:
- The violationLsCompoundMoveProbability.
-
setViolationLsCompoundMoveProbability
public SatParameters.Builder setViolationLsCompoundMoveProbability(double value)
Probability of using compound move search each restart. TODO(user): Add reference to paper when published.
optional double violation_ls_compound_move_probability = 259 [default = 0.5];- Parameters:
value- The violationLsCompoundMoveProbability to set.- Returns:
- This builder for chaining.
-
clearViolationLsCompoundMoveProbability
public SatParameters.Builder clearViolationLsCompoundMoveProbability()
Probability of using compound move search each restart. TODO(user): Add reference to paper when published.
optional double violation_ls_compound_move_probability = 259 [default = 0.5];- Returns:
- This builder for chaining.
-
hasSharedTreeNumWorkers
public boolean hasSharedTreeNumWorkers()
Enables experimental workstealing-like shared tree search. If non-zero, start this many complete worker threads to explore a shared search tree. These workers communicate objective bounds and simple decision nogoods relating to the shared prefix of the tree, and will avoid exploring the same subtrees as one another.
optional int32 shared_tree_num_workers = 235 [default = 0];- Specified by:
hasSharedTreeNumWorkersin interfaceSatParametersOrBuilder- Returns:
- Whether the sharedTreeNumWorkers field is set.
-
getSharedTreeNumWorkers
public int getSharedTreeNumWorkers()
Enables experimental workstealing-like shared tree search. If non-zero, start this many complete worker threads to explore a shared search tree. These workers communicate objective bounds and simple decision nogoods relating to the shared prefix of the tree, and will avoid exploring the same subtrees as one another.
optional int32 shared_tree_num_workers = 235 [default = 0];- Specified by:
getSharedTreeNumWorkersin interfaceSatParametersOrBuilder- Returns:
- The sharedTreeNumWorkers.
-
setSharedTreeNumWorkers
public SatParameters.Builder setSharedTreeNumWorkers(int value)
Enables experimental workstealing-like shared tree search. If non-zero, start this many complete worker threads to explore a shared search tree. These workers communicate objective bounds and simple decision nogoods relating to the shared prefix of the tree, and will avoid exploring the same subtrees as one another.
optional int32 shared_tree_num_workers = 235 [default = 0];- Parameters:
value- The sharedTreeNumWorkers to set.- Returns:
- This builder for chaining.
-
clearSharedTreeNumWorkers
public SatParameters.Builder clearSharedTreeNumWorkers()
Enables experimental workstealing-like shared tree search. If non-zero, start this many complete worker threads to explore a shared search tree. These workers communicate objective bounds and simple decision nogoods relating to the shared prefix of the tree, and will avoid exploring the same subtrees as one another.
optional int32 shared_tree_num_workers = 235 [default = 0];- Returns:
- This builder for chaining.
-
hasUseSharedTreeSearch
public boolean hasUseSharedTreeSearch()
Set on shared subtree workers. Users should not set this directly.
optional bool use_shared_tree_search = 236 [default = false];- Specified by:
hasUseSharedTreeSearchin interfaceSatParametersOrBuilder- Returns:
- Whether the useSharedTreeSearch field is set.
-
getUseSharedTreeSearch
public boolean getUseSharedTreeSearch()
Set on shared subtree workers. Users should not set this directly.
optional bool use_shared_tree_search = 236 [default = false];- Specified by:
getUseSharedTreeSearchin interfaceSatParametersOrBuilder- Returns:
- The useSharedTreeSearch.
-
setUseSharedTreeSearch
public SatParameters.Builder setUseSharedTreeSearch(boolean value)
Set on shared subtree workers. Users should not set this directly.
optional bool use_shared_tree_search = 236 [default = false];- Parameters:
value- The useSharedTreeSearch to set.- Returns:
- This builder for chaining.
-
clearUseSharedTreeSearch
public SatParameters.Builder clearUseSharedTreeSearch()
Set on shared subtree workers. Users should not set this directly.
optional bool use_shared_tree_search = 236 [default = false];- Returns:
- This builder for chaining.
-
hasSharedTreeWorkerObjectiveSplitProbability
public boolean hasSharedTreeWorkerObjectiveSplitProbability()
After their assigned prefix, shared tree workers will branch on the objective with this probability. Higher numbers cause the shared tree search to focus on improving the lower bound over finding primal solutions.
optional double shared_tree_worker_objective_split_probability = 237 [default = 0.5];- Specified by:
hasSharedTreeWorkerObjectiveSplitProbabilityin interfaceSatParametersOrBuilder- Returns:
- Whether the sharedTreeWorkerObjectiveSplitProbability field is set.
-
getSharedTreeWorkerObjectiveSplitProbability
public double getSharedTreeWorkerObjectiveSplitProbability()
After their assigned prefix, shared tree workers will branch on the objective with this probability. Higher numbers cause the shared tree search to focus on improving the lower bound over finding primal solutions.
optional double shared_tree_worker_objective_split_probability = 237 [default = 0.5];- Specified by:
getSharedTreeWorkerObjectiveSplitProbabilityin interfaceSatParametersOrBuilder- Returns:
- The sharedTreeWorkerObjectiveSplitProbability.
-
setSharedTreeWorkerObjectiveSplitProbability
public SatParameters.Builder setSharedTreeWorkerObjectiveSplitProbability(double value)
After their assigned prefix, shared tree workers will branch on the objective with this probability. Higher numbers cause the shared tree search to focus on improving the lower bound over finding primal solutions.
optional double shared_tree_worker_objective_split_probability = 237 [default = 0.5];- Parameters:
value- The sharedTreeWorkerObjectiveSplitProbability to set.- Returns:
- This builder for chaining.
-
clearSharedTreeWorkerObjectiveSplitProbability
public SatParameters.Builder clearSharedTreeWorkerObjectiveSplitProbability()
After their assigned prefix, shared tree workers will branch on the objective with this probability. Higher numbers cause the shared tree search to focus on improving the lower bound over finding primal solutions.
optional double shared_tree_worker_objective_split_probability = 237 [default = 0.5];- Returns:
- This builder for chaining.
-
hasSharedTreeMaxNodesPerWorker
public boolean hasSharedTreeMaxNodesPerWorker()
In order to limit total shared memory and communication overhead, limit the total number of nodes that may be generated in the shared tree. If the shared tree runs out of unassigned leaves, workers act as portfolio workers. Note: this limit includes interior nodes, not just leaves.
optional int32 shared_tree_max_nodes_per_worker = 238 [default = 128];- Specified by:
hasSharedTreeMaxNodesPerWorkerin interfaceSatParametersOrBuilder- Returns:
- Whether the sharedTreeMaxNodesPerWorker field is set.
-
getSharedTreeMaxNodesPerWorker
public int getSharedTreeMaxNodesPerWorker()
In order to limit total shared memory and communication overhead, limit the total number of nodes that may be generated in the shared tree. If the shared tree runs out of unassigned leaves, workers act as portfolio workers. Note: this limit includes interior nodes, not just leaves.
optional int32 shared_tree_max_nodes_per_worker = 238 [default = 128];- Specified by:
getSharedTreeMaxNodesPerWorkerin interfaceSatParametersOrBuilder- Returns:
- The sharedTreeMaxNodesPerWorker.
-
setSharedTreeMaxNodesPerWorker
public SatParameters.Builder setSharedTreeMaxNodesPerWorker(int value)
In order to limit total shared memory and communication overhead, limit the total number of nodes that may be generated in the shared tree. If the shared tree runs out of unassigned leaves, workers act as portfolio workers. Note: this limit includes interior nodes, not just leaves.
optional int32 shared_tree_max_nodes_per_worker = 238 [default = 128];- Parameters:
value- The sharedTreeMaxNodesPerWorker to set.- Returns:
- This builder for chaining.
-
clearSharedTreeMaxNodesPerWorker
public SatParameters.Builder clearSharedTreeMaxNodesPerWorker()
In order to limit total shared memory and communication overhead, limit the total number of nodes that may be generated in the shared tree. If the shared tree runs out of unassigned leaves, workers act as portfolio workers. Note: this limit includes interior nodes, not just leaves.
optional int32 shared_tree_max_nodes_per_worker = 238 [default = 128];- Returns:
- This builder for chaining.
-
hasSharedTreeSplitStrategy
public boolean hasSharedTreeSplitStrategy()
optional .operations_research.sat.SatParameters.SharedTreeSplitStrategy shared_tree_split_strategy = 239 [default = SPLIT_STRATEGY_AUTO];- Specified by:
hasSharedTreeSplitStrategyin interfaceSatParametersOrBuilder- Returns:
- Whether the sharedTreeSplitStrategy field is set.
-
getSharedTreeSplitStrategy
public SatParameters.SharedTreeSplitStrategy getSharedTreeSplitStrategy()
optional .operations_research.sat.SatParameters.SharedTreeSplitStrategy shared_tree_split_strategy = 239 [default = SPLIT_STRATEGY_AUTO];- Specified by:
getSharedTreeSplitStrategyin interfaceSatParametersOrBuilder- Returns:
- The sharedTreeSplitStrategy.
-
setSharedTreeSplitStrategy
public SatParameters.Builder setSharedTreeSplitStrategy(SatParameters.SharedTreeSplitStrategy value)
optional .operations_research.sat.SatParameters.SharedTreeSplitStrategy shared_tree_split_strategy = 239 [default = SPLIT_STRATEGY_AUTO];- Parameters:
value- The sharedTreeSplitStrategy to set.- Returns:
- This builder for chaining.
-
clearSharedTreeSplitStrategy
public SatParameters.Builder clearSharedTreeSplitStrategy()
optional .operations_research.sat.SatParameters.SharedTreeSplitStrategy shared_tree_split_strategy = 239 [default = SPLIT_STRATEGY_AUTO];- Returns:
- This builder for chaining.
-
hasEnumerateAllSolutions
public boolean hasEnumerateAllSolutions()
Whether we enumerate all solutions of a problem without objective. Note that setting this to true automatically disable some presolve reduction that can remove feasible solution. That is it has the same effect as setting keep_all_feasible_solutions_in_presolve. TODO(user): Do not do that and let the user choose what behavior is best by setting keep_all_feasible_solutions_in_presolve ?
optional bool enumerate_all_solutions = 87 [default = false];- Specified by:
hasEnumerateAllSolutionsin interfaceSatParametersOrBuilder- Returns:
- Whether the enumerateAllSolutions field is set.
-
getEnumerateAllSolutions
public boolean getEnumerateAllSolutions()
Whether we enumerate all solutions of a problem without objective. Note that setting this to true automatically disable some presolve reduction that can remove feasible solution. That is it has the same effect as setting keep_all_feasible_solutions_in_presolve. TODO(user): Do not do that and let the user choose what behavior is best by setting keep_all_feasible_solutions_in_presolve ?
optional bool enumerate_all_solutions = 87 [default = false];- Specified by:
getEnumerateAllSolutionsin interfaceSatParametersOrBuilder- Returns:
- The enumerateAllSolutions.
-
setEnumerateAllSolutions
public SatParameters.Builder setEnumerateAllSolutions(boolean value)
Whether we enumerate all solutions of a problem without objective. Note that setting this to true automatically disable some presolve reduction that can remove feasible solution. That is it has the same effect as setting keep_all_feasible_solutions_in_presolve. TODO(user): Do not do that and let the user choose what behavior is best by setting keep_all_feasible_solutions_in_presolve ?
optional bool enumerate_all_solutions = 87 [default = false];- Parameters:
value- The enumerateAllSolutions to set.- Returns:
- This builder for chaining.
-
clearEnumerateAllSolutions
public SatParameters.Builder clearEnumerateAllSolutions()
Whether we enumerate all solutions of a problem without objective. Note that setting this to true automatically disable some presolve reduction that can remove feasible solution. That is it has the same effect as setting keep_all_feasible_solutions_in_presolve. TODO(user): Do not do that and let the user choose what behavior is best by setting keep_all_feasible_solutions_in_presolve ?
optional bool enumerate_all_solutions = 87 [default = false];- Returns:
- This builder for chaining.
-
hasKeepAllFeasibleSolutionsInPresolve
public boolean hasKeepAllFeasibleSolutionsInPresolve()
If true, we disable the presolve reductions that remove feasible solutions from the search space. Such solution are usually dominated by a "better" solution that is kept, but depending on the situation, we might want to keep all solutions. A trivial example is when a variable is unused. If this is true, then the presolve will not fix it to an arbitrary value and it will stay in the search space.
optional bool keep_all_feasible_solutions_in_presolve = 173 [default = false];- Specified by:
hasKeepAllFeasibleSolutionsInPresolvein interfaceSatParametersOrBuilder- Returns:
- Whether the keepAllFeasibleSolutionsInPresolve field is set.
-
getKeepAllFeasibleSolutionsInPresolve
public boolean getKeepAllFeasibleSolutionsInPresolve()
If true, we disable the presolve reductions that remove feasible solutions from the search space. Such solution are usually dominated by a "better" solution that is kept, but depending on the situation, we might want to keep all solutions. A trivial example is when a variable is unused. If this is true, then the presolve will not fix it to an arbitrary value and it will stay in the search space.
optional bool keep_all_feasible_solutions_in_presolve = 173 [default = false];- Specified by:
getKeepAllFeasibleSolutionsInPresolvein interfaceSatParametersOrBuilder- Returns:
- The keepAllFeasibleSolutionsInPresolve.
-
setKeepAllFeasibleSolutionsInPresolve
public SatParameters.Builder setKeepAllFeasibleSolutionsInPresolve(boolean value)
If true, we disable the presolve reductions that remove feasible solutions from the search space. Such solution are usually dominated by a "better" solution that is kept, but depending on the situation, we might want to keep all solutions. A trivial example is when a variable is unused. If this is true, then the presolve will not fix it to an arbitrary value and it will stay in the search space.
optional bool keep_all_feasible_solutions_in_presolve = 173 [default = false];- Parameters:
value- The keepAllFeasibleSolutionsInPresolve to set.- Returns:
- This builder for chaining.
-
clearKeepAllFeasibleSolutionsInPresolve
public SatParameters.Builder clearKeepAllFeasibleSolutionsInPresolve()
If true, we disable the presolve reductions that remove feasible solutions from the search space. Such solution are usually dominated by a "better" solution that is kept, but depending on the situation, we might want to keep all solutions. A trivial example is when a variable is unused. If this is true, then the presolve will not fix it to an arbitrary value and it will stay in the search space.
optional bool keep_all_feasible_solutions_in_presolve = 173 [default = false];- Returns:
- This builder for chaining.
-
hasFillTightenedDomainsInResponse
public boolean hasFillTightenedDomainsInResponse()
If true, add information about the derived variable domains to the CpSolverResponse. It is an option because it makes the response slighly bigger and there is a bit more work involved during the postsolve to construct it, but it should still have a low overhead. See the tightened_variables field in CpSolverResponse for more details.
optional bool fill_tightened_domains_in_response = 132 [default = false];- Specified by:
hasFillTightenedDomainsInResponsein interfaceSatParametersOrBuilder- Returns:
- Whether the fillTightenedDomainsInResponse field is set.
-
getFillTightenedDomainsInResponse
public boolean getFillTightenedDomainsInResponse()
If true, add information about the derived variable domains to the CpSolverResponse. It is an option because it makes the response slighly bigger and there is a bit more work involved during the postsolve to construct it, but it should still have a low overhead. See the tightened_variables field in CpSolverResponse for more details.
optional bool fill_tightened_domains_in_response = 132 [default = false];- Specified by:
getFillTightenedDomainsInResponsein interfaceSatParametersOrBuilder- Returns:
- The fillTightenedDomainsInResponse.
-
setFillTightenedDomainsInResponse
public SatParameters.Builder setFillTightenedDomainsInResponse(boolean value)
If true, add information about the derived variable domains to the CpSolverResponse. It is an option because it makes the response slighly bigger and there is a bit more work involved during the postsolve to construct it, but it should still have a low overhead. See the tightened_variables field in CpSolverResponse for more details.
optional bool fill_tightened_domains_in_response = 132 [default = false];- Parameters:
value- The fillTightenedDomainsInResponse to set.- Returns:
- This builder for chaining.
-
clearFillTightenedDomainsInResponse
public SatParameters.Builder clearFillTightenedDomainsInResponse()
If true, add information about the derived variable domains to the CpSolverResponse. It is an option because it makes the response slighly bigger and there is a bit more work involved during the postsolve to construct it, but it should still have a low overhead. See the tightened_variables field in CpSolverResponse for more details.
optional bool fill_tightened_domains_in_response = 132 [default = false];- Returns:
- This builder for chaining.
-
hasFillAdditionalSolutionsInResponse
public boolean hasFillAdditionalSolutionsInResponse()
If true, the final response addition_solutions field will be filled with all solutions from our solutions pool. Note that if both this field and enumerate_all_solutions is true, we will copy to the pool all of the solution found. So if solution_pool_size is big enough, you can get all solutions this way instead of using the solution callback. Note that this only affect the "final" solution, not the one passed to the solution callbacks.
optional bool fill_additional_solutions_in_response = 194 [default = false];- Specified by:
hasFillAdditionalSolutionsInResponsein interfaceSatParametersOrBuilder- Returns:
- Whether the fillAdditionalSolutionsInResponse field is set.
-
getFillAdditionalSolutionsInResponse
public boolean getFillAdditionalSolutionsInResponse()
If true, the final response addition_solutions field will be filled with all solutions from our solutions pool. Note that if both this field and enumerate_all_solutions is true, we will copy to the pool all of the solution found. So if solution_pool_size is big enough, you can get all solutions this way instead of using the solution callback. Note that this only affect the "final" solution, not the one passed to the solution callbacks.
optional bool fill_additional_solutions_in_response = 194 [default = false];- Specified by:
getFillAdditionalSolutionsInResponsein interfaceSatParametersOrBuilder- Returns:
- The fillAdditionalSolutionsInResponse.
-
setFillAdditionalSolutionsInResponse
public SatParameters.Builder setFillAdditionalSolutionsInResponse(boolean value)
If true, the final response addition_solutions field will be filled with all solutions from our solutions pool. Note that if both this field and enumerate_all_solutions is true, we will copy to the pool all of the solution found. So if solution_pool_size is big enough, you can get all solutions this way instead of using the solution callback. Note that this only affect the "final" solution, not the one passed to the solution callbacks.
optional bool fill_additional_solutions_in_response = 194 [default = false];- Parameters:
value- The fillAdditionalSolutionsInResponse to set.- Returns:
- This builder for chaining.
-
clearFillAdditionalSolutionsInResponse
public SatParameters.Builder clearFillAdditionalSolutionsInResponse()
If true, the final response addition_solutions field will be filled with all solutions from our solutions pool. Note that if both this field and enumerate_all_solutions is true, we will copy to the pool all of the solution found. So if solution_pool_size is big enough, you can get all solutions this way instead of using the solution callback. Note that this only affect the "final" solution, not the one passed to the solution callbacks.
optional bool fill_additional_solutions_in_response = 194 [default = false];- Returns:
- This builder for chaining.
-
hasInstantiateAllVariables
public boolean hasInstantiateAllVariables()
If true, the solver will add a default integer branching strategy to the already defined search strategy. If not, some variable might still not be fixed at the end of the search. For now we assume these variable can just be set to their lower bound.
optional bool instantiate_all_variables = 106 [default = true];- Specified by:
hasInstantiateAllVariablesin interfaceSatParametersOrBuilder- Returns:
- Whether the instantiateAllVariables field is set.
-
getInstantiateAllVariables
public boolean getInstantiateAllVariables()
If true, the solver will add a default integer branching strategy to the already defined search strategy. If not, some variable might still not be fixed at the end of the search. For now we assume these variable can just be set to their lower bound.
optional bool instantiate_all_variables = 106 [default = true];- Specified by:
getInstantiateAllVariablesin interfaceSatParametersOrBuilder- Returns:
- The instantiateAllVariables.
-
setInstantiateAllVariables
public SatParameters.Builder setInstantiateAllVariables(boolean value)
If true, the solver will add a default integer branching strategy to the already defined search strategy. If not, some variable might still not be fixed at the end of the search. For now we assume these variable can just be set to their lower bound.
optional bool instantiate_all_variables = 106 [default = true];- Parameters:
value- The instantiateAllVariables to set.- Returns:
- This builder for chaining.
-
clearInstantiateAllVariables
public SatParameters.Builder clearInstantiateAllVariables()
If true, the solver will add a default integer branching strategy to the already defined search strategy. If not, some variable might still not be fixed at the end of the search. For now we assume these variable can just be set to their lower bound.
optional bool instantiate_all_variables = 106 [default = true];- Returns:
- This builder for chaining.
-
hasAutoDetectGreaterThanAtLeastOneOf
public boolean hasAutoDetectGreaterThanAtLeastOneOf()
If true, then the precedences propagator try to detect for each variable if it has a set of "optional incoming arc" for which at least one of them is present. This is usually useful to have but can be slow on model with a lot of precedence.
optional bool auto_detect_greater_than_at_least_one_of = 95 [default = true];- Specified by:
hasAutoDetectGreaterThanAtLeastOneOfin interfaceSatParametersOrBuilder- Returns:
- Whether the autoDetectGreaterThanAtLeastOneOf field is set.
-
getAutoDetectGreaterThanAtLeastOneOf
public boolean getAutoDetectGreaterThanAtLeastOneOf()
If true, then the precedences propagator try to detect for each variable if it has a set of "optional incoming arc" for which at least one of them is present. This is usually useful to have but can be slow on model with a lot of precedence.
optional bool auto_detect_greater_than_at_least_one_of = 95 [default = true];- Specified by:
getAutoDetectGreaterThanAtLeastOneOfin interfaceSatParametersOrBuilder- Returns:
- The autoDetectGreaterThanAtLeastOneOf.
-
setAutoDetectGreaterThanAtLeastOneOf
public SatParameters.Builder setAutoDetectGreaterThanAtLeastOneOf(boolean value)
If true, then the precedences propagator try to detect for each variable if it has a set of "optional incoming arc" for which at least one of them is present. This is usually useful to have but can be slow on model with a lot of precedence.
optional bool auto_detect_greater_than_at_least_one_of = 95 [default = true];- Parameters:
value- The autoDetectGreaterThanAtLeastOneOf to set.- Returns:
- This builder for chaining.
-
clearAutoDetectGreaterThanAtLeastOneOf
public SatParameters.Builder clearAutoDetectGreaterThanAtLeastOneOf()
If true, then the precedences propagator try to detect for each variable if it has a set of "optional incoming arc" for which at least one of them is present. This is usually useful to have but can be slow on model with a lot of precedence.
optional bool auto_detect_greater_than_at_least_one_of = 95 [default = true];- Returns:
- This builder for chaining.
-
hasStopAfterFirstSolution
public boolean hasStopAfterFirstSolution()
For an optimization problem, stop the solver as soon as we have a solution.
optional bool stop_after_first_solution = 98 [default = false];- Specified by:
hasStopAfterFirstSolutionin interfaceSatParametersOrBuilder- Returns:
- Whether the stopAfterFirstSolution field is set.
-
getStopAfterFirstSolution
public boolean getStopAfterFirstSolution()
For an optimization problem, stop the solver as soon as we have a solution.
optional bool stop_after_first_solution = 98 [default = false];- Specified by:
getStopAfterFirstSolutionin interfaceSatParametersOrBuilder- Returns:
- The stopAfterFirstSolution.
-
setStopAfterFirstSolution
public SatParameters.Builder setStopAfterFirstSolution(boolean value)
For an optimization problem, stop the solver as soon as we have a solution.
optional bool stop_after_first_solution = 98 [default = false];- Parameters:
value- The stopAfterFirstSolution to set.- Returns:
- This builder for chaining.
-
clearStopAfterFirstSolution
public SatParameters.Builder clearStopAfterFirstSolution()
For an optimization problem, stop the solver as soon as we have a solution.
optional bool stop_after_first_solution = 98 [default = false];- Returns:
- This builder for chaining.
-
hasStopAfterPresolve
public boolean hasStopAfterPresolve()
Mainly used when improving the presolver. When true, stops the solver after the presolve is complete (or after loading and root level propagation).
optional bool stop_after_presolve = 149 [default = false];- Specified by:
hasStopAfterPresolvein interfaceSatParametersOrBuilder- Returns:
- Whether the stopAfterPresolve field is set.
-
getStopAfterPresolve
public boolean getStopAfterPresolve()
Mainly used when improving the presolver. When true, stops the solver after the presolve is complete (or after loading and root level propagation).
optional bool stop_after_presolve = 149 [default = false];- Specified by:
getStopAfterPresolvein interfaceSatParametersOrBuilder- Returns:
- The stopAfterPresolve.
-
setStopAfterPresolve
public SatParameters.Builder setStopAfterPresolve(boolean value)
Mainly used when improving the presolver. When true, stops the solver after the presolve is complete (or after loading and root level propagation).
optional bool stop_after_presolve = 149 [default = false];- Parameters:
value- The stopAfterPresolve to set.- Returns:
- This builder for chaining.
-
clearStopAfterPresolve
public SatParameters.Builder clearStopAfterPresolve()
Mainly used when improving the presolver. When true, stops the solver after the presolve is complete (or after loading and root level propagation).
optional bool stop_after_presolve = 149 [default = false];- Returns:
- This builder for chaining.
-
hasStopAfterRootPropagation
public boolean hasStopAfterRootPropagation()
optional bool stop_after_root_propagation = 252 [default = false];- Specified by:
hasStopAfterRootPropagationin interfaceSatParametersOrBuilder- Returns:
- Whether the stopAfterRootPropagation field is set.
-
getStopAfterRootPropagation
public boolean getStopAfterRootPropagation()
optional bool stop_after_root_propagation = 252 [default = false];- Specified by:
getStopAfterRootPropagationin interfaceSatParametersOrBuilder- Returns:
- The stopAfterRootPropagation.
-
setStopAfterRootPropagation
public SatParameters.Builder setStopAfterRootPropagation(boolean value)
optional bool stop_after_root_propagation = 252 [default = false];- Parameters:
value- The stopAfterRootPropagation to set.- Returns:
- This builder for chaining.
-
clearStopAfterRootPropagation
public SatParameters.Builder clearStopAfterRootPropagation()
optional bool stop_after_root_propagation = 252 [default = false];- Returns:
- This builder for chaining.
-
hasUseLnsOnly
public boolean hasUseLnsOnly()
LNS parameters.
optional bool use_lns_only = 101 [default = false];- Specified by:
hasUseLnsOnlyin interfaceSatParametersOrBuilder- Returns:
- Whether the useLnsOnly field is set.
-
getUseLnsOnly
public boolean getUseLnsOnly()
LNS parameters.
optional bool use_lns_only = 101 [default = false];- Specified by:
getUseLnsOnlyin interfaceSatParametersOrBuilder- Returns:
- The useLnsOnly.
-
setUseLnsOnly
public SatParameters.Builder setUseLnsOnly(boolean value)
LNS parameters.
optional bool use_lns_only = 101 [default = false];- Parameters:
value- The useLnsOnly to set.- Returns:
- This builder for chaining.
-
clearUseLnsOnly
public SatParameters.Builder clearUseLnsOnly()
LNS parameters.
optional bool use_lns_only = 101 [default = false];- Returns:
- This builder for chaining.
-
hasSolutionPoolSize
public boolean hasSolutionPoolSize()
Size of the top-n different solutions kept by the solver. This parameter must be > 0. Currently this only impact the "base" solution chosen for a LNS fragment.
optional int32 solution_pool_size = 193 [default = 3];- Specified by:
hasSolutionPoolSizein interfaceSatParametersOrBuilder- Returns:
- Whether the solutionPoolSize field is set.
-
getSolutionPoolSize
public int getSolutionPoolSize()
Size of the top-n different solutions kept by the solver. This parameter must be > 0. Currently this only impact the "base" solution chosen for a LNS fragment.
optional int32 solution_pool_size = 193 [default = 3];- Specified by:
getSolutionPoolSizein interfaceSatParametersOrBuilder- Returns:
- The solutionPoolSize.
-
setSolutionPoolSize
public SatParameters.Builder setSolutionPoolSize(int value)
Size of the top-n different solutions kept by the solver. This parameter must be > 0. Currently this only impact the "base" solution chosen for a LNS fragment.
optional int32 solution_pool_size = 193 [default = 3];- Parameters:
value- The solutionPoolSize to set.- Returns:
- This builder for chaining.
-
clearSolutionPoolSize
public SatParameters.Builder clearSolutionPoolSize()
Size of the top-n different solutions kept by the solver. This parameter must be > 0. Currently this only impact the "base" solution chosen for a LNS fragment.
optional int32 solution_pool_size = 193 [default = 3];- Returns:
- This builder for chaining.
-
hasUseRinsLns
public boolean hasUseRinsLns()
Turns on relaxation induced neighborhood generator.
optional bool use_rins_lns = 129 [default = true];- Specified by:
hasUseRinsLnsin interfaceSatParametersOrBuilder- Returns:
- Whether the useRinsLns field is set.
-
getUseRinsLns
public boolean getUseRinsLns()
Turns on relaxation induced neighborhood generator.
optional bool use_rins_lns = 129 [default = true];- Specified by:
getUseRinsLnsin interfaceSatParametersOrBuilder- Returns:
- The useRinsLns.
-
setUseRinsLns
public SatParameters.Builder setUseRinsLns(boolean value)
Turns on relaxation induced neighborhood generator.
optional bool use_rins_lns = 129 [default = true];- Parameters:
value- The useRinsLns to set.- Returns:
- This builder for chaining.
-
clearUseRinsLns
public SatParameters.Builder clearUseRinsLns()
Turns on relaxation induced neighborhood generator.
optional bool use_rins_lns = 129 [default = true];- Returns:
- This builder for chaining.
-
hasUseFeasibilityPump
public boolean hasUseFeasibilityPump()
Adds a feasibility pump subsolver along with lns subsolvers.
optional bool use_feasibility_pump = 164 [default = true];- Specified by:
hasUseFeasibilityPumpin interfaceSatParametersOrBuilder- Returns:
- Whether the useFeasibilityPump field is set.
-
getUseFeasibilityPump
public boolean getUseFeasibilityPump()
Adds a feasibility pump subsolver along with lns subsolvers.
optional bool use_feasibility_pump = 164 [default = true];- Specified by:
getUseFeasibilityPumpin interfaceSatParametersOrBuilder- Returns:
- The useFeasibilityPump.
-
setUseFeasibilityPump
public SatParameters.Builder setUseFeasibilityPump(boolean value)
Adds a feasibility pump subsolver along with lns subsolvers.
optional bool use_feasibility_pump = 164 [default = true];- Parameters:
value- The useFeasibilityPump to set.- Returns:
- This builder for chaining.
-
clearUseFeasibilityPump
public SatParameters.Builder clearUseFeasibilityPump()
Adds a feasibility pump subsolver along with lns subsolvers.
optional bool use_feasibility_pump = 164 [default = true];- Returns:
- This builder for chaining.
-
hasUseLbRelaxLns
public boolean hasUseLbRelaxLns()
Turns on neighborhood generator based on local branching LP. Based on Huang et al., "Local Branching Relaxation Heuristics for Integer Linear Programs", 2023.
optional bool use_lb_relax_lns = 255 [default = false];- Specified by:
hasUseLbRelaxLnsin interfaceSatParametersOrBuilder- Returns:
- Whether the useLbRelaxLns field is set.
-
getUseLbRelaxLns
public boolean getUseLbRelaxLns()
Turns on neighborhood generator based on local branching LP. Based on Huang et al., "Local Branching Relaxation Heuristics for Integer Linear Programs", 2023.
optional bool use_lb_relax_lns = 255 [default = false];- Specified by:
getUseLbRelaxLnsin interfaceSatParametersOrBuilder- Returns:
- The useLbRelaxLns.
-
setUseLbRelaxLns
public SatParameters.Builder setUseLbRelaxLns(boolean value)
Turns on neighborhood generator based on local branching LP. Based on Huang et al., "Local Branching Relaxation Heuristics for Integer Linear Programs", 2023.
optional bool use_lb_relax_lns = 255 [default = false];- Parameters:
value- The useLbRelaxLns to set.- Returns:
- This builder for chaining.
-
clearUseLbRelaxLns
public SatParameters.Builder clearUseLbRelaxLns()
Turns on neighborhood generator based on local branching LP. Based on Huang et al., "Local Branching Relaxation Heuristics for Integer Linear Programs", 2023.
optional bool use_lb_relax_lns = 255 [default = false];- Returns:
- This builder for chaining.
-
hasFpRounding
public boolean hasFpRounding()
optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];- Specified by:
hasFpRoundingin interfaceSatParametersOrBuilder- Returns:
- Whether the fpRounding field is set.
-
getFpRounding
public SatParameters.FPRoundingMethod getFpRounding()
optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];- Specified by:
getFpRoundingin interfaceSatParametersOrBuilder- Returns:
- The fpRounding.
-
setFpRounding
public SatParameters.Builder setFpRounding(SatParameters.FPRoundingMethod value)
optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];- Parameters:
value- The fpRounding to set.- Returns:
- This builder for chaining.
-
clearFpRounding
public SatParameters.Builder clearFpRounding()
optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];- Returns:
- This builder for chaining.
-
hasDiversifyLnsParams
public boolean hasDiversifyLnsParams()
If true, registers more lns subsolvers with different parameters.
optional bool diversify_lns_params = 137 [default = false];- Specified by:
hasDiversifyLnsParamsin interfaceSatParametersOrBuilder- Returns:
- Whether the diversifyLnsParams field is set.
-
getDiversifyLnsParams
public boolean getDiversifyLnsParams()
If true, registers more lns subsolvers with different parameters.
optional bool diversify_lns_params = 137 [default = false];- Specified by:
getDiversifyLnsParamsin interfaceSatParametersOrBuilder- Returns:
- The diversifyLnsParams.
-
setDiversifyLnsParams
public SatParameters.Builder setDiversifyLnsParams(boolean value)
If true, registers more lns subsolvers with different parameters.
optional bool diversify_lns_params = 137 [default = false];- Parameters:
value- The diversifyLnsParams to set.- Returns:
- This builder for chaining.
-
clearDiversifyLnsParams
public SatParameters.Builder clearDiversifyLnsParams()
If true, registers more lns subsolvers with different parameters.
optional bool diversify_lns_params = 137 [default = false];- Returns:
- This builder for chaining.
-
hasRandomizeSearch
public boolean hasRandomizeSearch()
Randomize fixed search.
optional bool randomize_search = 103 [default = false];- Specified by:
hasRandomizeSearchin interfaceSatParametersOrBuilder- Returns:
- Whether the randomizeSearch field is set.
-
getRandomizeSearch
public boolean getRandomizeSearch()
Randomize fixed search.
optional bool randomize_search = 103 [default = false];- Specified by:
getRandomizeSearchin interfaceSatParametersOrBuilder- Returns:
- The randomizeSearch.
-
setRandomizeSearch
public SatParameters.Builder setRandomizeSearch(boolean value)
Randomize fixed search.
optional bool randomize_search = 103 [default = false];- Parameters:
value- The randomizeSearch to set.- Returns:
- This builder for chaining.
-
clearRandomizeSearch
public SatParameters.Builder clearRandomizeSearch()
Randomize fixed search.
optional bool randomize_search = 103 [default = false];- Returns:
- This builder for chaining.
-
hasSearchRandomVariablePoolSize
public boolean hasSearchRandomVariablePoolSize()
Search randomization will collect the top 'search_random_variable_pool_size' valued variables, and pick one randomly. The value of the variable is specific to each strategy.
optional int64 search_random_variable_pool_size = 104 [default = 0];- Specified by:
hasSearchRandomVariablePoolSizein interfaceSatParametersOrBuilder- Returns:
- Whether the searchRandomVariablePoolSize field is set.
-
getSearchRandomVariablePoolSize
public long getSearchRandomVariablePoolSize()
Search randomization will collect the top 'search_random_variable_pool_size' valued variables, and pick one randomly. The value of the variable is specific to each strategy.
optional int64 search_random_variable_pool_size = 104 [default = 0];- Specified by:
getSearchRandomVariablePoolSizein interfaceSatParametersOrBuilder- Returns:
- The searchRandomVariablePoolSize.
-
setSearchRandomVariablePoolSize
public SatParameters.Builder setSearchRandomVariablePoolSize(long value)
Search randomization will collect the top 'search_random_variable_pool_size' valued variables, and pick one randomly. The value of the variable is specific to each strategy.
optional int64 search_random_variable_pool_size = 104 [default = 0];- Parameters:
value- The searchRandomVariablePoolSize to set.- Returns:
- This builder for chaining.
-
clearSearchRandomVariablePoolSize
public SatParameters.Builder clearSearchRandomVariablePoolSize()
Search randomization will collect the top 'search_random_variable_pool_size' valued variables, and pick one randomly. The value of the variable is specific to each strategy.
optional int64 search_random_variable_pool_size = 104 [default = 0];- Returns:
- This builder for chaining.
-
hasPushAllTasksTowardStart
public boolean hasPushAllTasksTowardStart()
Experimental code: specify if the objective pushes all tasks toward the start of the schedule.
optional bool push_all_tasks_toward_start = 262 [default = false];- Specified by:
hasPushAllTasksTowardStartin interfaceSatParametersOrBuilder- Returns:
- Whether the pushAllTasksTowardStart field is set.
-
getPushAllTasksTowardStart
public boolean getPushAllTasksTowardStart()
Experimental code: specify if the objective pushes all tasks toward the start of the schedule.
optional bool push_all_tasks_toward_start = 262 [default = false];- Specified by:
getPushAllTasksTowardStartin interfaceSatParametersOrBuilder- Returns:
- The pushAllTasksTowardStart.
-
setPushAllTasksTowardStart
public SatParameters.Builder setPushAllTasksTowardStart(boolean value)
Experimental code: specify if the objective pushes all tasks toward the start of the schedule.
optional bool push_all_tasks_toward_start = 262 [default = false];- Parameters:
value- The pushAllTasksTowardStart to set.- Returns:
- This builder for chaining.
-
clearPushAllTasksTowardStart
public SatParameters.Builder clearPushAllTasksTowardStart()
Experimental code: specify if the objective pushes all tasks toward the start of the schedule.
optional bool push_all_tasks_toward_start = 262 [default = false];- Returns:
- This builder for chaining.
-
hasUseOptionalVariables
public boolean hasUseOptionalVariables()
If true, we automatically detect variables whose constraint are always enforced by the same literal and we mark them as optional. This allows to propagate them as if they were present in some situation. TODO(user): This is experimental and seems to lead to wrong optimal in some situation. It should however gives correct solutions. Fix.
optional bool use_optional_variables = 108 [default = false];- Specified by:
hasUseOptionalVariablesin interfaceSatParametersOrBuilder- Returns:
- Whether the useOptionalVariables field is set.
-
getUseOptionalVariables
public boolean getUseOptionalVariables()
If true, we automatically detect variables whose constraint are always enforced by the same literal and we mark them as optional. This allows to propagate them as if they were present in some situation. TODO(user): This is experimental and seems to lead to wrong optimal in some situation. It should however gives correct solutions. Fix.
optional bool use_optional_variables = 108 [default = false];- Specified by:
getUseOptionalVariablesin interfaceSatParametersOrBuilder- Returns:
- The useOptionalVariables.
-
setUseOptionalVariables
public SatParameters.Builder setUseOptionalVariables(boolean value)
If true, we automatically detect variables whose constraint are always enforced by the same literal and we mark them as optional. This allows to propagate them as if they were present in some situation. TODO(user): This is experimental and seems to lead to wrong optimal in some situation. It should however gives correct solutions. Fix.
optional bool use_optional_variables = 108 [default = false];- Parameters:
value- The useOptionalVariables to set.- Returns:
- This builder for chaining.
-
clearUseOptionalVariables
public SatParameters.Builder clearUseOptionalVariables()
If true, we automatically detect variables whose constraint are always enforced by the same literal and we mark them as optional. This allows to propagate them as if they were present in some situation. TODO(user): This is experimental and seems to lead to wrong optimal in some situation. It should however gives correct solutions. Fix.
optional bool use_optional_variables = 108 [default = false];- Returns:
- This builder for chaining.
-
hasUseExactLpReason
public boolean hasUseExactLpReason()
The solver usually exploit the LP relaxation of a model. If this option is true, then whatever is infered by the LP will be used like an heuristic to compute EXACT propagation on the IP. So with this option, there is no numerical imprecision issues.
optional bool use_exact_lp_reason = 109 [default = true];- Specified by:
hasUseExactLpReasonin interfaceSatParametersOrBuilder- Returns:
- Whether the useExactLpReason field is set.
-
getUseExactLpReason
public boolean getUseExactLpReason()
The solver usually exploit the LP relaxation of a model. If this option is true, then whatever is infered by the LP will be used like an heuristic to compute EXACT propagation on the IP. So with this option, there is no numerical imprecision issues.
optional bool use_exact_lp_reason = 109 [default = true];- Specified by:
getUseExactLpReasonin interfaceSatParametersOrBuilder- Returns:
- The useExactLpReason.
-
setUseExactLpReason
public SatParameters.Builder setUseExactLpReason(boolean value)
The solver usually exploit the LP relaxation of a model. If this option is true, then whatever is infered by the LP will be used like an heuristic to compute EXACT propagation on the IP. So with this option, there is no numerical imprecision issues.
optional bool use_exact_lp_reason = 109 [default = true];- Parameters:
value- The useExactLpReason to set.- Returns:
- This builder for chaining.
-
clearUseExactLpReason
public SatParameters.Builder clearUseExactLpReason()
The solver usually exploit the LP relaxation of a model. If this option is true, then whatever is infered by the LP will be used like an heuristic to compute EXACT propagation on the IP. So with this option, there is no numerical imprecision issues.
optional bool use_exact_lp_reason = 109 [default = true];- Returns:
- This builder for chaining.
-
hasUseBranchingInLp
public boolean hasUseBranchingInLp()
If true, the solver attemts to generate more info inside lp propagator by branching on some variables if certain criteria are met during the search tree exploration.
optional bool use_branching_in_lp = 139 [default = false];- Specified by:
hasUseBranchingInLpin interfaceSatParametersOrBuilder- Returns:
- Whether the useBranchingInLp field is set.
-
getUseBranchingInLp
public boolean getUseBranchingInLp()
If true, the solver attemts to generate more info inside lp propagator by branching on some variables if certain criteria are met during the search tree exploration.
optional bool use_branching_in_lp = 139 [default = false];- Specified by:
getUseBranchingInLpin interfaceSatParametersOrBuilder- Returns:
- The useBranchingInLp.
-
setUseBranchingInLp
public SatParameters.Builder setUseBranchingInLp(boolean value)
If true, the solver attemts to generate more info inside lp propagator by branching on some variables if certain criteria are met during the search tree exploration.
optional bool use_branching_in_lp = 139 [default = false];- Parameters:
value- The useBranchingInLp to set.- Returns:
- This builder for chaining.
-
clearUseBranchingInLp
public SatParameters.Builder clearUseBranchingInLp()
If true, the solver attemts to generate more info inside lp propagator by branching on some variables if certain criteria are met during the search tree exploration.
optional bool use_branching_in_lp = 139 [default = false];- Returns:
- This builder for chaining.
-
hasUseCombinedNoOverlap
public boolean hasUseCombinedNoOverlap()
This can be beneficial if there is a lot of no-overlap constraints but a relatively low number of different intervals in the problem. Like 1000 intervals, but 1M intervals in the no-overlap constraints covering them.
optional bool use_combined_no_overlap = 133 [default = false];- Specified by:
hasUseCombinedNoOverlapin interfaceSatParametersOrBuilder- Returns:
- Whether the useCombinedNoOverlap field is set.
-
getUseCombinedNoOverlap
public boolean getUseCombinedNoOverlap()
This can be beneficial if there is a lot of no-overlap constraints but a relatively low number of different intervals in the problem. Like 1000 intervals, but 1M intervals in the no-overlap constraints covering them.
optional bool use_combined_no_overlap = 133 [default = false];- Specified by:
getUseCombinedNoOverlapin interfaceSatParametersOrBuilder- Returns:
- The useCombinedNoOverlap.
-
setUseCombinedNoOverlap
public SatParameters.Builder setUseCombinedNoOverlap(boolean value)
This can be beneficial if there is a lot of no-overlap constraints but a relatively low number of different intervals in the problem. Like 1000 intervals, but 1M intervals in the no-overlap constraints covering them.
optional bool use_combined_no_overlap = 133 [default = false];- Parameters:
value- The useCombinedNoOverlap to set.- Returns:
- This builder for chaining.
-
clearUseCombinedNoOverlap
public SatParameters.Builder clearUseCombinedNoOverlap()
This can be beneficial if there is a lot of no-overlap constraints but a relatively low number of different intervals in the problem. Like 1000 intervals, but 1M intervals in the no-overlap constraints covering them.
optional bool use_combined_no_overlap = 133 [default = false];- Returns:
- This builder for chaining.
-
hasCatchSigintSignal
public boolean hasCatchSigintSignal()
Indicates if the CP-SAT layer should catch Control-C (SIGINT) signals when calling solve. If set, catching the SIGINT signal will terminate the search gracefully, as if a time limit was reached.
optional bool catch_sigint_signal = 135 [default = true];- Specified by:
hasCatchSigintSignalin interfaceSatParametersOrBuilder- Returns:
- Whether the catchSigintSignal field is set.
-
getCatchSigintSignal
public boolean getCatchSigintSignal()
Indicates if the CP-SAT layer should catch Control-C (SIGINT) signals when calling solve. If set, catching the SIGINT signal will terminate the search gracefully, as if a time limit was reached.
optional bool catch_sigint_signal = 135 [default = true];- Specified by:
getCatchSigintSignalin interfaceSatParametersOrBuilder- Returns:
- The catchSigintSignal.
-
setCatchSigintSignal
public SatParameters.Builder setCatchSigintSignal(boolean value)
Indicates if the CP-SAT layer should catch Control-C (SIGINT) signals when calling solve. If set, catching the SIGINT signal will terminate the search gracefully, as if a time limit was reached.
optional bool catch_sigint_signal = 135 [default = true];- Parameters:
value- The catchSigintSignal to set.- Returns:
- This builder for chaining.
-
clearCatchSigintSignal
public SatParameters.Builder clearCatchSigintSignal()
Indicates if the CP-SAT layer should catch Control-C (SIGINT) signals when calling solve. If set, catching the SIGINT signal will terminate the search gracefully, as if a time limit was reached.
optional bool catch_sigint_signal = 135 [default = true];- Returns:
- This builder for chaining.
-
hasUseImpliedBounds
public boolean hasUseImpliedBounds()
Stores and exploits "implied-bounds" in the solver. That is, relations of the form literal => (var >= bound). This is currently used to derive stronger cuts.
optional bool use_implied_bounds = 144 [default = true];- Specified by:
hasUseImpliedBoundsin interfaceSatParametersOrBuilder- Returns:
- Whether the useImpliedBounds field is set.
-
getUseImpliedBounds
public boolean getUseImpliedBounds()
Stores and exploits "implied-bounds" in the solver. That is, relations of the form literal => (var >= bound). This is currently used to derive stronger cuts.
optional bool use_implied_bounds = 144 [default = true];- Specified by:
getUseImpliedBoundsin interfaceSatParametersOrBuilder- Returns:
- The useImpliedBounds.
-
setUseImpliedBounds
public SatParameters.Builder setUseImpliedBounds(boolean value)
Stores and exploits "implied-bounds" in the solver. That is, relations of the form literal => (var >= bound). This is currently used to derive stronger cuts.
optional bool use_implied_bounds = 144 [default = true];- Parameters:
value- The useImpliedBounds to set.- Returns:
- This builder for chaining.
-
clearUseImpliedBounds
public SatParameters.Builder clearUseImpliedBounds()
Stores and exploits "implied-bounds" in the solver. That is, relations of the form literal => (var >= bound). This is currently used to derive stronger cuts.
optional bool use_implied_bounds = 144 [default = true];- Returns:
- This builder for chaining.
-
hasPolishLpSolution
public boolean hasPolishLpSolution()
Whether we try to do a few degenerate iteration at the end of an LP solve to minimize the fractionality of the integer variable in the basis. This helps on some problems, but not so much on others. It also cost of bit of time to do such polish step.
optional bool polish_lp_solution = 175 [default = false];- Specified by:
hasPolishLpSolutionin interfaceSatParametersOrBuilder- Returns:
- Whether the polishLpSolution field is set.
-
getPolishLpSolution
public boolean getPolishLpSolution()
Whether we try to do a few degenerate iteration at the end of an LP solve to minimize the fractionality of the integer variable in the basis. This helps on some problems, but not so much on others. It also cost of bit of time to do such polish step.
optional bool polish_lp_solution = 175 [default = false];- Specified by:
getPolishLpSolutionin interfaceSatParametersOrBuilder- Returns:
- The polishLpSolution.
-
setPolishLpSolution
public SatParameters.Builder setPolishLpSolution(boolean value)
Whether we try to do a few degenerate iteration at the end of an LP solve to minimize the fractionality of the integer variable in the basis. This helps on some problems, but not so much on others. It also cost of bit of time to do such polish step.
optional bool polish_lp_solution = 175 [default = false];- Parameters:
value- The polishLpSolution to set.- Returns:
- This builder for chaining.
-
clearPolishLpSolution
public SatParameters.Builder clearPolishLpSolution()
Whether we try to do a few degenerate iteration at the end of an LP solve to minimize the fractionality of the integer variable in the basis. This helps on some problems, but not so much on others. It also cost of bit of time to do such polish step.
optional bool polish_lp_solution = 175 [default = false];- Returns:
- This builder for chaining.
-
hasLpPrimalTolerance
public boolean hasLpPrimalTolerance()
The internal LP tolerances used by CP-SAT. These applies to the internal and scaled problem. If the domains of your variables are large it might be good to use lower tolerances. If your problem is binary with low coefficients, it might be good to use higher ones to speed-up the lp solves.
optional double lp_primal_tolerance = 266 [default = 1e-07];- Specified by:
hasLpPrimalTolerancein interfaceSatParametersOrBuilder- Returns:
- Whether the lpPrimalTolerance field is set.
-
getLpPrimalTolerance
public double getLpPrimalTolerance()
The internal LP tolerances used by CP-SAT. These applies to the internal and scaled problem. If the domains of your variables are large it might be good to use lower tolerances. If your problem is binary with low coefficients, it might be good to use higher ones to speed-up the lp solves.
optional double lp_primal_tolerance = 266 [default = 1e-07];- Specified by:
getLpPrimalTolerancein interfaceSatParametersOrBuilder- Returns:
- The lpPrimalTolerance.
-
setLpPrimalTolerance
public SatParameters.Builder setLpPrimalTolerance(double value)
The internal LP tolerances used by CP-SAT. These applies to the internal and scaled problem. If the domains of your variables are large it might be good to use lower tolerances. If your problem is binary with low coefficients, it might be good to use higher ones to speed-up the lp solves.
optional double lp_primal_tolerance = 266 [default = 1e-07];- Parameters:
value- The lpPrimalTolerance to set.- Returns:
- This builder for chaining.
-
clearLpPrimalTolerance
public SatParameters.Builder clearLpPrimalTolerance()
The internal LP tolerances used by CP-SAT. These applies to the internal and scaled problem. If the domains of your variables are large it might be good to use lower tolerances. If your problem is binary with low coefficients, it might be good to use higher ones to speed-up the lp solves.
optional double lp_primal_tolerance = 266 [default = 1e-07];- Returns:
- This builder for chaining.
-
hasLpDualTolerance
public boolean hasLpDualTolerance()
optional double lp_dual_tolerance = 267 [default = 1e-07];- Specified by:
hasLpDualTolerancein interfaceSatParametersOrBuilder- Returns:
- Whether the lpDualTolerance field is set.
-
getLpDualTolerance
public double getLpDualTolerance()
optional double lp_dual_tolerance = 267 [default = 1e-07];- Specified by:
getLpDualTolerancein interfaceSatParametersOrBuilder- Returns:
- The lpDualTolerance.
-
setLpDualTolerance
public SatParameters.Builder setLpDualTolerance(double value)
optional double lp_dual_tolerance = 267 [default = 1e-07];- Parameters:
value- The lpDualTolerance to set.- Returns:
- This builder for chaining.
-
clearLpDualTolerance
public SatParameters.Builder clearLpDualTolerance()
optional double lp_dual_tolerance = 267 [default = 1e-07];- Returns:
- This builder for chaining.
-
hasConvertIntervals
public boolean hasConvertIntervals()
Temporary flag util the feature is more mature. This convert intervals to the newer proto format that support affine start/var/end instead of just variables.
optional bool convert_intervals = 177 [default = true];- Specified by:
hasConvertIntervalsin interfaceSatParametersOrBuilder- Returns:
- Whether the convertIntervals field is set.
-
getConvertIntervals
public boolean getConvertIntervals()
Temporary flag util the feature is more mature. This convert intervals to the newer proto format that support affine start/var/end instead of just variables.
optional bool convert_intervals = 177 [default = true];- Specified by:
getConvertIntervalsin interfaceSatParametersOrBuilder- Returns:
- The convertIntervals.
-
setConvertIntervals
public SatParameters.Builder setConvertIntervals(boolean value)
Temporary flag util the feature is more mature. This convert intervals to the newer proto format that support affine start/var/end instead of just variables.
optional bool convert_intervals = 177 [default = true];- Parameters:
value- The convertIntervals to set.- Returns:
- This builder for chaining.
-
clearConvertIntervals
public SatParameters.Builder clearConvertIntervals()
Temporary flag util the feature is more mature. This convert intervals to the newer proto format that support affine start/var/end instead of just variables.
optional bool convert_intervals = 177 [default = true];- Returns:
- This builder for chaining.
-
hasSymmetryLevel
public boolean hasSymmetryLevel()
Whether we try to automatically detect the symmetries in a model and exploit them. Currently, at level 1 we detect them in presolve and try to fix Booleans. At level 2, we also do some form of dynamic symmetry breaking during search.
optional int32 symmetry_level = 183 [default = 2];- Specified by:
hasSymmetryLevelin interfaceSatParametersOrBuilder- Returns:
- Whether the symmetryLevel field is set.
-
getSymmetryLevel
public int getSymmetryLevel()
Whether we try to automatically detect the symmetries in a model and exploit them. Currently, at level 1 we detect them in presolve and try to fix Booleans. At level 2, we also do some form of dynamic symmetry breaking during search.
optional int32 symmetry_level = 183 [default = 2];- Specified by:
getSymmetryLevelin interfaceSatParametersOrBuilder- Returns:
- The symmetryLevel.
-
setSymmetryLevel
public SatParameters.Builder setSymmetryLevel(int value)
Whether we try to automatically detect the symmetries in a model and exploit them. Currently, at level 1 we detect them in presolve and try to fix Booleans. At level 2, we also do some form of dynamic symmetry breaking during search.
optional int32 symmetry_level = 183 [default = 2];- Parameters:
value- The symmetryLevel to set.- Returns:
- This builder for chaining.
-
clearSymmetryLevel
public SatParameters.Builder clearSymmetryLevel()
Whether we try to automatically detect the symmetries in a model and exploit them. Currently, at level 1 we detect them in presolve and try to fix Booleans. At level 2, we also do some form of dynamic symmetry breaking during search.
optional int32 symmetry_level = 183 [default = 2];- Returns:
- This builder for chaining.
-
hasNewLinearPropagation
public boolean hasNewLinearPropagation()
Experimental. Use new code to propagate linear constraint.
optional bool new_linear_propagation = 224 [default = false];- Specified by:
hasNewLinearPropagationin interfaceSatParametersOrBuilder- Returns:
- Whether the newLinearPropagation field is set.
-
getNewLinearPropagation
public boolean getNewLinearPropagation()
Experimental. Use new code to propagate linear constraint.
optional bool new_linear_propagation = 224 [default = false];- Specified by:
getNewLinearPropagationin interfaceSatParametersOrBuilder- Returns:
- The newLinearPropagation.
-
setNewLinearPropagation
public SatParameters.Builder setNewLinearPropagation(boolean value)
Experimental. Use new code to propagate linear constraint.
optional bool new_linear_propagation = 224 [default = false];- Parameters:
value- The newLinearPropagation to set.- Returns:
- This builder for chaining.
-
clearNewLinearPropagation
public SatParameters.Builder clearNewLinearPropagation()
Experimental. Use new code to propagate linear constraint.
optional bool new_linear_propagation = 224 [default = false];- Returns:
- This builder for chaining.
-
hasLinearSplitSize
public boolean hasLinearSplitSize()
Linear constraints that are not pseudo-Boolean and that are longer than this size will be split into sqrt(size) intermediate sums in order to have faster propation in the CP engine.
optional int32 linear_split_size = 256 [default = 100];- Specified by:
hasLinearSplitSizein interfaceSatParametersOrBuilder- Returns:
- Whether the linearSplitSize field is set.
-
getLinearSplitSize
public int getLinearSplitSize()
Linear constraints that are not pseudo-Boolean and that are longer than this size will be split into sqrt(size) intermediate sums in order to have faster propation in the CP engine.
optional int32 linear_split_size = 256 [default = 100];- Specified by:
getLinearSplitSizein interfaceSatParametersOrBuilder- Returns:
- The linearSplitSize.
-
setLinearSplitSize
public SatParameters.Builder setLinearSplitSize(int value)
Linear constraints that are not pseudo-Boolean and that are longer than this size will be split into sqrt(size) intermediate sums in order to have faster propation in the CP engine.
optional int32 linear_split_size = 256 [default = 100];- Parameters:
value- The linearSplitSize to set.- Returns:
- This builder for chaining.
-
clearLinearSplitSize
public SatParameters.Builder clearLinearSplitSize()
Linear constraints that are not pseudo-Boolean and that are longer than this size will be split into sqrt(size) intermediate sums in order to have faster propation in the CP engine.
optional int32 linear_split_size = 256 [default = 100];- Returns:
- This builder for chaining.
-
hasMipMaxBound
public boolean hasMipMaxBound()
We need to bound the maximum magnitude of the variables for CP-SAT, and that is the bound we use. If the MIP model expect larger variable value in the solution, then the converted model will likely not be relevant.
optional double mip_max_bound = 124 [default = 10000000];- Specified by:
hasMipMaxBoundin interfaceSatParametersOrBuilder- Returns:
- Whether the mipMaxBound field is set.
-
getMipMaxBound
public double getMipMaxBound()
We need to bound the maximum magnitude of the variables for CP-SAT, and that is the bound we use. If the MIP model expect larger variable value in the solution, then the converted model will likely not be relevant.
optional double mip_max_bound = 124 [default = 10000000];- Specified by:
getMipMaxBoundin interfaceSatParametersOrBuilder- Returns:
- The mipMaxBound.
-
setMipMaxBound
public SatParameters.Builder setMipMaxBound(double value)
We need to bound the maximum magnitude of the variables for CP-SAT, and that is the bound we use. If the MIP model expect larger variable value in the solution, then the converted model will likely not be relevant.
optional double mip_max_bound = 124 [default = 10000000];- Parameters:
value- The mipMaxBound to set.- Returns:
- This builder for chaining.
-
clearMipMaxBound
public SatParameters.Builder clearMipMaxBound()
We need to bound the maximum magnitude of the variables for CP-SAT, and that is the bound we use. If the MIP model expect larger variable value in the solution, then the converted model will likely not be relevant.
optional double mip_max_bound = 124 [default = 10000000];- Returns:
- This builder for chaining.
-
hasMipVarScaling
public boolean hasMipVarScaling()
All continuous variable of the problem will be multiplied by this factor. By default, we don't do any variable scaling and rely on the MIP model to specify continuous variable domain with the wanted precision.
optional double mip_var_scaling = 125 [default = 1];- Specified by:
hasMipVarScalingin interfaceSatParametersOrBuilder- Returns:
- Whether the mipVarScaling field is set.
-
getMipVarScaling
public double getMipVarScaling()
All continuous variable of the problem will be multiplied by this factor. By default, we don't do any variable scaling and rely on the MIP model to specify continuous variable domain with the wanted precision.
optional double mip_var_scaling = 125 [default = 1];- Specified by:
getMipVarScalingin interfaceSatParametersOrBuilder- Returns:
- The mipVarScaling.
-
setMipVarScaling
public SatParameters.Builder setMipVarScaling(double value)
All continuous variable of the problem will be multiplied by this factor. By default, we don't do any variable scaling and rely on the MIP model to specify continuous variable domain with the wanted precision.
optional double mip_var_scaling = 125 [default = 1];- Parameters:
value- The mipVarScaling to set.- Returns:
- This builder for chaining.
-
clearMipVarScaling
public SatParameters.Builder clearMipVarScaling()
All continuous variable of the problem will be multiplied by this factor. By default, we don't do any variable scaling and rely on the MIP model to specify continuous variable domain with the wanted precision.
optional double mip_var_scaling = 125 [default = 1];- Returns:
- This builder for chaining.
-
hasMipScaleLargeDomain
public boolean hasMipScaleLargeDomain()
If this is false, then mip_var_scaling is only applied to variables with "small" domain. If it is true, we scale all floating point variable independenlty of their domain.
optional bool mip_scale_large_domain = 225 [default = false];- Specified by:
hasMipScaleLargeDomainin interfaceSatParametersOrBuilder- Returns:
- Whether the mipScaleLargeDomain field is set.
-
getMipScaleLargeDomain
public boolean getMipScaleLargeDomain()
If this is false, then mip_var_scaling is only applied to variables with "small" domain. If it is true, we scale all floating point variable independenlty of their domain.
optional bool mip_scale_large_domain = 225 [default = false];- Specified by:
getMipScaleLargeDomainin interfaceSatParametersOrBuilder- Returns:
- The mipScaleLargeDomain.
-
setMipScaleLargeDomain
public SatParameters.Builder setMipScaleLargeDomain(boolean value)
If this is false, then mip_var_scaling is only applied to variables with "small" domain. If it is true, we scale all floating point variable independenlty of their domain.
optional bool mip_scale_large_domain = 225 [default = false];- Parameters:
value- The mipScaleLargeDomain to set.- Returns:
- This builder for chaining.
-
clearMipScaleLargeDomain
public SatParameters.Builder clearMipScaleLargeDomain()
If this is false, then mip_var_scaling is only applied to variables with "small" domain. If it is true, we scale all floating point variable independenlty of their domain.
optional bool mip_scale_large_domain = 225 [default = false];- Returns:
- This builder for chaining.
-
hasMipAutomaticallyScaleVariables
public boolean hasMipAutomaticallyScaleVariables()
If true, some continuous variable might be automatically scaled. For now, this is only the case where we detect that a variable is actually an integer multiple of a constant. For instance, variables of the form k * 0.5 are quite frequent, and if we detect this, we will scale such variable domain by 2 to make it implied integer.
optional bool mip_automatically_scale_variables = 166 [default = true];- Specified by:
hasMipAutomaticallyScaleVariablesin interfaceSatParametersOrBuilder- Returns:
- Whether the mipAutomaticallyScaleVariables field is set.
-
getMipAutomaticallyScaleVariables
public boolean getMipAutomaticallyScaleVariables()
If true, some continuous variable might be automatically scaled. For now, this is only the case where we detect that a variable is actually an integer multiple of a constant. For instance, variables of the form k * 0.5 are quite frequent, and if we detect this, we will scale such variable domain by 2 to make it implied integer.
optional bool mip_automatically_scale_variables = 166 [default = true];- Specified by:
getMipAutomaticallyScaleVariablesin interfaceSatParametersOrBuilder- Returns:
- The mipAutomaticallyScaleVariables.
-
setMipAutomaticallyScaleVariables
public SatParameters.Builder setMipAutomaticallyScaleVariables(boolean value)
If true, some continuous variable might be automatically scaled. For now, this is only the case where we detect that a variable is actually an integer multiple of a constant. For instance, variables of the form k * 0.5 are quite frequent, and if we detect this, we will scale such variable domain by 2 to make it implied integer.
optional bool mip_automatically_scale_variables = 166 [default = true];- Parameters:
value- The mipAutomaticallyScaleVariables to set.- Returns:
- This builder for chaining.
-
clearMipAutomaticallyScaleVariables
public SatParameters.Builder clearMipAutomaticallyScaleVariables()
If true, some continuous variable might be automatically scaled. For now, this is only the case where we detect that a variable is actually an integer multiple of a constant. For instance, variables of the form k * 0.5 are quite frequent, and if we detect this, we will scale such variable domain by 2 to make it implied integer.
optional bool mip_automatically_scale_variables = 166 [default = true];- Returns:
- This builder for chaining.
-
hasOnlySolveIp
public boolean hasOnlySolveIp()
If one try to solve a MIP model with CP-SAT, because we assume all variable to be integer after scaling, we will not necessarily have the correct optimal. Note however that all feasible solutions are valid since we will just solve a more restricted version of the original problem. This parameters is here to prevent user to think the solution is optimal when it might not be. One will need to manually set this to false to solve a MIP model where the optimal might be different. Note that this is tested after some MIP presolve steps, so even if not all original variable are integer, we might end up with a pure IP after presolve and after implied integer detection.
optional bool only_solve_ip = 222 [default = false];- Specified by:
hasOnlySolveIpin interfaceSatParametersOrBuilder- Returns:
- Whether the onlySolveIp field is set.
-
getOnlySolveIp
public boolean getOnlySolveIp()
If one try to solve a MIP model with CP-SAT, because we assume all variable to be integer after scaling, we will not necessarily have the correct optimal. Note however that all feasible solutions are valid since we will just solve a more restricted version of the original problem. This parameters is here to prevent user to think the solution is optimal when it might not be. One will need to manually set this to false to solve a MIP model where the optimal might be different. Note that this is tested after some MIP presolve steps, so even if not all original variable are integer, we might end up with a pure IP after presolve and after implied integer detection.
optional bool only_solve_ip = 222 [default = false];- Specified by:
getOnlySolveIpin interfaceSatParametersOrBuilder- Returns:
- The onlySolveIp.
-
setOnlySolveIp
public SatParameters.Builder setOnlySolveIp(boolean value)
If one try to solve a MIP model with CP-SAT, because we assume all variable to be integer after scaling, we will not necessarily have the correct optimal. Note however that all feasible solutions are valid since we will just solve a more restricted version of the original problem. This parameters is here to prevent user to think the solution is optimal when it might not be. One will need to manually set this to false to solve a MIP model where the optimal might be different. Note that this is tested after some MIP presolve steps, so even if not all original variable are integer, we might end up with a pure IP after presolve and after implied integer detection.
optional bool only_solve_ip = 222 [default = false];- Parameters:
value- The onlySolveIp to set.- Returns:
- This builder for chaining.
-
clearOnlySolveIp
public SatParameters.Builder clearOnlySolveIp()
If one try to solve a MIP model with CP-SAT, because we assume all variable to be integer after scaling, we will not necessarily have the correct optimal. Note however that all feasible solutions are valid since we will just solve a more restricted version of the original problem. This parameters is here to prevent user to think the solution is optimal when it might not be. One will need to manually set this to false to solve a MIP model where the optimal might be different. Note that this is tested after some MIP presolve steps, so even if not all original variable are integer, we might end up with a pure IP after presolve and after implied integer detection.
optional bool only_solve_ip = 222 [default = false];- Returns:
- This builder for chaining.
-
hasMipWantedPrecision
public boolean hasMipWantedPrecision()
When scaling constraint with double coefficients to integer coefficients, we will multiply by a power of 2 and round the coefficients. We will choose the lowest power such that we have no potential overflow (see mip_max_activity_exponent) and the worst case constraint activity error does not exceed this threshold. Note that we also detect constraint with rational coefficients and scale them accordingly when it seems better instead of using a power of 2. We also relax all constraint bounds by this absolute value. For pure integer constraint, if this value if lower than one, this will not change anything. However it is needed when scaling MIP problems. If we manage to scale a constraint correctly, the maximum error we can make will be twice this value (once for the scaling error and once for the relaxed bounds). If we are not able to scale that well, we will display that fact but still scale as best as we can.
optional double mip_wanted_precision = 126 [default = 1e-06];- Specified by:
hasMipWantedPrecisionin interfaceSatParametersOrBuilder- Returns:
- Whether the mipWantedPrecision field is set.
-
getMipWantedPrecision
public double getMipWantedPrecision()
When scaling constraint with double coefficients to integer coefficients, we will multiply by a power of 2 and round the coefficients. We will choose the lowest power such that we have no potential overflow (see mip_max_activity_exponent) and the worst case constraint activity error does not exceed this threshold. Note that we also detect constraint with rational coefficients and scale them accordingly when it seems better instead of using a power of 2. We also relax all constraint bounds by this absolute value. For pure integer constraint, if this value if lower than one, this will not change anything. However it is needed when scaling MIP problems. If we manage to scale a constraint correctly, the maximum error we can make will be twice this value (once for the scaling error and once for the relaxed bounds). If we are not able to scale that well, we will display that fact but still scale as best as we can.
optional double mip_wanted_precision = 126 [default = 1e-06];- Specified by:
getMipWantedPrecisionin interfaceSatParametersOrBuilder- Returns:
- The mipWantedPrecision.
-
setMipWantedPrecision
public SatParameters.Builder setMipWantedPrecision(double value)
When scaling constraint with double coefficients to integer coefficients, we will multiply by a power of 2 and round the coefficients. We will choose the lowest power such that we have no potential overflow (see mip_max_activity_exponent) and the worst case constraint activity error does not exceed this threshold. Note that we also detect constraint with rational coefficients and scale them accordingly when it seems better instead of using a power of 2. We also relax all constraint bounds by this absolute value. For pure integer constraint, if this value if lower than one, this will not change anything. However it is needed when scaling MIP problems. If we manage to scale a constraint correctly, the maximum error we can make will be twice this value (once for the scaling error and once for the relaxed bounds). If we are not able to scale that well, we will display that fact but still scale as best as we can.
optional double mip_wanted_precision = 126 [default = 1e-06];- Parameters:
value- The mipWantedPrecision to set.- Returns:
- This builder for chaining.
-
clearMipWantedPrecision
public SatParameters.Builder clearMipWantedPrecision()
When scaling constraint with double coefficients to integer coefficients, we will multiply by a power of 2 and round the coefficients. We will choose the lowest power such that we have no potential overflow (see mip_max_activity_exponent) and the worst case constraint activity error does not exceed this threshold. Note that we also detect constraint with rational coefficients and scale them accordingly when it seems better instead of using a power of 2. We also relax all constraint bounds by this absolute value. For pure integer constraint, if this value if lower than one, this will not change anything. However it is needed when scaling MIP problems. If we manage to scale a constraint correctly, the maximum error we can make will be twice this value (once for the scaling error and once for the relaxed bounds). If we are not able to scale that well, we will display that fact but still scale as best as we can.
optional double mip_wanted_precision = 126 [default = 1e-06];- Returns:
- This builder for chaining.
-
hasMipMaxActivityExponent
public boolean hasMipMaxActivityExponent()
To avoid integer overflow, we always force the maximum possible constraint activity (and objective value) according to the initial variable domain to be smaller than 2 to this given power. Because of this, we cannot always reach the "mip_wanted_precision" parameter above. This can go as high as 62, but some internal algo currently abort early if they might run into integer overflow, so it is better to keep it a bit lower than this.
optional int32 mip_max_activity_exponent = 127 [default = 53];- Specified by:
hasMipMaxActivityExponentin interfaceSatParametersOrBuilder- Returns:
- Whether the mipMaxActivityExponent field is set.
-
getMipMaxActivityExponent
public int getMipMaxActivityExponent()
To avoid integer overflow, we always force the maximum possible constraint activity (and objective value) according to the initial variable domain to be smaller than 2 to this given power. Because of this, we cannot always reach the "mip_wanted_precision" parameter above. This can go as high as 62, but some internal algo currently abort early if they might run into integer overflow, so it is better to keep it a bit lower than this.
optional int32 mip_max_activity_exponent = 127 [default = 53];- Specified by:
getMipMaxActivityExponentin interfaceSatParametersOrBuilder- Returns:
- The mipMaxActivityExponent.
-
setMipMaxActivityExponent
public SatParameters.Builder setMipMaxActivityExponent(int value)
To avoid integer overflow, we always force the maximum possible constraint activity (and objective value) according to the initial variable domain to be smaller than 2 to this given power. Because of this, we cannot always reach the "mip_wanted_precision" parameter above. This can go as high as 62, but some internal algo currently abort early if they might run into integer overflow, so it is better to keep it a bit lower than this.
optional int32 mip_max_activity_exponent = 127 [default = 53];- Parameters:
value- The mipMaxActivityExponent to set.- Returns:
- This builder for chaining.
-
clearMipMaxActivityExponent
public SatParameters.Builder clearMipMaxActivityExponent()
To avoid integer overflow, we always force the maximum possible constraint activity (and objective value) according to the initial variable domain to be smaller than 2 to this given power. Because of this, we cannot always reach the "mip_wanted_precision" parameter above. This can go as high as 62, but some internal algo currently abort early if they might run into integer overflow, so it is better to keep it a bit lower than this.
optional int32 mip_max_activity_exponent = 127 [default = 53];- Returns:
- This builder for chaining.
-
hasMipCheckPrecision
public boolean hasMipCheckPrecision()
As explained in mip_precision and mip_max_activity_exponent, we cannot always reach the wanted precision during scaling. We use this threshold to enphasize in the logs when the precision seems bad.
optional double mip_check_precision = 128 [default = 0.0001];- Specified by:
hasMipCheckPrecisionin interfaceSatParametersOrBuilder- Returns:
- Whether the mipCheckPrecision field is set.
-
getMipCheckPrecision
public double getMipCheckPrecision()
As explained in mip_precision and mip_max_activity_exponent, we cannot always reach the wanted precision during scaling. We use this threshold to enphasize in the logs when the precision seems bad.
optional double mip_check_precision = 128 [default = 0.0001];- Specified by:
getMipCheckPrecisionin interfaceSatParametersOrBuilder- Returns:
- The mipCheckPrecision.
-
setMipCheckPrecision
public SatParameters.Builder setMipCheckPrecision(double value)
As explained in mip_precision and mip_max_activity_exponent, we cannot always reach the wanted precision during scaling. We use this threshold to enphasize in the logs when the precision seems bad.
optional double mip_check_precision = 128 [default = 0.0001];- Parameters:
value- The mipCheckPrecision to set.- Returns:
- This builder for chaining.
-
clearMipCheckPrecision
public SatParameters.Builder clearMipCheckPrecision()
As explained in mip_precision and mip_max_activity_exponent, we cannot always reach the wanted precision during scaling. We use this threshold to enphasize in the logs when the precision seems bad.
optional double mip_check_precision = 128 [default = 0.0001];- Returns:
- This builder for chaining.
-
hasMipComputeTrueObjectiveBound
public boolean hasMipComputeTrueObjectiveBound()
Even if we make big error when scaling the objective, we can always derive a correct lower bound on the original objective by using the exact lower bound on the scaled integer version of the objective. This should be fast, but if you don't care about having a precise lower bound, you can turn it off.
optional bool mip_compute_true_objective_bound = 198 [default = true];- Specified by:
hasMipComputeTrueObjectiveBoundin interfaceSatParametersOrBuilder- Returns:
- Whether the mipComputeTrueObjectiveBound field is set.
-
getMipComputeTrueObjectiveBound
public boolean getMipComputeTrueObjectiveBound()
Even if we make big error when scaling the objective, we can always derive a correct lower bound on the original objective by using the exact lower bound on the scaled integer version of the objective. This should be fast, but if you don't care about having a precise lower bound, you can turn it off.
optional bool mip_compute_true_objective_bound = 198 [default = true];- Specified by:
getMipComputeTrueObjectiveBoundin interfaceSatParametersOrBuilder- Returns:
- The mipComputeTrueObjectiveBound.
-
setMipComputeTrueObjectiveBound
public SatParameters.Builder setMipComputeTrueObjectiveBound(boolean value)
Even if we make big error when scaling the objective, we can always derive a correct lower bound on the original objective by using the exact lower bound on the scaled integer version of the objective. This should be fast, but if you don't care about having a precise lower bound, you can turn it off.
optional bool mip_compute_true_objective_bound = 198 [default = true];- Parameters:
value- The mipComputeTrueObjectiveBound to set.- Returns:
- This builder for chaining.
-
clearMipComputeTrueObjectiveBound
public SatParameters.Builder clearMipComputeTrueObjectiveBound()
Even if we make big error when scaling the objective, we can always derive a correct lower bound on the original objective by using the exact lower bound on the scaled integer version of the objective. This should be fast, but if you don't care about having a precise lower bound, you can turn it off.
optional bool mip_compute_true_objective_bound = 198 [default = true];- Returns:
- This builder for chaining.
-
hasMipMaxValidMagnitude
public boolean hasMipMaxValidMagnitude()
Any finite values in the input MIP must be below this threshold, otherwise the model will be reported invalid. This is needed to avoid floating point overflow when evaluating bounds * coeff for instance. We are a bit more defensive, but in practice, users shouldn't use super large values in a MIP.
optional double mip_max_valid_magnitude = 199 [default = 1e+30];- Specified by:
hasMipMaxValidMagnitudein interfaceSatParametersOrBuilder- Returns:
- Whether the mipMaxValidMagnitude field is set.
-
getMipMaxValidMagnitude
public double getMipMaxValidMagnitude()
Any finite values in the input MIP must be below this threshold, otherwise the model will be reported invalid. This is needed to avoid floating point overflow when evaluating bounds * coeff for instance. We are a bit more defensive, but in practice, users shouldn't use super large values in a MIP.
optional double mip_max_valid_magnitude = 199 [default = 1e+30];- Specified by:
getMipMaxValidMagnitudein interfaceSatParametersOrBuilder- Returns:
- The mipMaxValidMagnitude.
-
setMipMaxValidMagnitude
public SatParameters.Builder setMipMaxValidMagnitude(double value)
Any finite values in the input MIP must be below this threshold, otherwise the model will be reported invalid. This is needed to avoid floating point overflow when evaluating bounds * coeff for instance. We are a bit more defensive, but in practice, users shouldn't use super large values in a MIP.
optional double mip_max_valid_magnitude = 199 [default = 1e+30];- Parameters:
value- The mipMaxValidMagnitude to set.- Returns:
- This builder for chaining.
-
clearMipMaxValidMagnitude
public SatParameters.Builder clearMipMaxValidMagnitude()
Any finite values in the input MIP must be below this threshold, otherwise the model will be reported invalid. This is needed to avoid floating point overflow when evaluating bounds * coeff for instance. We are a bit more defensive, but in practice, users shouldn't use super large values in a MIP.
optional double mip_max_valid_magnitude = 199 [default = 1e+30];- Returns:
- This builder for chaining.
-
hasMipDropTolerance
public boolean hasMipDropTolerance()
Any value in the input mip with a magnitude lower than this will be set to zero. This is to avoid some issue in LP presolving.
optional double mip_drop_tolerance = 232 [default = 1e-16];- Specified by:
hasMipDropTolerancein interfaceSatParametersOrBuilder- Returns:
- Whether the mipDropTolerance field is set.
-
getMipDropTolerance
public double getMipDropTolerance()
Any value in the input mip with a magnitude lower than this will be set to zero. This is to avoid some issue in LP presolving.
optional double mip_drop_tolerance = 232 [default = 1e-16];- Specified by:
getMipDropTolerancein interfaceSatParametersOrBuilder- Returns:
- The mipDropTolerance.
-
setMipDropTolerance
public SatParameters.Builder setMipDropTolerance(double value)
Any value in the input mip with a magnitude lower than this will be set to zero. This is to avoid some issue in LP presolving.
optional double mip_drop_tolerance = 232 [default = 1e-16];- Parameters:
value- The mipDropTolerance to set.- Returns:
- This builder for chaining.
-
clearMipDropTolerance
public SatParameters.Builder clearMipDropTolerance()
Any value in the input mip with a magnitude lower than this will be set to zero. This is to avoid some issue in LP presolving.
optional double mip_drop_tolerance = 232 [default = 1e-16];- Returns:
- This builder for chaining.
-
hasMipPresolveLevel
public boolean hasMipPresolveLevel()
When solving a MIP, we do some basic floating point presolving before scaling the problem to integer to be handled by CP-SAT. This control how much of that presolve we do. It can help to better scale floating point model, but it is not always behaving nicely.
optional int32 mip_presolve_level = 261 [default = 2];- Specified by:
hasMipPresolveLevelin interfaceSatParametersOrBuilder- Returns:
- Whether the mipPresolveLevel field is set.
-
getMipPresolveLevel
public int getMipPresolveLevel()
When solving a MIP, we do some basic floating point presolving before scaling the problem to integer to be handled by CP-SAT. This control how much of that presolve we do. It can help to better scale floating point model, but it is not always behaving nicely.
optional int32 mip_presolve_level = 261 [default = 2];- Specified by:
getMipPresolveLevelin interfaceSatParametersOrBuilder- Returns:
- The mipPresolveLevel.
-
setMipPresolveLevel
public SatParameters.Builder setMipPresolveLevel(int value)
When solving a MIP, we do some basic floating point presolving before scaling the problem to integer to be handled by CP-SAT. This control how much of that presolve we do. It can help to better scale floating point model, but it is not always behaving nicely.
optional int32 mip_presolve_level = 261 [default = 2];- Parameters:
value- The mipPresolveLevel to set.- Returns:
- This builder for chaining.
-
clearMipPresolveLevel
public SatParameters.Builder clearMipPresolveLevel()
When solving a MIP, we do some basic floating point presolving before scaling the problem to integer to be handled by CP-SAT. This control how much of that presolve we do. It can help to better scale floating point model, but it is not always behaving nicely.
optional int32 mip_presolve_level = 261 [default = 2];- Returns:
- This builder for chaining.
-
setUnknownFields
public final SatParameters.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SatParameters.Builder>
-
mergeUnknownFields
public final SatParameters.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SatParameters.Builder>
-
-