Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.sat.SatParameters Class Reference
Inheritance diagram for com.google.ortools.sat.SatParameters:
com.google.ortools.sat.SatParametersOrBuilder

Classes

enum  BinaryMinizationAlgorithm
 
class  Builder
 
enum  ClauseOrdering
 
enum  ClauseProtection
 
enum  ConflictMinimizationAlgorithm
 
enum  FPRoundingMethod
 
enum  MaxSatAssumptionOrder
 
enum  MaxSatStratificationAlgorithm
 
enum  Polarity
 
enum  RestartAlgorithm
 
enum  SearchBranching
 
enum  SharedTreeSplitStrategy
 
enum  VariableOrder
 

Public Member Functions

boolean hasName ()
 
java.lang.String getName ()
 
com.google.protobuf.ByteString getNameBytes ()
 
boolean hasPreferredVariableOrder ()
 
com.google.ortools.sat.SatParameters.VariableOrder getPreferredVariableOrder ()
 
boolean hasInitialPolarity ()
 
com.google.ortools.sat.SatParameters.Polarity getInitialPolarity ()
 
boolean hasUsePhaseSaving ()
 
boolean getUsePhaseSaving ()
 
boolean hasPolarityRephaseIncrement ()
 
int getPolarityRephaseIncrement ()
 
boolean hasPolarityExploitLsHints ()
 
boolean getPolarityExploitLsHints ()
 
boolean hasRandomPolarityRatio ()
 
double getRandomPolarityRatio ()
 
boolean hasRandomBranchesRatio ()
 
double getRandomBranchesRatio ()
 
boolean hasUseErwaHeuristic ()
 
boolean getUseErwaHeuristic ()
 
boolean hasInitialVariablesActivity ()
 
double getInitialVariablesActivity ()
 
boolean hasAlsoBumpVariablesInConflictReasons ()
 
boolean getAlsoBumpVariablesInConflictReasons ()
 
boolean hasMinimizationAlgorithm ()
 
com.google.ortools.sat.SatParameters.ConflictMinimizationAlgorithm getMinimizationAlgorithm ()
 
boolean hasBinaryMinimizationAlgorithm ()
 
com.google.ortools.sat.SatParameters.BinaryMinizationAlgorithm getBinaryMinimizationAlgorithm ()
 
boolean hasSubsumptionDuringConflictAnalysis ()
 
boolean getSubsumptionDuringConflictAnalysis ()
 
boolean hasClauseCleanupPeriod ()
 
int getClauseCleanupPeriod ()
 
boolean hasClauseCleanupTarget ()
 
int getClauseCleanupTarget ()
 
boolean hasClauseCleanupRatio ()
 
double getClauseCleanupRatio ()
 
boolean hasClauseCleanupProtection ()
 
com.google.ortools.sat.SatParameters.ClauseProtection getClauseCleanupProtection ()
 
boolean hasClauseCleanupLbdBound ()
 
int getClauseCleanupLbdBound ()
 
boolean hasClauseCleanupOrdering ()
 
com.google.ortools.sat.SatParameters.ClauseOrdering getClauseCleanupOrdering ()
 
boolean hasPbCleanupIncrement ()
 
int getPbCleanupIncrement ()
 
boolean hasPbCleanupRatio ()
 
double getPbCleanupRatio ()
 
boolean hasVariableActivityDecay ()
 
double getVariableActivityDecay ()
 
boolean hasMaxVariableActivityValue ()
 
double getMaxVariableActivityValue ()
 
boolean hasGlucoseMaxDecay ()
 
double getGlucoseMaxDecay ()
 
boolean hasGlucoseDecayIncrement ()
 
double getGlucoseDecayIncrement ()
 
boolean hasGlucoseDecayIncrementPeriod ()
 
int getGlucoseDecayIncrementPeriod ()
 
boolean hasClauseActivityDecay ()
 
double getClauseActivityDecay ()
 
boolean hasMaxClauseActivityValue ()
 
double getMaxClauseActivityValue ()
 
java.util.List< com.google.ortools.sat.SatParameters.RestartAlgorithmgetRestartAlgorithmsList ()
 
int getRestartAlgorithmsCount ()
 
com.google.ortools.sat.SatParameters.RestartAlgorithm getRestartAlgorithms (int index)
 
boolean hasDefaultRestartAlgorithms ()
 
java.lang.String getDefaultRestartAlgorithms ()
 
com.google.protobuf.ByteString getDefaultRestartAlgorithmsBytes ()
 
boolean hasRestartPeriod ()
 
int getRestartPeriod ()
 
boolean hasRestartRunningWindowSize ()
 
int getRestartRunningWindowSize ()
 
boolean hasRestartDlAverageRatio ()
 
double getRestartDlAverageRatio ()
 
boolean hasRestartLbdAverageRatio ()
 
double getRestartLbdAverageRatio ()
 
boolean hasUseBlockingRestart ()
 
boolean getUseBlockingRestart ()
 
boolean hasBlockingRestartWindowSize ()
 
int getBlockingRestartWindowSize ()
 
boolean hasBlockingRestartMultiplier ()
 
double getBlockingRestartMultiplier ()
 
boolean hasNumConflictsBeforeStrategyChanges ()
 
int getNumConflictsBeforeStrategyChanges ()
 
boolean hasStrategyChangeIncreaseRatio ()
 
double getStrategyChangeIncreaseRatio ()
 
boolean hasMaxTimeInSeconds ()
 
double getMaxTimeInSeconds ()
 
boolean hasMaxDeterministicTime ()
 
double getMaxDeterministicTime ()
 
boolean hasMaxNumDeterministicBatches ()
 
int getMaxNumDeterministicBatches ()
 
boolean hasMaxNumberOfConflicts ()
 
long getMaxNumberOfConflicts ()
 
boolean hasMaxMemoryInMb ()
 
long getMaxMemoryInMb ()
 
boolean hasAbsoluteGapLimit ()
 
double getAbsoluteGapLimit ()
 
boolean hasRelativeGapLimit ()
 
double getRelativeGapLimit ()
 
boolean hasRandomSeed ()
 
int getRandomSeed ()
 
boolean hasPermuteVariableRandomly ()
 
boolean getPermuteVariableRandomly ()
 
boolean hasPermutePresolveConstraintOrder ()
 
boolean getPermutePresolveConstraintOrder ()
 
boolean hasUseAbslRandom ()
 
boolean getUseAbslRandom ()
 
boolean hasLogSearchProgress ()
 
boolean getLogSearchProgress ()
 
boolean hasLogSubsolverStatistics ()
 
boolean getLogSubsolverStatistics ()
 
boolean hasLogPrefix ()
 
java.lang.String getLogPrefix ()
 
com.google.protobuf.ByteString getLogPrefixBytes ()
 
boolean hasLogToStdout ()
 
boolean getLogToStdout ()
 
boolean hasLogToResponse ()
 
boolean getLogToResponse ()
 
boolean hasUsePbResolution ()
 
boolean getUsePbResolution ()
 
boolean hasMinimizeReductionDuringPbResolution ()
 
boolean getMinimizeReductionDuringPbResolution ()
 
boolean hasCountAssumptionLevelsInLbd ()
 
boolean getCountAssumptionLevelsInLbd ()
 
boolean hasPresolveBveThreshold ()
 
int getPresolveBveThreshold ()
 
boolean hasPresolveBveClauseWeight ()
 
int getPresolveBveClauseWeight ()
 
boolean hasProbingDeterministicTimeLimit ()
 
double getProbingDeterministicTimeLimit ()
 
boolean hasPresolveProbingDeterministicTimeLimit ()
 
double getPresolveProbingDeterministicTimeLimit ()
 
boolean hasPresolveBlockedClause ()
 
boolean getPresolveBlockedClause ()
 
boolean hasPresolveUseBva ()
 
boolean getPresolveUseBva ()
 
boolean hasPresolveBvaThreshold ()
 
int getPresolveBvaThreshold ()
 
boolean hasMaxPresolveIterations ()
 
int getMaxPresolveIterations ()
 
boolean hasCpModelPresolve ()
 
boolean getCpModelPresolve ()
 
boolean hasCpModelProbingLevel ()
 
int getCpModelProbingLevel ()
 
boolean hasCpModelUseSatPresolve ()
 
boolean getCpModelUseSatPresolve ()
 
boolean hasRemoveFixedVariablesEarly ()
 
boolean getRemoveFixedVariablesEarly ()
 
boolean hasDetectTableWithCost ()
 
boolean getDetectTableWithCost ()
 
boolean hasTableCompressionLevel ()
 
int getTableCompressionLevel ()
 
boolean hasExpandAlldiffConstraints ()
 
boolean getExpandAlldiffConstraints ()
 
boolean hasExpandReservoirConstraints ()
 
boolean getExpandReservoirConstraints ()
 
boolean hasExpandReservoirUsingCircuit ()
 
boolean getExpandReservoirUsingCircuit ()
 
boolean hasEncodeCumulativeAsReservoir ()
 
boolean getEncodeCumulativeAsReservoir ()
 
boolean hasMaxLinMaxSizeForExpansion ()
 
int getMaxLinMaxSizeForExpansion ()
 
boolean hasDisableConstraintExpansion ()
 
boolean getDisableConstraintExpansion ()
 
boolean hasEncodeComplexLinearConstraintWithInteger ()
 
boolean getEncodeComplexLinearConstraintWithInteger ()
 
boolean hasMergeNoOverlapWorkLimit ()
 
double getMergeNoOverlapWorkLimit ()
 
boolean hasMergeAtMostOneWorkLimit ()
 
double getMergeAtMostOneWorkLimit ()
 
boolean hasPresolveSubstitutionLevel ()
 
int getPresolveSubstitutionLevel ()
 
boolean hasPresolveExtractIntegerEnforcement ()
 
boolean getPresolveExtractIntegerEnforcement ()
 
boolean hasPresolveInclusionWorkLimit ()
 
long getPresolveInclusionWorkLimit ()
 
boolean hasIgnoreNames ()
 
boolean getIgnoreNames ()
 
boolean hasInferAllDiffs ()
 
boolean getInferAllDiffs ()
 
boolean hasFindBigLinearOverlap ()
 
boolean getFindBigLinearOverlap ()
 
boolean hasUseSatInprocessing ()
 
boolean getUseSatInprocessing ()
 
boolean hasInprocessingDtimeRatio ()
 
double getInprocessingDtimeRatio ()
 
boolean hasInprocessingProbingDtime ()
 
double getInprocessingProbingDtime ()
 
boolean hasInprocessingMinimizationDtime ()
 
double getInprocessingMinimizationDtime ()
 
boolean hasInprocessingMinimizationUseConflictAnalysis ()
 
boolean getInprocessingMinimizationUseConflictAnalysis ()
 
boolean hasInprocessingMinimizationUseAllOrderings ()
 
boolean getInprocessingMinimizationUseAllOrderings ()
 
boolean hasNumWorkers ()
 
int getNumWorkers ()
 
boolean hasNumSearchWorkers ()
 
int getNumSearchWorkers ()
 
boolean hasNumFullSubsolvers ()
 
int getNumFullSubsolvers ()
 
com.google.protobuf.ProtocolStringList getSubsolversList ()
 
int getSubsolversCount ()
 
java.lang.String getSubsolvers (int index)
 
com.google.protobuf.ByteString getSubsolversBytes (int index)
 
com.google.protobuf.ProtocolStringList getExtraSubsolversList ()
 
int getExtraSubsolversCount ()
 
java.lang.String getExtraSubsolvers (int index)
 
com.google.protobuf.ByteString getExtraSubsolversBytes (int index)
 
com.google.protobuf.ProtocolStringList getIgnoreSubsolversList ()
 
int getIgnoreSubsolversCount ()
 
java.lang.String getIgnoreSubsolvers (int index)
 
com.google.protobuf.ByteString getIgnoreSubsolversBytes (int index)
 
com.google.protobuf.ProtocolStringList getFilterSubsolversList ()
 
int getFilterSubsolversCount ()
 
java.lang.String getFilterSubsolvers (int index)
 
com.google.protobuf.ByteString getFilterSubsolversBytes (int index)
 
java.util.List< com.google.ortools.sat.SatParametersgetSubsolverParamsList ()
 
java.util.List<? extends com.google.ortools.sat.SatParametersOrBuildergetSubsolverParamsOrBuilderList ()
 
int getSubsolverParamsCount ()
 
com.google.ortools.sat.SatParameters getSubsolverParams (int index)
 
com.google.ortools.sat.SatParametersOrBuilder getSubsolverParamsOrBuilder (int index)
 
boolean hasInterleaveSearch ()
 
boolean getInterleaveSearch ()
 
boolean hasInterleaveBatchSize ()
 
int getInterleaveBatchSize ()
 
boolean hasShareObjectiveBounds ()
 
boolean getShareObjectiveBounds ()
 
boolean hasShareLevelZeroBounds ()
 
boolean getShareLevelZeroBounds ()
 
boolean hasShareBinaryClauses ()
 
boolean getShareBinaryClauses ()
 
boolean hasShareGlueClauses ()
 
boolean getShareGlueClauses ()
 
boolean hasMinimizeSharedClauses ()
 
boolean getMinimizeSharedClauses ()
 
boolean hasDebugPostsolveWithFullSolver ()
 
boolean getDebugPostsolveWithFullSolver ()
 
boolean hasDebugMaxNumPresolveOperations ()
 
int getDebugMaxNumPresolveOperations ()
 
boolean hasDebugCrashOnBadHint ()
 
boolean getDebugCrashOnBadHint ()
 
boolean hasDebugCrashIfPresolveBreaksHint ()
 
boolean getDebugCrashIfPresolveBreaksHint ()
 
boolean hasUseOptimizationHints ()
 
boolean getUseOptimizationHints ()
 
boolean hasCoreMinimizationLevel ()
 
int getCoreMinimizationLevel ()
 
boolean hasFindMultipleCores ()
 
boolean getFindMultipleCores ()
 
boolean hasCoverOptimization ()
 
boolean getCoverOptimization ()
 
boolean hasMaxSatAssumptionOrder ()
 
com.google.ortools.sat.SatParameters.MaxSatAssumptionOrder getMaxSatAssumptionOrder ()
 
boolean hasMaxSatReverseAssumptionOrder ()
 
boolean getMaxSatReverseAssumptionOrder ()
 
boolean hasMaxSatStratification ()
 
com.google.ortools.sat.SatParameters.MaxSatStratificationAlgorithm getMaxSatStratification ()
 
boolean hasPropagationLoopDetectionFactor ()
 
double getPropagationLoopDetectionFactor ()
 
boolean hasUsePrecedencesInDisjunctiveConstraint ()
 
boolean getUsePrecedencesInDisjunctiveConstraint ()
 
boolean hasMaxSizeToCreatePrecedenceLiteralsInDisjunctive ()
 
int getMaxSizeToCreatePrecedenceLiteralsInDisjunctive ()
 
boolean hasUseStrongPropagationInDisjunctive ()
 
boolean getUseStrongPropagationInDisjunctive ()
 
boolean hasUseDynamicPrecedenceInDisjunctive ()
 
boolean getUseDynamicPrecedenceInDisjunctive ()
 
boolean hasUseDynamicPrecedenceInCumulative ()
 
boolean getUseDynamicPrecedenceInCumulative ()
 
boolean hasUseOverloadCheckerInCumulative ()
 
boolean getUseOverloadCheckerInCumulative ()
 
boolean hasUseConservativeScaleOverloadChecker ()
 
boolean getUseConservativeScaleOverloadChecker ()
 
boolean hasUseTimetableEdgeFindingInCumulative ()
 
boolean getUseTimetableEdgeFindingInCumulative ()
 
boolean hasMaxNumIntervalsForTimetableEdgeFinding ()
 
int getMaxNumIntervalsForTimetableEdgeFinding ()
 
boolean hasUseHardPrecedencesInCumulative ()
 
boolean getUseHardPrecedencesInCumulative ()
 
boolean hasExploitAllPrecedences ()
 
boolean getExploitAllPrecedences ()
 
boolean hasUseDisjunctiveConstraintInCumulative ()
 
boolean getUseDisjunctiveConstraintInCumulative ()
 
boolean hasUseTimetablingInNoOverlap2D ()
 
boolean getUseTimetablingInNoOverlap2D ()
 
boolean hasUseEnergeticReasoningInNoOverlap2D ()
 
boolean getUseEnergeticReasoningInNoOverlap2D ()
 
boolean hasUseAreaEnergeticReasoningInNoOverlap2D ()
 
boolean getUseAreaEnergeticReasoningInNoOverlap2D ()
 
boolean hasUseTryEdgeReasoningInNoOverlap2D ()
 
boolean getUseTryEdgeReasoningInNoOverlap2D ()
 
boolean hasMaxPairsPairwiseReasoningInNoOverlap2D ()
 
int getMaxPairsPairwiseReasoningInNoOverlap2D ()
 
boolean hasMaximumRegionsToSplitInDisconnectedNoOverlap2D ()
 
int getMaximumRegionsToSplitInDisconnectedNoOverlap2D ()
 
boolean hasUseDualSchedulingHeuristics ()
 
boolean getUseDualSchedulingHeuristics ()
 
boolean hasUseAllDifferentForCircuit ()
 
boolean getUseAllDifferentForCircuit ()
 
boolean hasRoutingCutSubsetSizeForBinaryRelationBound ()
 
int getRoutingCutSubsetSizeForBinaryRelationBound ()
 
boolean hasRoutingCutSubsetSizeForTightBinaryRelationBound ()
 
int getRoutingCutSubsetSizeForTightBinaryRelationBound ()
 
boolean hasRoutingCutDpEffort ()
 
double getRoutingCutDpEffort ()
 
boolean hasSearchBranching ()
 
com.google.ortools.sat.SatParameters.SearchBranching getSearchBranching ()
 
boolean hasHintConflictLimit ()
 
int getHintConflictLimit ()
 
boolean hasRepairHint ()
 
boolean getRepairHint ()
 
boolean hasFixVariablesToTheirHintedValue ()
 
boolean getFixVariablesToTheirHintedValue ()
 
boolean hasUseProbingSearch ()
 
boolean getUseProbingSearch ()
 
boolean hasUseExtendedProbing ()
 
boolean getUseExtendedProbing ()
 
boolean hasProbingNumCombinationsLimit ()
 
int getProbingNumCombinationsLimit ()
 
boolean hasUseShavingInProbingSearch ()
 
boolean getUseShavingInProbingSearch ()
 
boolean hasShavingSearchDeterministicTime ()
 
double getShavingSearchDeterministicTime ()
 
boolean hasShavingSearchThreshold ()
 
long getShavingSearchThreshold ()
 
boolean hasUseObjectiveLbSearch ()
 
boolean getUseObjectiveLbSearch ()
 
boolean hasUseObjectiveShavingSearch ()
 
boolean getUseObjectiveShavingSearch ()
 
boolean hasUseVariablesShavingSearch ()
 
boolean getUseVariablesShavingSearch ()
 
boolean hasPseudoCostReliabilityThreshold ()
 
long getPseudoCostReliabilityThreshold ()
 
boolean hasOptimizeWithCore ()
 
boolean getOptimizeWithCore ()
 
boolean hasOptimizeWithLbTreeSearch ()
 
boolean getOptimizeWithLbTreeSearch ()
 
boolean hasSaveLpBasisInLbTreeSearch ()
 
boolean getSaveLpBasisInLbTreeSearch ()
 
boolean hasBinarySearchNumConflicts ()
 
int getBinarySearchNumConflicts ()
 
boolean hasOptimizeWithMaxHs ()
 
boolean getOptimizeWithMaxHs ()
 
boolean hasUseFeasibilityJump ()
 
boolean getUseFeasibilityJump ()
 
boolean hasUseLsOnly ()
 
boolean getUseLsOnly ()
 
boolean hasFeasibilityJumpDecay ()
 
double getFeasibilityJumpDecay ()
 
boolean hasFeasibilityJumpLinearizationLevel ()
 
int getFeasibilityJumpLinearizationLevel ()
 
boolean hasFeasibilityJumpRestartFactor ()
 
int getFeasibilityJumpRestartFactor ()
 
boolean hasFeasibilityJumpBatchDtime ()
 
double getFeasibilityJumpBatchDtime ()
 
boolean hasFeasibilityJumpVarRandomizationProbability ()
 
double getFeasibilityJumpVarRandomizationProbability ()
 
boolean hasFeasibilityJumpVarPerburbationRangeRatio ()
 
double getFeasibilityJumpVarPerburbationRangeRatio ()
 
boolean hasFeasibilityJumpEnableRestarts ()
 
boolean getFeasibilityJumpEnableRestarts ()
 
boolean hasFeasibilityJumpMaxExpandedConstraintSize ()
 
int getFeasibilityJumpMaxExpandedConstraintSize ()
 
boolean hasNumViolationLs ()
 
int getNumViolationLs ()
 
boolean hasViolationLsPerturbationPeriod ()
 
int getViolationLsPerturbationPeriod ()
 
boolean hasViolationLsCompoundMoveProbability ()
 
double getViolationLsCompoundMoveProbability ()
 
boolean hasSharedTreeNumWorkers ()
 
int getSharedTreeNumWorkers ()
 
boolean hasUseSharedTreeSearch ()
 
boolean getUseSharedTreeSearch ()
 
boolean hasSharedTreeWorkerMinRestartsPerSubtree ()
 
int getSharedTreeWorkerMinRestartsPerSubtree ()
 
boolean hasSharedTreeWorkerEnableTrailSharing ()
 
boolean getSharedTreeWorkerEnableTrailSharing ()
 
boolean hasSharedTreeWorkerEnablePhaseSharing ()
 
boolean getSharedTreeWorkerEnablePhaseSharing ()
 
boolean hasSharedTreeOpenLeavesPerWorker ()
 
double getSharedTreeOpenLeavesPerWorker ()
 
boolean hasSharedTreeMaxNodesPerWorker ()
 
int getSharedTreeMaxNodesPerWorker ()
 
boolean hasSharedTreeSplitStrategy ()
 
com.google.ortools.sat.SatParameters.SharedTreeSplitStrategy getSharedTreeSplitStrategy ()
 
boolean hasSharedTreeBalanceTolerance ()
 
int getSharedTreeBalanceTolerance ()
 
boolean hasEnumerateAllSolutions ()
 
boolean getEnumerateAllSolutions ()
 
boolean hasKeepAllFeasibleSolutionsInPresolve ()
 
boolean getKeepAllFeasibleSolutionsInPresolve ()
 
boolean hasFillTightenedDomainsInResponse ()
 
boolean getFillTightenedDomainsInResponse ()
 
boolean hasFillAdditionalSolutionsInResponse ()
 
boolean getFillAdditionalSolutionsInResponse ()
 
boolean hasInstantiateAllVariables ()
 
boolean getInstantiateAllVariables ()
 
boolean hasAutoDetectGreaterThanAtLeastOneOf ()
 
boolean getAutoDetectGreaterThanAtLeastOneOf ()
 
boolean hasStopAfterFirstSolution ()
 
boolean getStopAfterFirstSolution ()
 
boolean hasStopAfterPresolve ()
 
boolean getStopAfterPresolve ()
 
boolean hasStopAfterRootPropagation ()
 
boolean getStopAfterRootPropagation ()
 
boolean hasLnsInitialDifficulty ()
 
double getLnsInitialDifficulty ()
 
boolean hasLnsInitialDeterministicLimit ()
 
double getLnsInitialDeterministicLimit ()
 
boolean hasUseLns ()
 
boolean getUseLns ()
 
boolean hasUseLnsOnly ()
 
boolean getUseLnsOnly ()
 
boolean hasSolutionPoolSize ()
 
int getSolutionPoolSize ()
 
boolean hasUseRinsLns ()
 
boolean getUseRinsLns ()
 
boolean hasUseFeasibilityPump ()
 
boolean getUseFeasibilityPump ()
 
boolean hasUseLbRelaxLns ()
 
boolean getUseLbRelaxLns ()
 
boolean hasLbRelaxNumWorkersThreshold ()
 
int getLbRelaxNumWorkersThreshold ()
 
boolean hasFpRounding ()
 
com.google.ortools.sat.SatParameters.FPRoundingMethod getFpRounding ()
 
boolean hasDiversifyLnsParams ()
 
boolean getDiversifyLnsParams ()
 
boolean hasRandomizeSearch ()
 
boolean getRandomizeSearch ()
 
boolean hasSearchRandomVariablePoolSize ()
 
long getSearchRandomVariablePoolSize ()
 
boolean hasPushAllTasksTowardStart ()
 
boolean getPushAllTasksTowardStart ()
 
boolean hasUseOptionalVariables ()
 
boolean getUseOptionalVariables ()
 
boolean hasUseExactLpReason ()
 
boolean getUseExactLpReason ()
 
boolean hasUseCombinedNoOverlap ()
 
boolean getUseCombinedNoOverlap ()
 
boolean hasAtMostOneMaxExpansionSize ()
 
int getAtMostOneMaxExpansionSize ()
 
boolean hasCatchSigintSignal ()
 
boolean getCatchSigintSignal ()
 
boolean hasUseImpliedBounds ()
 
boolean getUseImpliedBounds ()
 
boolean hasPolishLpSolution ()
 
boolean getPolishLpSolution ()
 
boolean hasLpPrimalTolerance ()
 
double getLpPrimalTolerance ()
 
boolean hasLpDualTolerance ()
 
double getLpDualTolerance ()
 
boolean hasConvertIntervals ()
 
boolean getConvertIntervals ()
 
boolean hasSymmetryLevel ()
 
int getSymmetryLevel ()
 
boolean hasUseSymmetryInLp ()
 
boolean getUseSymmetryInLp ()
 
boolean hasKeepSymmetryInPresolve ()
 
boolean getKeepSymmetryInPresolve ()
 
boolean hasSymmetryDetectionDeterministicTimeLimit ()
 
double getSymmetryDetectionDeterministicTimeLimit ()
 
boolean hasNewLinearPropagation ()
 
boolean getNewLinearPropagation ()
 
boolean hasLinearSplitSize ()
 
int getLinearSplitSize ()
 
boolean hasLinearizationLevel ()
 
int getLinearizationLevel ()
 
boolean hasBooleanEncodingLevel ()
 
int getBooleanEncodingLevel ()
 
boolean hasMaxDomainSizeWhenEncodingEqNeqConstraints ()
 
int getMaxDomainSizeWhenEncodingEqNeqConstraints ()
 
boolean hasMaxNumCuts ()
 
int getMaxNumCuts ()
 
boolean hasCutLevel ()
 
int getCutLevel ()
 
boolean hasOnlyAddCutsAtLevelZero ()
 
boolean getOnlyAddCutsAtLevelZero ()
 
boolean hasAddObjectiveCut ()
 
boolean getAddObjectiveCut ()
 
boolean hasAddCgCuts ()
 
boolean getAddCgCuts ()
 
boolean hasAddMirCuts ()
 
boolean getAddMirCuts ()
 
boolean hasAddZeroHalfCuts ()
 
boolean getAddZeroHalfCuts ()
 
boolean hasAddCliqueCuts ()
 
boolean getAddCliqueCuts ()
 
boolean hasAddRltCuts ()
 
boolean getAddRltCuts ()
 
boolean hasMaxAllDiffCutSize ()
 
int getMaxAllDiffCutSize ()
 
boolean hasAddLinMaxCuts ()
 
boolean getAddLinMaxCuts ()
 
boolean hasMaxIntegerRoundingScaling ()
 
int getMaxIntegerRoundingScaling ()
 
boolean hasAddLpConstraintsLazily ()
 
boolean getAddLpConstraintsLazily ()
 
boolean hasRootLpIterations ()
 
int getRootLpIterations ()
 
boolean hasMinOrthogonalityForLpConstraints ()
 
double getMinOrthogonalityForLpConstraints ()
 
boolean hasMaxCutRoundsAtLevelZero ()
 
int getMaxCutRoundsAtLevelZero ()
 
boolean hasMaxConsecutiveInactiveCount ()
 
int getMaxConsecutiveInactiveCount ()
 
boolean hasCutMaxActiveCountValue ()
 
double getCutMaxActiveCountValue ()
 
boolean hasCutActiveCountDecay ()
 
double getCutActiveCountDecay ()
 
boolean hasCutCleanupTarget ()
 
int getCutCleanupTarget ()
 
boolean hasNewConstraintsBatchSize ()
 
int getNewConstraintsBatchSize ()
 
boolean hasExploitIntegerLpSolution ()
 
boolean getExploitIntegerLpSolution ()
 
boolean hasExploitAllLpSolution ()
 
boolean getExploitAllLpSolution ()
 
boolean hasExploitBestSolution ()
 
boolean getExploitBestSolution ()
 
boolean hasExploitRelaxationSolution ()
 
boolean getExploitRelaxationSolution ()
 
boolean hasExploitObjective ()
 
boolean getExploitObjective ()
 
boolean hasDetectLinearizedProduct ()
 
boolean getDetectLinearizedProduct ()
 
boolean hasMipMaxBound ()
 
double getMipMaxBound ()
 
boolean hasMipVarScaling ()
 
double getMipVarScaling ()
 
boolean hasMipScaleLargeDomain ()
 
boolean getMipScaleLargeDomain ()
 
boolean hasMipAutomaticallyScaleVariables ()
 
boolean getMipAutomaticallyScaleVariables ()
 
boolean hasOnlySolveIp ()
 
boolean getOnlySolveIp ()
 
boolean hasMipWantedPrecision ()
 
double getMipWantedPrecision ()
 
boolean hasMipMaxActivityExponent ()
 
int getMipMaxActivityExponent ()
 
boolean hasMipCheckPrecision ()
 
double getMipCheckPrecision ()
 
boolean hasMipComputeTrueObjectiveBound ()
 
boolean getMipComputeTrueObjectiveBound ()
 
boolean hasMipMaxValidMagnitude ()
 
double getMipMaxValidMagnitude ()
 
boolean hasMipTreatHighMagnitudeBoundsAsInfinity ()
 
boolean getMipTreatHighMagnitudeBoundsAsInfinity ()
 
boolean hasMipDropTolerance ()
 
double getMipDropTolerance ()
 
boolean hasMipPresolveLevel ()
 
int getMipPresolveLevel ()
 
final boolean isInitialized ()
 
void writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException
 
int getSerializedSize ()
 
boolean equals (final java.lang.Object obj)
 
int hashCode ()
 
Builder newBuilderForType ()
 
Builder toBuilder ()
 
com.google.protobuf.Parser< SatParametersgetParserForType ()
 
com.google.ortools.sat.SatParameters getDefaultInstanceForType ()
 

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 
static com.google.ortools.sat.SatParameters parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.SatParameters parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.SatParameters parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.SatParameters parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.SatParameters parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.SatParameters parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.SatParameters parseFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.sat.SatParameters parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.sat.SatParameters parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.sat.SatParameters parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.sat.SatParameters parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
 
static com.google.ortools.sat.SatParameters parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static Builder newBuilder ()
 
