Google OR-Tools v9.11
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 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 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 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 hasDebugPostsolveWithFullSolver ()
 
boolean getDebugPostsolveWithFullSolver ()
 
boolean hasDebugMaxNumPresolveOperations ()
 
int getDebugMaxNumPresolveOperations ()
 
boolean hasDebugCrashOnBadHint ()
 
boolean getDebugCrashOnBadHint ()
 
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 hasMaxPairsPairwiseReasoningInNoOverlap2D ()
 
int getMaxPairsPairwiseReasoningInNoOverlap2D ()
 
boolean hasUseDualSchedulingHeuristics ()
 
boolean getUseDualSchedulingHeuristics ()
 
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 hasSharedTreeWorkerObjectiveSplitProbability ()
 
double getSharedTreeWorkerObjectiveSplitProbability ()
 
boolean hasSharedTreeWorkerMinRestartsPerSubtree ()
 
int getSharedTreeWorkerMinRestartsPerSubtree ()
 
boolean hasSharedTreeWorkerEnableTrailSharing ()
 
boolean getSharedTreeWorkerEnableTrailSharing ()
 
boolean hasSharedTreeOpenLeavesPerWorker ()
 
double getSharedTreeOpenLeavesPerWorker ()
 
boolean hasSharedTreeMaxNodesPerWorker ()
 
int getSharedTreeMaxNodesPerWorker ()
 
boolean hasSharedTreeSplitStrategy ()
 
com.google.ortools.sat.SatParameters.SharedTreeSplitStrategy getSharedTreeSplitStrategy ()
 
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 hasUseLns ()
 
boolean getUseLns ()
 
boolean hasUseLnsOnly ()
 
boolean getUseLnsOnly ()
 
boolean hasSolutionPoolSize ()
 
int getSolutionPoolSize ()
 
boolean hasUseRinsLns ()
 
boolean getUseRinsLns ()
 
boolean hasUseFeasibilityPump ()
 
boolean getUseFeasibilityPump ()
 
boolean hasUseLbRelaxLns ()
 
boolean getUseLbRelaxLns ()
 
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 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 ()
 
- Public Member Functions inherited from com.google.ortools.sat.SatParametersOrBuilder

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 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 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 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 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 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 MAX_PAIRS_PAIRWISE_REASONING_IN_NO_OVERLAP_2D_FIELD_NUMBER = 276
 
static final int USE_DUAL_SCHEDULING_HEURISTICS_FIELD_NUMBER = 214
 
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_OBJECTIVE_SPLIT_PROBABILITY_FIELD_NUMBER = 237
 
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_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 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 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 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 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: 296

Protobuf type operations_research.sat.SatParameters

Definition at line 17 of file SatParameters.java.

Member Function Documentation

◆ equals()

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

Definition at line 11841 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 3454 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 8909 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 8998 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 9089 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 9163 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 8938 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 8880 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 9027 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 8967 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 2425 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 8376 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 7869 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 2460 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 6992 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 3168 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 3149 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 8717 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 8407 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 2852 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 2628 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 2645 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 2521 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 2598 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 2581 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 2550 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 8556 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 5718 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 3871 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 5778 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 4132 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 4159 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 4186 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 9339 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 9366 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 8816 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 9320 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 5652 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 5625 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 5596 of file SatParameters.java.

◆ getDefaultInstance()

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

Definition at line 34864 of file SatParameters.java.

◆ getDefaultInstanceForType()

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

Definition at line 34900 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 2966 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 2986 of file SatParameters.java.

◆ getDescriptor()

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