static Builder newBuilder (com.google.ortools.sat.SatParameters prototype)
 
static com.google.ortools.sat.SatParameters getDefaultInstance ()
 
static com.google.protobuf.Parser< SatParametersparser ()
 

Static Public Attributes

static final int NAME_FIELD_NUMBER = 171
 
static final int PREFERRED_VARIABLE_ORDER_FIELD_NUMBER = 1
 
static final int INITIAL_POLARITY_FIELD_NUMBER = 2
 
static final int USE_PHASE_SAVING_FIELD_NUMBER = 44
 
static final int POLARITY_REPHASE_INCREMENT_FIELD_NUMBER = 168
 
static final int POLARITY_EXPLOIT_LS_HINTS_FIELD_NUMBER = 309
 
static final int RANDOM_POLARITY_RATIO_FIELD_NUMBER = 45
 
static final int RANDOM_BRANCHES_RATIO_FIELD_NUMBER = 32
 
static final int USE_ERWA_HEURISTIC_FIELD_NUMBER = 75
 
static final int INITIAL_VARIABLES_ACTIVITY_FIELD_NUMBER = 76
 
static final int ALSO_BUMP_VARIABLES_IN_CONFLICT_REASONS_FIELD_NUMBER = 77
 
static final int MINIMIZATION_ALGORITHM_FIELD_NUMBER = 4
 
static final int BINARY_MINIMIZATION_ALGORITHM_FIELD_NUMBER = 34
 
static final int SUBSUMPTION_DURING_CONFLICT_ANALYSIS_FIELD_NUMBER = 56
 
static final int CLAUSE_CLEANUP_PERIOD_FIELD_NUMBER = 11
 
static final int CLAUSE_CLEANUP_TARGET_FIELD_NUMBER = 13
 
static final int CLAUSE_CLEANUP_RATIO_FIELD_NUMBER = 190
 
static final int CLAUSE_CLEANUP_PROTECTION_FIELD_NUMBER = 58
 
static final int CLAUSE_CLEANUP_LBD_BOUND_FIELD_NUMBER = 59
 
static final int CLAUSE_CLEANUP_ORDERING_FIELD_NUMBER = 60
 
static final int PB_CLEANUP_INCREMENT_FIELD_NUMBER = 46
 
static final int PB_CLEANUP_RATIO_FIELD_NUMBER = 47
 
static final int VARIABLE_ACTIVITY_DECAY_FIELD_NUMBER = 15
 
static final int MAX_VARIABLE_ACTIVITY_VALUE_FIELD_NUMBER = 16
 
static final int GLUCOSE_MAX_DECAY_FIELD_NUMBER = 22
 
static final int GLUCOSE_DECAY_INCREMENT_FIELD_NUMBER = 23
 
static final int GLUCOSE_DECAY_INCREMENT_PERIOD_FIELD_NUMBER = 24
 
static final int CLAUSE_ACTIVITY_DECAY_FIELD_NUMBER = 17
 
static final int MAX_CLAUSE_ACTIVITY_VALUE_FIELD_NUMBER = 18
 
static final int RESTART_ALGORITHMS_FIELD_NUMBER = 61
 
static final int DEFAULT_RESTART_ALGORITHMS_FIELD_NUMBER = 70
 
static final int RESTART_PERIOD_FIELD_NUMBER = 30
 
static final int RESTART_RUNNING_WINDOW_SIZE_FIELD_NUMBER = 62
 
static final int RESTART_DL_AVERAGE_RATIO_FIELD_NUMBER = 63
 
static final int RESTART_LBD_AVERAGE_RATIO_FIELD_NUMBER = 71
 
static final int USE_BLOCKING_RESTART_FIELD_NUMBER = 64
 
static final int BLOCKING_RESTART_WINDOW_SIZE_FIELD_NUMBER = 65
 
static final int BLOCKING_RESTART_MULTIPLIER_FIELD_NUMBER = 66
 
static final int NUM_CONFLICTS_BEFORE_STRATEGY_CHANGES_FIELD_NUMBER = 68
 
static final int STRATEGY_CHANGE_INCREASE_RATIO_FIELD_NUMBER = 69
 
static final int MAX_TIME_IN_SECONDS_FIELD_NUMBER = 36
 
static final int MAX_DETERMINISTIC_TIME_FIELD_NUMBER = 67
 
static final int MAX_NUM_DETERMINISTIC_BATCHES_FIELD_NUMBER = 291
 
static final int MAX_NUMBER_OF_CONFLICTS_FIELD_NUMBER = 37
 
static final int MAX_MEMORY_IN_MB_FIELD_NUMBER = 40
 
static final int ABSOLUTE_GAP_LIMIT_FIELD_NUMBER = 159
 
static final int RELATIVE_GAP_LIMIT_FIELD_NUMBER = 160
 
static final int RANDOM_SEED_FIELD_NUMBER = 31
 
static final int PERMUTE_VARIABLE_RANDOMLY_FIELD_NUMBER = 178
 
static final int PERMUTE_PRESOLVE_CONSTRAINT_ORDER_FIELD_NUMBER = 179
 
static final int USE_ABSL_RANDOM_FIELD_NUMBER = 180
 
static final int LOG_SEARCH_PROGRESS_FIELD_NUMBER = 41
 
static final int LOG_SUBSOLVER_STATISTICS_FIELD_NUMBER = 189
 
static final int LOG_PREFIX_FIELD_NUMBER = 185
 
static final int LOG_TO_STDOUT_FIELD_NUMBER = 186
 
static final int LOG_TO_RESPONSE_FIELD_NUMBER = 187
 
static final int USE_PB_RESOLUTION_FIELD_NUMBER = 43
 
static final int MINIMIZE_REDUCTION_DURING_PB_RESOLUTION_FIELD_NUMBER = 48
 
static final int COUNT_ASSUMPTION_LEVELS_IN_LBD_FIELD_NUMBER = 49
 
static final int PRESOLVE_BVE_THRESHOLD_FIELD_NUMBER = 54
 
static final int PRESOLVE_BVE_CLAUSE_WEIGHT_FIELD_NUMBER = 55
 
static final int PROBING_DETERMINISTIC_TIME_LIMIT_FIELD_NUMBER = 226
 
static final int PRESOLVE_PROBING_DETERMINISTIC_TIME_LIMIT_FIELD_NUMBER = 57
 
static final int PRESOLVE_BLOCKED_CLAUSE_FIELD_NUMBER = 88
 
static final int PRESOLVE_USE_BVA_FIELD_NUMBER = 72
 
static final int PRESOLVE_BVA_THRESHOLD_FIELD_NUMBER = 73
 
static final int MAX_PRESOLVE_ITERATIONS_FIELD_NUMBER = 138
 
static final int CP_MODEL_PRESOLVE_FIELD_NUMBER = 86
 
static final int CP_MODEL_PROBING_LEVEL_FIELD_NUMBER = 110
 
static final int CP_MODEL_USE_SAT_PRESOLVE_FIELD_NUMBER = 93
 
static final int REMOVE_FIXED_VARIABLES_EARLY_FIELD_NUMBER = 310
 
static final int DETECT_TABLE_WITH_COST_FIELD_NUMBER = 216
 
static final int TABLE_COMPRESSION_LEVEL_FIELD_NUMBER = 217
 
static final int EXPAND_ALLDIFF_CONSTRAINTS_FIELD_NUMBER = 170
 
static final int EXPAND_RESERVOIR_CONSTRAINTS_FIELD_NUMBER = 182
 
static final int EXPAND_RESERVOIR_USING_CIRCUIT_FIELD_NUMBER = 288
 
static final int ENCODE_CUMULATIVE_AS_RESERVOIR_FIELD_NUMBER = 287
 
static final int MAX_LIN_MAX_SIZE_FOR_EXPANSION_FIELD_NUMBER = 280
 
static final int DISABLE_CONSTRAINT_EXPANSION_FIELD_NUMBER = 181
 
static final int ENCODE_COMPLEX_LINEAR_CONSTRAINT_WITH_INTEGER_FIELD_NUMBER = 223
 
static final int MERGE_NO_OVERLAP_WORK_LIMIT_FIELD_NUMBER = 145
 
static final int MERGE_AT_MOST_ONE_WORK_LIMIT_FIELD_NUMBER = 146
 
static final int PRESOLVE_SUBSTITUTION_LEVEL_FIELD_NUMBER = 147
 
static final int PRESOLVE_EXTRACT_INTEGER_ENFORCEMENT_FIELD_NUMBER = 174
 
static final int PRESOLVE_INCLUSION_WORK_LIMIT_FIELD_NUMBER = 201
 
static final int IGNORE_NAMES_FIELD_NUMBER = 202
 
static final int INFER_ALL_DIFFS_FIELD_NUMBER = 233
 
static final int FIND_BIG_LINEAR_OVERLAP_FIELD_NUMBER = 234
 
static final int USE_SAT_INPROCESSING_FIELD_NUMBER = 163
 
static final int INPROCESSING_DTIME_RATIO_FIELD_NUMBER = 273
 
static final int INPROCESSING_PROBING_DTIME_FIELD_NUMBER = 274
 
static final int INPROCESSING_MINIMIZATION_DTIME_FIELD_NUMBER = 275
 
static final int INPROCESSING_MINIMIZATION_USE_CONFLICT_ANALYSIS_FIELD_NUMBER = 297
 
static final int INPROCESSING_MINIMIZATION_USE_ALL_ORDERINGS_FIELD_NUMBER = 298
 
static final int NUM_WORKERS_FIELD_NUMBER = 206
 
static final int NUM_SEARCH_WORKERS_FIELD_NUMBER = 100
 
static final int NUM_FULL_SUBSOLVERS_FIELD_NUMBER = 294
 
static final int SUBSOLVERS_FIELD_NUMBER = 207
 
static final int EXTRA_SUBSOLVERS_FIELD_NUMBER = 219
 
static final int IGNORE_SUBSOLVERS_FIELD_NUMBER = 209
 
static final int FILTER_SUBSOLVERS_FIELD_NUMBER = 293
 
static final int SUBSOLVER_PARAMS_FIELD_NUMBER = 210
 
static final int INTERLEAVE_SEARCH_FIELD_NUMBER = 136
 
static final int INTERLEAVE_BATCH_SIZE_FIELD_NUMBER = 134
 
static final int SHARE_OBJECTIVE_BOUNDS_FIELD_NUMBER = 113
 
static final int SHARE_LEVEL_ZERO_BOUNDS_FIELD_NUMBER = 114
 
static final int SHARE_BINARY_CLAUSES_FIELD_NUMBER = 203
 
static final int SHARE_GLUE_CLAUSES_FIELD_NUMBER = 285
 
static final int MINIMIZE_SHARED_CLAUSES_FIELD_NUMBER = 300
 
static final int DEBUG_POSTSOLVE_WITH_FULL_SOLVER_FIELD_NUMBER = 162
 
static final int DEBUG_MAX_NUM_PRESOLVE_OPERATIONS_FIELD_NUMBER = 151
 
static final int DEBUG_CRASH_ON_BAD_HINT_FIELD_NUMBER = 195
 
static final int DEBUG_CRASH_IF_PRESOLVE_BREAKS_HINT_FIELD_NUMBER = 306
 
static final int USE_OPTIMIZATION_HINTS_FIELD_NUMBER = 35
 
static final int CORE_MINIMIZATION_LEVEL_FIELD_NUMBER = 50
 
static final int FIND_MULTIPLE_CORES_FIELD_NUMBER = 84
 
static final int COVER_OPTIMIZATION_FIELD_NUMBER = 89
 
static final int MAX_SAT_ASSUMPTION_ORDER_FIELD_NUMBER = 51
 
static final int MAX_SAT_REVERSE_ASSUMPTION_ORDER_FIELD_NUMBER = 52
 
static final int MAX_SAT_STRATIFICATION_FIELD_NUMBER = 53
 
static final int PROPAGATION_LOOP_DETECTION_FACTOR_FIELD_NUMBER = 221
 
static final int USE_PRECEDENCES_IN_DISJUNCTIVE_CONSTRAINT_FIELD_NUMBER = 74
 
static final int MAX_SIZE_TO_CREATE_PRECEDENCE_LITERALS_IN_DISJUNCTIVE_FIELD_NUMBER = 229
 
static final int USE_STRONG_PROPAGATION_IN_DISJUNCTIVE_FIELD_NUMBER = 230
 
static final int USE_DYNAMIC_PRECEDENCE_IN_DISJUNCTIVE_FIELD_NUMBER = 263
 
static final int USE_DYNAMIC_PRECEDENCE_IN_CUMULATIVE_FIELD_NUMBER = 268
 
static final int USE_OVERLOAD_CHECKER_IN_CUMULATIVE_FIELD_NUMBER = 78
 
static final int USE_CONSERVATIVE_SCALE_OVERLOAD_CHECKER_FIELD_NUMBER = 286
 
static final int USE_TIMETABLE_EDGE_FINDING_IN_CUMULATIVE_FIELD_NUMBER = 79
 
static final int MAX_NUM_INTERVALS_FOR_TIMETABLE_EDGE_FINDING_FIELD_NUMBER = 260
 
static final int USE_HARD_PRECEDENCES_IN_CUMULATIVE_FIELD_NUMBER = 215
 
static final int EXPLOIT_ALL_PRECEDENCES_FIELD_NUMBER = 220
 
static final int USE_DISJUNCTIVE_CONSTRAINT_IN_CUMULATIVE_FIELD_NUMBER = 80
 
static final int USE_TIMETABLING_IN_NO_OVERLAP_2D_FIELD_NUMBER = 200
 
static final int USE_ENERGETIC_REASONING_IN_NO_OVERLAP_2D_FIELD_NUMBER = 213
 
static final int USE_AREA_ENERGETIC_REASONING_IN_NO_OVERLAP_2D_FIELD_NUMBER = 271
 
static final int USE_TRY_EDGE_REASONING_IN_NO_OVERLAP_2D_FIELD_NUMBER = 299
 
static final int MAX_PAIRS_PAIRWISE_REASONING_IN_NO_OVERLAP_2D_FIELD_NUMBER = 276
 
static final int MAXIMUM_REGIONS_TO_SPLIT_IN_DISCONNECTED_NO_OVERLAP_2D_FIELD_NUMBER = 315
 
static final int USE_DUAL_SCHEDULING_HEURISTICS_FIELD_NUMBER = 214
 
static final int USE_ALL_DIFFERENT_FOR_CIRCUIT_FIELD_NUMBER = 311
 
static final int ROUTING_CUT_SUBSET_SIZE_FOR_BINARY_RELATION_BOUND_FIELD_NUMBER = 312
 
static final int ROUTING_CUT_SUBSET_SIZE_FOR_TIGHT_BINARY_RELATION_BOUND_FIELD_NUMBER = 313
 
static final int ROUTING_CUT_DP_EFFORT_FIELD_NUMBER = 314
 
static final int SEARCH_BRANCHING_FIELD_NUMBER = 82
 
static final int HINT_CONFLICT_LIMIT_FIELD_NUMBER = 153
 
static final int REPAIR_HINT_FIELD_NUMBER = 167
 
static final int FIX_VARIABLES_TO_THEIR_HINTED_VALUE_FIELD_NUMBER = 192
 
static final int USE_PROBING_SEARCH_FIELD_NUMBER = 176
 
static final int USE_EXTENDED_PROBING_FIELD_NUMBER = 269
 
static final int PROBING_NUM_COMBINATIONS_LIMIT_FIELD_NUMBER = 272
 
static final int USE_SHAVING_IN_PROBING_SEARCH_FIELD_NUMBER = 204
 
static final int SHAVING_SEARCH_DETERMINISTIC_TIME_FIELD_NUMBER = 205
 
static final int SHAVING_SEARCH_THRESHOLD_FIELD_NUMBER = 290
 
static final int USE_OBJECTIVE_LB_SEARCH_FIELD_NUMBER = 228
 
static final int USE_OBJECTIVE_SHAVING_SEARCH_FIELD_NUMBER = 253
 
static final int USE_VARIABLES_SHAVING_SEARCH_FIELD_NUMBER = 289
 
static final int PSEUDO_COST_RELIABILITY_THRESHOLD_FIELD_NUMBER = 123
 
static final int OPTIMIZE_WITH_CORE_FIELD_NUMBER = 83
 
static final int OPTIMIZE_WITH_LB_TREE_SEARCH_FIELD_NUMBER = 188
 
static final int SAVE_LP_BASIS_IN_LB_TREE_SEARCH_FIELD_NUMBER = 284
 
static final int BINARY_SEARCH_NUM_CONFLICTS_FIELD_NUMBER = 99
 
static final int OPTIMIZE_WITH_MAX_HS_FIELD_NUMBER = 85
 
static final int USE_FEASIBILITY_JUMP_FIELD_NUMBER = 265
 
static final int USE_LS_ONLY_FIELD_NUMBER = 240
 
static final int FEASIBILITY_JUMP_DECAY_FIELD_NUMBER = 242
 
static final int FEASIBILITY_JUMP_LINEARIZATION_LEVEL_FIELD_NUMBER = 257
 
static final int FEASIBILITY_JUMP_RESTART_FACTOR_FIELD_NUMBER = 258
 
static final int FEASIBILITY_JUMP_BATCH_DTIME_FIELD_NUMBER = 292
 
static final int FEASIBILITY_JUMP_VAR_RANDOMIZATION_PROBABILITY_FIELD_NUMBER = 247
 
static final int FEASIBILITY_JUMP_VAR_PERBURBATION_RANGE_RATIO_FIELD_NUMBER = 248
 
static final int FEASIBILITY_JUMP_ENABLE_RESTARTS_FIELD_NUMBER = 250
 
static final int FEASIBILITY_JUMP_MAX_EXPANDED_CONSTRAINT_SIZE_FIELD_NUMBER = 264
 
static final int NUM_VIOLATION_LS_FIELD_NUMBER = 244
 
static final int VIOLATION_LS_PERTURBATION_PERIOD_FIELD_NUMBER = 249
 
static final int VIOLATION_LS_COMPOUND_MOVE_PROBABILITY_FIELD_NUMBER = 259
 
static final int SHARED_TREE_NUM_WORKERS_FIELD_NUMBER = 235
 
static final int USE_SHARED_TREE_SEARCH_FIELD_NUMBER = 236
 
static final int SHARED_TREE_WORKER_MIN_RESTARTS_PER_SUBTREE_FIELD_NUMBER = 282
 
static final int SHARED_TREE_WORKER_ENABLE_TRAIL_SHARING_FIELD_NUMBER = 295
 
static final int SHARED_TREE_WORKER_ENABLE_PHASE_SHARING_FIELD_NUMBER = 304
 
static final int SHARED_TREE_OPEN_LEAVES_PER_WORKER_FIELD_NUMBER = 281
 
static final int SHARED_TREE_MAX_NODES_PER_WORKER_FIELD_NUMBER = 238
 
static final int SHARED_TREE_SPLIT_STRATEGY_FIELD_NUMBER = 239
 
static final int SHARED_TREE_BALANCE_TOLERANCE_FIELD_NUMBER = 305
 
static final int ENUMERATE_ALL_SOLUTIONS_FIELD_NUMBER = 87
 
static final int KEEP_ALL_FEASIBLE_SOLUTIONS_IN_PRESOLVE_FIELD_NUMBER = 173
 
static final int FILL_TIGHTENED_DOMAINS_IN_RESPONSE_FIELD_NUMBER = 132
 
static final int FILL_ADDITIONAL_SOLUTIONS_IN_RESPONSE_FIELD_NUMBER = 194
 
static final int INSTANTIATE_ALL_VARIABLES_FIELD_NUMBER = 106
 
static final int AUTO_DETECT_GREATER_THAN_AT_LEAST_ONE_OF_FIELD_NUMBER = 95
 
static final int STOP_AFTER_FIRST_SOLUTION_FIELD_NUMBER = 98
 
static final int STOP_AFTER_PRESOLVE_FIELD_NUMBER = 149
 
static final int STOP_AFTER_ROOT_PROPAGATION_FIELD_NUMBER = 252
 
static final int LNS_INITIAL_DIFFICULTY_FIELD_NUMBER = 307
 
static final int LNS_INITIAL_DETERMINISTIC_LIMIT_FIELD_NUMBER = 308
 
static final int USE_LNS_FIELD_NUMBER = 283
 
static final int USE_LNS_ONLY_FIELD_NUMBER = 101
 
static final int SOLUTION_POOL_SIZE_FIELD_NUMBER = 193
 
static final int USE_RINS_LNS_FIELD_NUMBER = 129
 
static final int USE_FEASIBILITY_PUMP_FIELD_NUMBER = 164
 
static final int USE_LB_RELAX_LNS_FIELD_NUMBER = 255
 
static final int LB_RELAX_NUM_WORKERS_THRESHOLD_FIELD_NUMBER = 296
 
static final int FP_ROUNDING_FIELD_NUMBER = 165
 
static final int DIVERSIFY_LNS_PARAMS_FIELD_NUMBER = 137
 
static final int RANDOMIZE_SEARCH_FIELD_NUMBER = 103
 
static final int SEARCH_RANDOM_VARIABLE_POOL_SIZE_FIELD_NUMBER = 104
 
static final int PUSH_ALL_TASKS_TOWARD_START_FIELD_NUMBER = 262
 
static final int USE_OPTIONAL_VARIABLES_FIELD_NUMBER = 108
 
static final int USE_EXACT_LP_REASON_FIELD_NUMBER = 109
 
static final int USE_COMBINED_NO_OVERLAP_FIELD_NUMBER = 133
 
static final int AT_MOST_ONE_MAX_EXPANSION_SIZE_FIELD_NUMBER = 270
 
static final int CATCH_SIGINT_SIGNAL_FIELD_NUMBER = 135
 
static final int USE_IMPLIED_BOUNDS_FIELD_NUMBER = 144
 
static final int POLISH_LP_SOLUTION_FIELD_NUMBER = 175
 
static final int LP_PRIMAL_TOLERANCE_FIELD_NUMBER = 266
 
static final int LP_DUAL_TOLERANCE_FIELD_NUMBER = 267
 
static final int CONVERT_INTERVALS_FIELD_NUMBER = 177
 
static final int SYMMETRY_LEVEL_FIELD_NUMBER = 183
 
static final int USE_SYMMETRY_IN_LP_FIELD_NUMBER = 301
 
static final int KEEP_SYMMETRY_IN_PRESOLVE_FIELD_NUMBER = 303
 
static final int SYMMETRY_DETECTION_DETERMINISTIC_TIME_LIMIT_FIELD_NUMBER = 302
 
static final int NEW_LINEAR_PROPAGATION_FIELD_NUMBER = 224
 
static final int LINEAR_SPLIT_SIZE_FIELD_NUMBER = 256
 
static final int LINEARIZATION_LEVEL_FIELD_NUMBER = 90
 
static final int BOOLEAN_ENCODING_LEVEL_FIELD_NUMBER = 107
 
static final int MAX_DOMAIN_SIZE_WHEN_ENCODING_EQ_NEQ_CONSTRAINTS_FIELD_NUMBER = 191
 
static final int MAX_NUM_CUTS_FIELD_NUMBER = 91
 
static final int CUT_LEVEL_FIELD_NUMBER = 196
 
static final int ONLY_ADD_CUTS_AT_LEVEL_ZERO_FIELD_NUMBER = 92
 
static final int ADD_OBJECTIVE_CUT_FIELD_NUMBER = 197
 
static final int ADD_CG_CUTS_FIELD_NUMBER = 117
 
static final int ADD_MIR_CUTS_FIELD_NUMBER = 120
 
static final int ADD_ZERO_HALF_CUTS_FIELD_NUMBER = 169
 
static final int ADD_CLIQUE_CUTS_FIELD_NUMBER = 172
 
static final int ADD_RLT_CUTS_FIELD_NUMBER = 279
 
static final int MAX_ALL_DIFF_CUT_SIZE_FIELD_NUMBER = 148
 
static final int ADD_LIN_MAX_CUTS_FIELD_NUMBER = 152
 
static final int MAX_INTEGER_ROUNDING_SCALING_FIELD_NUMBER = 119
 
static final int ADD_LP_CONSTRAINTS_LAZILY_FIELD_NUMBER = 112
 
static final int ROOT_LP_ITERATIONS_FIELD_NUMBER = 227
 
static final int MIN_ORTHOGONALITY_FOR_LP_CONSTRAINTS_FIELD_NUMBER = 115
 
static final int MAX_CUT_ROUNDS_AT_LEVEL_ZERO_FIELD_NUMBER = 154
 
static final int MAX_CONSECUTIVE_INACTIVE_COUNT_FIELD_NUMBER = 121
 
static final int CUT_MAX_ACTIVE_COUNT_VALUE_FIELD_NUMBER = 155
 
static final int CUT_ACTIVE_COUNT_DECAY_FIELD_NUMBER = 156
 
static final int CUT_CLEANUP_TARGET_FIELD_NUMBER = 157
 
static final int NEW_CONSTRAINTS_BATCH_SIZE_FIELD_NUMBER = 122
 
static final int EXPLOIT_INTEGER_LP_SOLUTION_FIELD_NUMBER = 94
 
static final int EXPLOIT_ALL_LP_SOLUTION_FIELD_NUMBER = 116
 
static final int EXPLOIT_BEST_SOLUTION_FIELD_NUMBER = 130
 
static final int EXPLOIT_RELAXATION_SOLUTION_FIELD_NUMBER = 161
 
static final int EXPLOIT_OBJECTIVE_FIELD_NUMBER = 131
 
static final int DETECT_LINEARIZED_PRODUCT_FIELD_NUMBER = 277
 
static final int MIP_MAX_BOUND_FIELD_NUMBER = 124
 
static final int MIP_VAR_SCALING_FIELD_NUMBER = 125
 
static final int MIP_SCALE_LARGE_DOMAIN_FIELD_NUMBER = 225
 
static final int MIP_AUTOMATICALLY_SCALE_VARIABLES_FIELD_NUMBER = 166
 
static final int ONLY_SOLVE_IP_FIELD_NUMBER = 222
 
static final int MIP_WANTED_PRECISION_FIELD_NUMBER = 126
 
static final int MIP_MAX_ACTIVITY_EXPONENT_FIELD_NUMBER = 127
 
static final int MIP_CHECK_PRECISION_FIELD_NUMBER = 128
 
static final int MIP_COMPUTE_TRUE_OBJECTIVE_BOUND_FIELD_NUMBER = 198
 
static final int MIP_MAX_VALID_MAGNITUDE_FIELD_NUMBER = 199
 
static final int MIP_TREAT_HIGH_MAGNITUDE_BOUNDS_AS_INFINITY_FIELD_NUMBER = 278
 
static final int MIP_DROP_TOLERANCE_FIELD_NUMBER = 232
 
static final int MIP_PRESOLVE_LEVEL_FIELD_NUMBER = 261
 

Protected Member Functions

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent)
 

Detailed Description

Contains the definitions for all the sat algorithm parameters and their
default values.

NEXT TAG: 316

Protobuf type operations_research.sat.SatParameters

Definition at line 18 of file SatParameters.java.

Member Function Documentation

◆ equals()

boolean com.google.ortools.sat.SatParameters.equals ( final java.lang.Object obj)

Definition at line 12549 of file SatParameters.java.

◆ getAbsoluteGapLimit()

double com.google.ortools.sat.SatParameters.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];

Returns
The absoluteGapLimit.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3495 of file SatParameters.java.

◆ getAddCgCuts()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The addCgCuts.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9484 of file SatParameters.java.

◆ getAddCliqueCuts()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The addCliqueCuts.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9573 of file SatParameters.java.

◆ getAddLinMaxCuts()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The addLinMaxCuts.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9664 of file SatParameters.java.

◆ getAddLpConstraintsLazily()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The addLpConstraintsLazily.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9738 of file SatParameters.java.

◆ getAddMirCuts()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The addMirCuts.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9513 of file SatParameters.java.

◆ getAddObjectiveCut()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The addObjectiveCut.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9455 of file SatParameters.java.

◆ getAddRltCuts()

boolean com.google.ortools.sat.SatParameters.getAddRltCuts ( )
Whether we generate RLT cuts. This is still experimental but can help on
binary problem with a lot of clauses of size 3.

optional bool add_rlt_cuts = 279 [default = true];

Returns
The addRltCuts.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9602 of file SatParameters.java.

◆ getAddZeroHalfCuts()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The addZeroHalfCuts.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9542 of file SatParameters.java.

◆ getAlsoBumpVariablesInConflictReasons()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The alsoBumpVariablesInConflictReasons.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2466 of file SatParameters.java.

◆ getAtMostOneMaxExpansionSize()

int com.google.ortools.sat.SatParameters.getAtMostOneMaxExpansionSize ( )
All at_most_one constraints with a size <= param will be replaced by a
quadratic number of binary implications.

optional int32 at_most_one_max_expansion_size = 270 [default = 3];

Returns
The atMostOneMaxExpansionSize.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8856 of file SatParameters.java.

◆ getAutoDetectGreaterThanAtLeastOneOf()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The autoDetectGreaterThanAtLeastOneOf.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8276 of file SatParameters.java.

◆ getBinaryMinimizationAlgorithm()

com.google.ortools.sat.SatParameters.BinaryMinizationAlgorithm com.google.ortools.sat.SatParameters.getBinaryMinimizationAlgorithm ( )

optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];

Returns
The binaryMinimizationAlgorithm.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2501 of file SatParameters.java.

◆ getBinarySearchNumConflicts()

int com.google.ortools.sat.SatParameters.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];

Returns
The binarySearchNumConflicts.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7362 of file SatParameters.java.

◆ getBlockingRestartMultiplier()

double com.google.ortools.sat.SatParameters.getBlockingRestartMultiplier ( )

optional double blocking_restart_multiplier = 66 [default = 1.4];

Returns
The blockingRestartMultiplier.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3209 of file SatParameters.java.

◆ getBlockingRestartWindowSize()

int com.google.ortools.sat.SatParameters.getBlockingRestartWindowSize ( )

optional int32 blocking_restart_window_size = 65 [default = 5000];

Returns
The blockingRestartWindowSize.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3190 of file SatParameters.java.

◆ getBooleanEncodingLevel()

int com.google.ortools.sat.SatParameters.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];

Returns
The booleanEncodingLevel.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9292 of file SatParameters.java.

◆ getCatchSigintSignal()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The catchSigintSignal.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8887 of file SatParameters.java.

◆ getClauseActivityDecay()

double com.google.ortools.sat.SatParameters.getClauseActivityDecay ( )
Clause activity parameters (same effect as the one on the variables).

optional double clause_activity_decay = 17 [default = 0.999];

Returns
The clauseActivityDecay.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2893 of file SatParameters.java.

◆ getClauseCleanupLbdBound()

int com.google.ortools.sat.SatParameters.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];

Returns
The clauseCleanupLbdBound.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2669 of file SatParameters.java.

◆ getClauseCleanupOrdering()