Definition at line 205 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 9577 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 4223 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 4458 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 8159 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 4487 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 4394 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 7682 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 4285 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 4314 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 take a slighlty different
meaning. The level must be within the reservoir for any permutation of the
events. So we cannot have +100 and -100 at the same time if the maximum
level is 10 (as autorized 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 4363 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 9459 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 6249 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 9486 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 9428 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 9546 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 9517 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 5182 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 5196 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 5169 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 5157 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 7201 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 7118 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 7290 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 7145 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 7323 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 7174 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 7259 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 7230 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 7803 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 7758 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 5309 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 5318 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 5301 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 5294 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 4751 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 5747 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 6560 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 8131 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 2806 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 2825 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 2787 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 6498 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 4677 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 5260 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 5281 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 5240 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 5221 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 4718 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 2179 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 2392 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 4811 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 4883 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 4838 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 7836 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 5455 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 5436 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 7723 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 8688 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 8655 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 3675 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 3699 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 3614 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 3647 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 3762 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 3735 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 8525 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 8506 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 9058 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 2871 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 9289 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 9258 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 3288 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 8750 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 9130 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 4429 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 3393 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 3356 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 8785 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 3317 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 6193 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 6422 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 4105 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 5795 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 5825 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 5842 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 5964 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 3257 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 2752 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 4541 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 4522 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 2442 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 3828 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 9231 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 9705 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 9885 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 9920 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 10021 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 9854 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 9608 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 9955 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 10054 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 9670 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 9992 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 9639 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 9813 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 2110 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 2135 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 9395 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 8624 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 3199 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 4990 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 4955 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 7354 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 4936 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 8845 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 9754 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 6887 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 6922 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 7029 of file SatParameters.java.

◆ getParserForType()

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

Definition at line 34895 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 2673 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 2692 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 3564 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 3545 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 2258 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 8471 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 2161 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 4014 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 4074 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 3931 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 3902 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 4611 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 4650 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 3985 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 4574 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 4041 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 3966 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 6645 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 5886 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 6854 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 8246 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 2324 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 8186 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 2293 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 3512 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 3473 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 6531 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 2946 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 2925 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 2904 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 3080 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 3099 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 3024 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 3051 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 9196 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 6959 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 6470 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 8217 of file SatParameters.java.

◆ getSerializedSize()

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

Definition at line 10820 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 5536 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 = 100000];

Returns
The sharedTreeMaxNodesPerWorker.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7625 of file SatParameters.java.

◆ getSharedTreeNumWorkers()

int com.google.ortools.sat.SatParameters.getSharedTreeNumWorkers ( )
Enables experimental workstealing-like shared tree search.
If non-zero, start this many complete worker threads to explore a shared
search tree. These workers communicate objective bounds and simple decision
nogoods relating to the shared prefix of the tree, and will avoid exploring
the same subtrees as one another.

optional int32 shared_tree_num_workers = 235 [default = 0];

Returns
The sharedTreeNumWorkers.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7445 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 7592 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 7642 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 and
the longest conflict-free assignment from the last restart (to enable
cross-worker phase-saving).

optional bool shared_tree_worker_enable_trail_sharing = 295 [default = true];

Returns
The sharedTreeWorkerEnableTrailSharing.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7565 of file SatParameters.java.

◆ getSharedTreeWorkerMinRestartsPerSubtree()

int com.google.ortools.sat.SatParameters.getSharedTreeWorkerMinRestartsPerSubtree ( )
Minimum number of 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 7532 of file SatParameters.java.

◆ getSharedTreeWorkerObjectiveSplitProbability()

double com.google.ortools.sat.SatParameters.getSharedTreeWorkerObjectiveSplitProbability ( )
After their assigned prefix, shared tree workers will branch on the
objective with this probability. Higher numbers cause the shared tree
search to focus on improving the lower bound over finding primal solutions.

optional double shared_tree_worker_objective_split_probability = 237 [default = 0.5];

Returns
The sharedTreeWorkerObjectiveSplitProbability.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7503 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 5565 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 5509 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 5482 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 6703 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 6736 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 8029 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 7896 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 7925 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 7944 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 3228 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 5383 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 5368 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 5337 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 5398 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 5353 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 5102 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 5139 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 5066 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 5031 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 2494 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 8593 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 4256 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 3583 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 6391 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 3130 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 8347 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 6125 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 6294 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 6453 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 6047 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 6028 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 6360 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 2355 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 8316 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 6618 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 7060 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 8083 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 6230 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 8438 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 = false];