com.google.ortools.sat.SatParameters.ClauseOrdering com.google.ortools.sat.SatParameters.getClauseCleanupOrdering ( )

optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];

Returns
The clauseCleanupOrdering.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2686 of file SatParameters.java.

◆ getClauseCleanupPeriod()

int com.google.ortools.sat.SatParameters.getClauseCleanupPeriod ( )
Trigger a cleanup when this number of "deletable" clauses is learned.

optional int32 clause_cleanup_period = 11 [default = 10000];

Returns
The clauseCleanupPeriod.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2562 of file SatParameters.java.

◆ getClauseCleanupProtection()

com.google.ortools.sat.SatParameters.ClauseProtection com.google.ortools.sat.SatParameters.getClauseCleanupProtection ( )

optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];

Returns
The clauseCleanupProtection.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2639 of file SatParameters.java.

◆ getClauseCleanupRatio()

double com.google.ortools.sat.SatParameters.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];

Returns
The clauseCleanupRatio.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2622 of file SatParameters.java.

◆ getClauseCleanupTarget()

int com.google.ortools.sat.SatParameters.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];

Returns
The clauseCleanupTarget.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2591 of file SatParameters.java.

◆ getConvertIntervals()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The convertIntervals.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9036 of file SatParameters.java.

◆ getCoreMinimizationLevel()

int com.google.ortools.sat.SatParameters.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];

Returns
The coreMinimizationLevel.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5890 of file SatParameters.java.

◆ getCountAssumptionLevelsInLbd()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The countAssumptionLevelsInLbd.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3912 of file SatParameters.java.

◆ getCoverOptimization()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The coverOptimization.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5950 of file SatParameters.java.

◆ getCpModelPresolve()

boolean com.google.ortools.sat.SatParameters.getCpModelPresolve ( )
Whether we presolve the cp_model before solving it.

optional bool cp_model_presolve = 86 [default = true];

Returns
The cpModelPresolve.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4173 of file SatParameters.java.

◆ getCpModelProbingLevel()

int com.google.ortools.sat.SatParameters.getCpModelProbingLevel ( )
How much effort do we spend on probing. 0 disables it completely.

optional int32 cp_model_probing_level = 110 [default = 2];

Returns
The cpModelProbingLevel.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4200 of file SatParameters.java.

◆ getCpModelUseSatPresolve()

boolean com.google.ortools.sat.SatParameters.getCpModelUseSatPresolve ( )
Whether we also use the sat presolve when cp_model_presolve is true.

optional bool cp_model_use_sat_presolve = 93 [default = true];

Returns
The cpModelUseSatPresolve.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4227 of file SatParameters.java.

◆ getCutActiveCountDecay()

double com.google.ortools.sat.SatParameters.getCutActiveCountDecay ( )

optional double cut_active_count_decay = 156 [default = 0.8];

Returns
The cutActiveCountDecay.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9914 of file SatParameters.java.

◆ getCutCleanupTarget()

int com.google.ortools.sat.SatParameters.getCutCleanupTarget ( )
Target number of constraints to remove during cleanup.

optional int32 cut_cleanup_target = 157 [default = 1000];

Returns
The cutCleanupTarget.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9941 of file SatParameters.java.

◆ getCutLevel()

int com.google.ortools.sat.SatParameters.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];

Returns
The cutLevel.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9391 of file SatParameters.java.

◆ getCutMaxActiveCountValue()

double com.google.ortools.sat.SatParameters.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];

Returns
The cutMaxActiveCountValue.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9895 of file SatParameters.java.

◆ getDebugCrashIfPresolveBreaksHint()

boolean com.google.ortools.sat.SatParameters.getDebugCrashIfPresolveBreaksHint ( )
Crash if presolve breaks a feasible hint.

optional bool debug_crash_if_presolve_breaks_hint = 306 [default = false];

Returns
The debugCrashIfPresolveBreaksHint.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5824 of file SatParameters.java.

◆ getDebugCrashOnBadHint()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The debugCrashOnBadHint.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5797 of file SatParameters.java.

◆ getDebugMaxNumPresolveOperations()

int com.google.ortools.sat.SatParameters.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];

Returns
The debugMaxNumPresolveOperations.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5770 of file SatParameters.java.

◆ getDebugPostsolveWithFullSolver()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The debugPostsolveWithFullSolver.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5741 of file SatParameters.java.

◆ getDefaultInstance()

static com.google.ortools.sat.SatParameters com.google.ortools.sat.SatParameters.getDefaultInstance ( )
static

Definition at line 37182 of file SatParameters.java.

◆ getDefaultInstanceForType()

com.google.ortools.sat.SatParameters com.google.ortools.sat.SatParameters.getDefaultInstanceForType ( )

Definition at line 37218 of file SatParameters.java.

◆ getDefaultRestartAlgorithms()

java.lang.String com.google.ortools.sat.SatParameters.getDefaultRestartAlgorithms ( )

optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];

Returns
The defaultRestartAlgorithms.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3007 of file SatParameters.java.

◆ getDefaultRestartAlgorithmsBytes()

com.google.protobuf.ByteString com.google.ortools.sat.SatParameters.getDefaultRestartAlgorithmsBytes ( )

optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];

Returns
The bytes for defaultRestartAlgorithms.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3027 of file SatParameters.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor com.google.ortools.sat.SatParameters.getDescriptor ( )
static

Definition at line 216 of file SatParameters.java.

◆ getDetectLinearizedProduct()

boolean com.google.ortools.sat.SatParameters.getDetectLinearizedProduct ( )
Infer products of Boolean or of Boolean time IntegerVariable from the
linear constrainst in the problem. This can be used in some cuts, altough
for now we don't really exploit it.

optional bool detect_linearized_product = 277 [default = false];

Returns
The detectLinearizedProduct.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10152 of file SatParameters.java.

◆ getDetectTableWithCost()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The detectTableWithCost.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4297 of file SatParameters.java.

◆ getDisableConstraintExpansion()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The disableConstraintExpansion.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4536 of file SatParameters.java.

◆ getDiversifyLnsParams()

boolean com.google.ortools.sat.SatParameters.getDiversifyLnsParams ( )
If true, registers more lns subsolvers with different parameters.

optional bool diversify_lns_params = 137 [default = false];

Returns
The diversifyLnsParams.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8639 of file SatParameters.java.

◆ getEncodeComplexLinearConstraintWithInteger()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The encodeComplexLinearConstraintWithInteger.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4565 of file SatParameters.java.

◆ getEncodeCumulativeAsReservoir()

boolean com.google.ortools.sat.SatParameters.getEncodeCumulativeAsReservoir ( )
Encore cumulative with fixed demands and capacity as a reservoir
constraint. The only reason you might want to do that is to test the
reservoir propagation code!

optional bool encode_cumulative_as_reservoir = 287 [default = false];

Returns
The encodeCumulativeAsReservoir.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4472 of file SatParameters.java.

◆ getEnumerateAllSolutions()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The enumerateAllSolutions.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8089 of file SatParameters.java.

◆ getExpandAlldiffConstraints()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The expandAlldiffConstraints.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4359 of file SatParameters.java.

◆ getExpandReservoirConstraints()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The expandReservoirConstraints.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4388 of file SatParameters.java.

◆ getExpandReservoirUsingCircuit()

boolean com.google.ortools.sat.SatParameters.getExpandReservoirUsingCircuit ( )
Mainly useful for testing.

If this and expand_reservoir_constraints is true, we use a different
encoding of the reservoir constraint using circuit instead of precedences.
Note that this is usually slower, but can exercise different part of the
solver. Note that contrary to the precedence encoding, this easily support
variable demands.

WARNING: with this encoding, the constraint takes a slightly different
meaning. There must exist a permutation of the events occurring at the same
time such that the level is within the reservoir after each of these events
(in this permuted order). So we cannot have +100 and -100 at the same time
if the level must be between 0 and 10 (as authorized by the reservoir
constraint).

optional bool expand_reservoir_using_circuit = 288 [default = false];

Returns
The expandReservoirUsingCircuit.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4441 of file SatParameters.java.

◆ getExploitAllLpSolution()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The exploitAllLpSolution.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10034 of file SatParameters.java.

◆ getExploitAllPrecedences()

boolean com.google.ortools.sat.SatParameters.getExploitAllPrecedences ( )

optional bool exploit_all_precedences = 220 [default = false];

Returns
The exploitAllPrecedences.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6421 of file SatParameters.java.

◆ getExploitBestSolution()

boolean com.google.ortools.sat.SatParameters.getExploitBestSolution ( )
When branching on a variable, follow the last best solution value.

optional bool exploit_best_solution = 130 [default = false];

Returns
The exploitBestSolution.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10061 of file SatParameters.java.

◆ getExploitIntegerLpSolution()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The exploitIntegerLpSolution.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10003 of file SatParameters.java.

◆ getExploitObjective()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The exploitObjective.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10121 of file SatParameters.java.

◆ getExploitRelaxationSolution()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The exploitRelaxationSolution.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10092 of file SatParameters.java.

◆ getExtraSubsolvers()

java.lang.String com.google.ortools.sat.SatParameters.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;

Parameters
indexThe index of the element to return.
Returns
The extraSubsolvers at the given index.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5298 of file SatParameters.java.

◆ getExtraSubsolversBytes()

com.google.protobuf.ByteString com.google.ortools.sat.SatParameters.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;

Parameters
indexThe index of the value to return.
Returns
The bytes of the extraSubsolvers at the given index.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5312 of file SatParameters.java.

◆ getExtraSubsolversCount()

int com.google.ortools.sat.SatParameters.getExtraSubsolversCount ( )
A convenient way to add more workers types.
These will be added at the beginning of the list.

repeated string extra_subsolvers = 219;

Returns
The count of extraSubsolvers.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5285 of file SatParameters.java.

◆ getExtraSubsolversList()

com.google.protobuf.ProtocolStringList com.google.ortools.sat.SatParameters.getExtraSubsolversList ( )
A convenient way to add more workers types.
These will be added at the beginning of the list.

repeated string extra_subsolvers = 219;

Returns
A list containing the extraSubsolvers.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5273 of file SatParameters.java.

◆ getFeasibilityJumpBatchDtime()

double com.google.ortools.sat.SatParameters.getFeasibilityJumpBatchDtime ( )
How much dtime for each LS batch.

optional double feasibility_jump_batch_dtime = 292 [default = 0.1];

Returns
The feasibilityJumpBatchDtime.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7571 of file SatParameters.java.

◆ getFeasibilityJumpDecay()

double com.google.ortools.sat.SatParameters.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];

Returns
The feasibilityJumpDecay.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7488 of file SatParameters.java.

◆ getFeasibilityJumpEnableRestarts()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The feasibilityJumpEnableRestarts.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7660 of file SatParameters.java.

◆ getFeasibilityJumpLinearizationLevel()

int com.google.ortools.sat.SatParameters.getFeasibilityJumpLinearizationLevel ( )
How much do we linearize the problem in the local search code.

optional int32 feasibility_jump_linearization_level = 257 [default = 2];

Returns
The feasibilityJumpLinearizationLevel.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7515 of file SatParameters.java.

◆ getFeasibilityJumpMaxExpandedConstraintSize()

int com.google.ortools.sat.SatParameters.getFeasibilityJumpMaxExpandedConstraintSize ( )
Maximum size of no_overlap or no_overlap_2d constraint for a quadratic
expansion. This might look a lot, but by expanding such constraint, we get
a linear time evaluation per single variable moves instead of a slow O(n
log n) one.

optional int32 feasibility_jump_max_expanded_constraint_size = 264 [default = 500];

Returns
The feasibilityJumpMaxExpandedConstraintSize.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7693 of file SatParameters.java.

◆ getFeasibilityJumpRestartFactor()

int com.google.ortools.sat.SatParameters.getFeasibilityJumpRestartFactor ( )
This is a factor that directly influence the work before each restart.
Increasing it leads to longer restart.

optional int32 feasibility_jump_restart_factor = 258 [default = 1];

Returns
The feasibilityJumpRestartFactor.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7544 of file SatParameters.java.

◆ getFeasibilityJumpVarPerburbationRangeRatio()

double com.google.ortools.sat.SatParameters.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];

Returns
The feasibilityJumpVarPerburbationRangeRatio.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7629 of file SatParameters.java.

◆ getFeasibilityJumpVarRandomizationProbability()

double com.google.ortools.sat.SatParameters.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.05];

Returns
The feasibilityJumpVarRandomizationProbability.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7600 of file SatParameters.java.

◆ getFillAdditionalSolutionsInResponse()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The fillAdditionalSolutionsInResponse.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8210 of file SatParameters.java.

◆ getFillTightenedDomainsInResponse()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The fillTightenedDomainsInResponse.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8165 of file SatParameters.java.

◆ getFilterSubsolvers()

java.lang.String com.google.ortools.sat.SatParameters.getFilterSubsolvers ( int index)

repeated string filter_subsolvers = 293;

Parameters
indexThe index of the element to return.
Returns
The filterSubsolvers at the given index.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5425 of file SatParameters.java.

◆ getFilterSubsolversBytes()

com.google.protobuf.ByteString com.google.ortools.sat.SatParameters.getFilterSubsolversBytes ( int index)

repeated string filter_subsolvers = 293;

Parameters
indexThe index of the value to return.
Returns
The bytes of the filterSubsolvers at the given index.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5434 of file SatParameters.java.

◆ getFilterSubsolversCount()

int com.google.ortools.sat.SatParameters.getFilterSubsolversCount ( )

repeated string filter_subsolvers = 293;

Returns
The count of filterSubsolvers.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5417 of file SatParameters.java.

◆ getFilterSubsolversList()

com.google.protobuf.ProtocolStringList com.google.ortools.sat.SatParameters.getFilterSubsolversList ( )

repeated string filter_subsolvers = 293;

Returns
A list containing the filterSubsolvers.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5410 of file SatParameters.java.

◆ getFindBigLinearOverlap()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The findBigLinearOverlap.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4829 of file SatParameters.java.

◆ getFindMultipleCores()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The findMultipleCores.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5919 of file SatParameters.java.

◆ getFixVariablesToTheirHintedValue()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The fixVariablesToTheirHintedValue.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6930 of file SatParameters.java.

◆ getFpRounding()

com.google.ortools.sat.SatParameters.FPRoundingMethod com.google.ortools.sat.SatParameters.getFpRounding ( )

optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];

Returns
The fpRounding.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8611 of file SatParameters.java.

◆ getGlucoseDecayIncrement()

double com.google.ortools.sat.SatParameters.getGlucoseDecayIncrement ( )

optional double glucose_decay_increment = 23 [default = 0.01];

Returns
The glucoseDecayIncrement.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2847 of file SatParameters.java.

◆ getGlucoseDecayIncrementPeriod()

int com.google.ortools.sat.SatParameters.getGlucoseDecayIncrementPeriod ( )

optional int32 glucose_decay_increment_period = 24 [default = 5000];

Returns
The glucoseDecayIncrementPeriod.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2866 of file SatParameters.java.

◆ getGlucoseMaxDecay()

double com.google.ortools.sat.SatParameters.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];

Returns
The glucoseMaxDecay.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2828 of file SatParameters.java.

◆ getHintConflictLimit()

int com.google.ortools.sat.SatParameters.getHintConflictLimit ( )
Conflict limit used in the phase that exploit the solution hint.

optional int32 hint_conflict_limit = 153 [default = 10];

Returns
The hintConflictLimit.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6868 of file SatParameters.java.

◆ getIgnoreNames()

boolean com.google.ortools.sat.SatParameters.getIgnoreNames ( )
If true, we don't keep names in our internal copy of the user given model.

optional bool ignore_names = 202 [default = true];

Returns
The ignoreNames.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4755 of file SatParameters.java.

◆ getIgnoreSubsolvers()

java.lang.String com.google.ortools.sat.SatParameters.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 or only keep
specific ones for testing. Each string is interpreted as a "glob", so we
support '*' and '?'.

The way this work is that we will only accept a name that match a filter
pattern (if non-empty) and do not match an ignore pattern. Note also that
these fields work on LNS or LS names even if these are currently not
specified via the subsolvers field.

repeated string ignore_subsolvers = 209;

Parameters
indexThe index of the element to return.
Returns
The ignoreSubsolvers at the given index.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5376 of file SatParameters.java.

◆ getIgnoreSubsolversBytes()

com.google.protobuf.ByteString com.google.ortools.sat.SatParameters.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 or only keep
specific ones for testing. Each string is interpreted as a "glob", so we
support '*' and '?'.

The way this work is that we will only accept a name that match a filter
pattern (if non-empty) and do not match an ignore pattern. Note also that
these fields work on LNS or LS names even if these are currently not
specified via the subsolvers field.

repeated string ignore_subsolvers = 209;

Parameters
indexThe index of the value to return.
Returns
The bytes of the ignoreSubsolvers at the given index.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5397 of file SatParameters.java.

◆ getIgnoreSubsolversCount()

int com.google.ortools.sat.SatParameters.getIgnoreSubsolversCount ( )
Rather than fully specifying subsolvers, it is often convenient to just
remove the ones that are not useful on a given problem or only keep
specific ones for testing. Each string is interpreted as a "glob", so we
support '*' and '?'.

The way this work is that we will only accept a name that match a filter
pattern (if non-empty) and do not match an ignore pattern. Note also that
these fields work on LNS or LS names even if these are currently not
specified via the subsolvers field.

repeated string ignore_subsolvers = 209;

Returns
The count of ignoreSubsolvers.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5356 of file SatParameters.java.

◆ getIgnoreSubsolversList()

com.google.protobuf.ProtocolStringList com.google.ortools.sat.SatParameters.getIgnoreSubsolversList ( )
Rather than fully specifying subsolvers, it is often convenient to just
remove the ones that are not useful on a given problem or only keep
specific ones for testing. Each string is interpreted as a "glob", so we
support '*' and '?'.

The way this work is that we will only accept a name that match a filter
pattern (if non-empty) and do not match an ignore pattern. Note also that
these fields work on LNS or LS names even if these are currently not
specified via the subsolvers field.

repeated string ignore_subsolvers = 209;

Returns
A list containing the ignoreSubsolvers.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5337 of file SatParameters.java.

◆ getInferAllDiffs()

boolean com.google.ortools.sat.SatParameters.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.

This will also detect and add no_overlap constraints, if all the relations
x != y have "offsets" between them. I.e. x > y + offset.

optional bool infer_all_diffs = 233 [default = true];

Returns
The inferAllDiffs.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4796 of file SatParameters.java.

◆ getInitialPolarity()

com.google.ortools.sat.SatParameters.Polarity com.google.ortools.sat.SatParameters.getInitialPolarity ( )

optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];

Returns
The initialPolarity.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2191 of file SatParameters.java.

◆ getInitialVariablesActivity()

double com.google.ortools.sat.SatParameters.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];

Returns
The initialVariablesActivity.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2433 of file SatParameters.java.

◆ getInprocessingDtimeRatio()

double com.google.ortools.sat.SatParameters.getInprocessingDtimeRatio ( )
Proportion of deterministic time we should spend on inprocessing.
At each "restart", if the proportion is below this ratio, we will do some
inprocessing, otherwise, we skip it for this restart.

optional double inprocessing_dtime_ratio = 273 [default = 0.2];

Returns
The inprocessingDtimeRatio.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4889 of file SatParameters.java.

◆ getInprocessingMinimizationDtime()

double com.google.ortools.sat.SatParameters.getInprocessingMinimizationDtime ( )
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

This is the amount of dtime we should spend on this technique during each
inprocessing phase.

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.

optional double inprocessing_minimization_dtime = 275 [default = 1];

Returns
The inprocessingMinimizationDtime.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4961 of file SatParameters.java.

◆ getInprocessingMinimizationUseAllOrderings()

boolean com.google.ortools.sat.SatParameters.getInprocessingMinimizationUseAllOrderings ( )

optional bool inprocessing_minimization_use_all_orderings = 298 [default = false];

Returns
The inprocessingMinimizationUseAllOrderings.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4999 of file SatParameters.java.

◆ getInprocessingMinimizationUseConflictAnalysis()

boolean com.google.ortools.sat.SatParameters.getInprocessingMinimizationUseConflictAnalysis ( )

optional bool inprocessing_minimization_use_conflict_analysis = 297 [default = true];

Returns
The inprocessingMinimizationUseConflictAnalysis.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4980 of file SatParameters.java.

◆ getInprocessingProbingDtime()

double com.google.ortools.sat.SatParameters.getInprocessingProbingDtime ( )
The amount of dtime we should spend on probing for each inprocessing round.

optional double inprocessing_probing_dtime = 274 [default = 1];

Returns
The inprocessingProbingDtime.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4916 of file SatParameters.java.

◆ getInstantiateAllVariables()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The instantiateAllVariables.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8243 of file SatParameters.java.

◆ getInterleaveBatchSize()

int com.google.ortools.sat.SatParameters.getInterleaveBatchSize ( )

optional int32 interleave_batch_size = 134 [default = 0];

Returns
The interleaveBatchSize.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5571 of file SatParameters.java.

◆ getInterleaveSearch()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The interleaveSearch.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5552 of file SatParameters.java.

◆ getKeepAllFeasibleSolutionsInPresolve()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The keepAllFeasibleSolutionsInPresolve.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8130 of file SatParameters.java.

◆ getKeepSymmetryInPresolve()

boolean com.google.ortools.sat.SatParameters.getKeepSymmetryInPresolve ( )
Experimental. This will compute the symmetry of the problem once and for
all. All presolve operations we do should keep the symmetry group intact
or modify it properly. For now we have really little support for this. We
will disable a bunch of presolve operations that could be supported.

optional bool keep_symmetry_in_presolve = 303 [default = false];

Returns
The keepSymmetryInPresolve.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9141 of file SatParameters.java.

◆ getLbRelaxNumWorkersThreshold()

int com.google.ortools.sat.SatParameters.getLbRelaxNumWorkersThreshold ( )
Only use lb-relax if we have at least that many workers.

optional int32 lb_relax_num_workers_threshold = 296 [default = 16];

Returns
The lbRelaxNumWorkersThreshold.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8594 of file SatParameters.java.

◆ getLinearizationLevel()

int com.google.ortools.sat.SatParameters.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];

Returns
The linearizationLevel.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9263 of file SatParameters.java.

◆ getLinearSplitSize()

int com.google.ortools.sat.SatParameters.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];

Returns
The linearSplitSize.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9230 of file SatParameters.java.

◆ getLnsInitialDeterministicLimit()

double com.google.ortools.sat.SatParameters.getLnsInitialDeterministicLimit ( )

optional double lns_initial_deterministic_limit = 308 [default = 0.1];

Returns
The lnsInitialDeterministicLimit.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8397 of file SatParameters.java.

◆ getLnsInitialDifficulty()

double com.google.ortools.sat.SatParameters.getLnsInitialDifficulty ( )
Initial parameters for neighborhood generation.

optional double lns_initial_difficulty = 307 [default = 0.5];

Returns
The lnsInitialDifficulty.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8378 of file SatParameters.java.

◆ getLogPrefix()

java.lang.String com.google.ortools.sat.SatParameters.getLogPrefix ( )
Add a prefix to all logs.

optional string log_prefix = 185 [default = ""];

Returns
The logPrefix.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3716 of file SatParameters.java.

◆ getLogPrefixBytes()

com.google.protobuf.ByteString com.google.ortools.sat.SatParameters.getLogPrefixBytes ( )
Add a prefix to all logs.

optional string log_prefix = 185 [default = ""];

Returns
The bytes for logPrefix.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3740 of file SatParameters.java.

◆ getLogSearchProgress()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The logSearchProgress.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3655 of file SatParameters.java.

◆ getLogSubsolverStatistics()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The logSubsolverStatistics.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3688 of file SatParameters.java.

◆ getLogToResponse()

boolean com.google.ortools.sat.SatParameters.getLogToResponse ( )
Log to response proto.

optional bool log_to_response = 187 [default = false];

Returns
The logToResponse.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3803 of file SatParameters.java.

◆ getLogToStdout()

boolean com.google.ortools.sat.SatParameters.getLogToStdout ( )
Log to stdout.

optional bool log_to_stdout = 186 [default = true];

Returns
The logToStdout.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3776 of file SatParameters.java.

◆ getLpDualTolerance()

double com.google.ortools.sat.SatParameters.getLpDualTolerance ( )

optional double lp_dual_tolerance = 267 [default = 1e-07];

Returns
The lpDualTolerance.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9005 of file SatParameters.java.

◆ getLpPrimalTolerance()

double com.google.ortools.sat.SatParameters.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];

Returns
The lpPrimalTolerance.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8986 of file SatParameters.java.

◆ getMaxAllDiffCutSize()

int com.google.ortools.sat.SatParameters.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];

Returns
The maxAllDiffCutSize.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9633 of file SatParameters.java.

◆ getMaxClauseActivityValue()

double com.google.ortools.sat.SatParameters.getMaxClauseActivityValue ( )

optional double max_clause_activity_value = 18 [default = 1e+20];

Returns
The maxClauseActivityValue.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2912 of file SatParameters.java.

◆ getMaxConsecutiveInactiveCount()

int com.google.ortools.sat.SatParameters.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];

Returns
The maxConsecutiveInactiveCount.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9864 of file SatParameters.java.

◆ getMaxCutRoundsAtLevelZero()

int com.google.ortools.sat.SatParameters.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];

Returns
The maxCutRoundsAtLevelZero.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9833 of file SatParameters.java.

◆ getMaxDeterministicTime()

double com.google.ortools.sat.SatParameters.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];

Returns
The maxDeterministicTime.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3329 of file SatParameters.java.

◆ getMaxDomainSizeWhenEncodingEqNeqConstraints()

int com.google.ortools.sat.SatParameters.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];

Returns
The maxDomainSizeWhenEncodingEqNeqConstraints.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9325 of file SatParameters.java.

◆ getMaximumRegionsToSplitInDisconnectedNoOverlap2D()

int com.google.ortools.sat.SatParameters.getMaximumRegionsToSplitInDisconnectedNoOverlap2D ( )
Detects when the space where items of a no_overlap_2d constraint can placed
is disjoint (ie., fixed boxes split the domain). When it is the case, we
can introduce a boolean for each pair <item, component> encoding whether
the item is in the component or not. Then we replace the original
no_overlap_2d constraint by one no_overlap_2d constraint for each
component, with the new booleans as the enforcement_literal of the
intervals. This is equivalent to expanding the original no_overlap_2d
constraint into a bin packing problem with each connected component being a
bin. This heuristic is only done when the number of regions to split
is less than this parameter and <= 1 disables it.

optional int32 maximum_regions_to_split_in_disconnected_no_overlap_2d = 315 [default = 0];

Returns
The maximumRegionsToSplitInDisconnectedNoOverlap2d.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6658 of file SatParameters.java.

◆ getMaxIntegerRoundingScaling()

int com.google.ortools.sat.SatParameters.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];

Returns
The maxIntegerRoundingScaling.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9705 of file SatParameters.java.

◆ getMaxLinMaxSizeForExpansion()

int com.google.ortools.sat.SatParameters.getMaxLinMaxSizeForExpansion ( )
If the number of expressions in the lin_max is less that the max size
parameter, model expansion replaces target = max(xi) by linear constraint
with the introduction of new booleans bi such that bi => target == xi.

This is mainly for experimenting compared to a custom lin_max propagator.

optional int32 max_lin_max_size_for_expansion = 280 [default = 0];

Returns
The maxLinMaxSizeForExpansion.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4507 of file SatParameters.java.

◆ getMaxMemoryInMb()

long com.google.ortools.sat.SatParameters.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];

Returns
The maxMemoryInMb.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3434 of file SatParameters.java.

◆ getMaxNumberOfConflicts()

long com.google.ortools.sat.SatParameters.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];

Returns
The maxNumberOfConflicts.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3397 of file SatParameters.java.

◆ getMaxNumCuts()

int com.google.ortools.sat.SatParameters.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];

Returns
The maxNumCuts.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9360 of file SatParameters.java.

◆ getMaxNumDeterministicBatches()

int com.google.ortools.sat.SatParameters.getMaxNumDeterministicBatches ( )
Stops after that number of batches has been scheduled. This only make sense
when interleave_search is true.

optional int32 max_num_deterministic_batches = 291 [default = 0];

Returns
The maxNumDeterministicBatches.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3358 of file SatParameters.java.

◆ getMaxNumIntervalsForTimetableEdgeFinding()

int com.google.ortools.sat.SatParameters.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];

Returns
The maxNumIntervalsForTimetableEdgeFinding.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6365 of file SatParameters.java.

◆ getMaxPairsPairwiseReasoningInNoOverlap2D()

int com.google.ortools.sat.SatParameters.getMaxPairsPairwiseReasoningInNoOverlap2D ( )
If the number of pairs to look is below this threshold, do an extra step of
propagation in the no_overlap_2d constraint by looking at all pairs of
intervals.

optional int32 max_pairs_pairwise_reasoning_in_no_overlap_2d = 276 [default = 1250];

Returns
The maxPairsPairwiseReasoningInNoOverlap2d.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6613 of file SatParameters.java.

◆ getMaxPresolveIterations()

int com.google.ortools.sat.SatParameters.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];

Returns
The maxPresolveIterations.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4146 of file SatParameters.java.

◆ getMaxSatAssumptionOrder()

com.google.ortools.sat.SatParameters.MaxSatAssumptionOrder com.google.ortools.sat.SatParameters.getMaxSatAssumptionOrder ( )

optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];

Returns
The maxSatAssumptionOrder.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5967 of file SatParameters.java.

◆ getMaxSatReverseAssumptionOrder()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The maxSatReverseAssumptionOrder.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5997 of file SatParameters.java.

◆ getMaxSatStratification()

com.google.ortools.sat.SatParameters.MaxSatStratificationAlgorithm com.google.ortools.sat.SatParameters.getMaxSatStratification ( )

optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];

Returns
The maxSatStratification.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6014 of file SatParameters.java.

◆ getMaxSizeToCreatePrecedenceLiteralsInDisjunctive()

int com.google.ortools.sat.SatParameters.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];

Returns
The maxSizeToCreatePrecedenceLiteralsInDisjunctive.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6136 of file SatParameters.java.

◆ getMaxTimeInSeconds()

double com.google.ortools.sat.SatParameters.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];

Returns
The maxTimeInSeconds.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3298 of file SatParameters.java.

◆ getMaxVariableActivityValue()

double com.google.ortools.sat.SatParameters.getMaxVariableActivityValue ( )

optional double max_variable_activity_value = 16 [default = 1e+100];

Returns
The maxVariableActivityValue.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2793 of file SatParameters.java.

◆ getMergeAtMostOneWorkLimit()

double com.google.ortools.sat.SatParameters.getMergeAtMostOneWorkLimit ( )

optional double merge_at_most_one_work_limit = 146 [default = 100000000];

Returns
The mergeAtMostOneWorkLimit.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4619 of file SatParameters.java.