Returns
The useLbRelaxLns.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8114 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 7971 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 7998 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 7089 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 6765 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 6796 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 5685 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 8283 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 6086 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 3795 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 2227 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 5929 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 6591 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 8056 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 4780 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 7472 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 6674 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 5991 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 6164 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 6329 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 6825 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 2733 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 7410 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 7381 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 3425 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 8896 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 8984 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 9075 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 9148 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 8925 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 8864 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 9014 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 8954 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 2410 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 8363 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 7854 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 2453 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 6977 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 3160 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 3141 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 8704 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 8393 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 2840 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 2615 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 2638 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 2509 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 2591 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 2567 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 2537 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 8542 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 5703 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 3851 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 5764 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 4120 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 4147 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 4174 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 9331 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 9354 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 8802 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 9306 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 5640 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 5612 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 5582 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 2958 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 9563 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 4206 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 4445 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 8147 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 4474 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 4380 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 7664 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 4272 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 4301 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 take a slighlty different
meaning. The level must be within the reservoir for any permutation of the
events. So we cannot have +100 and -100 at the same time if the maximum
level is 10 (as autorized 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 4340 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 9445 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 6241 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 9474 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 9413 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 9533 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 9503 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 7189 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 7105 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 7276 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 7133 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 7308 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 7161 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 7246 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 7217 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 7782 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 7742 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 4736 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 5734 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 6547 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 8124 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 2798 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 2817 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 2771 of file SatParameters.java.

◆ hashCode()

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

Definition at line 13111 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 6486 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 4665 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 4699 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 2172 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 2375 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 4797 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 4862 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 4826 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 7821 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 5447 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 5419 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 7704 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 8673 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 8641 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 3663 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 3600 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 3632 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 3750 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 3723 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 8517 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 8490 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 9044 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 2863 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 9275 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 9246 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 3274 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 8735 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 9111 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 4413 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 3376 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 3338 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 8769 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 3304 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 6180 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 6408 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 4091 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 5788 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 5812 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 5835 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 5948 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 3244 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 2744 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 4533 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 4506 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 2435 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 3813 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 9215 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 9689 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 9871 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 9904 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 10008 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 9835 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 9594 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 9939 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 10039 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 9656 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 9975 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 9625 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 9785 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 2097 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 9382 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 8610 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 3185 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 4974 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 4947 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 7340 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 4911 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 8832 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 9731 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 6872 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 6906 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 7012 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 2661 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 2684 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 3556 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 3530 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 2244 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 8456 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 2154 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 4001 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 4059 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 3918 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 3888 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 4594 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 4632 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 3977 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 4559 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 4029 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 3950 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 6633 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 5866 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 6841 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 8233 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 2310 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 8174 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 2277 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 3494 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 3465 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 6516 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 3067 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 3091 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 3011 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 3039 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 9181 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 6942 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 6463 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 8203 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 5524 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 = 100000];

Returns
Whether the sharedTreeMaxNodesPerWorker field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7610 of file SatParameters.java.

◆ hasSharedTreeNumWorkers()

boolean com.google.ortools.sat.SatParameters.hasSharedTreeNumWorkers ( )
Enables experimental workstealing-like shared tree search.
If non-zero, start this many complete worker threads to explore a shared
search tree. These workers communicate objective bounds and simple decision
nogoods relating to the shared prefix of the tree, and will avoid exploring
the same subtrees as one another.

optional int32 shared_tree_num_workers = 235 [default = 0];

Returns
Whether the sharedTreeNumWorkers field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7429 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 7580 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 7635 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 and
the longest conflict-free assignment from the last restart (to enable
cross-worker phase-saving).

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 7550 of file SatParameters.java.

◆ hasSharedTreeWorkerMinRestartsPerSubtree()

boolean com.google.ortools.sat.SatParameters.hasSharedTreeWorkerMinRestartsPerSubtree ( )
Minimum number of 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 7519 of file SatParameters.java.

◆ hasSharedTreeWorkerObjectiveSplitProbability()

boolean com.google.ortools.sat.SatParameters.hasSharedTreeWorkerObjectiveSplitProbability ( )
After their assigned prefix, shared tree workers will branch on the
objective with this probability. Higher numbers cause the shared tree
search to focus on improving the lower bound over finding primal solutions.

optional double shared_tree_worker_objective_split_probability = 237 [default = 0.5];