◆ getMergeNoOverlapWorkLimit()

double com.google.ortools.sat.SatParameters.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];

Returns
The mergeNoOverlapWorkLimit.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4600 of file SatParameters.java.

◆ getMinimizationAlgorithm()

com.google.ortools.sat.SatParameters.ConflictMinimizationAlgorithm com.google.ortools.sat.SatParameters.getMinimizationAlgorithm ( )

optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];

Returns
The minimizationAlgorithm.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2483 of file SatParameters.java.

◆ getMinimizeReductionDuringPbResolution()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The minimizeReductionDuringPbResolution.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3869 of file SatParameters.java.

◆ getMinimizeSharedClauses()

boolean com.google.ortools.sat.SatParameters.getMinimizeSharedClauses ( )
Minimize and detect subsumption of shared clauses immediately after they
are imported.

optional bool minimize_shared_clauses = 300 [default = true];

Returns
The minimizeSharedClauses.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5710 of file SatParameters.java.

◆ getMinOrthogonalityForLpConstraints()

double com.google.ortools.sat.SatParameters.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];

Returns
The minOrthogonalityForLpConstraints.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9806 of file SatParameters.java.

◆ getMipAutomaticallyScaleVariables()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The mipAutomaticallyScaleVariables.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10280 of file SatParameters.java.

◆ getMipCheckPrecision()

double com.google.ortools.sat.SatParameters.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];

Returns
The mipCheckPrecision.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10460 of file SatParameters.java.

◆ getMipComputeTrueObjectiveBound()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The mipComputeTrueObjectiveBound.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10495 of file SatParameters.java.

◆ getMipDropTolerance()

double com.google.ortools.sat.SatParameters.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];

Returns
The mipDropTolerance.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10596 of file SatParameters.java.

◆ getMipMaxActivityExponent()

int com.google.ortools.sat.SatParameters.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];

Returns
The mipMaxActivityExponent.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10429 of file SatParameters.java.

◆ getMipMaxBound()

double com.google.ortools.sat.SatParameters.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];

Returns
The mipMaxBound.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10183 of file SatParameters.java.

◆ getMipMaxValidMagnitude()

double com.google.ortools.sat.SatParameters.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+20];

Returns
The mipMaxValidMagnitude.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10530 of file SatParameters.java.

◆ getMipPresolveLevel()

int com.google.ortools.sat.SatParameters.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];

Returns
The mipPresolveLevel.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10629 of file SatParameters.java.

◆ getMipScaleLargeDomain()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The mipScaleLargeDomain.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10245 of file SatParameters.java.

◆ getMipTreatHighMagnitudeBoundsAsInfinity()

boolean com.google.ortools.sat.SatParameters.getMipTreatHighMagnitudeBoundsAsInfinity ( )
By default, any variable/constraint bound with a finite value and a
magnitude greater than the mip_max_valid_magnitude will result with a
invalid model. This flags change the behavior such that such bounds are
silently transformed to +∞ or -∞.

It is recommended to keep it at false, and create valid bounds.

optional bool mip_treat_high_magnitude_bounds_as_infinity = 278 [default = false];

Returns
The mipTreatHighMagnitudeBoundsAsInfinity.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10567 of file SatParameters.java.

◆ getMipVarScaling()

double com.google.ortools.sat.SatParameters.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];

Returns
The mipVarScaling.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10214 of file SatParameters.java.

◆ getMipWantedPrecision()

double com.google.ortools.sat.SatParameters.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];

Returns
The mipWantedPrecision.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10388 of file SatParameters.java.

◆ getName()

java.lang.String com.google.ortools.sat.SatParameters.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 = ""];

Returns
The name.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2122 of file SatParameters.java.

◆ getNameBytes()

com.google.protobuf.ByteString com.google.ortools.sat.SatParameters.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 = ""];

Returns
The bytes for name.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2147 of file SatParameters.java.

◆ getNewConstraintsBatchSize()

int com.google.ortools.sat.SatParameters.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];

Returns
The newConstraintsBatchSize.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9970 of file SatParameters.java.

◆ getNewLinearPropagation()

boolean com.google.ortools.sat.SatParameters.getNewLinearPropagation ( )
The new linear propagation code treat all constraints at once and use
an adaptation of Bellman-Ford-Tarjan to propagate constraint in a smarter
order and potentially detect propagation cycle earlier.

optional bool new_linear_propagation = 224 [default = true];

Returns
The newLinearPropagation.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9199 of file SatParameters.java.

◆ getNumConflictsBeforeStrategyChanges()

int com.google.ortools.sat.SatParameters.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];

Returns
The numConflictsBeforeStrategyChanges.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3240 of file SatParameters.java.

◆ getNumFullSubsolvers()

int com.google.ortools.sat.SatParameters.getNumFullSubsolvers ( )
We distinguish subsolvers that consume a full thread, and the ones that are
always interleaved. If left at zero, we will fix this with a default
formula that depends on num_workers. But if you start modifying what runs,
you might want to fix that to a given value depending on the num_workers
you use.

optional int32 num_full_subsolvers = 294 [default = 0];

Returns
The numFullSubsolvers.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5106 of file SatParameters.java.

◆ getNumSearchWorkers()

int com.google.ortools.sat.SatParameters.getNumSearchWorkers ( )

optional int32 num_search_workers = 100 [default = 0];

Returns
The numSearchWorkers.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5071 of file SatParameters.java.

◆ getNumViolationLs()

int com.google.ortools.sat.SatParameters.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];

Returns
The numViolationLs.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7724 of file SatParameters.java.

◆ getNumWorkers()

int com.google.ortools.sat.SatParameters.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_workers'.

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
The numWorkers.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5052 of file SatParameters.java.

◆ getOnlyAddCutsAtLevelZero()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The onlyAddCutsAtLevelZero.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9420 of file SatParameters.java.

◆ getOnlySolveIp()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The onlySolveIp.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10329 of file SatParameters.java.

◆ getOptimizeWithCore()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The optimizeWithCore.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7257 of file SatParameters.java.

◆ getOptimizeWithLbTreeSearch()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The optimizeWithLbTreeSearch.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7292 of file SatParameters.java.

◆ getOptimizeWithMaxHs()

boolean com.google.ortools.sat.SatParameters.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&#64;
"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
The optimizeWithMaxHs.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7399 of file SatParameters.java.

◆ getParserForType()

com.google.protobuf.Parser< SatParameters > com.google.ortools.sat.SatParameters.getParserForType ( )

Definition at line 37213 of file SatParameters.java.

◆ getPbCleanupIncrement()

int com.google.ortools.sat.SatParameters.getPbCleanupIncrement ( )
Same as for the clauses, but for the learned pseudo-Boolean constraints.

optional int32 pb_cleanup_increment = 46 [default = 200];

Returns
The pbCleanupIncrement.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2714 of file SatParameters.java.

◆ getPbCleanupRatio()

double com.google.ortools.sat.SatParameters.getPbCleanupRatio ( )

optional double pb_cleanup_ratio = 47 [default = 0.5];

Returns
The pbCleanupRatio.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2733 of file SatParameters.java.

◆ getPermutePresolveConstraintOrder()

boolean com.google.ortools.sat.SatParameters.getPermutePresolveConstraintOrder ( )

optional bool permute_presolve_constraint_order = 179 [default = false];

Returns
The permutePresolveConstraintOrder.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3605 of file SatParameters.java.

◆ getPermuteVariableRandomly()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The permuteVariableRandomly.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3586 of file SatParameters.java.

◆ getPolarityExploitLsHints()

boolean com.google.ortools.sat.SatParameters.getPolarityExploitLsHints ( )
If true and we have first solution LS workers, tries in some phase to
follow a LS solutions that violates has litle constraints as possible.

optional bool polarity_exploit_ls_hints = 309 [default = false];

Returns
The polarityExploitLsHints.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2299 of file SatParameters.java.

◆ getPolarityRephaseIncrement()

int com.google.ortools.sat.SatParameters.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];

Returns
The polarityRephaseIncrement.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2270 of file SatParameters.java.

◆ getPolishLpSolution()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The polishLpSolution.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8951 of file SatParameters.java.

◆ getPreferredVariableOrder()

com.google.ortools.sat.SatParameters.VariableOrder com.google.ortools.sat.SatParameters.getPreferredVariableOrder ( )

optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];

Returns
The preferredVariableOrder.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2173 of file SatParameters.java.

◆ getPresolveBlockedClause()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The presolveBlockedClause.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4055 of file SatParameters.java.

◆ getPresolveBvaThreshold()

int com.google.ortools.sat.SatParameters.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];

Returns
The presolveBvaThreshold.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4115 of file SatParameters.java.

◆ getPresolveBveClauseWeight()

int com.google.ortools.sat.SatParameters.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];

Returns
The presolveBveClauseWeight.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3972 of file SatParameters.java.

◆ getPresolveBveThreshold()

int com.google.ortools.sat.SatParameters.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];

Returns
The presolveBveThreshold.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3943 of file SatParameters.java.

◆ getPresolveExtractIntegerEnforcement()

boolean com.google.ortools.sat.SatParameters.getPresolveExtractIntegerEnforcement ( )
If true, we will extract from linear constraints, enforcement literals of
the form "integer variable at bound =&gt; 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
The presolveExtractIntegerEnforcement.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4689 of file SatParameters.java.

◆ getPresolveInclusionWorkLimit()

long com.google.ortools.sat.SatParameters.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];

Returns
The presolveInclusionWorkLimit.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4728 of file SatParameters.java.

◆ getPresolveProbingDeterministicTimeLimit()

double com.google.ortools.sat.SatParameters.getPresolveProbingDeterministicTimeLimit ( )

optional double presolve_probing_deterministic_time_limit = 57 [default = 30];

Returns
The presolveProbingDeterministicTimeLimit.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4026 of file SatParameters.java.

◆ getPresolveSubstitutionLevel()

int com.google.ortools.sat.SatParameters.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];

Returns
The presolveSubstitutionLevel.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4652 of file SatParameters.java.

◆ getPresolveUseBva()

boolean com.google.ortools.sat.SatParameters.getPresolveUseBva ( )
Whether or not we use Bounded Variable Addition (BVA) in the presolve.

optional bool presolve_use_bva = 72 [default = true];

Returns
The presolveUseBva.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4082 of file SatParameters.java.

◆ getProbingDeterministicTimeLimit()

double com.google.ortools.sat.SatParameters.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];

Returns
The probingDeterministicTimeLimit.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4007 of file SatParameters.java.

◆ getProbingNumCombinationsLimit()

int com.google.ortools.sat.SatParameters.getProbingNumCombinationsLimit ( )
How many combinations of pairs or triplets of variables we want to scan.

optional int32 probing_num_combinations_limit = 272 [default = 20000];

Returns
The probingNumCombinationsLimit.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7015 of file SatParameters.java.

◆ getPropagationLoopDetectionFactor()

double com.google.ortools.sat.SatParameters.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];

Returns
The propagationLoopDetectionFactor.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6058 of file SatParameters.java.

◆ getPseudoCostReliabilityThreshold()

long com.google.ortools.sat.SatParameters.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];

Returns
The pseudoCostReliabilityThreshold.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7224 of file SatParameters.java.

◆ getPushAllTasksTowardStart()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The pushAllTasksTowardStart.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8726 of file SatParameters.java.

◆ getRandomBranchesRatio()

double com.google.ortools.sat.SatParameters.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];

Returns
The randomBranchesRatio.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2365 of file SatParameters.java.

◆ getRandomizeSearch()

boolean com.google.ortools.sat.SatParameters.getRandomizeSearch ( )
Randomize fixed search.

optional bool randomize_search = 103 [default = false];

Returns
The randomizeSearch.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8666 of file SatParameters.java.

◆ getRandomPolarityRatio()

double com.google.ortools.sat.SatParameters.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];

Returns
The randomPolarityRatio.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2334 of file SatParameters.java.

◆ getRandomSeed()

int com.google.ortools.sat.SatParameters.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];

Returns
The randomSeed.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3553 of file SatParameters.java.

◆ getRelativeGapLimit()

double com.google.ortools.sat.SatParameters.getRelativeGapLimit ( )

optional double relative_gap_limit = 160 [default = 0];

Returns
The relativeGapLimit.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3514 of file SatParameters.java.

◆ getRemoveFixedVariablesEarly()

boolean com.google.ortools.sat.SatParameters.getRemoveFixedVariablesEarly ( )
If cp_model_presolve is true and there is a large proportion of fixed
variable after the first model copy, remap all the model to a dense set of
variable before the full presolve even starts. This should help for LNS on
large models.

optional bool remove_fixed_variables_early = 310 [default = true];

Returns
The removeFixedVariablesEarly.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4260 of file SatParameters.java.

◆ getRepairHint()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The repairHint.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6901 of file SatParameters.java.

◆ getRestartAlgorithms()

com.google.ortools.sat.SatParameters.RestartAlgorithm com.google.ortools.sat.SatParameters.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;

Parameters
indexThe index of the element to return.
Returns
The restartAlgorithms at the given index.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2987 of file SatParameters.java.

◆ getRestartAlgorithmsCount()

int com.google.ortools.sat.SatParameters.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;

Returns
The count of restartAlgorithms.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2966 of file SatParameters.java.

◆ getRestartAlgorithmsList()

java.util.List< com.google.ortools.sat.SatParameters.RestartAlgorithm > com.google.ortools.sat.SatParameters.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;

Returns
A list containing the restartAlgorithms.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2945 of file SatParameters.java.

◆ getRestartDlAverageRatio()

double com.google.ortools.sat.SatParameters.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];

Returns
The restartDlAverageRatio.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3121 of file SatParameters.java.

◆ getRestartLbdAverageRatio()

double com.google.ortools.sat.SatParameters.getRestartLbdAverageRatio ( )

optional double restart_lbd_average_ratio = 71 [default = 1];

Returns
The restartLbdAverageRatio.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3140 of file SatParameters.java.

◆ getRestartPeriod()

int com.google.ortools.sat.SatParameters.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];

Returns
The restartPeriod.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3065 of file SatParameters.java.

◆ getRestartRunningWindowSize()

int com.google.ortools.sat.SatParameters.getRestartRunningWindowSize ( )
Size of the window for the moving average restarts.

optional int32 restart_running_window_size = 62 [default = 50];

Returns
The restartRunningWindowSize.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3092 of file SatParameters.java.

◆ getRootLpIterations()

int com.google.ortools.sat.SatParameters.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];

Returns
The rootLpIterations.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9771 of file SatParameters.java.

◆ getRoutingCutDpEffort()

double com.google.ortools.sat.SatParameters.getRoutingCutDpEffort ( )
The amount of "effort" to spend in dynamic programming for computing
routing cuts. This is in term of basic operations needed by the algorithm
in the worst case, so a value like 1e8 should take less than a second to
compute.

optional double routing_cut_dp_effort = 314 [default = 10000000];

Returns
The routingCutDpEffort.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6823 of file SatParameters.java.

◆ getRoutingCutSubsetSizeForBinaryRelationBound()

int com.google.ortools.sat.SatParameters.getRoutingCutSubsetSizeForBinaryRelationBound ( )
If the size of a subset of nodes of a RoutesConstraint is less than this
value, use linear constraints of size 1 and 2 (such as capacity and time
window constraints) enforced by the arc literals to compute cuts for this
subset (unless the subset size is less than
routing_cut_subset_size_for_tight_binary_relation_bound, in which case the
corresponding algorithm is used instead). The algorithm for these cuts has
a O(n^3) complexity, where n is the subset size. Hence the value of this
parameter should not be too large (e.g. 10 or 20).

optional int32 routing_cut_subset_size_for_binary_relation_bound = 312 [default = 0];

Returns
The routingCutSubsetSizeForBinaryRelationBound.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6759 of file SatParameters.java.

◆ getRoutingCutSubsetSizeForTightBinaryRelationBound()

int com.google.ortools.sat.SatParameters.getRoutingCutSubsetSizeForTightBinaryRelationBound ( )
Similar to above, but with a different algorithm producing better cuts, at
the price of a higher O(2^n) complexity, where n is the subset size. Hence
the value of this parameter should be small (e.g. less than 10).

optional int32 routing_cut_subset_size_for_tight_binary_relation_bound = 313 [default = 0];

Returns
The routingCutSubsetSizeForTightBinaryRelationBound.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6790 of file SatParameters.java.

◆ getSaveLpBasisInLbTreeSearch()

boolean com.google.ortools.sat.SatParameters.getSaveLpBasisInLbTreeSearch ( )
Experimental. Save the current LP basis at each node of the search tree so
that when we jump around, we can load it and reduce the number of LP
iterations needed.

It currently works okay if we do not change the lp with cuts or
simplification... More work is needed to make it robust in all cases.

optional bool save_lp_basis_in_lb_tree_search = 284 [default = false];

Returns
The saveLpBasisInLbTreeSearch.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7329 of file SatParameters.java.

◆ getSearchBranching()

com.google.ortools.sat.SatParameters.SearchBranching com.google.ortools.sat.SatParameters.getSearchBranching ( )

optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];

Returns
The searchBranching.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6840 of file SatParameters.java.

◆ getSearchRandomVariablePoolSize()

long com.google.ortools.sat.SatParameters.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];

Returns
The searchRandomVariablePoolSize.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8697 of file SatParameters.java.

◆ getSerializedSize()

int com.google.ortools.sat.SatParameters.getSerializedSize ( )

Definition at line 11452 of file SatParameters.java.

◆ getShareBinaryClauses()

boolean com.google.ortools.sat.SatParameters.getShareBinaryClauses ( )
Allows sharing of new learned binary clause between workers.

optional bool share_binary_clauses = 203 [default = true];

Returns
The shareBinaryClauses.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5652 of file SatParameters.java.

◆ getSharedTreeBalanceTolerance()

int com.google.ortools.sat.SatParameters.getSharedTreeBalanceTolerance ( )
How much deeper compared to the ideal max depth of the tree is considered
"balanced" enough to still accept a split. Without such a tolerance,
sometimes the tree can only be split by a single worker, and they may not
generate a split for some time. In contrast, with a tolerance of 1, at
least half of all workers should be able to split the tree as soon as a
split becomes required. This only has an effect on
SPLIT_STRATEGY_BALANCED_TREE and SPLIT_STRATEGY_DISCREPANCY.

optional int32 shared_tree_balance_tolerance = 305 [default = 1];

Returns
The sharedTreeBalanceTolerance.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8050 of file SatParameters.java.

◆ getSharedTreeMaxNodesPerWorker()

int com.google.ortools.sat.SatParameters.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 = 10000];

Returns
The sharedTreeMaxNodesPerWorker.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7993 of file SatParameters.java.

◆ getSharedTreeNumWorkers()

int com.google.ortools.sat.SatParameters.getSharedTreeNumWorkers ( )
Enables shared tree search.
If positive, 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.
Specifying a negative number uses a heuristic to select an appropriate
number of shared tree workeres based on the total number of workers.

optional int32 shared_tree_num_workers = 235 [default = 0];

Returns
The sharedTreeNumWorkers.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7819 of file SatParameters.java.

◆ getSharedTreeOpenLeavesPerWorker()

double com.google.ortools.sat.SatParameters.getSharedTreeOpenLeavesPerWorker ( )
How many open leaf nodes should the shared tree maintain per worker.

optional double shared_tree_open_leaves_per_worker = 281 [default = 2];

Returns
The sharedTreeOpenLeavesPerWorker.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7960 of file SatParameters.java.

◆ getSharedTreeSplitStrategy()

com.google.ortools.sat.SatParameters.SharedTreeSplitStrategy com.google.ortools.sat.SatParameters.getSharedTreeSplitStrategy ( )

optional .operations_research.sat.SatParameters.SharedTreeSplitStrategy shared_tree_split_strategy = 239 [default = SPLIT_STRATEGY_AUTO];

Returns
The sharedTreeSplitStrategy.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8010 of file SatParameters.java.

◆ getSharedTreeWorkerEnablePhaseSharing()

boolean com.google.ortools.sat.SatParameters.getSharedTreeWorkerEnablePhaseSharing ( )
If true, shared tree workers share their target phase when returning an
assigned subtree for the next worker to use.

optional bool shared_tree_worker_enable_phase_sharing = 304 [default = true];

Returns
The sharedTreeWorkerEnablePhaseSharing.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7933 of file SatParameters.java.

◆ getSharedTreeWorkerEnableTrailSharing()

boolean com.google.ortools.sat.SatParameters.getSharedTreeWorkerEnableTrailSharing ( )
If true, workers share more of the information from their local trail.
Specifically, literals implied by the shared tree decisions.

optional bool shared_tree_worker_enable_trail_sharing = 295 [default = true];

Returns
The sharedTreeWorkerEnableTrailSharing.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7904 of file SatParameters.java.

◆ getSharedTreeWorkerMinRestartsPerSubtree()

int com.google.ortools.sat.SatParameters.getSharedTreeWorkerMinRestartsPerSubtree ( )
Minimum restarts before a worker will replace a subtree
that looks "bad" based on the average LBD of learned clauses.

optional int32 shared_tree_worker_min_restarts_per_subtree = 282 [default = 1];

Returns
The sharedTreeWorkerMinRestartsPerSubtree.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7875 of file SatParameters.java.

◆ getShareGlueClauses()

boolean com.google.ortools.sat.SatParameters.getShareGlueClauses ( )
Allows sharing of short glue clauses between workers.
Implicitly disabled if share_binary_clauses is false.

optional bool share_glue_clauses = 285 [default = false];

Returns
The shareGlueClauses.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5681 of file SatParameters.java.

◆ getShareLevelZeroBounds()

boolean com.google.ortools.sat.SatParameters.getShareLevelZeroBounds ( )
Allows sharing of the bounds of modified variables at level 0.

optional bool share_level_zero_bounds = 114 [default = true];

Returns
The shareLevelZeroBounds.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5625 of file SatParameters.java.

◆ getShareObjectiveBounds()

boolean com.google.ortools.sat.SatParameters.getShareObjectiveBounds ( )
Allows objective sharing between workers.

optional bool share_objective_bounds = 113 [default = true];

Returns
The shareObjectiveBounds.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5598 of file SatParameters.java.

◆ getShavingSearchDeterministicTime()

double com.google.ortools.sat.SatParameters.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];

Returns
The shavingSearchDeterministicTime.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7073 of file SatParameters.java.

◆ getShavingSearchThreshold()

long com.google.ortools.sat.SatParameters.getShavingSearchThreshold ( )
Specifies the threshold between two modes in the shaving procedure.
If the range of the variable/objective is less than this threshold, then
the shaving procedure will try to remove values one by one. Otherwise, it
will try to remove one range at a time.

optional int64 shaving_search_threshold = 290 [default = 64];

Returns
The shavingSearchThreshold.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7106 of file SatParameters.java.

◆ getSolutionPoolSize()

int com.google.ortools.sat.SatParameters.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];

Returns
The solutionPoolSize.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8482 of file SatParameters.java.

◆ getStopAfterFirstSolution()

boolean com.google.ortools.sat.SatParameters.getStopAfterFirstSolution ( )
For an optimization problem, stop the solver as soon as we have a solution.

optional bool stop_after_first_solution = 98 [default = false];

Returns
The stopAfterFirstSolution.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8303 of file SatParameters.java.

◆ getStopAfterPresolve()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The stopAfterPresolve.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8332 of file SatParameters.java.

◆ getStopAfterRootPropagation()

boolean com.google.ortools.sat.SatParameters.getStopAfterRootPropagation ( )

optional bool stop_after_root_propagation = 252 [default = false];

Returns
The stopAfterRootPropagation.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8351 of file SatParameters.java.

◆ getStrategyChangeIncreaseRatio()

double com.google.ortools.sat.SatParameters.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];

Returns
The strategyChangeIncreaseRatio.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3269 of file SatParameters.java.

◆ getSubsolverParams()

com.google.ortools.sat.SatParameters com.google.ortools.sat.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. If a
subsolver_params has the name of an existing subsolver configuration, the
named parameters will be merged into the subsolver configuration.

repeated .operations_research.sat.SatParameters subsolver_params = 210;

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5499 of file SatParameters.java.

◆ getSubsolverParamsCount()

int com.google.ortools.sat.SatParameters.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. If a
subsolver_params has the name of an existing subsolver configuration, the
named parameters will be merged into the subsolver configuration.

repeated .operations_research.sat.SatParameters subsolver_params = 210;

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5484 of file SatParameters.java.

◆ getSubsolverParamsList()

java.util.List< com.google.ortools.sat.SatParameters > com.google.ortools.sat.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. If a
subsolver_params has the name of an existing subsolver configuration, the
named parameters will be merged into the subsolver configuration.

repeated .operations_research.sat.SatParameters subsolver_params = 210;

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5453 of file SatParameters.java.

◆ getSubsolverParamsOrBuilder()

com.google.ortools.sat.SatParametersOrBuilder com.google.ortools.sat.SatParameters.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. If a
subsolver_params has the name of an existing subsolver configuration, the
named parameters will be merged into the subsolver configuration.

repeated .operations_research.sat.SatParameters subsolver_params = 210;

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5514 of file SatParameters.java.

◆ getSubsolverParamsOrBuilderList()

java.util.List<? extends com.google.ortools.sat.SatParametersOrBuilder > com.google.ortools.sat.SatParameters.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. If a
subsolver_params has the name of an existing subsolver configuration, the
named parameters will be merged into the subsolver configuration.

repeated .operations_research.sat.SatParameters subsolver_params = 210;

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5469 of file SatParameters.java.

◆ getSubsolvers()

java.lang.String com.google.ortools.sat.SatParameters.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. This only applies to "full" subsolvers.

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 num_full_subsolvers will be
scheduled. You can see in the log which one are selected for a given run.

repeated string subsolvers = 207;

Parameters
indexThe index of the element to return.
Returns
The subsolvers at the given index.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5218 of file SatParameters.java.

◆ getSubsolversBytes()

com.google.protobuf.ByteString com.google.ortools.sat.SatParameters.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. This only applies to "full" subsolvers.

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 num_full_subsolvers will be
scheduled. You can see in the log which one are selected for a given run.

repeated string subsolvers = 207;

Parameters
indexThe index of the value to return.
Returns
The bytes of the subsolvers at the given index.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5255 of file SatParameters.java.

◆ getSubsolversCount()

int com.google.ortools.sat.SatParameters.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. This only applies to "full" subsolvers.

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 num_full_subsolvers will be
scheduled. You can see in the log which one are selected for a given run.

repeated string subsolvers = 207;

Returns
The count of subsolvers.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5182 of file SatParameters.java.

◆ getSubsolversList()

com.google.protobuf.ProtocolStringList com.google.ortools.sat.SatParameters.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. This only applies to "full" subsolvers.

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 num_full_subsolvers will be
scheduled. You can see in the log which one are selected for a given run.

repeated string subsolvers = 207;

Returns
A list containing the subsolvers.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5147 of file SatParameters.java.

◆ getSubsumptionDuringConflictAnalysis()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The subsumptionDuringConflictAnalysis.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2535 of file SatParameters.java.

◆ getSymmetryDetectionDeterministicTimeLimit()

double com.google.ortools.sat.SatParameters.getSymmetryDetectionDeterministicTimeLimit ( )
Deterministic time limit for symmetry detection.

optional double symmetry_detection_deterministic_time_limit = 302 [default = 1];

Returns
The symmetryDetectionDeterministicTimeLimit.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9168 of file SatParameters.java.

◆ getSymmetryLevel()

int com.google.ortools.sat.SatParameters.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. At level 3, we also detect symmetries for very
large models, which can be slow. At level 4, we try to break as much
symmetry as possible in presolve.

optional int32 symmetry_level = 183 [default = 2];

Returns
The symmetryLevel.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9073 of file SatParameters.java.

◆ getTableCompressionLevel()

int com.google.ortools.sat.SatParameters.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];

Returns
The tableCompressionLevel.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4330 of file SatParameters.java.

◆ getUseAbslRandom()

boolean com.google.ortools.sat.SatParameters.getUseAbslRandom ( )

optional bool use_absl_random = 180 [default = false];

Returns
The useAbslRandom.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3624 of file SatParameters.java.

◆ getUseAllDifferentForCircuit()

boolean com.google.ortools.sat.SatParameters.getUseAllDifferentForCircuit ( )
Turn on extra propagation for the circuit constraint.
This can be quite slow.

optional bool use_all_different_for_circuit = 311 [default = false];

Returns
The useAllDifferentForCircuit.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6718 of file SatParameters.java.

◆ getUseAreaEnergeticReasoningInNoOverlap2D()

boolean com.google.ortools.sat.SatParameters.getUseAreaEnergeticReasoningInNoOverlap2D ( )
When this is true, the no_overlap_2d constraint is reinforced with
an energetic reasoning that uses an area-based energy. This can be combined
with the two other overlap heuristics above.

optional bool use_area_energetic_reasoning_in_no_overlap_2d = 271 [default = false];

Returns
The useAreaEnergeticReasoningInNoOverlap2d.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6563 of file SatParameters.java.

◆ getUseBlockingRestart()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useBlockingRestart.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3171 of file SatParameters.java.

◆ getUseCombinedNoOverlap()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useCombinedNoOverlap.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8827 of file SatParameters.java.

◆ getUseConservativeScaleOverloadChecker()

boolean com.google.ortools.sat.SatParameters.getUseConservativeScaleOverloadChecker ( )
Enable a heuristic to solve cumulative constraints using a modified energy
constraint. We modify the usual energy definition by applying a
super-additive function (also called "conservative scale" or "dual-feasible
function") to the demand and the durations of the tasks.

This heuristic is fast but for most problems it does not help much to find
a solution.

optional bool use_conservative_scale_overload_checker = 286 [default = false];

Returns
The useConservativeScaleOverloadChecker.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6297 of file SatParameters.java.

◆ getUseDisjunctiveConstraintInCumulative()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useDisjunctiveConstraintInCumulative.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6466 of file SatParameters.java.

◆ getUseDualSchedulingHeuristics()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useDualSchedulingHeuristics.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6689 of file SatParameters.java.

◆ getUseDynamicPrecedenceInCumulative()

boolean com.google.ortools.sat.SatParameters.getUseDynamicPrecedenceInCumulative ( )

optional bool use_dynamic_precedence_in_cumulative = 268 [default = false];

Returns
The useDynamicPrecedenceInCumulative.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6219 of file SatParameters.java.

◆ getUseDynamicPrecedenceInDisjunctive()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useDynamicPrecedenceInDisjunctive.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6200 of file SatParameters.java.

◆ getUseEnergeticReasoningInNoOverlap2D()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useEnergeticReasoningInNoOverlap2d.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6532 of file SatParameters.java.

◆ getUseErwaHeuristic()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useErwaHeuristic.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2396 of file SatParameters.java.

◆ getUseExactLpReason()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useExactLpReason.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8796 of file SatParameters.java.

◆ getUseExtendedProbing()

boolean com.google.ortools.sat.SatParameters.getUseExtendedProbing ( )
Use extended probing (probe bool_or, at_most_one, exactly_one).

optional bool use_extended_probing = 269 [default = true];

Returns
The useExtendedProbing.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6988 of file SatParameters.java.

◆ getUseFeasibilityJump()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useFeasibilityJump.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7430 of file SatParameters.java.

◆ getUseFeasibilityPump()

boolean com.google.ortools.sat.SatParameters.getUseFeasibilityPump ( )
Adds a feasibility pump subsolver along with lns subsolvers.

optional bool use_feasibility_pump = 164 [default = true];

Returns
The useFeasibilityPump.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8536 of file SatParameters.java.

◆ getUseHardPrecedencesInCumulative()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useHardPrecedencesInCumulative.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6402 of file SatParameters.java.

◆ getUseImpliedBounds()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useImpliedBounds.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8918 of file SatParameters.java.

◆ getUseLbRelaxLns()

boolean com.google.ortools.sat.SatParameters.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 = true];

Returns
The useLbRelaxLns.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8567 of file SatParameters.java.

◆ getUseLns()

boolean com.google.ortools.sat.SatParameters.getUseLns ( )
Testing parameters used to disable all lns workers.

optional bool use_lns = 283 [default = true];

Returns
The useLns.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8424 of file SatParameters.java.

◆ getUseLnsOnly()

boolean com.google.ortools.sat.SatParameters.getUseLnsOnly ( )
Experimental parameters to disable everything but lns.

optional bool use_lns_only = 101 [default = false];

Returns
The useLnsOnly.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8451 of file SatParameters.java.

◆ getUseLsOnly()

boolean com.google.ortools.sat.SatParameters.getUseLsOnly ( )
Disable every other type of subsolver, setting this turns CP-SAT into a
pure local-search solver.

optional bool use_ls_only = 240 [default = false];

Returns
The useLsOnly.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7459 of file SatParameters.java.

◆ getUseObjectiveLbSearch()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useObjectiveLbSearch.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7135 of file SatParameters.java.

◆ getUseObjectiveShavingSearch()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useObjectiveShavingSearch.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7166 of file SatParameters.java.

◆ getUseOptimizationHints()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useOptimizationHints.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5857 of file SatParameters.java.

◆ getUseOptionalVariables()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useOptionalVariables.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8763 of file SatParameters.java.

◆ getUseOverloadCheckerInCumulative()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useOverloadCheckerInCumulative.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6258 of file SatParameters.java.

◆ getUsePbResolution()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The usePbResolution.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3836 of file SatParameters.java.

◆ getUsePhaseSaving()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The usePhaseSaving.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2239 of file SatParameters.java.

◆ getUsePrecedencesInDisjunctiveConstraint()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The usePrecedencesInDisjunctiveConstraint.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6101 of file SatParameters.java.

◆ getUseProbingSearch()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useProbingSearch.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6961 of file SatParameters.java.

◆ getUseRinsLns()

boolean com.google.ortools.sat.SatParameters.getUseRinsLns ( )
Turns on relaxation induced neighborhood generator.

optional bool use_rins_lns = 129 [default = true];

Returns
The useRinsLns.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8509 of file SatParameters.java.

◆ getUseSatInprocessing()

boolean com.google.ortools.sat.SatParameters.getUseSatInprocessing ( )
Enable or disable "inprocessing" which is some SAT presolving done at
each restart to the root level.

optional bool use_sat_inprocessing = 163 [default = true];

Returns
The useSatInprocessing.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4858 of file SatParameters.java.

◆ getUseSharedTreeSearch()

boolean com.google.ortools.sat.SatParameters.getUseSharedTreeSearch ( )
Set on shared subtree workers. Users should not set this directly.

optional bool use_shared_tree_search = 236 [default = false];

Returns
The useSharedTreeSearch.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7846 of file SatParameters.java.

◆ getUseShavingInProbingSearch()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useShavingInProbingSearch.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7044 of file SatParameters.java.

◆ getUseStrongPropagationInDisjunctive()

boolean com.google.ortools.sat.SatParameters.getUseStrongPropagationInDisjunctive ( )
Enable stronger and more expensive propagation on no_overlap constraint.

optional bool use_strong_propagation_in_disjunctive = 230 [default = false];

Returns
The useStrongPropagationInDisjunctive.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6163 of file SatParameters.java.

◆ getUseSymmetryInLp()

boolean com.google.ortools.sat.SatParameters.getUseSymmetryInLp ( )
When we have symmetry, it is possible to "fold" all variables from the same
orbit into a single variable, while having the same power of LP relaxation.
This can help significantly on symmetric problem. However there is
currently a bit of overhead as the rest of the solver need to do some
translation between the folded LP and the rest of the problem.

optional bool use_symmetry_in_lp = 301 [default = false];

Returns
The useSymmetryInLp.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9108 of file SatParameters.java.

◆ getUseTimetableEdgeFindingInCumulative()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useTimetableEdgeFindingInCumulative.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6336 of file SatParameters.java.

◆ getUseTimetablingInNoOverlap2D()

boolean com.google.ortools.sat.SatParameters.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];

Returns
The useTimetablingInNoOverlap2d.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6501 of file SatParameters.java.

◆ getUseTryEdgeReasoningInNoOverlap2D()

boolean com.google.ortools.sat.SatParameters.getUseTryEdgeReasoningInNoOverlap2D ( )

optional bool use_try_edge_reasoning_in_no_overlap_2d = 299 [default = false];

Returns
The useTryEdgeReasoningInNoOverlap2d.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6582 of file SatParameters.java.

◆ getUseVariablesShavingSearch()

boolean com.google.ortools.sat.SatParameters.getUseVariablesShavingSearch ( )
This search takes all Boolean or integer variables, and maximize or
minimize them in order to reduce their domain.

optional bool use_variables_shaving_search = 289 [default = false];

Returns
The useVariablesShavingSearch.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7195 of file SatParameters.java.

◆ getVariableActivityDecay()

double com.google.ortools.sat.SatParameters.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];

Returns
The variableActivityDecay.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2774 of file SatParameters.java.

◆ getViolationLsCompoundMoveProbability()

double com.google.ortools.sat.SatParameters.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];

Returns
The violationLsCompoundMoveProbability.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7780 of file SatParameters.java.

◆ getViolationLsPerturbationPeriod()

int com.google.ortools.sat.SatParameters.getViolationLsPerturbationPeriod ( )
How long violation_ls should wait before perturbating a solution.

optional int32 violation_ls_perturbation_period = 249 [default = 100];

Returns
The violationLsPerturbationPeriod.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7751 of file SatParameters.java.

◆ hasAbsoluteGapLimit()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the absoluteGapLimit field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3466 of file SatParameters.java.

◆ hasAddCgCuts()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the addCgCuts field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9471 of file SatParameters.java.

◆ hasAddCliqueCuts()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the addCliqueCuts field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9559 of file SatParameters.java.

◆ hasAddLinMaxCuts()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the addLinMaxCuts field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9650 of file SatParameters.java.

◆ hasAddLpConstraintsLazily()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the addLpConstraintsLazily field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9723 of file SatParameters.java.

◆ hasAddMirCuts()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the addMirCuts field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9500 of file SatParameters.java.

◆ hasAddObjectiveCut()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the addObjectiveCut field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9439 of file SatParameters.java.

◆ hasAddRltCuts()

boolean com.google.ortools.sat.SatParameters.hasAddRltCuts ( )
Whether we generate RLT cuts. This is still experimental but can help on
binary problem with a lot of clauses of size 3.

optional bool add_rlt_cuts = 279 [default = true];

Returns
Whether the addRltCuts field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9589 of file SatParameters.java.

◆ hasAddZeroHalfCuts()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the addZeroHalfCuts field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9529 of file SatParameters.java.

◆ hasAlsoBumpVariablesInConflictReasons()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the alsoBumpVariablesInConflictReasons field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2451 of file SatParameters.java.

◆ hasAtMostOneMaxExpansionSize()

boolean com.google.ortools.sat.SatParameters.hasAtMostOneMaxExpansionSize ( )
All at_most_one constraints with a size <= param will be replaced by a
quadratic number of binary implications.

optional int32 at_most_one_max_expansion_size = 270 [default = 3];

Returns
Whether the atMostOneMaxExpansionSize field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8843 of file SatParameters.java.

◆ hasAutoDetectGreaterThanAtLeastOneOf()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the autoDetectGreaterThanAtLeastOneOf field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8261 of file SatParameters.java.

◆ hasBinaryMinimizationAlgorithm()

boolean com.google.ortools.sat.SatParameters.hasBinaryMinimizationAlgorithm ( )

optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];

Returns
Whether the binaryMinimizationAlgorithm field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2494 of file SatParameters.java.

◆ hasBinarySearchNumConflicts()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the binarySearchNumConflicts field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7347 of file SatParameters.java.

◆ hasBlockingRestartMultiplier()

boolean com.google.ortools.sat.SatParameters.hasBlockingRestartMultiplier ( )

optional double blocking_restart_multiplier = 66 [default = 1.4];

Returns
Whether the blockingRestartMultiplier field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3201 of file SatParameters.java.

◆ hasBlockingRestartWindowSize()

boolean com.google.ortools.sat.SatParameters.hasBlockingRestartWindowSize ( )

optional int32 blocking_restart_window_size = 65 [default = 5000];

Returns
Whether the blockingRestartWindowSize field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3182 of file SatParameters.java.

◆ hasBooleanEncodingLevel()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the booleanEncodingLevel field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9279 of file SatParameters.java.

◆ hasCatchSigintSignal()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the catchSigintSignal field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8873 of file SatParameters.java.

◆ hasClauseActivityDecay()

boolean com.google.ortools.sat.SatParameters.hasClauseActivityDecay ( )
Clause activity parameters (same effect as the one on the variables).

optional double clause_activity_decay = 17 [default = 0.999];

Returns
Whether the clauseActivityDecay field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2881 of file SatParameters.java.

◆ hasClauseCleanupLbdBound()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the clauseCleanupLbdBound field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2656 of file SatParameters.java.

◆ hasClauseCleanupOrdering()

boolean com.google.ortools.sat.SatParameters.hasClauseCleanupOrdering ( )

optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];

Returns
Whether the clauseCleanupOrdering field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2679 of file SatParameters.java.

◆ hasClauseCleanupPeriod()

boolean com.google.ortools.sat.SatParameters.hasClauseCleanupPeriod ( )
Trigger a cleanup when this number of "deletable" clauses is learned.

optional int32 clause_cleanup_period = 11 [default = 10000];

Returns
Whether the clauseCleanupPeriod field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2550 of file SatParameters.java.

◆ hasClauseCleanupProtection()

boolean com.google.ortools.sat.SatParameters.hasClauseCleanupProtection ( )

optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];

Returns
Whether the clauseCleanupProtection field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2632 of file SatParameters.java.

◆ hasClauseCleanupRatio()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the clauseCleanupRatio field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2608 of file SatParameters.java.

◆ hasClauseCleanupTarget()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the clauseCleanupTarget field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2578 of file SatParameters.java.

◆ hasConvertIntervals()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the convertIntervals field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9022 of file SatParameters.java.

◆ hasCoreMinimizationLevel()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the coreMinimizationLevel field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5875 of file SatParameters.java.

◆ hasCountAssumptionLevelsInLbd()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the countAssumptionLevelsInLbd field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3892 of file SatParameters.java.

◆ hasCoverOptimization()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the coverOptimization field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5936 of file SatParameters.java.

◆ hasCpModelPresolve()

boolean com.google.ortools.sat.SatParameters.hasCpModelPresolve ( )
Whether we presolve the cp_model before solving it.

optional bool cp_model_presolve = 86 [default = true];

Returns
Whether the cpModelPresolve field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4161 of file SatParameters.java.

◆ hasCpModelProbingLevel()

boolean com.google.ortools.sat.SatParameters.hasCpModelProbingLevel ( )
How much effort do we spend on probing. 0 disables it completely.

optional int32 cp_model_probing_level = 110 [default = 2];

Returns
Whether the cpModelProbingLevel field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4188 of file SatParameters.java.

◆ hasCpModelUseSatPresolve()

boolean com.google.ortools.sat.SatParameters.hasCpModelUseSatPresolve ( )
Whether we also use the sat presolve when cp_model_presolve is true.

optional bool cp_model_use_sat_presolve = 93 [default = true];

Returns
Whether the cpModelUseSatPresolve field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4215 of file SatParameters.java.

◆ hasCutActiveCountDecay()

boolean com.google.ortools.sat.SatParameters.hasCutActiveCountDecay ( )

optional double cut_active_count_decay = 156 [default = 0.8];

Returns
Whether the cutActiveCountDecay field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9906 of file SatParameters.java.

◆ hasCutCleanupTarget()

boolean com.google.ortools.sat.SatParameters.hasCutCleanupTarget ( )
Target number of constraints to remove during cleanup.

optional int32 cut_cleanup_target = 157 [default = 1000];

Returns
Whether the cutCleanupTarget field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9929 of file SatParameters.java.

◆ hasCutLevel()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the cutLevel field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9377 of file SatParameters.java.

◆ hasCutMaxActiveCountValue()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the cutMaxActiveCountValue field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9881 of file SatParameters.java.

◆ hasDebugCrashIfPresolveBreaksHint()

boolean com.google.ortools.sat.SatParameters.hasDebugCrashIfPresolveBreaksHint ( )
Crash if presolve breaks a feasible hint.

optional bool debug_crash_if_presolve_breaks_hint = 306 [default = false];

Returns
Whether the debugCrashIfPresolveBreaksHint field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5812 of file SatParameters.java.

◆ hasDebugCrashOnBadHint()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the debugCrashOnBadHint field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5785 of file SatParameters.java.

◆ hasDebugMaxNumPresolveOperations()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the debugMaxNumPresolveOperations field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5757 of file SatParameters.java.

◆ hasDebugPostsolveWithFullSolver()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the debugPostsolveWithFullSolver field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5727 of file SatParameters.java.

◆ hasDefaultRestartAlgorithms()

boolean com.google.ortools.sat.SatParameters.hasDefaultRestartAlgorithms ( )

optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];

Returns
Whether the defaultRestartAlgorithms field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2999 of file SatParameters.java.

◆ hasDetectLinearizedProduct()

boolean com.google.ortools.sat.SatParameters.hasDetectLinearizedProduct ( )
Infer products of Boolean or of Boolean time IntegerVariable from the
linear constrainst in the problem. This can be used in some cuts, altough
for now we don't really exploit it.

optional bool detect_linearized_product = 277 [default = false];

Returns
Whether the detectLinearizedProduct field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10138 of file SatParameters.java.

◆ hasDetectTableWithCost()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the detectTableWithCost field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4280 of file SatParameters.java.

◆ hasDisableConstraintExpansion()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the disableConstraintExpansion field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4523 of file SatParameters.java.

◆ hasDiversifyLnsParams()

boolean com.google.ortools.sat.SatParameters.hasDiversifyLnsParams ( )
If true, registers more lns subsolvers with different parameters.

optional bool diversify_lns_params = 137 [default = false];

Returns
Whether the diversifyLnsParams field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8627 of file SatParameters.java.

◆ hasEncodeComplexLinearConstraintWithInteger()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the encodeComplexLinearConstraintWithInteger field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4552 of file SatParameters.java.

◆ hasEncodeCumulativeAsReservoir()

boolean com.google.ortools.sat.SatParameters.hasEncodeCumulativeAsReservoir ( )
Encore cumulative with fixed demands and capacity as a reservoir
constraint. The only reason you might want to do that is to test the
reservoir propagation code!

optional bool encode_cumulative_as_reservoir = 287 [default = false];

Returns
Whether the encodeCumulativeAsReservoir field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4458 of file SatParameters.java.

◆ hasEnumerateAllSolutions()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the enumerateAllSolutions field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8071 of file SatParameters.java.

◆ hasExpandAlldiffConstraints()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the expandAlldiffConstraints field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4346 of file SatParameters.java.

◆ hasExpandReservoirConstraints()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the expandReservoirConstraints field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4375 of file SatParameters.java.

◆ hasExpandReservoirUsingCircuit()

boolean com.google.ortools.sat.SatParameters.hasExpandReservoirUsingCircuit ( )
Mainly useful for testing.

If this and expand_reservoir_constraints is true, we use a different
encoding of the reservoir constraint using circuit instead of precedences.
Note that this is usually slower, but can exercise different part of the
solver. Note that contrary to the precedence encoding, this easily support
variable demands.

WARNING: with this encoding, the constraint takes a slightly different
meaning. There must exist a permutation of the events occurring at the same
time such that the level is within the reservoir after each of these events
(in this permuted order). So we cannot have +100 and -100 at the same time
if the level must be between 0 and 10 (as authorized by the reservoir
constraint).

optional bool expand_reservoir_using_circuit = 288 [default = false];

Returns
Whether the expandReservoirUsingCircuit field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4416 of file SatParameters.java.

◆ hasExploitAllLpSolution()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the exploitAllLpSolution field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10020 of file SatParameters.java.

◆ hasExploitAllPrecedences()

boolean com.google.ortools.sat.SatParameters.hasExploitAllPrecedences ( )

optional bool exploit_all_precedences = 220 [default = false];

Returns
Whether the exploitAllPrecedences field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6413 of file SatParameters.java.

◆ hasExploitBestSolution()

boolean com.google.ortools.sat.SatParameters.hasExploitBestSolution ( )
When branching on a variable, follow the last best solution value.

optional bool exploit_best_solution = 130 [default = false];

Returns
Whether the exploitBestSolution field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10049 of file SatParameters.java.

◆ hasExploitIntegerLpSolution()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the exploitIntegerLpSolution field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9988 of file SatParameters.java.

◆ hasExploitObjective()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the exploitObjective field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10108 of file SatParameters.java.

◆ hasExploitRelaxationSolution()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the exploitRelaxationSolution field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10078 of file SatParameters.java.

◆ hasFeasibilityJumpBatchDtime()

boolean com.google.ortools.sat.SatParameters.hasFeasibilityJumpBatchDtime ( )
How much dtime for each LS batch.

optional double feasibility_jump_batch_dtime = 292 [default = 0.1];

Returns
Whether the feasibilityJumpBatchDtime field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7559 of file SatParameters.java.

◆ hasFeasibilityJumpDecay()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the feasibilityJumpDecay field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7475 of file SatParameters.java.

◆ hasFeasibilityJumpEnableRestarts()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the feasibilityJumpEnableRestarts field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7646 of file SatParameters.java.

◆ hasFeasibilityJumpLinearizationLevel()

boolean com.google.ortools.sat.SatParameters.hasFeasibilityJumpLinearizationLevel ( )
How much do we linearize the problem in the local search code.

optional int32 feasibility_jump_linearization_level = 257 [default = 2];

Returns
Whether the feasibilityJumpLinearizationLevel field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7503 of file SatParameters.java.

◆ hasFeasibilityJumpMaxExpandedConstraintSize()

boolean com.google.ortools.sat.SatParameters.hasFeasibilityJumpMaxExpandedConstraintSize ( )
Maximum size of no_overlap or no_overlap_2d constraint for a quadratic
expansion. This might look a lot, but by expanding such constraint, we get
a linear time evaluation per single variable moves instead of a slow O(n
log n) one.

optional int32 feasibility_jump_max_expanded_constraint_size = 264 [default = 500];

Returns
Whether the feasibilityJumpMaxExpandedConstraintSize field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7678 of file SatParameters.java.

◆ hasFeasibilityJumpRestartFactor()

boolean com.google.ortools.sat.SatParameters.hasFeasibilityJumpRestartFactor ( )
This is a factor that directly influence the work before each restart.
Increasing it leads to longer restart.

optional int32 feasibility_jump_restart_factor = 258 [default = 1];

Returns
Whether the feasibilityJumpRestartFactor field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7531 of file SatParameters.java.

◆ hasFeasibilityJumpVarPerburbationRangeRatio()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the feasibilityJumpVarPerburbationRangeRatio field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7616 of file SatParameters.java.

◆ hasFeasibilityJumpVarRandomizationProbability()

boolean com.google.ortools.sat.SatParameters.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.05];

Returns
Whether the feasibilityJumpVarRandomizationProbability field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7587 of file SatParameters.java.

◆ hasFillAdditionalSolutionsInResponse()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the fillAdditionalSolutionsInResponse field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8189 of file SatParameters.java.

◆ hasFillTightenedDomainsInResponse()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the fillTightenedDomainsInResponse field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8149 of file SatParameters.java.

◆ hasFindBigLinearOverlap()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the findBigLinearOverlap field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4814 of file SatParameters.java.

◆ hasFindMultipleCores()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the findMultipleCores field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5906 of file SatParameters.java.

◆ hasFixVariablesToTheirHintedValue()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the fixVariablesToTheirHintedValue field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6917 of file SatParameters.java.

◆ hasFpRounding()

boolean com.google.ortools.sat.SatParameters.hasFpRounding ( )

optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];

Returns
Whether the fpRounding field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8604 of file SatParameters.java.

◆ hasGlucoseDecayIncrement()

boolean com.google.ortools.sat.SatParameters.hasGlucoseDecayIncrement ( )

optional double glucose_decay_increment = 23 [default = 0.01];

Returns
Whether the glucoseDecayIncrement field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2839 of file SatParameters.java.

◆ hasGlucoseDecayIncrementPeriod()

boolean com.google.ortools.sat.SatParameters.hasGlucoseDecayIncrementPeriod ( )

optional int32 glucose_decay_increment_period = 24 [default = 5000];

Returns
Whether the glucoseDecayIncrementPeriod field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2858 of file SatParameters.java.

◆ hasGlucoseMaxDecay()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the glucoseMaxDecay field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2812 of file SatParameters.java.

◆ hashCode()

int com.google.ortools.sat.SatParameters.hashCode ( )

Definition at line 13917 of file SatParameters.java.

◆ hasHintConflictLimit()

boolean com.google.ortools.sat.SatParameters.hasHintConflictLimit ( )
Conflict limit used in the phase that exploit the solution hint.

optional int32 hint_conflict_limit = 153 [default = 10];

Returns
Whether the hintConflictLimit field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6856 of file SatParameters.java.

◆ hasIgnoreNames()

boolean com.google.ortools.sat.SatParameters.hasIgnoreNames ( )
If true, we don't keep names in our internal copy of the user given model.

optional bool ignore_names = 202 [default = true];

Returns
Whether the ignoreNames field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4743 of file SatParameters.java.

◆ hasInferAllDiffs()

boolean com.google.ortools.sat.SatParameters.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.

This will also detect and add no_overlap constraints, if all the relations
x != y have "offsets" between them. I.e. x > y + offset.

optional bool infer_all_diffs = 233 [default = true];

Returns
Whether the inferAllDiffs field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4777 of file SatParameters.java.

◆ hasInitialPolarity()

boolean com.google.ortools.sat.SatParameters.hasInitialPolarity ( )

optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];

Returns
Whether the initialPolarity field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2184 of file SatParameters.java.

◆ hasInitialVariablesActivity()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the initialVariablesActivity field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2416 of file SatParameters.java.

◆ hasInprocessingDtimeRatio()

boolean com.google.ortools.sat.SatParameters.hasInprocessingDtimeRatio ( )
Proportion of deterministic time we should spend on inprocessing.
At each "restart", if the proportion is below this ratio, we will do some
inprocessing, otherwise, we skip it for this restart.

optional double inprocessing_dtime_ratio = 273 [default = 0.2];

Returns
Whether the inprocessingDtimeRatio field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4875 of file SatParameters.java.

◆ hasInprocessingMinimizationDtime()

boolean com.google.ortools.sat.SatParameters.hasInprocessingMinimizationDtime ( )
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

This is the amount of dtime we should spend on this technique during each
inprocessing phase.

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.

optional double inprocessing_minimization_dtime = 275 [default = 1];

Returns
Whether the inprocessingMinimizationDtime field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4940 of file SatParameters.java.

◆ hasInprocessingMinimizationUseAllOrderings()

boolean com.google.ortools.sat.SatParameters.hasInprocessingMinimizationUseAllOrderings ( )

optional bool inprocessing_minimization_use_all_orderings = 298 [default = false];

Returns
Whether the inprocessingMinimizationUseAllOrderings field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4991 of file SatParameters.java.

◆ hasInprocessingMinimizationUseConflictAnalysis()

boolean com.google.ortools.sat.SatParameters.hasInprocessingMinimizationUseConflictAnalysis ( )

optional bool inprocessing_minimization_use_conflict_analysis = 297 [default = true];

Returns
Whether the inprocessingMinimizationUseConflictAnalysis field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4972 of file SatParameters.java.

◆ hasInprocessingProbingDtime()

boolean com.google.ortools.sat.SatParameters.hasInprocessingProbingDtime ( )
The amount of dtime we should spend on probing for each inprocessing round.

optional double inprocessing_probing_dtime = 274 [default = 1];

Returns
Whether the inprocessingProbingDtime field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4904 of file SatParameters.java.

◆ hasInstantiateAllVariables()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the instantiateAllVariables field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8228 of file SatParameters.java.

◆ hasInterleaveBatchSize()

boolean com.google.ortools.sat.SatParameters.hasInterleaveBatchSize ( )

optional int32 interleave_batch_size = 134 [default = 0];

Returns
Whether the interleaveBatchSize field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5563 of file SatParameters.java.

◆ hasInterleaveSearch()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the interleaveSearch field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5535 of file SatParameters.java.

◆ hasKeepAllFeasibleSolutionsInPresolve()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the keepAllFeasibleSolutionsInPresolve field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8111 of file SatParameters.java.

◆ hasKeepSymmetryInPresolve()

boolean com.google.ortools.sat.SatParameters.hasKeepSymmetryInPresolve ( )
Experimental. This will compute the symmetry of the problem once and for
all. All presolve operations we do should keep the symmetry group intact
or modify it properly. For now we have really little support for this. We
will disable a bunch of presolve operations that could be supported.

optional bool keep_symmetry_in_presolve = 303 [default = false];

Returns
Whether the keepSymmetryInPresolve field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9126 of file SatParameters.java.

◆ hasLbRelaxNumWorkersThreshold()

boolean com.google.ortools.sat.SatParameters.hasLbRelaxNumWorkersThreshold ( )
Only use lb-relax if we have at least that many workers.

optional int32 lb_relax_num_workers_threshold = 296 [default = 16];

Returns
Whether the lbRelaxNumWorkersThreshold field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8582 of file SatParameters.java.

◆ hasLinearizationLevel()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the linearizationLevel field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9248 of file SatParameters.java.

◆ hasLinearSplitSize()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the linearSplitSize field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9216 of file SatParameters.java.

◆ hasLnsInitialDeterministicLimit()

boolean com.google.ortools.sat.SatParameters.hasLnsInitialDeterministicLimit ( )

optional double lns_initial_deterministic_limit = 308 [default = 0.1];

Returns
Whether the lnsInitialDeterministicLimit field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8389 of file SatParameters.java.

◆ hasLnsInitialDifficulty()

boolean com.google.ortools.sat.SatParameters.hasLnsInitialDifficulty ( )
Initial parameters for neighborhood generation.

optional double lns_initial_difficulty = 307 [default = 0.5];

Returns
Whether the lnsInitialDifficulty field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8366 of file SatParameters.java.

◆ hasLogPrefix()

boolean com.google.ortools.sat.SatParameters.hasLogPrefix ( )
Add a prefix to all logs.

optional string log_prefix = 185 [default = ""];

Returns
Whether the logPrefix field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3704 of file SatParameters.java.

◆ hasLogSearchProgress()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the logSearchProgress field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3641 of file SatParameters.java.

◆ hasLogSubsolverStatistics()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the logSubsolverStatistics field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3673 of file SatParameters.java.

◆ hasLogToResponse()

boolean com.google.ortools.sat.SatParameters.hasLogToResponse ( )
Log to response proto.

optional bool log_to_response = 187 [default = false];

Returns
Whether the logToResponse field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3791 of file SatParameters.java.

◆ hasLogToStdout()

boolean com.google.ortools.sat.SatParameters.hasLogToStdout ( )
Log to stdout.

optional bool log_to_stdout = 186 [default = true];

Returns
Whether the logToStdout field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3764 of file SatParameters.java.

◆ hasLpDualTolerance()

boolean com.google.ortools.sat.SatParameters.hasLpDualTolerance ( )

optional double lp_dual_tolerance = 267 [default = 1e-07];

Returns
Whether the lpDualTolerance field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8997 of file SatParameters.java.

◆ hasLpPrimalTolerance()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the lpPrimalTolerance field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8970 of file SatParameters.java.

◆ hasMaxAllDiffCutSize()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the maxAllDiffCutSize field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9619 of file SatParameters.java.

◆ hasMaxClauseActivityValue()

boolean com.google.ortools.sat.SatParameters.hasMaxClauseActivityValue ( )

optional double max_clause_activity_value = 18 [default = 1e+20];

Returns
Whether the maxClauseActivityValue field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2904 of file SatParameters.java.

◆ hasMaxConsecutiveInactiveCount()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the maxConsecutiveInactiveCount field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9850 of file SatParameters.java.

◆ hasMaxCutRoundsAtLevelZero()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the maxCutRoundsAtLevelZero field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9821 of file SatParameters.java.

◆ hasMaxDeterministicTime()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the maxDeterministicTime field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3315 of file SatParameters.java.

◆ hasMaxDomainSizeWhenEncodingEqNeqConstraints()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the maxDomainSizeWhenEncodingEqNeqConstraints field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9310 of file SatParameters.java.

◆ hasMaximumRegionsToSplitInDisconnectedNoOverlap2D()

boolean com.google.ortools.sat.SatParameters.hasMaximumRegionsToSplitInDisconnectedNoOverlap2D ( )
Detects when the space where items of a no_overlap_2d constraint can placed
is disjoint (ie., fixed boxes split the domain). When it is the case, we
can introduce a boolean for each pair <item, component> encoding whether
the item is in the component or not. Then we replace the original
no_overlap_2d constraint by one no_overlap_2d constraint for each
component, with the new booleans as the enforcement_literal of the
intervals. This is equivalent to expanding the original no_overlap_2d
constraint into a bin packing problem with each connected component being a
bin. This heuristic is only done when the number of regions to split
is less than this parameter and <= 1 disables it.

optional int32 maximum_regions_to_split_in_disconnected_no_overlap_2d = 315 [default = 0];

Returns
Whether the maximumRegionsToSplitInDisconnectedNoOverlap2d field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6637 of file SatParameters.java.

◆ hasMaxIntegerRoundingScaling()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the maxIntegerRoundingScaling field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9686 of file SatParameters.java.

◆ hasMaxLinMaxSizeForExpansion()

boolean com.google.ortools.sat.SatParameters.hasMaxLinMaxSizeForExpansion ( )
If the number of expressions in the lin_max is less that the max size
parameter, model expansion replaces target = max(xi) by linear constraint
with the introduction of new booleans bi such that bi => target == xi.