Returns
Whether the sharedTreeWorkerObjectiveSplitProbability field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 7489 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 5552 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 5497 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 5470 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 6690 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 6721 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 8015 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 7884 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 7912 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 7936 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 3215 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 2479 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 8576 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 4241 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 3575 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 6377 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 3116 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 8333 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 6107 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 6273 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 6439 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 6039 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 6011 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 6346 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 2341 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 8301 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 6606 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 7046 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 8071 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 6213 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 8424 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 = false];

Returns
Whether the useLbRelaxLns field is set.

Implements com.google.ortools.sat.SatParametersOrBuilder.

Definition at line 8100 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 7959 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 7986 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 7076 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 6752 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 6782 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 5670 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 8266 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 6068 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 3780 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 2205 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 5909 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 6577 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 8044 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 4767 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 7460 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 6661 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 5979 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 6146 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 6313 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 6812 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 2714 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 7397 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 7369 of file SatParameters.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 211 of file SatParameters.java.

◆ isInitialized()

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

Definition at line 10060 of file SatParameters.java.

◆ newBuilder() [1/2]

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

Definition at line 14358 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 14361 of file SatParameters.java.

◆ newBuilderForType() [1/2]

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

Definition at line 14357 of file SatParameters.java.

◆ newBuilderForType() [2/2]

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

Definition at line 14371 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 14329 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 14335 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 14306 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 14310 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 14295 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 14300 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 14342 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 14348 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 14316 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 14321 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 14284 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 14289 of file SatParameters.java.

◆ parser()

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

Definition at line 34890 of file SatParameters.java.

◆ toBuilder()

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

Definition at line 14365 of file SatParameters.java.

◆ writeTo()

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

Definition at line 10070 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 3397 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 8884 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 8971 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 9062 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 9134 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 8913 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 8849 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 9002 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 8942 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 2396 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 8351 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 7840 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 2447 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 6963 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 3153 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 3134 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 8692 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 8380 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 2829 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 2603 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 2632 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 2498 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 2585 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 2554 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 2525 of file SatParameters.java.

◆ CONVERT_INTERVALS_FIELD_NUMBER

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

Definition at line 8529 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 5689 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 3832 of file SatParameters.java.

◆ COVER_OPTIMIZATION_FIELD_NUMBER

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

Definition at line 5751 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 4109 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 4136 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 4163 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 9324 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 9343 of file SatParameters.java.

◆ CUT_LEVEL_FIELD_NUMBER

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

Definition at line 8789 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 9293 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 5629 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 5600 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 5569 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 2950 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 9550 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 4190 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 4433 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 8136 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 4462 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 4367 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 7647 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 4260 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 4289 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 4318 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 9432 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 6234 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 9463 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 9399 of file SatParameters.java.

◆ EXPLOIT_OBJECTIVE_FIELD_NUMBER

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

Definition at line 9521 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 9490 of file SatParameters.java.

◆ EXTRA_SUBSOLVERS_FIELD_NUMBER

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

Definition at line 5143 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 7178 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 7093 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 7263 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 7122 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 7294 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 7149 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 7234 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 7205 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 7762 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 7727 of file SatParameters.java.

◆ FILTER_SUBSOLVERS_FIELD_NUMBER

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

Definition at line 5285 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 4722 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 5722 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 6535 of file SatParameters.java.

◆ FP_ROUNDING_FIELD_NUMBER

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

Definition at line 8118 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 2791 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 2810 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 2756 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 6475 of file SatParameters.java.

◆ IGNORE_NAMES_FIELD_NUMBER

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

Definition at line 4654 of file SatParameters.java.

◆ IGNORE_SUBSOLVERS_FIELD_NUMBER

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

Definition at line 5200 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 4681 of file SatParameters.java.

◆ INITIAL_POLARITY_FIELD_NUMBER

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

Definition at line 2166 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 2359 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 4784 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 4842 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 4815 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 7807 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 5440 of file SatParameters.java.

◆ INTERLEAVE_SEARCH_FIELD_NUMBER

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

Definition at line 5403 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 7686 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 8628 of file SatParameters.java.

◆ LINEARIZATION_LEVEL_FIELD_NUMBER

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

Definition at line 8659 of file SatParameters.java.

◆ LOG_PREFIX_FIELD_NUMBER

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