This is mainly for experimenting compared to a custom lin_max propagator.

optional int32 max_lin_max_size_for_expansion = 280 [default = 0];

Returns
Whether the maxLinMaxSizeForExpansion field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4491 of file SatParameters.java.

◆ hasMaxMemoryInMb()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the maxMemoryInMb field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3417 of file SatParameters.java.

◆ hasMaxNumberOfConflicts()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the maxNumberOfConflicts field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3379 of file SatParameters.java.

◆ hasMaxNumCuts()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the maxNumCuts field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9344 of file SatParameters.java.

◆ hasMaxNumDeterministicBatches()

boolean com.google.ortools.sat.SatParameters.hasMaxNumDeterministicBatches ( )
Stops after that number of batches has been scheduled. This only make sense
when interleave_search is true.

optional int32 max_num_deterministic_batches = 291 [default = 0];

Returns
Whether the maxNumDeterministicBatches field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3345 of file SatParameters.java.

◆ hasMaxNumIntervalsForTimetableEdgeFinding()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the maxNumIntervalsForTimetableEdgeFinding field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6352 of file SatParameters.java.

◆ hasMaxPairsPairwiseReasoningInNoOverlap2D()

boolean com.google.ortools.sat.SatParameters.hasMaxPairsPairwiseReasoningInNoOverlap2D ( )
If the number of pairs to look is below this threshold, do an extra step of
propagation in the no_overlap_2d constraint by looking at all pairs of
intervals.

optional int32 max_pairs_pairwise_reasoning_in_no_overlap_2d = 276 [default = 1250];

Returns
Whether the maxPairsPairwiseReasoningInNoOverlap2d field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6599 of file SatParameters.java.

◆ hasMaxPresolveIterations()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the maxPresolveIterations field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4132 of file SatParameters.java.

◆ hasMaxSatAssumptionOrder()

boolean com.google.ortools.sat.SatParameters.hasMaxSatAssumptionOrder ( )

optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];

Returns
Whether the maxSatAssumptionOrder field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5960 of file SatParameters.java.

◆ hasMaxSatReverseAssumptionOrder()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the maxSatReverseAssumptionOrder field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5984 of file SatParameters.java.

◆ hasMaxSatStratification()

boolean com.google.ortools.sat.SatParameters.hasMaxSatStratification ( )

optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];

Returns
Whether the maxSatStratification field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6007 of file SatParameters.java.

◆ hasMaxSizeToCreatePrecedenceLiteralsInDisjunctive()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the maxSizeToCreatePrecedenceLiteralsInDisjunctive field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6120 of file SatParameters.java.

◆ hasMaxTimeInSeconds()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the maxTimeInSeconds field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3285 of file SatParameters.java.

◆ hasMaxVariableActivityValue()

boolean com.google.ortools.sat.SatParameters.hasMaxVariableActivityValue ( )

optional double max_variable_activity_value = 16 [default = 1e+100];

Returns
Whether the maxVariableActivityValue field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2785 of file SatParameters.java.

◆ hasMergeAtMostOneWorkLimit()

boolean com.google.ortools.sat.SatParameters.hasMergeAtMostOneWorkLimit ( )

optional double merge_at_most_one_work_limit = 146 [default = 100000000];

Returns
Whether the mergeAtMostOneWorkLimit field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4611 of file SatParameters.java.

◆ hasMergeNoOverlapWorkLimit()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the mergeNoOverlapWorkLimit field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4584 of file SatParameters.java.

◆ hasMinimizationAlgorithm()

boolean com.google.ortools.sat.SatParameters.hasMinimizationAlgorithm ( )

optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];

Returns
Whether the minimizationAlgorithm field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2476 of file SatParameters.java.

◆ hasMinimizeReductionDuringPbResolution()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the minimizeReductionDuringPbResolution field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3854 of file SatParameters.java.

◆ hasMinimizeSharedClauses()

boolean com.google.ortools.sat.SatParameters.hasMinimizeSharedClauses ( )
Minimize and detect subsumption of shared clauses immediately after they
are imported.

optional bool minimize_shared_clauses = 300 [default = true];

Returns
Whether the minimizeSharedClauses field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5697 of file SatParameters.java.

◆ hasMinOrthogonalityForLpConstraints()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the minOrthogonalityForLpConstraints field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9790 of file SatParameters.java.

◆ hasMipAutomaticallyScaleVariables()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the mipAutomaticallyScaleVariables field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10264 of file SatParameters.java.

◆ hasMipCheckPrecision()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the mipCheckPrecision field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10446 of file SatParameters.java.

◆ hasMipComputeTrueObjectiveBound()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the mipComputeTrueObjectiveBound field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10479 of file SatParameters.java.

◆ hasMipDropTolerance()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the mipDropTolerance field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10583 of file SatParameters.java.

◆ hasMipMaxActivityExponent()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the mipMaxActivityExponent field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10410 of file SatParameters.java.

◆ hasMipMaxBound()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the mipMaxBound field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10169 of file SatParameters.java.

◆ hasMipMaxValidMagnitude()

boolean com.google.ortools.sat.SatParameters.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+20];

Returns
Whether the mipMaxValidMagnitude field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10514 of file SatParameters.java.

◆ hasMipPresolveLevel()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the mipPresolveLevel field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10614 of file SatParameters.java.

◆ hasMipScaleLargeDomain()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the mipScaleLargeDomain field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10231 of file SatParameters.java.

◆ hasMipTreatHighMagnitudeBoundsAsInfinity()

boolean com.google.ortools.sat.SatParameters.hasMipTreatHighMagnitudeBoundsAsInfinity ( )
By default, any variable/constraint bound with a finite value and a
magnitude greater than the mip_max_valid_magnitude will result with a
invalid model. This flags change the behavior such that such bounds are
silently transformed to +∞ or -∞.

It is recommended to keep it at false, and create valid bounds.

optional bool mip_treat_high_magnitude_bounds_as_infinity = 278 [default = false];

Returns
Whether the mipTreatHighMagnitudeBoundsAsInfinity field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10550 of file SatParameters.java.

◆ hasMipVarScaling()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the mipVarScaling field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10200 of file SatParameters.java.

◆ hasMipWantedPrecision()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the mipWantedPrecision field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10360 of file SatParameters.java.

◆ hasName()

boolean com.google.ortools.sat.SatParameters.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 = ""];

Returns
Whether the name field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2109 of file SatParameters.java.

◆ hasNewConstraintsBatchSize()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the newConstraintsBatchSize field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9957 of file SatParameters.java.

◆ hasNewLinearPropagation()

boolean com.google.ortools.sat.SatParameters.hasNewLinearPropagation ( )
The new linear propagation code treat all constraints at once and use
an adaptation of Bellman-Ford-Tarjan to propagate constraint in a smarter
order and potentially detect propagation cycle earlier.

optional bool new_linear_propagation = 224 [default = true];

Returns
Whether the newLinearPropagation field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9185 of file SatParameters.java.

◆ hasNumConflictsBeforeStrategyChanges()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the numConflictsBeforeStrategyChanges field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3226 of file SatParameters.java.

◆ hasNumFullSubsolvers()

boolean com.google.ortools.sat.SatParameters.hasNumFullSubsolvers ( )
We distinguish subsolvers that consume a full thread, and the ones that are
always interleaved. If left at zero, we will fix this with a default
formula that depends on num_workers. But if you start modifying what runs,
you might want to fix that to a given value depending on the num_workers
you use.

optional int32 num_full_subsolvers = 294 [default = 0];

Returns
Whether the numFullSubsolvers field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5090 of file SatParameters.java.

◆ hasNumSearchWorkers()

boolean com.google.ortools.sat.SatParameters.hasNumSearchWorkers ( )

optional int32 num_search_workers = 100 [default = 0];

Returns
Whether the numSearchWorkers field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5063 of file SatParameters.java.

◆ hasNumViolationLs()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the numViolationLs field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7710 of file SatParameters.java.

◆ hasNumWorkers()

boolean com.google.ortools.sat.SatParameters.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_workers'.

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
Whether the numWorkers field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5027 of file SatParameters.java.

◆ hasOnlyAddCutsAtLevelZero()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the onlyAddCutsAtLevelZero field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9407 of file SatParameters.java.

◆ hasOnlySolveIp()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the onlySolveIp field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 10306 of file SatParameters.java.

◆ hasOptimizeWithCore()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the optimizeWithCore field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7242 of file SatParameters.java.

◆ hasOptimizeWithLbTreeSearch()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the optimizeWithLbTreeSearch field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7276 of file SatParameters.java.

◆ hasOptimizeWithMaxHs()

boolean com.google.ortools.sat.SatParameters.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&#64;
"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
Whether the optimizeWithMaxHs field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7382 of file SatParameters.java.

◆ hasPbCleanupIncrement()

boolean com.google.ortools.sat.SatParameters.hasPbCleanupIncrement ( )
Same as for the clauses, but for the learned pseudo-Boolean constraints.

optional int32 pb_cleanup_increment = 46 [default = 200];

Returns
Whether the pbCleanupIncrement field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2702 of file SatParameters.java.

◆ hasPbCleanupRatio()

boolean com.google.ortools.sat.SatParameters.hasPbCleanupRatio ( )

optional double pb_cleanup_ratio = 47 [default = 0.5];

Returns
Whether the pbCleanupRatio field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2725 of file SatParameters.java.

◆ hasPermutePresolveConstraintOrder()

boolean com.google.ortools.sat.SatParameters.hasPermutePresolveConstraintOrder ( )

optional bool permute_presolve_constraint_order = 179 [default = false];

Returns
Whether the permutePresolveConstraintOrder field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3597 of file SatParameters.java.

◆ hasPermuteVariableRandomly()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the permuteVariableRandomly field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3571 of file SatParameters.java.

◆ hasPolarityExploitLsHints()

boolean com.google.ortools.sat.SatParameters.hasPolarityExploitLsHints ( )
If true and we have first solution LS workers, tries in some phase to
follow a LS solutions that violates has litle constraints as possible.

optional bool polarity_exploit_ls_hints = 309 [default = false];

Returns
Whether the polarityExploitLsHints field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2286 of file SatParameters.java.

◆ hasPolarityRephaseIncrement()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the polarityRephaseIncrement field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2256 of file SatParameters.java.

◆ hasPolishLpSolution()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the polishLpSolution field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8936 of file SatParameters.java.

◆ hasPreferredVariableOrder()

boolean com.google.ortools.sat.SatParameters.hasPreferredVariableOrder ( )

optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];

Returns
Whether the preferredVariableOrder field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2166 of file SatParameters.java.

◆ hasPresolveBlockedClause()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the presolveBlockedClause field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4042 of file SatParameters.java.

◆ hasPresolveBvaThreshold()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the presolveBvaThreshold field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4100 of file SatParameters.java.

◆ hasPresolveBveClauseWeight()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the presolveBveClauseWeight field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3959 of file SatParameters.java.

◆ hasPresolveBveThreshold()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the presolveBveThreshold field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3929 of file SatParameters.java.

◆ hasPresolveExtractIntegerEnforcement()

boolean com.google.ortools.sat.SatParameters.hasPresolveExtractIntegerEnforcement ( )
If true, we will extract from linear constraints, enforcement literals of
the form "integer variable at bound =&gt; 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
Whether the presolveExtractIntegerEnforcement field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4672 of file SatParameters.java.

◆ hasPresolveInclusionWorkLimit()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the presolveInclusionWorkLimit field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4710 of file SatParameters.java.

◆ hasPresolveProbingDeterministicTimeLimit()

boolean com.google.ortools.sat.SatParameters.hasPresolveProbingDeterministicTimeLimit ( )

optional double presolve_probing_deterministic_time_limit = 57 [default = 30];

Returns
Whether the presolveProbingDeterministicTimeLimit field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4018 of file SatParameters.java.

◆ hasPresolveSubstitutionLevel()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the presolveSubstitutionLevel field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4637 of file SatParameters.java.

◆ hasPresolveUseBva()

boolean com.google.ortools.sat.SatParameters.hasPresolveUseBva ( )
Whether or not we use Bounded Variable Addition (BVA) in the presolve.

optional bool presolve_use_bva = 72 [default = true];

Returns
Whether the presolveUseBva field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4070 of file SatParameters.java.

◆ hasProbingDeterministicTimeLimit()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the probingDeterministicTimeLimit field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3991 of file SatParameters.java.

◆ hasProbingNumCombinationsLimit()

boolean com.google.ortools.sat.SatParameters.hasProbingNumCombinationsLimit ( )
How many combinations of pairs or triplets of variables we want to scan.

optional int32 probing_num_combinations_limit = 272 [default = 20000];

Returns
Whether the probingNumCombinationsLimit field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7003 of file SatParameters.java.

◆ hasPropagationLoopDetectionFactor()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the propagationLoopDetectionFactor field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6038 of file SatParameters.java.

◆ hasPseudoCostReliabilityThreshold()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the pseudoCostReliabilityThreshold field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7211 of file SatParameters.java.

◆ hasPushAllTasksTowardStart()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the pushAllTasksTowardStart field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8713 of file SatParameters.java.

◆ hasRandomBranchesRatio()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the randomBranchesRatio field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2351 of file SatParameters.java.

◆ hasRandomizeSearch()

boolean com.google.ortools.sat.SatParameters.hasRandomizeSearch ( )
Randomize fixed search.

optional bool randomize_search = 103 [default = false];

Returns
Whether the randomizeSearch field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8654 of file SatParameters.java.

◆ hasRandomPolarityRatio()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the randomPolarityRatio field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2318 of file SatParameters.java.

◆ hasRandomSeed()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the randomSeed field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3535 of file SatParameters.java.

◆ hasRelativeGapLimit()

boolean com.google.ortools.sat.SatParameters.hasRelativeGapLimit ( )

optional double relative_gap_limit = 160 [default = 0];

Returns
Whether the relativeGapLimit field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3506 of file SatParameters.java.

◆ hasRemoveFixedVariablesEarly()

boolean com.google.ortools.sat.SatParameters.hasRemoveFixedVariablesEarly ( )
If cp_model_presolve is true and there is a large proportion of fixed
variable after the first model copy, remap all the model to a dense set of
variable before the full presolve even starts. This should help for LNS on
large models.

optional bool remove_fixed_variables_early = 310 [default = true];

Returns
Whether the removeFixedVariablesEarly field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4245 of file SatParameters.java.

◆ hasRepairHint()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the repairHint field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6886 of file SatParameters.java.

◆ hasRestartDlAverageRatio()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the restartDlAverageRatio field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3108 of file SatParameters.java.

◆ hasRestartLbdAverageRatio()

boolean com.google.ortools.sat.SatParameters.hasRestartLbdAverageRatio ( )

optional double restart_lbd_average_ratio = 71 [default = 1];

Returns
Whether the restartLbdAverageRatio field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3132 of file SatParameters.java.

◆ hasRestartPeriod()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the restartPeriod field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3052 of file SatParameters.java.

◆ hasRestartRunningWindowSize()

boolean com.google.ortools.sat.SatParameters.hasRestartRunningWindowSize ( )
Size of the window for the moving average restarts.

optional int32 restart_running_window_size = 62 [default = 50];

Returns
Whether the restartRunningWindowSize field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3080 of file SatParameters.java.

◆ hasRootLpIterations()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the rootLpIterations field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9756 of file SatParameters.java.

◆ hasRoutingCutDpEffort()

boolean com.google.ortools.sat.SatParameters.hasRoutingCutDpEffort ( )
The amount of "effort" to spend in dynamic programming for computing
routing cuts. This is in term of basic operations needed by the algorithm
in the worst case, so a value like 1e8 should take less than a second to
compute.

optional double routing_cut_dp_effort = 314 [default = 10000000];

Returns
Whether the routingCutDpEffort field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6808 of file SatParameters.java.

◆ hasRoutingCutSubsetSizeForBinaryRelationBound()

boolean com.google.ortools.sat.SatParameters.hasRoutingCutSubsetSizeForBinaryRelationBound ( )
If the size of a subset of nodes of a RoutesConstraint is less than this
value, use linear constraints of size 1 and 2 (such as capacity and time
window constraints) enforced by the arc literals to compute cuts for this
subset (unless the subset size is less than
routing_cut_subset_size_for_tight_binary_relation_bound, in which case the
corresponding algorithm is used instead). The algorithm for these cuts has
a O(n^3) complexity, where n is the subset size. Hence the value of this
parameter should not be too large (e.g. 10 or 20).

optional int32 routing_cut_subset_size_for_binary_relation_bound = 312 [default = 0];

Returns
Whether the routingCutSubsetSizeForBinaryRelationBound field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6740 of file SatParameters.java.

◆ hasRoutingCutSubsetSizeForTightBinaryRelationBound()

boolean com.google.ortools.sat.SatParameters.hasRoutingCutSubsetSizeForTightBinaryRelationBound ( )
Similar to above, but with a different algorithm producing better cuts, at
the price of a higher O(2^n) complexity, where n is the subset size. Hence
the value of this parameter should be small (e.g. less than 10).

optional int32 routing_cut_subset_size_for_tight_binary_relation_bound = 313 [default = 0];

Returns
Whether the routingCutSubsetSizeForTightBinaryRelationBound field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6776 of file SatParameters.java.

◆ hasSaveLpBasisInLbTreeSearch()

boolean com.google.ortools.sat.SatParameters.hasSaveLpBasisInLbTreeSearch ( )
Experimental. Save the current LP basis at each node of the search tree so
that when we jump around, we can load it and reduce the number of LP
iterations needed.

It currently works okay if we do not change the lp with cuts or
simplification... More work is needed to make it robust in all cases.

optional bool save_lp_basis_in_lb_tree_search = 284 [default = false];

Returns
Whether the saveLpBasisInLbTreeSearch field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7312 of file SatParameters.java.

◆ hasSearchBranching()

boolean com.google.ortools.sat.SatParameters.hasSearchBranching ( )

optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];

Returns
Whether the searchBranching field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6833 of file SatParameters.java.

◆ hasSearchRandomVariablePoolSize()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the searchRandomVariablePoolSize field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8683 of file SatParameters.java.

◆ hasShareBinaryClauses()

boolean com.google.ortools.sat.SatParameters.hasShareBinaryClauses ( )
Allows sharing of new learned binary clause between workers.

optional bool share_binary_clauses = 203 [default = true];

Returns
Whether the shareBinaryClauses field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5640 of file SatParameters.java.

◆ hasSharedTreeBalanceTolerance()

boolean com.google.ortools.sat.SatParameters.hasSharedTreeBalanceTolerance ( )
How much deeper compared to the ideal max depth of the tree is considered
"balanced" enough to still accept a split. Without such a tolerance,
sometimes the tree can only be split by a single worker, and they may not
generate a split for some time. In contrast, with a tolerance of 1, at
least half of all workers should be able to split the tree as soon as a
split becomes required. This only has an effect on
SPLIT_STRATEGY_BALANCED_TREE and SPLIT_STRATEGY_DISCREPANCY.

optional int32 shared_tree_balance_tolerance = 305 [default = 1];

Returns
Whether the sharedTreeBalanceTolerance field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8032 of file SatParameters.java.

◆ hasSharedTreeMaxNodesPerWorker()

boolean com.google.ortools.sat.SatParameters.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 = 10000];

Returns
Whether the sharedTreeMaxNodesPerWorker field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7978 of file SatParameters.java.

◆ hasSharedTreeNumWorkers()

boolean com.google.ortools.sat.SatParameters.hasSharedTreeNumWorkers ( )
Enables shared tree search.
If positive, 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.
Specifying a negative number uses a heuristic to select an appropriate
number of shared tree workeres based on the total number of workers.

optional int32 shared_tree_num_workers = 235 [default = 0];

Returns
Whether the sharedTreeNumWorkers field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7801 of file SatParameters.java.

◆ hasSharedTreeOpenLeavesPerWorker()

boolean com.google.ortools.sat.SatParameters.hasSharedTreeOpenLeavesPerWorker ( )
How many open leaf nodes should the shared tree maintain per worker.

optional double shared_tree_open_leaves_per_worker = 281 [default = 2];

Returns
Whether the sharedTreeOpenLeavesPerWorker field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7948 of file SatParameters.java.

◆ hasSharedTreeSplitStrategy()

boolean com.google.ortools.sat.SatParameters.hasSharedTreeSplitStrategy ( )

optional .operations_research.sat.SatParameters.SharedTreeSplitStrategy shared_tree_split_strategy = 239 [default = SPLIT_STRATEGY_AUTO];

Returns
Whether the sharedTreeSplitStrategy field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8003 of file SatParameters.java.

◆ hasSharedTreeWorkerEnablePhaseSharing()

boolean com.google.ortools.sat.SatParameters.hasSharedTreeWorkerEnablePhaseSharing ( )
If true, shared tree workers share their target phase when returning an
assigned subtree for the next worker to use.

optional bool shared_tree_worker_enable_phase_sharing = 304 [default = true];

Returns
Whether the sharedTreeWorkerEnablePhaseSharing field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7920 of file SatParameters.java.

◆ hasSharedTreeWorkerEnableTrailSharing()

boolean com.google.ortools.sat.SatParameters.hasSharedTreeWorkerEnableTrailSharing ( )
If true, workers share more of the information from their local trail.
Specifically, literals implied by the shared tree decisions.

optional bool shared_tree_worker_enable_trail_sharing = 295 [default = true];

Returns
Whether the sharedTreeWorkerEnableTrailSharing field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7891 of file SatParameters.java.

◆ hasSharedTreeWorkerMinRestartsPerSubtree()

boolean com.google.ortools.sat.SatParameters.hasSharedTreeWorkerMinRestartsPerSubtree ( )
Minimum restarts before a worker will replace a subtree
that looks "bad" based on the average LBD of learned clauses.

optional int32 shared_tree_worker_min_restarts_per_subtree = 282 [default = 1];

Returns
Whether the sharedTreeWorkerMinRestartsPerSubtree field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7862 of file SatParameters.java.

◆ hasShareGlueClauses()

boolean com.google.ortools.sat.SatParameters.hasShareGlueClauses ( )
Allows sharing of short glue clauses between workers.
Implicitly disabled if share_binary_clauses is false.

optional bool share_glue_clauses = 285 [default = false];

Returns
Whether the shareGlueClauses field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5668 of file SatParameters.java.

◆ hasShareLevelZeroBounds()

boolean com.google.ortools.sat.SatParameters.hasShareLevelZeroBounds ( )
Allows sharing of the bounds of modified variables at level 0.

optional bool share_level_zero_bounds = 114 [default = true];

Returns
Whether the shareLevelZeroBounds field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5613 of file SatParameters.java.

◆ hasShareObjectiveBounds()

boolean com.google.ortools.sat.SatParameters.hasShareObjectiveBounds ( )
Allows objective sharing between workers.

optional bool share_objective_bounds = 113 [default = true];

Returns
Whether the shareObjectiveBounds field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5586 of file SatParameters.java.

◆ hasShavingSearchDeterministicTime()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the shavingSearchDeterministicTime field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7060 of file SatParameters.java.

◆ hasShavingSearchThreshold()

boolean com.google.ortools.sat.SatParameters.hasShavingSearchThreshold ( )
Specifies the threshold between two modes in the shaving procedure.
If the range of the variable/objective is less than this threshold, then
the shaving procedure will try to remove values one by one. Otherwise, it
will try to remove one range at a time.

optional int64 shaving_search_threshold = 290 [default = 64];

Returns
Whether the shavingSearchThreshold field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7091 of file SatParameters.java.

◆ hasSolutionPoolSize()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the solutionPoolSize field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8468 of file SatParameters.java.

◆ hasStopAfterFirstSolution()

boolean com.google.ortools.sat.SatParameters.hasStopAfterFirstSolution ( )
For an optimization problem, stop the solver as soon as we have a solution.

optional bool stop_after_first_solution = 98 [default = false];

Returns
Whether the stopAfterFirstSolution field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8291 of file SatParameters.java.

◆ hasStopAfterPresolve()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the stopAfterPresolve field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8319 of file SatParameters.java.

◆ hasStopAfterRootPropagation()

boolean com.google.ortools.sat.SatParameters.hasStopAfterRootPropagation ( )

optional bool stop_after_root_propagation = 252 [default = false];

Returns
Whether the stopAfterRootPropagation field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8343 of file SatParameters.java.

◆ hasStrategyChangeIncreaseRatio()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the strategyChangeIncreaseRatio field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3256 of file SatParameters.java.

◆ hasSubsumptionDuringConflictAnalysis()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the subsumptionDuringConflictAnalysis field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2520 of file SatParameters.java.

◆ hasSymmetryDetectionDeterministicTimeLimit()

boolean com.google.ortools.sat.SatParameters.hasSymmetryDetectionDeterministicTimeLimit ( )
Deterministic time limit for symmetry detection.

optional double symmetry_detection_deterministic_time_limit = 302 [default = 1];

Returns
Whether the symmetryDetectionDeterministicTimeLimit field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9156 of file SatParameters.java.

◆ hasSymmetryLevel()

boolean com.google.ortools.sat.SatParameters.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. At level 3, we also detect symmetries for very
large models, which can be slow. At level 4, we try to break as much
symmetry as possible in presolve.

optional int32 symmetry_level = 183 [default = 2];

Returns
Whether the symmetryLevel field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9056 of file SatParameters.java.

◆ hasTableCompressionLevel()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the tableCompressionLevel field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4315 of file SatParameters.java.

◆ hasUseAbslRandom()

boolean com.google.ortools.sat.SatParameters.hasUseAbslRandom ( )

optional bool use_absl_random = 180 [default = false];

Returns
Whether the useAbslRandom field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3616 of file SatParameters.java.

◆ hasUseAllDifferentForCircuit()

boolean com.google.ortools.sat.SatParameters.hasUseAllDifferentForCircuit ( )
Turn on extra propagation for the circuit constraint.
This can be quite slow.

optional bool use_all_different_for_circuit = 311 [default = false];

Returns
Whether the useAllDifferentForCircuit field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6705 of file SatParameters.java.

◆ hasUseAreaEnergeticReasoningInNoOverlap2D()

boolean com.google.ortools.sat.SatParameters.hasUseAreaEnergeticReasoningInNoOverlap2D ( )
When this is true, the no_overlap_2d constraint is reinforced with
an energetic reasoning that uses an area-based energy. This can be combined
with the two other overlap heuristics above.

optional bool use_area_energetic_reasoning_in_no_overlap_2d = 271 [default = false];

Returns
Whether the useAreaEnergeticReasoningInNoOverlap2d field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6549 of file SatParameters.java.

◆ hasUseBlockingRestart()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useBlockingRestart field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3157 of file SatParameters.java.

◆ hasUseCombinedNoOverlap()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useCombinedNoOverlap field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8813 of file SatParameters.java.

◆ hasUseConservativeScaleOverloadChecker()

boolean com.google.ortools.sat.SatParameters.hasUseConservativeScaleOverloadChecker ( )
Enable a heuristic to solve cumulative constraints using a modified energy
constraint. We modify the usual energy definition by applying a
super-additive function (also called "conservative scale" or "dual-feasible
function") to the demand and the durations of the tasks.

This heuristic is fast but for most problems it does not help much to find
a solution.

optional bool use_conservative_scale_overload_checker = 286 [default = false];

Returns
Whether the useConservativeScaleOverloadChecker field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6279 of file SatParameters.java.

◆ hasUseDisjunctiveConstraintInCumulative()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useDisjunctiveConstraintInCumulative field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6445 of file SatParameters.java.

◆ hasUseDualSchedulingHeuristics()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useDualSchedulingHeuristics field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6675 of file SatParameters.java.

◆ hasUseDynamicPrecedenceInCumulative()

boolean com.google.ortools.sat.SatParameters.hasUseDynamicPrecedenceInCumulative ( )

optional bool use_dynamic_precedence_in_cumulative = 268 [default = false];

Returns
Whether the useDynamicPrecedenceInCumulative field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6211 of file SatParameters.java.

◆ hasUseDynamicPrecedenceInDisjunctive()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useDynamicPrecedenceInDisjunctive field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6183 of file SatParameters.java.

◆ hasUseEnergeticReasoningInNoOverlap2D()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useEnergeticReasoningInNoOverlap2d field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6518 of file SatParameters.java.

◆ hasUseErwaHeuristic()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useErwaHeuristic field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2382 of file SatParameters.java.

◆ hasUseExactLpReason()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useExactLpReason field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8781 of file SatParameters.java.

◆ hasUseExtendedProbing()

boolean com.google.ortools.sat.SatParameters.hasUseExtendedProbing ( )
Use extended probing (probe bool_or, at_most_one, exactly_one).

optional bool use_extended_probing = 269 [default = true];

Returns
Whether the useExtendedProbing field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6976 of file SatParameters.java.

◆ hasUseFeasibilityJump()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useFeasibilityJump field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7416 of file SatParameters.java.

◆ hasUseFeasibilityPump()

boolean com.google.ortools.sat.SatParameters.hasUseFeasibilityPump ( )
Adds a feasibility pump subsolver along with lns subsolvers.

optional bool use_feasibility_pump = 164 [default = true];

Returns
Whether the useFeasibilityPump field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8524 of file SatParameters.java.

◆ hasUseHardPrecedencesInCumulative()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useHardPrecedencesInCumulative field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6385 of file SatParameters.java.

◆ hasUseImpliedBounds()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useImpliedBounds field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8904 of file SatParameters.java.

◆ hasUseLbRelaxLns()

boolean com.google.ortools.sat.SatParameters.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 = true];

Returns
Whether the useLbRelaxLns field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8553 of file SatParameters.java.

◆ hasUseLns()

boolean com.google.ortools.sat.SatParameters.hasUseLns ( )
Testing parameters used to disable all lns workers.

optional bool use_lns = 283 [default = true];

Returns
Whether the useLns field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8412 of file SatParameters.java.

◆ hasUseLnsOnly()

boolean com.google.ortools.sat.SatParameters.hasUseLnsOnly ( )
Experimental parameters to disable everything but lns.

optional bool use_lns_only = 101 [default = false];

Returns
Whether the useLnsOnly field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8439 of file SatParameters.java.

◆ hasUseLsOnly()

boolean com.google.ortools.sat.SatParameters.hasUseLsOnly ( )
Disable every other type of subsolver, setting this turns CP-SAT into a
pure local-search solver.

optional bool use_ls_only = 240 [default = false];

Returns
Whether the useLsOnly field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7446 of file SatParameters.java.

◆ hasUseObjectiveLbSearch()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useObjectiveLbSearch field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7122 of file SatParameters.java.

◆ hasUseObjectiveShavingSearch()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useObjectiveShavingSearch field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7152 of file SatParameters.java.

◆ hasUseOptimizationHints()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useOptimizationHints field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 5842 of file SatParameters.java.

◆ hasUseOptionalVariables()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useOptionalVariables field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8746 of file SatParameters.java.

◆ hasUseOverloadCheckerInCumulative()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useOverloadCheckerInCumulative field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6240 of file SatParameters.java.

◆ hasUsePbResolution()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the usePbResolution field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 3821 of file SatParameters.java.

◆ hasUsePhaseSaving()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the usePhaseSaving field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2217 of file SatParameters.java.

◆ hasUsePrecedencesInDisjunctiveConstraint()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the usePrecedencesInDisjunctiveConstraint field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6081 of file SatParameters.java.

◆ hasUseProbingSearch()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useProbingSearch field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6947 of file SatParameters.java.

◆ hasUseRinsLns()

boolean com.google.ortools.sat.SatParameters.hasUseRinsLns ( )
Turns on relaxation induced neighborhood generator.

optional bool use_rins_lns = 129 [default = true];

Returns
Whether the useRinsLns field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8497 of file SatParameters.java.

◆ hasUseSatInprocessing()

boolean com.google.ortools.sat.SatParameters.hasUseSatInprocessing ( )
Enable or disable "inprocessing" which is some SAT presolving done at
each restart to the root level.

optional bool use_sat_inprocessing = 163 [default = true];

Returns
Whether the useSatInprocessing field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 4845 of file SatParameters.java.

◆ hasUseSharedTreeSearch()

boolean com.google.ortools.sat.SatParameters.hasUseSharedTreeSearch ( )
Set on shared subtree workers. Users should not set this directly.

optional bool use_shared_tree_search = 236 [default = false];

Returns
Whether the useSharedTreeSearch field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7834 of file SatParameters.java.

◆ hasUseShavingInProbingSearch()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useShavingInProbingSearch field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7031 of file SatParameters.java.

◆ hasUseStrongPropagationInDisjunctive()

boolean com.google.ortools.sat.SatParameters.hasUseStrongPropagationInDisjunctive ( )
Enable stronger and more expensive propagation on no_overlap constraint.

optional bool use_strong_propagation_in_disjunctive = 230 [default = false];

Returns
Whether the useStrongPropagationInDisjunctive field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6151 of file SatParameters.java.

◆ hasUseSymmetryInLp()

boolean com.google.ortools.sat.SatParameters.hasUseSymmetryInLp ( )
When we have symmetry, it is possible to "fold" all variables from the same
orbit into a single variable, while having the same power of LP relaxation.
This can help significantly on symmetric problem. However there is
currently a bit of overhead as the rest of the solver need to do some
translation between the folded LP and the rest of the problem.

optional bool use_symmetry_in_lp = 301 [default = false];

Returns
Whether the useSymmetryInLp field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 9092 of file SatParameters.java.

◆ hasUseTimetableEdgeFindingInCumulative()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useTimetableEdgeFindingInCumulative field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6318 of file SatParameters.java.

◆ hasUseTimetablingInNoOverlap2D()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the useTimetablingInNoOverlap2d field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6485 of file SatParameters.java.

◆ hasUseTryEdgeReasoningInNoOverlap2D()

boolean com.google.ortools.sat.SatParameters.hasUseTryEdgeReasoningInNoOverlap2D ( )

optional bool use_try_edge_reasoning_in_no_overlap_2d = 299 [default = false];

Returns
Whether the useTryEdgeReasoningInNoOverlap2d field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 6574 of file SatParameters.java.

◆ hasUseVariablesShavingSearch()

boolean com.google.ortools.sat.SatParameters.hasUseVariablesShavingSearch ( )
This search takes all Boolean or integer variables, and maximize or
minimize them in order to reduce their domain.

optional bool use_variables_shaving_search = 289 [default = false];

Returns
Whether the useVariablesShavingSearch field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7182 of file SatParameters.java.

◆ hasVariableActivityDecay()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the variableActivityDecay field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 2755 of file SatParameters.java.

◆ hasViolationLsCompoundMoveProbability()

boolean com.google.ortools.sat.SatParameters.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];

Returns
Whether the violationLsCompoundMoveProbability field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7767 of file SatParameters.java.

◆ hasViolationLsPerturbationPeriod()

boolean com.google.ortools.sat.SatParameters.hasViolationLsPerturbationPeriod ( )
How long violation_ls should wait before perturbating a solution.

optional int32 violation_ls_perturbation_period = 249 [default = 100];

Returns
Whether the violationLsPerturbationPeriod field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7739 of file SatParameters.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessage.FieldAccessorTable com.google.ortools.sat.SatParameters.internalGetFieldAccessorTable ( )
protected

Definition at line 222 of file SatParameters.java.

◆ isInitialized()

final boolean com.google.ortools.sat.SatParameters.isInitialized ( )

Definition at line 10635 of file SatParameters.java.

◆ newBuilder() [1/2]

static Builder com.google.ortools.sat.SatParameters.newBuilder ( )
static

Definition at line 15254 of file SatParameters.java.

◆ newBuilder() [2/2]

static Builder com.google.ortools.sat.SatParameters.newBuilder ( com.google.ortools.sat.SatParameters prototype)
static

Definition at line 15257 of file SatParameters.java.

◆ newBuilderForType() [1/2]

Builder com.google.ortools.sat.SatParameters.newBuilderForType ( )

Definition at line 15253 of file SatParameters.java.

◆ newBuilderForType() [2/2]

Builder com.google.ortools.sat.SatParameters.newBuilderForType ( com.google.protobuf.GeneratedMessage.BuilderParent parent)
protected

Definition at line 15267 of file SatParameters.java.

◆ parseDelimitedFrom() [1/2]

static com.google.ortools.sat.SatParameters com.google.ortools.sat.SatParameters.parseDelimitedFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 15225 of file SatParameters.java.

◆ parseDelimitedFrom() [2/2]

static com.google.ortools.sat.SatParameters com.google.ortools.sat.SatParameters.parseDelimitedFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 15231 of file SatParameters.java.

◆ parseFrom() [1/10]