Definition at line 3651 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 3587 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 3618 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 3739 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 3712 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 8510 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 8475 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 9031 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 2856 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 9262 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 9235 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 3261 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 8721 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 9093 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 4398 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 3360 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 8754 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 3292 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 6168 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 3321 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 6395 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 4078 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 5782 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 5800 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 5829 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 5933 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 3232 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 2737 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 4526 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 4491 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 9200 of file SatParameters.java.

◆ MINIMIZATION_ALGORITHM_FIELD_NUMBER

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

Definition at line 2429 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 3799 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 9674 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 9858 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 9889 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 9996 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 9817 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 9581 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 9924 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 10025 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 9643 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 9959 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 9612 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 9758 of file SatParameters.java.

◆ NAME_FIELD_NUMBER

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

Definition at line 2084 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 9370 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 8597 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 3172 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 4959 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 4940 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 7327 of file SatParameters.java.

◆ NUM_WORKERS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.NUM_WORKERS_FIELD_NUMBER = 206
static

Definition at line 4887 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 8820 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 9709 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 6858 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 6891 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 6996 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 2650 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 2677 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 3549 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 3516 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 2231 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 8442 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 2148 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 3989 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 4045 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 3906 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 3875 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 4578 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 4615 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 3970 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 4545 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 4018 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 3935 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 6622 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 5847 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 6829 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 8221 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 2297 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 2262 of file SatParameters.java.

◆ RANDOM_SEED_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.RANDOM_SEED_FIELD_NUMBER = 31
static

Definition at line 3477 of file SatParameters.java.

◆ RANDOMIZE_SEARCH_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.RANDOMIZE_SEARCH_FIELD_NUMBER = 103
static

Definition at line 8163 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 3458 of file SatParameters.java.

◆ REPAIR_HINT_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.REPAIR_HINT_FIELD_NUMBER = 167
static

Definition at line 6502 of file SatParameters.java.

◆ RESTART_ALGORITHMS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.RESTART_ALGORITHMS_FIELD_NUMBER = 61
static

Definition at line 2875 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 3055 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 3084 of file SatParameters.java.

◆ RESTART_PERIOD_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.RESTART_PERIOD_FIELD_NUMBER = 30
static

Definition at line 2999 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 3028 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 9167 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 6926 of file SatParameters.java.

◆ SEARCH_BRANCHING_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SEARCH_BRANCHING_FIELD_NUMBER = 82
static

Definition at line 6457 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 8190 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 5513 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 5540 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 5486 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 5459 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 7596 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 7414 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 7569 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 7629 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 7536 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 7507 of file SatParameters.java.

◆ SHARED_TREE_WORKER_OBJECTIVE_SPLIT_PROBABILITY_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SHARED_TREE_WORKER_OBJECTIVE_SPLIT_PROBABILITY_FIELD_NUMBER = 237
static

Definition at line 7476 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 6678 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 6707 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 8002 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 7873 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 7900 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 7929 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 3203 of file SatParameters.java.

◆ SUBSOLVER_PARAMS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SUBSOLVER_PARAMS_FIELD_NUMBER = 210
static

Definition at line 5322 of file SatParameters.java.

◆ SUBSOLVERS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SUBSOLVERS_FIELD_NUMBER = 207
static

Definition at line 4994 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 2465 of file SatParameters.java.

◆ SYMMETRY_LEVEL_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.SYMMETRY_LEVEL_FIELD_NUMBER = 183
static

Definition at line 8560 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 4227 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 3568 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 6364 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 3103 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 8320 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 6090 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 6253 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 6426 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 6032 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 5995 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 6333 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 2328 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 8287 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 6595 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 7033 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 8060 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 6197 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 8411 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 8087 of file SatParameters.java.

◆ USE_LNS_FIELD_NUMBER

final int com.google.ortools.sat.SatParameters.USE_LNS_FIELD_NUMBER = 283
static

Definition at line 7948 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 7975 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 7064 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 6740 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 6769 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 5656 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 8250 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 6051 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 3766 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 2184 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 5890 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 6564 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 8033 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 4755 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 7449 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 6649 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 5968 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 6129 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 6298 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 6800 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 2696 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 7385 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 7358 of file SatParameters.java.


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