static com.google.ortools.sat.SatParameters com.google.ortools.sat.SatParameters.parseFrom ( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 15202 of file SatParameters.java.

◆ parseFrom() [2/10]

static com.google.ortools.sat.SatParameters com.google.ortools.sat.SatParameters.parseFrom ( byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 15206 of file SatParameters.java.

◆ parseFrom() [3/10]

static com.google.ortools.sat.SatParameters com.google.ortools.sat.SatParameters.parseFrom ( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 15191 of file SatParameters.java.

◆ parseFrom() [4/10]

static com.google.ortools.sat.SatParameters com.google.ortools.sat.SatParameters.parseFrom ( com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 15196 of file SatParameters.java.

◆ parseFrom() [5/10]

static com.google.ortools.sat.SatParameters com.google.ortools.sat.SatParameters.parseFrom ( com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

Definition at line 15238 of file SatParameters.java.

◆ parseFrom() [6/10]

static com.google.ortools.sat.SatParameters com.google.ortools.sat.SatParameters.parseFrom ( com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 15244 of file SatParameters.java.

◆ parseFrom() [7/10]

static com.google.ortools.sat.SatParameters com.google.ortools.sat.SatParameters.parseFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 15212 of file SatParameters.java.

◆ parseFrom() [8/10]

static com.google.ortools.sat.SatParameters com.google.ortools.sat.SatParameters.parseFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 15217 of file SatParameters.java.

◆ parseFrom() [9/10]

static com.google.ortools.sat.SatParameters com.google.ortools.sat.SatParameters.parseFrom ( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 15180 of file SatParameters.java.

◆ parseFrom() [10/10]

static com.google.ortools.sat.SatParameters com.google.ortools.sat.SatParameters.parseFrom ( java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 15185 of file SatParameters.java.

◆ parser()

static com.google.protobuf.Parser< SatParameters > com.google.ortools.sat.SatParameters.parser ( )
static

Definition at line 37208 of file SatParameters.java.

◆ toBuilder()

Builder com.google.ortools.sat.SatParameters.toBuilder ( )

Definition at line 15261 of file SatParameters.java.

◆ writeTo()

void com.google.ortools.sat.SatParameters.writeTo ( com.google.protobuf.CodedOutputStream output) throws java.io.IOException

Definition at line 10645 of file SatParameters.java.

Member Data Documentation

◆ ABSOLUTE_GAP_LIMIT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ABSOLUTE_GAP_LIMIT_FIELD_NUMBER = 159
static

Definition at line 3438 of file SatParameters.java.

◆ ADD_CG_CUTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ADD_CG_CUTS_FIELD_NUMBER = 117
static

Definition at line 9459 of file SatParameters.java.

◆ ADD_CLIQUE_CUTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ADD_CLIQUE_CUTS_FIELD_NUMBER = 172
static

Definition at line 9546 of file SatParameters.java.

◆ ADD_LIN_MAX_CUTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ADD_LIN_MAX_CUTS_FIELD_NUMBER = 152
static

Definition at line 9637 of file SatParameters.java.

◆ ADD_LP_CONSTRAINTS_LAZILY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ADD_LP_CONSTRAINTS_LAZILY_FIELD_NUMBER = 112
static

Definition at line 9709 of file SatParameters.java.

◆ ADD_MIR_CUTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ADD_MIR_CUTS_FIELD_NUMBER = 120
static

Definition at line 9488 of file SatParameters.java.

◆ ADD_OBJECTIVE_CUT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ADD_OBJECTIVE_CUT_FIELD_NUMBER = 197
static

Definition at line 9424 of file SatParameters.java.

◆ ADD_RLT_CUTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ADD_RLT_CUTS_FIELD_NUMBER = 279
static

Definition at line 9577 of file SatParameters.java.

◆ ADD_ZERO_HALF_CUTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ADD_ZERO_HALF_CUTS_FIELD_NUMBER = 169
static

Definition at line 9517 of file SatParameters.java.

◆ ALSO_BUMP_VARIABLES_IN_CONFLICT_REASONS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ALSO_BUMP_VARIABLES_IN_CONFLICT_REASONS_FIELD_NUMBER = 77
static

Definition at line 2437 of file SatParameters.java.

◆ AT_MOST_ONE_MAX_EXPANSION_SIZE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.AT_MOST_ONE_MAX_EXPANSION_SIZE_FIELD_NUMBER = 270
static

Definition at line 8831 of file SatParameters.java.

◆ AUTO_DETECT_GREATER_THAN_AT_LEAST_ONE_OF_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.AUTO_DETECT_GREATER_THAN_AT_LEAST_ONE_OF_FIELD_NUMBER = 95
static

Definition at line 8247 of file SatParameters.java.

◆ BINARY_MINIMIZATION_ALGORITHM_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.BINARY_MINIMIZATION_ALGORITHM_FIELD_NUMBER = 34
static

Definition at line 2488 of file SatParameters.java.

◆ BINARY_SEARCH_NUM_CONFLICTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.BINARY_SEARCH_NUM_CONFLICTS_FIELD_NUMBER = 99
static

Definition at line 7333 of file SatParameters.java.

◆ BLOCKING_RESTART_MULTIPLIER_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.BLOCKING_RESTART_MULTIPLIER_FIELD_NUMBER = 66
static

Definition at line 3194 of file SatParameters.java.

◆ BLOCKING_RESTART_WINDOW_SIZE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.BLOCKING_RESTART_WINDOW_SIZE_FIELD_NUMBER = 65
static

Definition at line 3175 of file SatParameters.java.

◆ BOOLEAN_ENCODING_LEVEL_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.BOOLEAN_ENCODING_LEVEL_FIELD_NUMBER = 107
static

Definition at line 9267 of file SatParameters.java.

◆ CATCH_SIGINT_SIGNAL_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CATCH_SIGINT_SIGNAL_FIELD_NUMBER = 135
static

Definition at line 8860 of file SatParameters.java.

◆ CLAUSE_ACTIVITY_DECAY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CLAUSE_ACTIVITY_DECAY_FIELD_NUMBER = 17
static

Definition at line 2870 of file SatParameters.java.

◆ CLAUSE_CLEANUP_LBD_BOUND_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CLAUSE_CLEANUP_LBD_BOUND_FIELD_NUMBER = 59
static

Definition at line 2644 of file SatParameters.java.

◆ CLAUSE_CLEANUP_ORDERING_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CLAUSE_CLEANUP_ORDERING_FIELD_NUMBER = 60
static

Definition at line 2673 of file SatParameters.java.

◆ CLAUSE_CLEANUP_PERIOD_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CLAUSE_CLEANUP_PERIOD_FIELD_NUMBER = 11
static

Definition at line 2539 of file SatParameters.java.

◆ CLAUSE_CLEANUP_PROTECTION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CLAUSE_CLEANUP_PROTECTION_FIELD_NUMBER = 58
static

Definition at line 2626 of file SatParameters.java.

◆ CLAUSE_CLEANUP_RATIO_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CLAUSE_CLEANUP_RATIO_FIELD_NUMBER = 190
static

Definition at line 2595 of file SatParameters.java.

◆ CLAUSE_CLEANUP_TARGET_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CLAUSE_CLEANUP_TARGET_FIELD_NUMBER = 13
static

Definition at line 2566 of file SatParameters.java.

◆ CONVERT_INTERVALS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CONVERT_INTERVALS_FIELD_NUMBER = 177
static

Definition at line 9009 of file SatParameters.java.

◆ CORE_MINIMIZATION_LEVEL_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CORE_MINIMIZATION_LEVEL_FIELD_NUMBER = 50
static

Definition at line 5861 of file SatParameters.java.

◆ COUNT_ASSUMPTION_LEVELS_IN_LBD_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.COUNT_ASSUMPTION_LEVELS_IN_LBD_FIELD_NUMBER = 49
static

Definition at line 3873 of file SatParameters.java.

◆ COVER_OPTIMIZATION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.COVER_OPTIMIZATION_FIELD_NUMBER = 89
static

Definition at line 5923 of file SatParameters.java.

◆ CP_MODEL_PRESOLVE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CP_MODEL_PRESOLVE_FIELD_NUMBER = 86
static

Definition at line 4150 of file SatParameters.java.

◆ CP_MODEL_PROBING_LEVEL_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CP_MODEL_PROBING_LEVEL_FIELD_NUMBER = 110
static

Definition at line 4177 of file SatParameters.java.

◆ CP_MODEL_USE_SAT_PRESOLVE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CP_MODEL_USE_SAT_PRESOLVE_FIELD_NUMBER = 93
static

Definition at line 4204 of file SatParameters.java.

◆ CUT_ACTIVE_COUNT_DECAY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CUT_ACTIVE_COUNT_DECAY_FIELD_NUMBER = 156
static

Definition at line 9899 of file SatParameters.java.

◆ CUT_CLEANUP_TARGET_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CUT_CLEANUP_TARGET_FIELD_NUMBER = 157
static

Definition at line 9918 of file SatParameters.java.

◆ CUT_LEVEL_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CUT_LEVEL_FIELD_NUMBER = 196
static

Definition at line 9364 of file SatParameters.java.

◆ CUT_MAX_ACTIVE_COUNT_VALUE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.CUT_MAX_ACTIVE_COUNT_VALUE_FIELD_NUMBER = 155
static

Definition at line 9868 of file SatParameters.java.

◆ DEBUG_CRASH_IF_PRESOLVE_BREAKS_HINT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.DEBUG_CRASH_IF_PRESOLVE_BREAKS_HINT_FIELD_NUMBER = 306
static

Definition at line 5801 of file SatParameters.java.

◆ DEBUG_CRASH_ON_BAD_HINT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.DEBUG_CRASH_ON_BAD_HINT_FIELD_NUMBER = 195
static

Definition at line 5774 of file SatParameters.java.

◆ DEBUG_MAX_NUM_PRESOLVE_OPERATIONS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.DEBUG_MAX_NUM_PRESOLVE_OPERATIONS_FIELD_NUMBER = 151
static

Definition at line 5745 of file SatParameters.java.

◆ DEBUG_POSTSOLVE_WITH_FULL_SOLVER_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.DEBUG_POSTSOLVE_WITH_FULL_SOLVER_FIELD_NUMBER = 162
static

Definition at line 5714 of file SatParameters.java.

◆ DEFAULT_RESTART_ALGORITHMS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.DEFAULT_RESTART_ALGORITHMS_FIELD_NUMBER = 70
static

Definition at line 2991 of file SatParameters.java.

◆ DETECT_LINEARIZED_PRODUCT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.DETECT_LINEARIZED_PRODUCT_FIELD_NUMBER = 277
static

Definition at line 10125 of file SatParameters.java.

◆ DETECT_TABLE_WITH_COST_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.DETECT_TABLE_WITH_COST_FIELD_NUMBER = 216
static

Definition at line 4264 of file SatParameters.java.

◆ DISABLE_CONSTRAINT_EXPANSION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.DISABLE_CONSTRAINT_EXPANSION_FIELD_NUMBER = 181
static

Definition at line 4511 of file SatParameters.java.

◆ DIVERSIFY_LNS_PARAMS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.DIVERSIFY_LNS_PARAMS_FIELD_NUMBER = 137
static

Definition at line 8616 of file SatParameters.java.

◆ ENCODE_COMPLEX_LINEAR_CONSTRAINT_WITH_INTEGER_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ENCODE_COMPLEX_LINEAR_CONSTRAINT_WITH_INTEGER_FIELD_NUMBER = 223
static

Definition at line 4540 of file SatParameters.java.

◆ ENCODE_CUMULATIVE_AS_RESERVOIR_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ENCODE_CUMULATIVE_AS_RESERVOIR_FIELD_NUMBER = 287
static

Definition at line 4445 of file SatParameters.java.

◆ ENUMERATE_ALL_SOLUTIONS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ENUMERATE_ALL_SOLUTIONS_FIELD_NUMBER = 87
static

Definition at line 8054 of file SatParameters.java.

◆ EXPAND_ALLDIFF_CONSTRAINTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.EXPAND_ALLDIFF_CONSTRAINTS_FIELD_NUMBER = 170
static

Definition at line 4334 of file SatParameters.java.

◆ EXPAND_RESERVOIR_CONSTRAINTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.EXPAND_RESERVOIR_CONSTRAINTS_FIELD_NUMBER = 182
static

Definition at line 4363 of file SatParameters.java.

◆ EXPAND_RESERVOIR_USING_CIRCUIT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.EXPAND_RESERVOIR_USING_CIRCUIT_FIELD_NUMBER = 288
static

Definition at line 4392 of file SatParameters.java.

◆ EXPLOIT_ALL_LP_SOLUTION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.EXPLOIT_ALL_LP_SOLUTION_FIELD_NUMBER = 116
static

Definition at line 10007 of file SatParameters.java.

◆ EXPLOIT_ALL_PRECEDENCES_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.EXPLOIT_ALL_PRECEDENCES_FIELD_NUMBER = 220
static

Definition at line 6406 of file SatParameters.java.

◆ EXPLOIT_BEST_SOLUTION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.EXPLOIT_BEST_SOLUTION_FIELD_NUMBER = 130
static

Definition at line 10038 of file SatParameters.java.

◆ EXPLOIT_INTEGER_LP_SOLUTION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.EXPLOIT_INTEGER_LP_SOLUTION_FIELD_NUMBER = 94
static

Definition at line 9974 of file SatParameters.java.

◆ EXPLOIT_OBJECTIVE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.EXPLOIT_OBJECTIVE_FIELD_NUMBER = 131
static

Definition at line 10096 of file SatParameters.java.

◆ EXPLOIT_RELAXATION_SOLUTION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.EXPLOIT_RELAXATION_SOLUTION_FIELD_NUMBER = 161
static

Definition at line 10065 of file SatParameters.java.

◆ EXTRA_SUBSOLVERS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.EXTRA_SUBSOLVERS_FIELD_NUMBER = 219
static

Definition at line 5259 of file SatParameters.java.

◆ FEASIBILITY_JUMP_BATCH_DTIME_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.FEASIBILITY_JUMP_BATCH_DTIME_FIELD_NUMBER = 292
static

Definition at line 7548 of file SatParameters.java.

◆ FEASIBILITY_JUMP_DECAY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.FEASIBILITY_JUMP_DECAY_FIELD_NUMBER = 242
static

Definition at line 7463 of file SatParameters.java.

◆ FEASIBILITY_JUMP_ENABLE_RESTARTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.FEASIBILITY_JUMP_ENABLE_RESTARTS_FIELD_NUMBER = 250
static

Definition at line 7633 of file SatParameters.java.

◆ FEASIBILITY_JUMP_LINEARIZATION_LEVEL_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.FEASIBILITY_JUMP_LINEARIZATION_LEVEL_FIELD_NUMBER = 257
static

Definition at line 7492 of file SatParameters.java.

◆ FEASIBILITY_JUMP_MAX_EXPANDED_CONSTRAINT_SIZE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.FEASIBILITY_JUMP_MAX_EXPANDED_CONSTRAINT_SIZE_FIELD_NUMBER = 264
static

Definition at line 7664 of file SatParameters.java.

◆ FEASIBILITY_JUMP_RESTART_FACTOR_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.FEASIBILITY_JUMP_RESTART_FACTOR_FIELD_NUMBER = 258
static

Definition at line 7519 of file SatParameters.java.

◆ FEASIBILITY_JUMP_VAR_PERBURBATION_RANGE_RATIO_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.FEASIBILITY_JUMP_VAR_PERBURBATION_RANGE_RATIO_FIELD_NUMBER = 248
static

Definition at line 7604 of file SatParameters.java.

◆ FEASIBILITY_JUMP_VAR_RANDOMIZATION_PROBABILITY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.FEASIBILITY_JUMP_VAR_RANDOMIZATION_PROBABILITY_FIELD_NUMBER = 247
static

Definition at line 7575 of file SatParameters.java.

◆ FILL_ADDITIONAL_SOLUTIONS_IN_RESPONSE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.FILL_ADDITIONAL_SOLUTIONS_IN_RESPONSE_FIELD_NUMBER = 194
static

Definition at line 8169 of file SatParameters.java.

◆ FILL_TIGHTENED_DOMAINS_IN_RESPONSE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.FILL_TIGHTENED_DOMAINS_IN_RESPONSE_FIELD_NUMBER = 132
static

Definition at line 8134 of file SatParameters.java.

◆ FILTER_SUBSOLVERS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.FILTER_SUBSOLVERS_FIELD_NUMBER = 293
static

Definition at line 5401 of file SatParameters.java.

◆ FIND_BIG_LINEAR_OVERLAP_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.FIND_BIG_LINEAR_OVERLAP_FIELD_NUMBER = 234
static

Definition at line 4800 of file SatParameters.java.

◆ FIND_MULTIPLE_CORES_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.FIND_MULTIPLE_CORES_FIELD_NUMBER = 84
static

Definition at line 5894 of file SatParameters.java.

◆ FIX_VARIABLES_TO_THEIR_HINTED_VALUE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.FIX_VARIABLES_TO_THEIR_HINTED_VALUE_FIELD_NUMBER = 192
static

Definition at line 6905 of file SatParameters.java.

◆ FP_ROUNDING_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.FP_ROUNDING_FIELD_NUMBER = 165
static

Definition at line 8598 of file SatParameters.java.

◆ GLUCOSE_DECAY_INCREMENT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.GLUCOSE_DECAY_INCREMENT_FIELD_NUMBER = 23
static

Definition at line 2832 of file SatParameters.java.

◆ GLUCOSE_DECAY_INCREMENT_PERIOD_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.GLUCOSE_DECAY_INCREMENT_PERIOD_FIELD_NUMBER = 24
static

Definition at line 2851 of file SatParameters.java.

◆ GLUCOSE_MAX_DECAY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.GLUCOSE_MAX_DECAY_FIELD_NUMBER = 22
static

Definition at line 2797 of file SatParameters.java.

◆ HINT_CONFLICT_LIMIT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.HINT_CONFLICT_LIMIT_FIELD_NUMBER = 153
static

Definition at line 6845 of file SatParameters.java.

◆ IGNORE_NAMES_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.IGNORE_NAMES_FIELD_NUMBER = 202
static

Definition at line 4732 of file SatParameters.java.

◆ IGNORE_SUBSOLVERS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.IGNORE_SUBSOLVERS_FIELD_NUMBER = 209
static

Definition at line 5316 of file SatParameters.java.

◆ INFER_ALL_DIFFS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.INFER_ALL_DIFFS_FIELD_NUMBER = 233
static

Definition at line 4759 of file SatParameters.java.

◆ INITIAL_POLARITY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.INITIAL_POLARITY_FIELD_NUMBER = 2
static

Definition at line 2178 of file SatParameters.java.

◆ INITIAL_VARIABLES_ACTIVITY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.INITIAL_VARIABLES_ACTIVITY_FIELD_NUMBER = 76
static

Definition at line 2400 of file SatParameters.java.

◆ INPROCESSING_DTIME_RATIO_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.INPROCESSING_DTIME_RATIO_FIELD_NUMBER = 273
static

Definition at line 4862 of file SatParameters.java.

◆ INPROCESSING_MINIMIZATION_DTIME_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.INPROCESSING_MINIMIZATION_DTIME_FIELD_NUMBER = 275
static

Definition at line 4920 of file SatParameters.java.

◆ INPROCESSING_MINIMIZATION_USE_ALL_ORDERINGS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.INPROCESSING_MINIMIZATION_USE_ALL_ORDERINGS_FIELD_NUMBER = 298
static

Definition at line 4984 of file SatParameters.java.

◆ INPROCESSING_MINIMIZATION_USE_CONFLICT_ANALYSIS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.INPROCESSING_MINIMIZATION_USE_CONFLICT_ANALYSIS_FIELD_NUMBER = 297
static

Definition at line 4965 of file SatParameters.java.

◆ INPROCESSING_PROBING_DTIME_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.INPROCESSING_PROBING_DTIME_FIELD_NUMBER = 274
static

Definition at line 4893 of file SatParameters.java.

◆ INSTANTIATE_ALL_VARIABLES_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.INSTANTIATE_ALL_VARIABLES_FIELD_NUMBER = 106
static

Definition at line 8214 of file SatParameters.java.

◆ INTERLEAVE_BATCH_SIZE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.INTERLEAVE_BATCH_SIZE_FIELD_NUMBER = 134
static

Definition at line 5556 of file SatParameters.java.

◆ INTERLEAVE_SEARCH_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.INTERLEAVE_SEARCH_FIELD_NUMBER = 136
static

Definition at line 5519 of file SatParameters.java.

◆ KEEP_ALL_FEASIBLE_SOLUTIONS_IN_PRESOLVE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.KEEP_ALL_FEASIBLE_SOLUTIONS_IN_PRESOLVE_FIELD_NUMBER = 173
static

Definition at line 8093 of file SatParameters.java.

◆ KEEP_SYMMETRY_IN_PRESOLVE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.KEEP_SYMMETRY_IN_PRESOLVE_FIELD_NUMBER = 303
static

Definition at line 9112 of file SatParameters.java.

◆ LB_RELAX_NUM_WORKERS_THRESHOLD_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.LB_RELAX_NUM_WORKERS_THRESHOLD_FIELD_NUMBER = 296
static

Definition at line 8571 of file SatParameters.java.

◆ LINEAR_SPLIT_SIZE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.LINEAR_SPLIT_SIZE_FIELD_NUMBER = 256
static

Definition at line 9203 of file SatParameters.java.

◆ LINEARIZATION_LEVEL_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.LINEARIZATION_LEVEL_FIELD_NUMBER = 90
static

Definition at line 9234 of file SatParameters.java.

◆ LNS_INITIAL_DETERMINISTIC_LIMIT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.LNS_INITIAL_DETERMINISTIC_LIMIT_FIELD_NUMBER = 308
static

Definition at line 8382 of file SatParameters.java.

◆ LNS_INITIAL_DIFFICULTY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.LNS_INITIAL_DIFFICULTY_FIELD_NUMBER = 307
static

Definition at line 8355 of file SatParameters.java.

◆ LOG_PREFIX_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.LOG_PREFIX_FIELD_NUMBER = 185
static

Definition at line 3692 of file SatParameters.java.

◆ LOG_SEARCH_PROGRESS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.LOG_SEARCH_PROGRESS_FIELD_NUMBER = 41
static

Definition at line 3628 of file SatParameters.java.

◆ LOG_SUBSOLVER_STATISTICS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.LOG_SUBSOLVER_STATISTICS_FIELD_NUMBER = 189
static

Definition at line 3659 of file SatParameters.java.

◆ LOG_TO_RESPONSE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.LOG_TO_RESPONSE_FIELD_NUMBER = 187
static

Definition at line 3780 of file SatParameters.java.

◆ LOG_TO_STDOUT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.LOG_TO_STDOUT_FIELD_NUMBER = 186
static

Definition at line 3753 of file SatParameters.java.

◆ LP_DUAL_TOLERANCE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.LP_DUAL_TOLERANCE_FIELD_NUMBER = 267
static

Definition at line 8990 of file SatParameters.java.

◆ LP_PRIMAL_TOLERANCE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.LP_PRIMAL_TOLERANCE_FIELD_NUMBER = 266
static

Definition at line 8955 of file SatParameters.java.

◆ MAX_ALL_DIFF_CUT_SIZE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_ALL_DIFF_CUT_SIZE_FIELD_NUMBER = 148
static

Definition at line 9606 of file SatParameters.java.

◆ MAX_CLAUSE_ACTIVITY_VALUE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_CLAUSE_ACTIVITY_VALUE_FIELD_NUMBER = 18
static

Definition at line 2897 of file SatParameters.java.

◆ MAX_CONSECUTIVE_INACTIVE_COUNT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_CONSECUTIVE_INACTIVE_COUNT_FIELD_NUMBER = 121
static

Definition at line 9837 of file SatParameters.java.

◆ MAX_CUT_ROUNDS_AT_LEVEL_ZERO_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_CUT_ROUNDS_AT_LEVEL_ZERO_FIELD_NUMBER = 154
static

Definition at line 9810 of file SatParameters.java.

◆ MAX_DETERMINISTIC_TIME_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_DETERMINISTIC_TIME_FIELD_NUMBER = 67
static

Definition at line 3302 of file SatParameters.java.

◆ MAX_DOMAIN_SIZE_WHEN_ENCODING_EQ_NEQ_CONSTRAINTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_DOMAIN_SIZE_WHEN_ENCODING_EQ_NEQ_CONSTRAINTS_FIELD_NUMBER = 191
static

Definition at line 9296 of file SatParameters.java.

◆ MAX_INTEGER_ROUNDING_SCALING_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_INTEGER_ROUNDING_SCALING_FIELD_NUMBER = 119
static

Definition at line 9668 of file SatParameters.java.

◆ MAX_LIN_MAX_SIZE_FOR_EXPANSION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_LIN_MAX_SIZE_FOR_EXPANSION_FIELD_NUMBER = 280
static

Definition at line 4476 of file SatParameters.java.

◆ MAX_MEMORY_IN_MB_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_MEMORY_IN_MB_FIELD_NUMBER = 40
static

Definition at line 3401 of file SatParameters.java.

◆ MAX_NUM_CUTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_NUM_CUTS_FIELD_NUMBER = 91
static

Definition at line 9329 of file SatParameters.java.

◆ MAX_NUM_DETERMINISTIC_BATCHES_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_NUM_DETERMINISTIC_BATCHES_FIELD_NUMBER = 291
static

Definition at line 3333 of file SatParameters.java.

◆ MAX_NUM_INTERVALS_FOR_TIMETABLE_EDGE_FINDING_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_NUM_INTERVALS_FOR_TIMETABLE_EDGE_FINDING_FIELD_NUMBER = 260
static

Definition at line 6340 of file SatParameters.java.

◆ MAX_NUMBER_OF_CONFLICTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_NUMBER_OF_CONFLICTS_FIELD_NUMBER = 37
static

Definition at line 3362 of file SatParameters.java.

◆ MAX_PAIRS_PAIRWISE_REASONING_IN_NO_OVERLAP_2D_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_PAIRS_PAIRWISE_REASONING_IN_NO_OVERLAP_2D_FIELD_NUMBER = 276
static

Definition at line 6586 of file SatParameters.java.

◆ MAX_PRESOLVE_ITERATIONS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_PRESOLVE_ITERATIONS_FIELD_NUMBER = 138
static

Definition at line 4119 of file SatParameters.java.

◆ MAX_SAT_ASSUMPTION_ORDER_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_SAT_ASSUMPTION_ORDER_FIELD_NUMBER = 51
static

Definition at line 5954 of file SatParameters.java.

◆ MAX_SAT_REVERSE_ASSUMPTION_ORDER_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_SAT_REVERSE_ASSUMPTION_ORDER_FIELD_NUMBER = 52
static

Definition at line 5972 of file SatParameters.java.

◆ MAX_SAT_STRATIFICATION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_SAT_STRATIFICATION_FIELD_NUMBER = 53
static

Definition at line 6001 of file SatParameters.java.

◆ MAX_SIZE_TO_CREATE_PRECEDENCE_LITERALS_IN_DISJUNCTIVE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_SIZE_TO_CREATE_PRECEDENCE_LITERALS_IN_DISJUNCTIVE_FIELD_NUMBER = 229
static

Definition at line 6105 of file SatParameters.java.

◆ MAX_TIME_IN_SECONDS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_TIME_IN_SECONDS_FIELD_NUMBER = 36
static

Definition at line 3273 of file SatParameters.java.

◆ MAX_VARIABLE_ACTIVITY_VALUE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAX_VARIABLE_ACTIVITY_VALUE_FIELD_NUMBER = 16
static

Definition at line 2778 of file SatParameters.java.

◆ MAXIMUM_REGIONS_TO_SPLIT_IN_DISCONNECTED_NO_OVERLAP_2D_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MAXIMUM_REGIONS_TO_SPLIT_IN_DISCONNECTED_NO_OVERLAP_2D_FIELD_NUMBER = 315
static

Definition at line 6617 of file SatParameters.java.

◆ MERGE_AT_MOST_ONE_WORK_LIMIT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MERGE_AT_MOST_ONE_WORK_LIMIT_FIELD_NUMBER = 146
static

Definition at line 4604 of file SatParameters.java.

◆ MERGE_NO_OVERLAP_WORK_LIMIT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MERGE_NO_OVERLAP_WORK_LIMIT_FIELD_NUMBER = 145
static

Definition at line 4569 of file SatParameters.java.

◆ MIN_ORTHOGONALITY_FOR_LP_CONSTRAINTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MIN_ORTHOGONALITY_FOR_LP_CONSTRAINTS_FIELD_NUMBER = 115
static

Definition at line 9775 of file SatParameters.java.

◆ MINIMIZATION_ALGORITHM_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MINIMIZATION_ALGORITHM_FIELD_NUMBER = 4
static

Definition at line 2470 of file SatParameters.java.

◆ MINIMIZE_REDUCTION_DURING_PB_RESOLUTION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MINIMIZE_REDUCTION_DURING_PB_RESOLUTION_FIELD_NUMBER = 48
static

Definition at line 3840 of file SatParameters.java.

◆ MINIMIZE_SHARED_CLAUSES_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MINIMIZE_SHARED_CLAUSES_FIELD_NUMBER = 300
static

Definition at line 5685 of file SatParameters.java.

◆ MIP_AUTOMATICALLY_SCALE_VARIABLES_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MIP_AUTOMATICALLY_SCALE_VARIABLES_FIELD_NUMBER = 166
static

Definition at line 10249 of file SatParameters.java.

◆ MIP_CHECK_PRECISION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MIP_CHECK_PRECISION_FIELD_NUMBER = 128
static

Definition at line 10433 of file SatParameters.java.

◆ MIP_COMPUTE_TRUE_OBJECTIVE_BOUND_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MIP_COMPUTE_TRUE_OBJECTIVE_BOUND_FIELD_NUMBER = 198
static

Definition at line 10464 of file SatParameters.java.

◆ MIP_DROP_TOLERANCE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MIP_DROP_TOLERANCE_FIELD_NUMBER = 232
static

Definition at line 10571 of file SatParameters.java.

◆ MIP_MAX_ACTIVITY_EXPONENT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MIP_MAX_ACTIVITY_EXPONENT_FIELD_NUMBER = 127
static

Definition at line 10392 of file SatParameters.java.

◆ MIP_MAX_BOUND_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MIP_MAX_BOUND_FIELD_NUMBER = 124
static

Definition at line 10156 of file SatParameters.java.

◆ MIP_MAX_VALID_MAGNITUDE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MIP_MAX_VALID_MAGNITUDE_FIELD_NUMBER = 199
static

Definition at line 10499 of file SatParameters.java.

◆ MIP_PRESOLVE_LEVEL_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MIP_PRESOLVE_LEVEL_FIELD_NUMBER = 261
static

Definition at line 10600 of file SatParameters.java.

◆ MIP_SCALE_LARGE_DOMAIN_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MIP_SCALE_LARGE_DOMAIN_FIELD_NUMBER = 225
static

Definition at line 10218 of file SatParameters.java.

◆ MIP_TREAT_HIGH_MAGNITUDE_BOUNDS_AS_INFINITY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MIP_TREAT_HIGH_MAGNITUDE_BOUNDS_AS_INFINITY_FIELD_NUMBER = 278
static

Definition at line 10534 of file SatParameters.java.

◆ MIP_VAR_SCALING_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MIP_VAR_SCALING_FIELD_NUMBER = 125
static

Definition at line 10187 of file SatParameters.java.

◆ MIP_WANTED_PRECISION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.MIP_WANTED_PRECISION_FIELD_NUMBER = 126
static

Definition at line 10333 of file SatParameters.java.

◆ NAME_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.NAME_FIELD_NUMBER = 171
static

Definition at line 2096 of file SatParameters.java.

◆ NEW_CONSTRAINTS_BATCH_SIZE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.NEW_CONSTRAINTS_BATCH_SIZE_FIELD_NUMBER = 122
static

Definition at line 9945 of file SatParameters.java.

◆ NEW_LINEAR_PROPAGATION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.NEW_LINEAR_PROPAGATION_FIELD_NUMBER = 224
static

Definition at line 9172 of file SatParameters.java.

◆ NUM_CONFLICTS_BEFORE_STRATEGY_CHANGES_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.NUM_CONFLICTS_BEFORE_STRATEGY_CHANGES_FIELD_NUMBER = 68
static

Definition at line 3213 of file SatParameters.java.

◆ NUM_FULL_SUBSOLVERS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.NUM_FULL_SUBSOLVERS_FIELD_NUMBER = 294
static

Definition at line 5075 of file SatParameters.java.

◆ NUM_SEARCH_WORKERS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.NUM_SEARCH_WORKERS_FIELD_NUMBER = 100
static

Definition at line 5056 of file SatParameters.java.

◆ NUM_VIOLATION_LS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.NUM_VIOLATION_LS_FIELD_NUMBER = 244
static

Definition at line 7697 of file SatParameters.java.

◆ NUM_WORKERS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.NUM_WORKERS_FIELD_NUMBER = 206
static

Definition at line 5003 of file SatParameters.java.

◆ ONLY_ADD_CUTS_AT_LEVEL_ZERO_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ONLY_ADD_CUTS_AT_LEVEL_ZERO_FIELD_NUMBER = 92
static

Definition at line 9395 of file SatParameters.java.

◆ ONLY_SOLVE_IP_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ONLY_SOLVE_IP_FIELD_NUMBER = 222
static

Definition at line 10284 of file SatParameters.java.

◆ OPTIMIZE_WITH_CORE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.OPTIMIZE_WITH_CORE_FIELD_NUMBER = 83
static

Definition at line 7228 of file SatParameters.java.

◆ OPTIMIZE_WITH_LB_TREE_SEARCH_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.OPTIMIZE_WITH_LB_TREE_SEARCH_FIELD_NUMBER = 188
static

Definition at line 7261 of file SatParameters.java.

◆ OPTIMIZE_WITH_MAX_HS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.OPTIMIZE_WITH_MAX_HS_FIELD_NUMBER = 85
static

Definition at line 7366 of file SatParameters.java.

◆ PB_CLEANUP_INCREMENT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PB_CLEANUP_INCREMENT_FIELD_NUMBER = 46
static

Definition at line 2691 of file SatParameters.java.

◆ PB_CLEANUP_RATIO_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PB_CLEANUP_RATIO_FIELD_NUMBER = 47
static

Definition at line 2718 of file SatParameters.java.

◆ PERMUTE_PRESOLVE_CONSTRAINT_ORDER_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PERMUTE_PRESOLVE_CONSTRAINT_ORDER_FIELD_NUMBER = 179
static

Definition at line 3590 of file SatParameters.java.

◆ PERMUTE_VARIABLE_RANDOMLY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PERMUTE_VARIABLE_RANDOMLY_FIELD_NUMBER = 178
static

Definition at line 3557 of file SatParameters.java.

◆ POLARITY_EXPLOIT_LS_HINTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.POLARITY_EXPLOIT_LS_HINTS_FIELD_NUMBER = 309
static

Definition at line 2274 of file SatParameters.java.

◆ POLARITY_REPHASE_INCREMENT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.POLARITY_REPHASE_INCREMENT_FIELD_NUMBER = 168
static

Definition at line 2243 of file SatParameters.java.

◆ POLISH_LP_SOLUTION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.POLISH_LP_SOLUTION_FIELD_NUMBER = 175
static

Definition at line 8922 of file SatParameters.java.

◆ PREFERRED_VARIABLE_ORDER_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PREFERRED_VARIABLE_ORDER_FIELD_NUMBER = 1
static

Definition at line 2160 of file SatParameters.java.

◆ PRESOLVE_BLOCKED_CLAUSE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PRESOLVE_BLOCKED_CLAUSE_FIELD_NUMBER = 88
static

Definition at line 4030 of file SatParameters.java.

◆ PRESOLVE_BVA_THRESHOLD_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PRESOLVE_BVA_THRESHOLD_FIELD_NUMBER = 73
static

Definition at line 4086 of file SatParameters.java.

◆ PRESOLVE_BVE_CLAUSE_WEIGHT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PRESOLVE_BVE_CLAUSE_WEIGHT_FIELD_NUMBER = 55
static

Definition at line 3947 of file SatParameters.java.

◆ PRESOLVE_BVE_THRESHOLD_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PRESOLVE_BVE_THRESHOLD_FIELD_NUMBER = 54
static

Definition at line 3916 of file SatParameters.java.

◆ PRESOLVE_EXTRACT_INTEGER_ENFORCEMENT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PRESOLVE_EXTRACT_INTEGER_ENFORCEMENT_FIELD_NUMBER = 174
static

Definition at line 4656 of file SatParameters.java.

◆ PRESOLVE_INCLUSION_WORK_LIMIT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PRESOLVE_INCLUSION_WORK_LIMIT_FIELD_NUMBER = 201
static

Definition at line 4693 of file SatParameters.java.

◆ PRESOLVE_PROBING_DETERMINISTIC_TIME_LIMIT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PRESOLVE_PROBING_DETERMINISTIC_TIME_LIMIT_FIELD_NUMBER = 57
static

Definition at line 4011 of file SatParameters.java.

◆ PRESOLVE_SUBSTITUTION_LEVEL_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PRESOLVE_SUBSTITUTION_LEVEL_FIELD_NUMBER = 147
static

Definition at line 4623 of file SatParameters.java.

◆ PRESOLVE_USE_BVA_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PRESOLVE_USE_BVA_FIELD_NUMBER = 72
static

Definition at line 4059 of file SatParameters.java.

◆ PROBING_DETERMINISTIC_TIME_LIMIT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PROBING_DETERMINISTIC_TIME_LIMIT_FIELD_NUMBER = 226
static

Definition at line 3976 of file SatParameters.java.

◆ PROBING_NUM_COMBINATIONS_LIMIT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PROBING_NUM_COMBINATIONS_LIMIT_FIELD_NUMBER = 272
static

Definition at line 6992 of file SatParameters.java.

◆ PROPAGATION_LOOP_DETECTION_FACTOR_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PROPAGATION_LOOP_DETECTION_FACTOR_FIELD_NUMBER = 221
static

Definition at line 6019 of file SatParameters.java.

◆ PSEUDO_COST_RELIABILITY_THRESHOLD_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PSEUDO_COST_RELIABILITY_THRESHOLD_FIELD_NUMBER = 123
static

Definition at line 7199 of file SatParameters.java.

◆ PUSH_ALL_TASKS_TOWARD_START_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.PUSH_ALL_TASKS_TOWARD_START_FIELD_NUMBER = 262
static

Definition at line 8701 of file SatParameters.java.

◆ RANDOM_BRANCHES_RATIO_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.RANDOM_BRANCHES_RATIO_FIELD_NUMBER = 32
static

Definition at line 2338 of file SatParameters.java.

◆ RANDOM_POLARITY_RATIO_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.RANDOM_POLARITY_RATIO_FIELD_NUMBER = 45
static

Definition at line 2303 of file SatParameters.java.

◆ RANDOM_SEED_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.RANDOM_SEED_FIELD_NUMBER = 31
static

Definition at line 3518 of file SatParameters.java.

◆ RANDOMIZE_SEARCH_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.RANDOMIZE_SEARCH_FIELD_NUMBER = 103
static

Definition at line 8643 of file SatParameters.java.

◆ RELATIVE_GAP_LIMIT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.RELATIVE_GAP_LIMIT_FIELD_NUMBER = 160
static

Definition at line 3499 of file SatParameters.java.

◆ REMOVE_FIXED_VARIABLES_EARLY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.REMOVE_FIXED_VARIABLES_EARLY_FIELD_NUMBER = 310
static

Definition at line 4231 of file SatParameters.java.

◆ REPAIR_HINT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.REPAIR_HINT_FIELD_NUMBER = 167
static

Definition at line 6872 of file SatParameters.java.

◆ RESTART_ALGORITHMS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.RESTART_ALGORITHMS_FIELD_NUMBER = 61
static

Definition at line 2916 of file SatParameters.java.

◆ RESTART_DL_AVERAGE_RATIO_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.RESTART_DL_AVERAGE_RATIO_FIELD_NUMBER = 63
static

Definition at line 3096 of file SatParameters.java.

◆ RESTART_LBD_AVERAGE_RATIO_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.RESTART_LBD_AVERAGE_RATIO_FIELD_NUMBER = 71
static

Definition at line 3125 of file SatParameters.java.

◆ RESTART_PERIOD_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.RESTART_PERIOD_FIELD_NUMBER = 30
static

Definition at line 3040 of file SatParameters.java.

◆ RESTART_RUNNING_WINDOW_SIZE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.RESTART_RUNNING_WINDOW_SIZE_FIELD_NUMBER = 62
static

Definition at line 3069 of file SatParameters.java.

◆ ROOT_LP_ITERATIONS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ROOT_LP_ITERATIONS_FIELD_NUMBER = 227
static

Definition at line 9742 of file SatParameters.java.

◆ ROUTING_CUT_DP_EFFORT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ROUTING_CUT_DP_EFFORT_FIELD_NUMBER = 314
static

Definition at line 6794 of file SatParameters.java.

◆ ROUTING_CUT_SUBSET_SIZE_FOR_BINARY_RELATION_BOUND_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ROUTING_CUT_SUBSET_SIZE_FOR_BINARY_RELATION_BOUND_FIELD_NUMBER = 312
static

Definition at line 6722 of file SatParameters.java.

◆ ROUTING_CUT_SUBSET_SIZE_FOR_TIGHT_BINARY_RELATION_BOUND_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.ROUTING_CUT_SUBSET_SIZE_FOR_TIGHT_BINARY_RELATION_BOUND_FIELD_NUMBER = 313
static

Definition at line 6763 of file SatParameters.java.

◆ SAVE_LP_BASIS_IN_LB_TREE_SEARCH_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SAVE_LP_BASIS_IN_LB_TREE_SEARCH_FIELD_NUMBER = 284
static

Definition at line 7296 of file SatParameters.java.

◆ SEARCH_BRANCHING_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SEARCH_BRANCHING_FIELD_NUMBER = 82
static

Definition at line 6827 of file SatParameters.java.

◆ SEARCH_RANDOM_VARIABLE_POOL_SIZE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SEARCH_RANDOM_VARIABLE_POOL_SIZE_FIELD_NUMBER = 104
static

Definition at line 8670 of file SatParameters.java.

◆ SHARE_BINARY_CLAUSES_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SHARE_BINARY_CLAUSES_FIELD_NUMBER = 203
static

Definition at line 5629 of file SatParameters.java.

◆ SHARE_GLUE_CLAUSES_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SHARE_GLUE_CLAUSES_FIELD_NUMBER = 285
static

Definition at line 5656 of file SatParameters.java.

◆ SHARE_LEVEL_ZERO_BOUNDS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SHARE_LEVEL_ZERO_BOUNDS_FIELD_NUMBER = 114
static

Definition at line 5602 of file SatParameters.java.

◆ SHARE_OBJECTIVE_BOUNDS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SHARE_OBJECTIVE_BOUNDS_FIELD_NUMBER = 113
static

Definition at line 5575 of file SatParameters.java.

◆ SHARED_TREE_BALANCE_TOLERANCE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SHARED_TREE_BALANCE_TOLERANCE_FIELD_NUMBER = 305
static

Definition at line 8015 of file SatParameters.java.

◆ SHARED_TREE_MAX_NODES_PER_WORKER_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SHARED_TREE_MAX_NODES_PER_WORKER_FIELD_NUMBER = 238
static

Definition at line 7964 of file SatParameters.java.

◆ SHARED_TREE_NUM_WORKERS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SHARED_TREE_NUM_WORKERS_FIELD_NUMBER = 235
static

Definition at line 7784 of file SatParameters.java.

◆ SHARED_TREE_OPEN_LEAVES_PER_WORKER_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SHARED_TREE_OPEN_LEAVES_PER_WORKER_FIELD_NUMBER = 281
static

Definition at line 7937 of file SatParameters.java.

◆ SHARED_TREE_SPLIT_STRATEGY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SHARED_TREE_SPLIT_STRATEGY_FIELD_NUMBER = 239
static

Definition at line 7997 of file SatParameters.java.

◆ SHARED_TREE_WORKER_ENABLE_PHASE_SHARING_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SHARED_TREE_WORKER_ENABLE_PHASE_SHARING_FIELD_NUMBER = 304
static

Definition at line 7908 of file SatParameters.java.

◆ SHARED_TREE_WORKER_ENABLE_TRAIL_SHARING_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SHARED_TREE_WORKER_ENABLE_TRAIL_SHARING_FIELD_NUMBER = 295
static

Definition at line 7879 of file SatParameters.java.

◆ SHARED_TREE_WORKER_MIN_RESTARTS_PER_SUBTREE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SHARED_TREE_WORKER_MIN_RESTARTS_PER_SUBTREE_FIELD_NUMBER = 282
static

Definition at line 7850 of file SatParameters.java.

◆ SHAVING_SEARCH_DETERMINISTIC_TIME_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SHAVING_SEARCH_DETERMINISTIC_TIME_FIELD_NUMBER = 205
static

Definition at line 7048 of file SatParameters.java.

◆ SHAVING_SEARCH_THRESHOLD_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SHAVING_SEARCH_THRESHOLD_FIELD_NUMBER = 290
static

Definition at line 7077 of file SatParameters.java.

◆ SOLUTION_POOL_SIZE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SOLUTION_POOL_SIZE_FIELD_NUMBER = 193
static

Definition at line 8455 of file SatParameters.java.

◆ STOP_AFTER_FIRST_SOLUTION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.STOP_AFTER_FIRST_SOLUTION_FIELD_NUMBER = 98
static

Definition at line 8280 of file SatParameters.java.

◆ STOP_AFTER_PRESOLVE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.STOP_AFTER_PRESOLVE_FIELD_NUMBER = 149
static

Definition at line 8307 of file SatParameters.java.

◆ STOP_AFTER_ROOT_PROPAGATION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.STOP_AFTER_ROOT_PROPAGATION_FIELD_NUMBER = 252
static

Definition at line 8336 of file SatParameters.java.

◆ STRATEGY_CHANGE_INCREASE_RATIO_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.STRATEGY_CHANGE_INCREASE_RATIO_FIELD_NUMBER = 69
static

Definition at line 3244 of file SatParameters.java.

◆ SUBSOLVER_PARAMS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SUBSOLVER_PARAMS_FIELD_NUMBER = 210
static

Definition at line 5438 of file SatParameters.java.

◆ SUBSOLVERS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SUBSOLVERS_FIELD_NUMBER = 207
static

Definition at line 5110 of file SatParameters.java.

◆ SUBSUMPTION_DURING_CONFLICT_ANALYSIS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SUBSUMPTION_DURING_CONFLICT_ANALYSIS_FIELD_NUMBER = 56
static

Definition at line 2506 of file SatParameters.java.

◆ SYMMETRY_DETECTION_DETERMINISTIC_TIME_LIMIT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SYMMETRY_DETECTION_DETERMINISTIC_TIME_LIMIT_FIELD_NUMBER = 302
static

Definition at line 9145 of file SatParameters.java.

◆ SYMMETRY_LEVEL_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SYMMETRY_LEVEL_FIELD_NUMBER = 183
static

Definition at line 9040 of file SatParameters.java.

◆ TABLE_COMPRESSION_LEVEL_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.TABLE_COMPRESSION_LEVEL_FIELD_NUMBER = 217
static

Definition at line 4301 of file SatParameters.java.

◆ USE_ABSL_RANDOM_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_ABSL_RANDOM_FIELD_NUMBER = 180
static

Definition at line 3609 of file SatParameters.java.

◆ USE_ALL_DIFFERENT_FOR_CIRCUIT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_ALL_DIFFERENT_FOR_CIRCUIT_FIELD_NUMBER = 311
static

Definition at line 6693 of file SatParameters.java.

◆ USE_AREA_ENERGETIC_REASONING_IN_NO_OVERLAP_2D_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_AREA_ENERGETIC_REASONING_IN_NO_OVERLAP_2D_FIELD_NUMBER = 271
static

Definition at line 6536 of file SatParameters.java.

◆ USE_BLOCKING_RESTART_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_BLOCKING_RESTART_FIELD_NUMBER = 64
static

Definition at line 3144 of file SatParameters.java.

◆ USE_COMBINED_NO_OVERLAP_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_COMBINED_NO_OVERLAP_FIELD_NUMBER = 133
static

Definition at line 8800 of file SatParameters.java.

◆ USE_CONSERVATIVE_SCALE_OVERLOAD_CHECKER_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_CONSERVATIVE_SCALE_OVERLOAD_CHECKER_FIELD_NUMBER = 286
static

Definition at line 6262 of file SatParameters.java.

◆ USE_DISJUNCTIVE_CONSTRAINT_IN_CUMULATIVE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_DISJUNCTIVE_CONSTRAINT_IN_CUMULATIVE_FIELD_NUMBER = 80
static

Definition at line 6425 of file SatParameters.java.

◆ USE_DUAL_SCHEDULING_HEURISTICS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_DUAL_SCHEDULING_HEURISTICS_FIELD_NUMBER = 214
static

Definition at line 6662 of file SatParameters.java.

◆ USE_DYNAMIC_PRECEDENCE_IN_CUMULATIVE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_DYNAMIC_PRECEDENCE_IN_CUMULATIVE_FIELD_NUMBER = 268
static

Definition at line 6204 of file SatParameters.java.

◆ USE_DYNAMIC_PRECEDENCE_IN_DISJUNCTIVE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_DYNAMIC_PRECEDENCE_IN_DISJUNCTIVE_FIELD_NUMBER = 263
static

Definition at line 6167 of file SatParameters.java.

◆ USE_ENERGETIC_REASONING_IN_NO_OVERLAP_2D_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_ENERGETIC_REASONING_IN_NO_OVERLAP_2D_FIELD_NUMBER = 213
static

Definition at line 6505 of file SatParameters.java.

◆ USE_ERWA_HEURISTIC_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_ERWA_HEURISTIC_FIELD_NUMBER = 75
static

Definition at line 2369 of file SatParameters.java.

◆ USE_EXACT_LP_REASON_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_EXACT_LP_REASON_FIELD_NUMBER = 109
static

Definition at line 8767 of file SatParameters.java.

◆ USE_EXTENDED_PROBING_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_EXTENDED_PROBING_FIELD_NUMBER = 269
static

Definition at line 6965 of file SatParameters.java.

◆ USE_FEASIBILITY_JUMP_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_FEASIBILITY_JUMP_FIELD_NUMBER = 265
static

Definition at line 7403 of file SatParameters.java.

◆ USE_FEASIBILITY_PUMP_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_FEASIBILITY_PUMP_FIELD_NUMBER = 164
static

Definition at line 8513 of file SatParameters.java.

◆ USE_HARD_PRECEDENCES_IN_CUMULATIVE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_HARD_PRECEDENCES_IN_CUMULATIVE_FIELD_NUMBER = 215
static

Definition at line 6369 of file SatParameters.java.

◆ USE_IMPLIED_BOUNDS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_IMPLIED_BOUNDS_FIELD_NUMBER = 144
static

Definition at line 8891 of file SatParameters.java.

◆ USE_LB_RELAX_LNS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_LB_RELAX_LNS_FIELD_NUMBER = 255
static

Definition at line 8540 of file SatParameters.java.

◆ USE_LNS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_LNS_FIELD_NUMBER = 283
static

Definition at line 8401 of file SatParameters.java.

◆ USE_LNS_ONLY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_LNS_ONLY_FIELD_NUMBER = 101
static

Definition at line 8428 of file SatParameters.java.

◆ USE_LS_ONLY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_LS_ONLY_FIELD_NUMBER = 240
static

Definition at line 7434 of file SatParameters.java.

◆ USE_OBJECTIVE_LB_SEARCH_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_OBJECTIVE_LB_SEARCH_FIELD_NUMBER = 228
static

Definition at line 7110 of file SatParameters.java.

◆ USE_OBJECTIVE_SHAVING_SEARCH_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_OBJECTIVE_SHAVING_SEARCH_FIELD_NUMBER = 253
static

Definition at line 7139 of file SatParameters.java.

◆ USE_OPTIMIZATION_HINTS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_OPTIMIZATION_HINTS_FIELD_NUMBER = 35
static

Definition at line 5828 of file SatParameters.java.

◆ USE_OPTIONAL_VARIABLES_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_OPTIONAL_VARIABLES_FIELD_NUMBER = 108
static

Definition at line 8730 of file SatParameters.java.

◆ USE_OVERLOAD_CHECKER_IN_CUMULATIVE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_OVERLOAD_CHECKER_IN_CUMULATIVE_FIELD_NUMBER = 78
static

Definition at line 6223 of file SatParameters.java.

◆ USE_PB_RESOLUTION_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_PB_RESOLUTION_FIELD_NUMBER = 43
static

Definition at line 3807 of file SatParameters.java.

◆ USE_PHASE_SAVING_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_PHASE_SAVING_FIELD_NUMBER = 44
static

Definition at line 2196 of file SatParameters.java.

◆ USE_PRECEDENCES_IN_DISJUNCTIVE_CONSTRAINT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_PRECEDENCES_IN_DISJUNCTIVE_CONSTRAINT_FIELD_NUMBER = 74
static

Definition at line 6062 of file SatParameters.java.

◆ USE_PROBING_SEARCH_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_PROBING_SEARCH_FIELD_NUMBER = 176
static

Definition at line 6934 of file SatParameters.java.

◆ USE_RINS_LNS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_RINS_LNS_FIELD_NUMBER = 129
static

Definition at line 8486 of file SatParameters.java.

◆ USE_SAT_INPROCESSING_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_SAT_INPROCESSING_FIELD_NUMBER = 163
static

Definition at line 4833 of file SatParameters.java.

◆ USE_SHARED_TREE_SEARCH_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_SHARED_TREE_SEARCH_FIELD_NUMBER = 236
static

Definition at line 7823 of file SatParameters.java.

◆ USE_SHAVING_IN_PROBING_SEARCH_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_SHAVING_IN_PROBING_SEARCH_FIELD_NUMBER = 204
static

Definition at line 7019 of file SatParameters.java.

◆ USE_STRONG_PROPAGATION_IN_DISJUNCTIVE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_STRONG_PROPAGATION_IN_DISJUNCTIVE_FIELD_NUMBER = 230
static

Definition at line 6140 of file SatParameters.java.

◆ USE_SYMMETRY_IN_LP_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_SYMMETRY_IN_LP_FIELD_NUMBER = 301
static

Definition at line 9077 of file SatParameters.java.

◆ USE_TIMETABLE_EDGE_FINDING_IN_CUMULATIVE_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_TIMETABLE_EDGE_FINDING_IN_CUMULATIVE_FIELD_NUMBER = 79
static

Definition at line 6301 of file SatParameters.java.

◆ USE_TIMETABLING_IN_NO_OVERLAP_2D_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_TIMETABLING_IN_NO_OVERLAP_2D_FIELD_NUMBER = 200
static

Definition at line 6470 of file SatParameters.java.

◆ USE_TRY_EDGE_REASONING_IN_NO_OVERLAP_2D_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_TRY_EDGE_REASONING_IN_NO_OVERLAP_2D_FIELD_NUMBER = 299
static

Definition at line 6567 of file SatParameters.java.

◆ USE_VARIABLES_SHAVING_SEARCH_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_VARIABLES_SHAVING_SEARCH_FIELD_NUMBER = 289
static

Definition at line 7170 of file SatParameters.java.

◆ VARIABLE_ACTIVITY_DECAY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.VARIABLE_ACTIVITY_DECAY_FIELD_NUMBER = 15
static

Definition at line 2737 of file SatParameters.java.

◆ VIOLATION_LS_COMPOUND_MOVE_PROBABILITY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.VIOLATION_LS_COMPOUND_MOVE_PROBABILITY_FIELD_NUMBER = 259
static

Definition at line 7755 of file SatParameters.java.

◆ VIOLATION_LS_PERTURBATION_PERIOD_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.VIOLATION_LS_PERTURBATION_PERIOD_FIELD_NUMBER = 249
static

Definition at line 7728 of file SatParameters.java.


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