19049 lines
1.2 MiB
19049 lines
1.2 MiB
<!DOCTYPE HTML>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (17) on Thu Mar 03 21:59:09 CET 2022 -->
|
|
<title>SatParameters.Builder (com.google.ortools:ortools-java 9.3.10440 API)</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="dc.created" content="2022-03-03">
|
|
<meta name="description" content="declaration: package: com.google.ortools.sat, class: SatParameters, class: Builder">
|
|
<meta name="generator" content="javadoc/ClassWriterImpl">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../../script-dir/jquery-3.5.1.min.js"></script>
|
|
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
|
|
</head>
|
|
<body class="class-declaration-page">
|
|
<script type="text/javascript">var evenRowColor = "even-row-color";
|
|
var oddRowColor = "odd-row-color";
|
|
var tableTab = "table-tab";
|
|
var activeTableTab = "active-table-tab";
|
|
var pathtoroot = "../../../../";
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<div class="flex-box">
|
|
<header role="banner" class="flex-header">
|
|
<nav role="navigation">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="top-nav" id="navbar-top">
|
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
|
<li><a href="../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="nav-bar-cell1-rev">Class</li>
|
|
<li><a href="class-use/SatParameters.Builder.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html#class">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="sub-nav">
|
|
<div>
|
|
<ul class="sub-nav-list">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method-summary">Method</a></li>
|
|
</ul>
|
|
<ul class="sub-nav-list">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method-detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
|
|
<input type="text" id="search-input" value="search" disabled="disabled">
|
|
<input type="reset" id="reset-button" value="reset" disabled="disabled">
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
|
</header>
|
|
<div class="flex-content">
|
|
<main role="main">
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">com.google.ortools.sat</a></div>
|
|
<h1 title="Class SatParameters.Builder" class="title">Class SatParameters.Builder</h1>
|
|
</div>
|
|
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
|
|
<div class="inheritance">com.google.protobuf.AbstractMessageLite.Builder
|
|
<div class="inheritance">com.google.protobuf.AbstractMessage.Builder<BuilderType>
|
|
<div class="inheritance">com.google.protobuf.GeneratedMessageV3.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>>
|
|
<div class="inheritance">com.google.ortools.sat.SatParameters.Builder</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<section class="class-description" id="class-description">
|
|
<dl class="notes">
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code>, <code>com.google.protobuf.Message.Builder</code>, <code>com.google.protobuf.MessageLite.Builder</code>, <code>com.google.protobuf.MessageLiteOrBuilder</code>, <code>com.google.protobuf.MessageOrBuilder</code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang" class="external-link">Cloneable</a></code></dd>
|
|
</dl>
|
|
<dl class="notes">
|
|
<dt>Enclosing class:</dt>
|
|
<dd><a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a></dd>
|
|
</dl>
|
|
<hr>
|
|
<div class="type-signature"><span class="modifiers">public static final class </span><span class="element-name type-name-label">SatParameters.Builder</span>
|
|
<span class="extends-implements">extends com.google.protobuf.GeneratedMessageV3.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>>
|
|
implements <a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></span></div>
|
|
<div class="block"><pre>
|
|
Contains the definitions for all the sat algorithm parameters and their
|
|
default values.
|
|
NEXT TAG: 213
|
|
</pre>
|
|
|
|
Protobuf type <code>operations_research.sat.SatParameters</code></div>
|
|
</section>
|
|
<section class="summary">
|
|
<ul class="summary-list">
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<li>
|
|
<section class="method-summary" id="method-summary">
|
|
<h2>Method Summary</h2>
|
|
<div id="method-summary-table">
|
|
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
|
|
<div id="method-summary-table.tabpanel" role="tabpanel">
|
|
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAllIgnoreSubsolvers(java.lang.Iterable)" class="member-name-link">addAllIgnoreSubsolvers</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>> values)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAllRestartAlgorithms(java.lang.Iterable)" class="member-name-link">addAllRestartAlgorithms</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><? extends <a href="SatParameters.RestartAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.RestartAlgorithm</a>> values)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The restart strategies will change each time the strategy_counter is
|
|
increased.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAllSubsolverParams(java.lang.Iterable)" class="member-name-link">addAllSubsolverParams</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><? extends <a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a>> values)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAllSubsolvers(java.lang.Iterable)" class="member-name-link">addAllSubsolvers</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>> values)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addIgnoreSubsolvers(java.lang.String)" class="member-name-link">addIgnoreSubsolvers</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addIgnoreSubsolversBytes(com.google.protobuf.ByteString)" class="member-name-link">addIgnoreSubsolversBytes</a><wbr>(com.google.protobuf.ByteString value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)" class="member-name-link">addRepeatedField</a><wbr>(com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addRestartAlgorithms(com.google.ortools.sat.SatParameters.RestartAlgorithm)" class="member-name-link">addRestartAlgorithms</a><wbr>(<a href="SatParameters.RestartAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.RestartAlgorithm</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The restart strategies will change each time the strategy_counter is
|
|
increased.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addSubsolverParams(int,com.google.ortools.sat.SatParameters)" class="member-name-link">addSubsolverParams</a><wbr>(int index,
|
|
<a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addSubsolverParams(int,com.google.ortools.sat.SatParameters.Builder)" class="member-name-link">addSubsolverParams</a><wbr>(int index,
|
|
<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a> builderForValue)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addSubsolverParams(com.google.ortools.sat.SatParameters)" class="member-name-link">addSubsolverParams</a><wbr>(<a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addSubsolverParams(com.google.ortools.sat.SatParameters.Builder)" class="member-name-link">addSubsolverParams</a><wbr>(<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a> builderForValue)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addSubsolverParamsBuilder()" class="member-name-link">addSubsolverParamsBuilder</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addSubsolverParamsBuilder(int)" class="member-name-link">addSubsolverParamsBuilder</a><wbr>(int index)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addSubsolvers(java.lang.String)" class="member-name-link">addSubsolvers</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addSubsolversBytes(com.google.protobuf.ByteString)" class="member-name-link">addSubsolversBytes</a><wbr>(com.google.protobuf.ByteString value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#build()" class="member-name-link">build</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#buildPartial()" class="member-name-link">buildPartial</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clear()" class="member-name-link">clear</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearAbsoluteGapLimit()" class="member-name-link">clearAbsoluteGapLimit</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Stop the search when the gap between the best feasible objective (O) and
|
|
our best objective bound (B) is smaller than a limit.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearAddCgCuts()" class="member-name-link">clearAddCgCuts</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate and add Chvatal-Gomory cuts to the LP at root node.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearAddCliqueCuts()" class="member-name-link">clearAddCliqueCuts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate clique cuts from the binary implication graph.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearAddLinMaxCuts()" class="member-name-link">clearAddLinMaxCuts</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For the lin max constraints, generates the cuts described in "Strong
|
|
mixed-integer programming formulations for trained neural networks" by Ross
|
|
Anderson et.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearAddLpConstraintsLazily()" class="member-name-link">clearAddLpConstraintsLazily</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we start by an empty LP, and only add constraints not satisfied
|
|
by the current LP solution batch by batch.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearAddMirCuts()" class="member-name-link">clearAddMirCuts</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate MIR cuts at root node.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearAddObjectiveCut()" class="member-name-link">clearAddObjectiveCut</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearAddZeroHalfCuts()" class="member-name-link">clearAddZeroHalfCuts</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate Zero-Half cuts at root node.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearAlsoBumpVariablesInConflictReasons()" class="member-name-link">clearAlsoBumpVariablesInConflictReasons</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, then the variables that appear in any of the reason of
|
|
the variables in a conflict have their activity bumped.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearAutoDetectGreaterThanAtLeastOneOf()" class="member-name-link">clearAutoDetectGreaterThanAtLeastOneOf</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearBinaryMinimizationAlgorithm()" class="member-name-link">clearBinaryMinimizationAlgorithm</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearBinarySearchNumConflicts()" class="member-name-link">clearBinarySearchNumConflicts</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearBlockingRestartMultiplier()" class="member-name-link">clearBlockingRestartMultiplier</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double blocking_restart_multiplier = 66 [default = 1.4];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearBlockingRestartWindowSize()" class="member-name-link">clearBlockingRestartWindowSize</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 blocking_restart_window_size = 65 [default = 5000];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearBooleanEncodingLevel()" class="member-name-link">clearBooleanEncodingLevel</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A non-negative level indicating how much we should try to fully encode
|
|
Integer variables as Boolean.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearCatchSigintSignal()" class="member-name-link">clearCatchSigintSignal</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Indicates if the CP-SAT layer should catch Control-C (SIGINT) signals
|
|
when calling solve.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearClauseActivityDecay()" class="member-name-link">clearClauseActivityDecay</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Clause activity parameters (same effect as the one on the variables).</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearClauseCleanupLbdBound()" class="member-name-link">clearClauseCleanupLbdBound</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
All the clauses with a LBD (literal blocks distance) lower or equal to this
|
|
parameters will always be kept.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearClauseCleanupOrdering()" class="member-name-link">clearClauseCleanupOrdering</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearClauseCleanupPeriod()" class="member-name-link">clearClauseCleanupPeriod</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Trigger a cleanup when this number of "deletable" clauses is learned.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearClauseCleanupProtection()" class="member-name-link">clearClauseCleanupProtection</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearClauseCleanupRatio()" class="member-name-link">clearClauseCleanupRatio</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearClauseCleanupTarget()" class="member-name-link">clearClauseCleanupTarget</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
During a cleanup, we will always keep that number of "deletable" clauses.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearConvertIntervals()" class="member-name-link">clearConvertIntervals</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Temporary flag util the feature is more mature.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearCountAssumptionLevelsInLbd()" class="member-name-link">clearCountAssumptionLevelsInLbd</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether or not the assumption levels are taken into account during the LBD
|
|
computation.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearCoverOptimization()" class="member-name-link">clearCoverOptimization</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearCpModelPresolve()" class="member-name-link">clearCpModelPresolve</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we presolve the cp_model before solving it.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearCpModelProbingLevel()" class="member-name-link">clearCpModelProbingLevel</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
How much effort do we spend on probing.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearCpModelUseSatPresolve()" class="member-name-link">clearCpModelUseSatPresolve</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we also use the sat presolve when cp_model_presolve is true.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearCutActiveCountDecay()" class="member-name-link">clearCutActiveCountDecay</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double cut_active_count_decay = 156 [default = 0.8];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearCutCleanupTarget()" class="member-name-link">clearCutCleanupTarget</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Target number of constraints to remove during cleanup.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearCutLevel()" class="member-name-link">clearCutLevel</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Control the global cut effort.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearCutMaxActiveCountValue()" class="member-name-link">clearCutMaxActiveCountValue</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
These parameters are similar to sat clause management activity parameters.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearDebugCrashOnBadHint()" class="member-name-link">clearDebugCrashOnBadHint</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Crash if we do not manage to complete the hint into a full solution.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearDebugMaxNumPresolveOperations()" class="member-name-link">clearDebugMaxNumPresolveOperations</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If positive, try to stop just after that many presolve rules have been
|
|
applied.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearDebugPostsolveWithFullSolver()" class="member-name-link">clearDebugPostsolveWithFullSolver</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
We have two different postsolve code.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearDefaultRestartAlgorithms()" class="member-name-link">clearDefaultRestartAlgorithms</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearDisableConstraintExpansion()" class="member-name-link">clearDisableConstraintExpansion</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, it disable all constraint expansion.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearDiversifyLnsParams()" class="member-name-link">clearDiversifyLnsParams</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, registers more lns subsolvers with different parameters.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearEnumerateAllSolutions()" class="member-name-link">clearEnumerateAllSolutions</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we enumerate all solutions of a problem without objective.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearExpandAlldiffConstraints()" class="member-name-link">clearExpandAlldiffConstraints</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, expand all_different constraints that are not permutations.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearExploitAllLpSolution()" class="member-name-link">clearExploitAllLpSolution</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true and the Lp relaxation of the problem has a solution, try to exploit
|
|
it.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearExploitBestSolution()" class="member-name-link">clearExploitBestSolution</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When branching on a variable, follow the last best solution value.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearExploitIntegerLpSolution()" class="member-name-link">clearExploitIntegerLpSolution</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true and the Lp relaxation of the problem has an integer optimal
|
|
solution, try to exploit it.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearExploitObjective()" class="member-name-link">clearExploitObjective</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When branching an a variable that directly affect the objective,
|
|
branch on the value that lead to the best objective first.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearExploitRelaxationSolution()" class="member-name-link">clearExploitRelaxationSolution</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When branching on a variable, follow the last best relaxation solution
|
|
value.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearField(com.google.protobuf.Descriptors.FieldDescriptor)" class="member-name-link">clearField</a><wbr>(com.google.protobuf.Descriptors.FieldDescriptor field)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearFillAdditionalSolutionsInResponse()" class="member-name-link">clearFillAdditionalSolutionsInResponse</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the final response addition_solutions field will be filled with
|
|
all solutions from our solutions pool.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearFillTightenedDomainsInResponse()" class="member-name-link">clearFillTightenedDomainsInResponse</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, add information about the derived variable domains to the
|
|
CpSolverResponse.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearFindMultipleCores()" class="member-name-link">clearFindMultipleCores</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we try to find more independent cores for a given set of
|
|
assumptions in the core based max-SAT algorithms.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearFixVariablesToTheirHintedValue()" class="member-name-link">clearFixVariablesToTheirHintedValue</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, variables appearing in the solution hints will be fixed to their
|
|
hinted value.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearFpRounding()" class="member-name-link">clearFpRounding</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearGlucoseDecayIncrement()" class="member-name-link">clearGlucoseDecayIncrement</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double glucose_decay_increment = 23 [default = 0.01];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearGlucoseDecayIncrementPeriod()" class="member-name-link">clearGlucoseDecayIncrementPeriod</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 glucose_decay_increment_period = 24 [default = 5000];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearGlucoseMaxDecay()" class="member-name-link">clearGlucoseMaxDecay</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The activity starts at 0.8 and increment by 0.01 every 5000 conflicts until
|
|
0.95.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearHintConflictLimit()" class="member-name-link">clearHintConflictLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Conflict limit used in the phase that exploit the solution hint.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearIgnoreNames()" class="member-name-link">clearIgnoreNames</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we don't keep names in our internal copy of the user given model.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearIgnoreSubsolvers()" class="member-name-link">clearIgnoreSubsolvers</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearInitialPolarity()" class="member-name-link">clearInitialPolarity</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearInitialVariablesActivity()" class="member-name-link">clearInitialVariablesActivity</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The initial value of the variables activity.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearInstantiateAllVariables()" class="member-name-link">clearInstantiateAllVariables</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the solver will add a default integer branching strategy to the
|
|
already defined search strategy.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearInterleaveBatchSize()" class="member-name-link">clearInterleaveBatchSize</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 interleave_batch_size = 134 [default = 1];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearInterleaveSearch()" class="member-name-link">clearInterleaveSearch</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Experimental.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearKeepAllFeasibleSolutionsInPresolve()" class="member-name-link">clearKeepAllFeasibleSolutionsInPresolve</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we disable the presolve reductions that remove feasible solutions
|
|
from the search space.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearLinearizationLevel()" class="member-name-link">clearLinearizationLevel</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A non-negative level indicating the type of constraints we consider in the
|
|
LP relaxation.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearLogFrequencyInSeconds()" class="member-name-link">clearLogFrequencyInSeconds</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Indicates how much logging should wait before logging periodic search
|
|
information from specialized workers (lb_tree_search, probing).</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearLogPrefix()" class="member-name-link">clearLogPrefix</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Add a prefix to all logs.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearLogSearchProgress()" class="member-name-link">clearLogSearchProgress</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether the solver should log the search progress.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearLogSubsolverStatistics()" class="member-name-link">clearLogSubsolverStatistics</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether the solver should display per sub-solver search statistics.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearLogToResponse()" class="member-name-link">clearLogToResponse</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Log to response proto.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearLogToStdout()" class="member-name-link">clearLogToStdout</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Log to stdout.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxAllDiffCutSize()" class="member-name-link">clearMaxAllDiffCutSize</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Cut generator for all diffs can add too many cuts for large all_diff
|
|
constraints.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxClauseActivityValue()" class="member-name-link">clearMaxClauseActivityValue</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double max_clause_activity_value = 18 [default = 1e+20];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxConsecutiveInactiveCount()" class="member-name-link">clearMaxConsecutiveInactiveCount</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If a constraint/cut in LP is not active for that many consecutive OPTIMAL
|
|
solves, remove it from the LP.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxCutRoundsAtLevelZero()" class="member-name-link">clearMaxCutRoundsAtLevelZero</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Max number of time we perform cut generation and resolve the LP at level 0.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxDeterministicTime()" class="member-name-link">clearMaxDeterministicTime</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum time allowed in deterministic time to solve a problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxDomainSizeWhenEncodingEqNeqConstraints()" class="member-name-link">clearMaxDomainSizeWhenEncodingEqNeqConstraints</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When loading a*x + b*y ==/!= c when x and y are both fully encoded.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxIntegerRoundingScaling()" class="member-name-link">clearMaxIntegerRoundingScaling</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In the integer rounding procedure used for MIR and Gomory cut, the maximum
|
|
"scaling" we use (must be positive).</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxMemoryInMb()" class="member-name-link">clearMaxMemoryInMb</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum memory allowed for the whole thread containing the solver.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxNumberOfConflicts()" class="member-name-link">clearMaxNumberOfConflicts</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum number of conflicts allowed to solve a problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxNumCuts()" class="member-name-link">clearMaxNumCuts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The limit on the number of cuts in our cut pool.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxPresolveIterations()" class="member-name-link">clearMaxPresolveIterations</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In case of large reduction in a presolve iteration, we perform multiple
|
|
presolve iterations.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxSatAssumptionOrder()" class="member-name-link">clearMaxSatAssumptionOrder</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxSatReverseAssumptionOrder()" class="member-name-link">clearMaxSatReverseAssumptionOrder</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, adds the assumption in the reverse order of the one defined by
|
|
max_sat_assumption_order.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxSatStratification()" class="member-name-link">clearMaxSatStratification</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxTimeInSeconds()" class="member-name-link">clearMaxTimeInSeconds</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum time allowed in seconds to solve a problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMaxVariableActivityValue()" class="member-name-link">clearMaxVariableActivityValue</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double max_variable_activity_value = 16 [default = 1e+100];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMergeAtMostOneWorkLimit()" class="member-name-link">clearMergeAtMostOneWorkLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double merge_at_most_one_work_limit = 146 [default = 100000000];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMergeNoOverlapWorkLimit()" class="member-name-link">clearMergeNoOverlapWorkLimit</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
During presolve, we use a maximum clique heuristic to merge together
|
|
no-overlap constraints or at most one constraints.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMinimizationAlgorithm()" class="member-name-link">clearMinimizationAlgorithm</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMinimizeCore()" class="member-name-link">clearMinimizeCore</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we use a simple heuristic to try to minimize an UNSAT core.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMinimizeReductionDuringPbResolution()" class="member-name-link">clearMinimizeReductionDuringPbResolution</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A different algorithm during PB resolution.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMinimizeWithPropagationNumDecisions()" class="member-name-link">clearMinimizeWithPropagationNumDecisions</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMinimizeWithPropagationRestartPeriod()" class="member-name-link">clearMinimizeWithPropagationRestartPeriod</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Parameters for an heuristic similar to the one described in "An effective
|
|
learnt clause minimization approach for CDCL Sat Solvers",
|
|
https://www.ijcai.org/proceedings/2017/0098.pdf
|
|
For now, we have a somewhat simpler implementation where every x restart we
|
|
spend y decisions on clause minimization.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMinNumLnsWorkers()" class="member-name-link">clearMinNumLnsWorkers</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If there is an objective and we are not in interleave mode, we will reserve
|
|
at least this number of worker for LNS thread.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMinOrthogonalityForLpConstraints()" class="member-name-link">clearMinOrthogonalityForLpConstraints</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
While adding constraints, skip the constraints which have orthogonality
|
|
less than 'min_orthogonality_for_lp_constraints' with already added
|
|
constraints during current call.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMipAutomaticallyScaleVariables()" class="member-name-link">clearMipAutomaticallyScaleVariables</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, some continuous variable might be automatically scaled.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMipCheckPrecision()" class="member-name-link">clearMipCheckPrecision</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
As explained in mip_precision and mip_max_activity_exponent, we cannot
|
|
always reach the wanted precision during scaling.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMipComputeTrueObjectiveBound()" class="member-name-link">clearMipComputeTrueObjectiveBound</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMipMaxActivityExponent()" class="member-name-link">clearMipMaxActivityExponent</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMipMaxBound()" class="member-name-link">clearMipMaxBound</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
We need to bound the maximum magnitude of the variables for CP-SAT, and
|
|
that is the bound we use.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMipMaxValidMagnitude()" class="member-name-link">clearMipMaxValidMagnitude</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Any finite values in the input MIP must be below this threshold, otherwise
|
|
the model will be reported invalid.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMipVarScaling()" class="member-name-link">clearMipVarScaling</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
All continuous variable of the problem will be multiplied by this factor.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearMipWantedPrecision()" class="member-name-link">clearMipWantedPrecision</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When scaling constraint with double coefficients to integer coefficients,
|
|
we will multiply by a power of 2 and round the coefficients.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearName()" class="member-name-link">clearName</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In some context, like in a portfolio of search, it makes sense to name a
|
|
given parameters set for logging purpose.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearNewConstraintsBatchSize()" class="member-name-link">clearNewConstraintsBatchSize</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Add that many lazy constraints (or cuts) at once in the LP.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearNumConflictsBeforeStrategyChanges()" class="member-name-link">clearNumConflictsBeforeStrategyChanges</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearNumSearchWorkers()" class="member-name-link">clearNumSearchWorkers</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 num_search_workers = 100 [default = 0];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearNumWorkers()" class="member-name-link">clearNumWorkers</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Specify the number of parallel workers (i.e.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)" class="member-name-link">clearOneof</a><wbr>(com.google.protobuf.Descriptors.OneofDescriptor oneof)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearOnlyAddCutsAtLevelZero()" class="member-name-link">clearOnlyAddCutsAtLevelZero</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For the cut that can be generated at any level, this control if we only
|
|
try to generate them at the root node.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearOptimizeWithCore()" class="member-name-link">clearOptimizeWithCore</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The default optimization method is a simple "linear scan", each time trying
|
|
to find a better solution than the previous one.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearOptimizeWithLbTreeSearch()" class="member-name-link">clearOptimizeWithLbTreeSearch</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Do a more conventional tree search (by opposition to SAT based one) where
|
|
we keep all the explored node in a tree.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearOptimizeWithMaxHs()" class="member-name-link">clearOptimizeWithMaxHs</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
This has no effect if optimize_with_core is false.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPbCleanupIncrement()" class="member-name-link">clearPbCleanupIncrement</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Same as for the clauses, but for the learned pseudo-Boolean constraints.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPbCleanupRatio()" class="member-name-link">clearPbCleanupRatio</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double pb_cleanup_ratio = 47 [default = 0.5];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPermutePresolveConstraintOrder()" class="member-name-link">clearPermutePresolveConstraintOrder</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional bool permute_presolve_constraint_order = 179 [default = false];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPermuteVariableRandomly()" class="member-name-link">clearPermuteVariableRandomly</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
This is mainly here to test the solver variability.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPolarityRephaseIncrement()" class="member-name-link">clearPolarityRephaseIncrement</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If non-zero, then we change the polarity heuristic after that many number
|
|
of conflicts in an arithmetically increasing fashion.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPolishLpSolution()" class="member-name-link">clearPolishLpSolution</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPreferredVariableOrder()" class="member-name-link">clearPreferredVariableOrder</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPresolveBlockedClause()" class="member-name-link">clearPresolveBlockedClause</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we use an heuristic to detect some basic case of blocked clause
|
|
in the SAT presolve.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPresolveBvaThreshold()" class="member-name-link">clearPresolveBvaThreshold</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Apply Bounded Variable Addition (BVA) if the number of clauses is reduced
|
|
by stricly more than this threshold.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPresolveBveClauseWeight()" class="member-name-link">clearPresolveBveClauseWeight</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
During presolve, we apply BVE only if this weight times the number of
|
|
clauses plus the number of clause literals is not increased.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPresolveBveThreshold()" class="member-name-link">clearPresolveBveThreshold</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPresolveExtractIntegerEnforcement()" class="member-name-link">clearPresolveExtractIntegerEnforcement</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we will extract from linear constraints, enforcement literals of
|
|
the form "integer variable at bound => simplified constraint".</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPresolveInclusionWorkLimit()" class="member-name-link">clearPresolveInclusionWorkLimit</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A few presolve operations involve detecting constraints included in other
|
|
constraint.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPresolveProbingDeterministicTimeLimit()" class="member-name-link">clearPresolveProbingDeterministicTimeLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The maximum "deterministic" time limit to spend in probing.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPresolveSubstitutionLevel()" class="member-name-link">clearPresolveSubstitutionLevel</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
How much substitution (also called free variable aggregation in MIP
|
|
litterature) should we perform at presolve.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPresolveUseBva()" class="member-name-link">clearPresolveUseBva</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether or not we use Bounded Variable Addition (BVA) in the presolve.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearProbingPeriodAtRoot()" class="member-name-link">clearProbingPeriodAtRoot</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If set at zero (the default), it is disabled.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearPseudoCostReliabilityThreshold()" class="member-name-link">clearPseudoCostReliabilityThreshold</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The solver ignores the pseudo costs of variables with number of recordings
|
|
less than this threshold.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearRandomBranchesRatio()" class="member-name-link">clearRandomBranchesRatio</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearRandomizeSearch()" class="member-name-link">clearRandomizeSearch</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Randomize fixed search.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearRandomPolarityRatio()" class="member-name-link">clearRandomPolarityRatio</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The proportion of polarity chosen at random.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearRandomSeed()" class="member-name-link">clearRandomSeed</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
At the beginning of each solve, the random number generator used in some
|
|
part of the solver is reinitialized to this seed.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearReduceMemoryUsageInInterleaveMode()" class="member-name-link">clearReduceMemoryUsageInInterleaveMode</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Temporary parameter until the memory usage is more optimized.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearRelativeGapLimit()" class="member-name-link">clearRelativeGapLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double relative_gap_limit = 160 [default = 0];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearRepairHint()" class="member-name-link">clearRepairHint</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the solver tries to repair the solution given in the hint.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearRestartAlgorithms()" class="member-name-link">clearRestartAlgorithms</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The restart strategies will change each time the strategy_counter is
|
|
increased.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearRestartDlAverageRatio()" class="member-name-link">clearRestartDlAverageRatio</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In the moving average restart algorithms, a restart is triggered if the
|
|
window average times this ratio is greater that the global average.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearRestartLbdAverageRatio()" class="member-name-link">clearRestartLbdAverageRatio</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double restart_lbd_average_ratio = 71 [default = 1];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearRestartPeriod()" class="member-name-link">clearRestartPeriod</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Restart period for the FIXED_RESTART strategy.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearRestartRunningWindowSize()" class="member-name-link">clearRestartRunningWindowSize</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Size of the window for the moving average restarts.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearSearchBranching()" class="member-name-link">clearSearchBranching</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearSearchRandomizationTolerance()" class="member-name-link">clearSearchRandomizationTolerance</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Search randomization will collect equivalent 'max valued' variables, and
|
|
pick one randomly.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearShareBinaryClauses()" class="member-name-link">clearShareBinaryClauses</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Allows sharing of new learned binary clause between workers.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearShareLevelZeroBounds()" class="member-name-link">clearShareLevelZeroBounds</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Allows sharing of the bounds of modified variables at level 0.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearShareObjectiveBounds()" class="member-name-link">clearShareObjectiveBounds</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Allows objective sharing between workers.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearShavingSearchDeterministicTime()" class="member-name-link">clearShavingSearchDeterministicTime</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Specifies the amount of deterministic time spent of each try at shaving a
|
|
bound in the shaving search.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearSolutionPoolSize()" class="member-name-link">clearSolutionPoolSize</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Size of the top-n different solutions kept by the solver.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearStopAfterFirstSolution()" class="member-name-link">clearStopAfterFirstSolution</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For an optimization problem, stop the solver as soon as we have a solution.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearStopAfterPresolve()" class="member-name-link">clearStopAfterPresolve</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Mainly used when improving the presolver.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearStrategyChangeIncreaseRatio()" class="member-name-link">clearStrategyChangeIncreaseRatio</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The parameter num_conflicts_before_strategy_changes is increased by that
|
|
much after each strategy change.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearSubsolverParams()" class="member-name-link">clearSubsolverParams</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearSubsolvers()" class="member-name-link">clearSubsolvers</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearSubsumptionDuringConflictAnalysis()" class="member-name-link">clearSubsumptionDuringConflictAnalysis</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearSymmetryLevel()" class="member-name-link">clearSymmetryLevel</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we try to automatically detect the symmetries in a model and
|
|
exploit them.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseAbslRandom()" class="member-name-link">clearUseAbslRandom</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional bool use_absl_random = 180 [default = false];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseBlockingRestart()" class="member-name-link">clearUseBlockingRestart</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseBranchingInLp()" class="member-name-link">clearUseBranchingInLp</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the solver attemts to generate more info inside lp propagator by
|
|
branching on some variables if certain criteria are met during the search
|
|
tree exploration.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseCombinedNoOverlap()" class="member-name-link">clearUseCombinedNoOverlap</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
This can be beneficial if there is a lot of no-overlap constraints but a
|
|
relatively low number of different intervals in the problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseCumulativeInNoOverlap2D()" class="member-name-link">clearUseCumulativeInNoOverlap2D</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, the no_overlap_2d constraint is reinforced with
|
|
propagators from the cumulative constraints.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseDisjunctiveConstraintInCumulativeConstraint()" class="member-name-link">clearUseDisjunctiveConstraintInCumulativeConstraint</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseErwaHeuristic()" class="member-name-link">clearUseErwaHeuristic</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseExactLpReason()" class="member-name-link">clearUseExactLpReason</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The solver usually exploit the LP relaxation of a model.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseFeasibilityPump()" class="member-name-link">clearUseFeasibilityPump</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Adds a feasibility pump subsolver along with lns subsolvers.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseImpliedBounds()" class="member-name-link">clearUseImpliedBounds</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Stores and exploits "implied-bounds" in the solver.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseLnsOnly()" class="member-name-link">clearUseLnsOnly</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
LNS parameters.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseOptimizationHints()" class="member-name-link">clearUseOptimizationHints</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For an optimization problem, whether we follow some hints in order to find
|
|
a better first solution.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseOptionalVariables()" class="member-name-link">clearUseOptionalVariables</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we automatically detect variables whose constraint are always
|
|
enforced by the same literal and we mark them as optional.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseOverloadCheckerInCumulativeConstraint()" class="member-name-link">clearUseOverloadCheckerInCumulativeConstraint</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, the cumulative constraint is reinforced with overload
|
|
checking, i.e., an additional level of reasoning based on energy.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUsePbResolution()" class="member-name-link">clearUsePbResolution</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether to use pseudo-Boolean resolution to analyze a conflict.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUsePhaseSaving()" class="member-name-link">clearUsePhaseSaving</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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().</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUsePrecedencesInDisjunctiveConstraint()" class="member-name-link">clearUsePrecedencesInDisjunctiveConstraint</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, then a disjunctive constraint will try to use the
|
|
precedence relations between time intervals to propagate their bounds
|
|
further.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseProbingSearch()" class="member-name-link">clearUseProbingSearch</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, search will continuously probe Boolean variables, and integer
|
|
variable bounds.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseRelaxationLns()" class="member-name-link">clearUseRelaxationLns</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Turns on a lns worker which solves relaxed version of the original problem
|
|
by removing constraints from the problem in order to get better bounds.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseRinsLns()" class="member-name-link">clearUseRinsLns</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Turns on relaxation induced neighborhood generator.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseSatInprocessing()" class="member-name-link">clearUseSatInprocessing</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional bool use_sat_inprocessing = 163 [default = false];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseShavingInProbingSearch()" class="member-name-link">clearUseShavingInProbingSearch</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearUseTimetableEdgeFindingInCumulativeConstraint()" class="member-name-link">clearUseTimetableEdgeFindingInCumulativeConstraint</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearVariableActivityDecay()" class="member-name-link">clearVariableActivityDecay</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Each time a conflict is found, the activities of some variables are
|
|
increased by one.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clone()" class="member-name-link">clone</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAbsoluteGapLimit()" class="member-name-link">getAbsoluteGapLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Stop the search when the gap between the best feasible objective (O) and
|
|
our best objective bound (B) is smaller than a limit.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAddCgCuts()" class="member-name-link">getAddCgCuts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate and add Chvatal-Gomory cuts to the LP at root node.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAddCliqueCuts()" class="member-name-link">getAddCliqueCuts</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate clique cuts from the binary implication graph.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAddLinMaxCuts()" class="member-name-link">getAddLinMaxCuts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For the lin max constraints, generates the cuts described in "Strong
|
|
mixed-integer programming formulations for trained neural networks" by Ross
|
|
Anderson et.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAddLpConstraintsLazily()" class="member-name-link">getAddLpConstraintsLazily</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we start by an empty LP, and only add constraints not satisfied
|
|
by the current LP solution batch by batch.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAddMirCuts()" class="member-name-link">getAddMirCuts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate MIR cuts at root node.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAddObjectiveCut()" class="member-name-link">getAddObjectiveCut</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAddZeroHalfCuts()" class="member-name-link">getAddZeroHalfCuts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate Zero-Half cuts at root node.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAlsoBumpVariablesInConflictReasons()" class="member-name-link">getAlsoBumpVariablesInConflictReasons</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, then the variables that appear in any of the reason of
|
|
the variables in a conflict have their activity bumped.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAutoDetectGreaterThanAtLeastOneOf()" class="member-name-link">getAutoDetectGreaterThanAtLeastOneOf</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.BinaryMinizationAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.BinaryMinizationAlgorithm</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBinaryMinimizationAlgorithm()" class="member-name-link">getBinaryMinimizationAlgorithm</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBinarySearchNumConflicts()" class="member-name-link">getBinarySearchNumConflicts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBlockingRestartMultiplier()" class="member-name-link">getBlockingRestartMultiplier</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double blocking_restart_multiplier = 66 [default = 1.4];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBlockingRestartWindowSize()" class="member-name-link">getBlockingRestartWindowSize</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 blocking_restart_window_size = 65 [default = 5000];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBooleanEncodingLevel()" class="member-name-link">getBooleanEncodingLevel</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A non-negative level indicating how much we should try to fully encode
|
|
Integer variables as Boolean.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCatchSigintSignal()" class="member-name-link">getCatchSigintSignal</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Indicates if the CP-SAT layer should catch Control-C (SIGINT) signals
|
|
when calling solve.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getClauseActivityDecay()" class="member-name-link">getClauseActivityDecay</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Clause activity parameters (same effect as the one on the variables).</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getClauseCleanupLbdBound()" class="member-name-link">getClauseCleanupLbdBound</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
All the clauses with a LBD (literal blocks distance) lower or equal to this
|
|
parameters will always be kept.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.ClauseOrdering.html" title="enum in com.google.ortools.sat">SatParameters.ClauseOrdering</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getClauseCleanupOrdering()" class="member-name-link">getClauseCleanupOrdering</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getClauseCleanupPeriod()" class="member-name-link">getClauseCleanupPeriod</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Trigger a cleanup when this number of "deletable" clauses is learned.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.ClauseProtection.html" title="enum in com.google.ortools.sat">SatParameters.ClauseProtection</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getClauseCleanupProtection()" class="member-name-link">getClauseCleanupProtection</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getClauseCleanupRatio()" class="member-name-link">getClauseCleanupRatio</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getClauseCleanupTarget()" class="member-name-link">getClauseCleanupTarget</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
During a cleanup, we will always keep that number of "deletable" clauses.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getConvertIntervals()" class="member-name-link">getConvertIntervals</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Temporary flag util the feature is more mature.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCountAssumptionLevelsInLbd()" class="member-name-link">getCountAssumptionLevelsInLbd</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether or not the assumption levels are taken into account during the LBD
|
|
computation.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCoverOptimization()" class="member-name-link">getCoverOptimization</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCpModelPresolve()" class="member-name-link">getCpModelPresolve</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we presolve the cp_model before solving it.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCpModelProbingLevel()" class="member-name-link">getCpModelProbingLevel</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
How much effort do we spend on probing.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCpModelUseSatPresolve()" class="member-name-link">getCpModelUseSatPresolve</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we also use the sat presolve when cp_model_presolve is true.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCutActiveCountDecay()" class="member-name-link">getCutActiveCountDecay</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double cut_active_count_decay = 156 [default = 0.8];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCutCleanupTarget()" class="member-name-link">getCutCleanupTarget</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Target number of constraints to remove during cleanup.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCutLevel()" class="member-name-link">getCutLevel</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Control the global cut effort.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCutMaxActiveCountValue()" class="member-name-link">getCutMaxActiveCountValue</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
These parameters are similar to sat clause management activity parameters.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDebugCrashOnBadHint()" class="member-name-link">getDebugCrashOnBadHint</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Crash if we do not manage to complete the hint into a full solution.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDebugMaxNumPresolveOperations()" class="member-name-link">getDebugMaxNumPresolveOperations</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If positive, try to stop just after that many presolve rules have been
|
|
applied.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDebugPostsolveWithFullSolver()" class="member-name-link">getDebugPostsolveWithFullSolver</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
We have two different postsolve code.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDefaultInstanceForType()" class="member-name-link">getDefaultInstanceForType</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDefaultRestartAlgorithms()" class="member-name-link">getDefaultRestartAlgorithms</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>com.google.protobuf.ByteString</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDefaultRestartAlgorithmsBytes()" class="member-name-link">getDefaultRestartAlgorithmsBytes</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final com.google.protobuf.Descriptors.Descriptor</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getDescriptor()" class="member-name-link">getDescriptor</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>com.google.protobuf.Descriptors.Descriptor</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDescriptorForType()" class="member-name-link">getDescriptorForType</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDisableConstraintExpansion()" class="member-name-link">getDisableConstraintExpansion</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, it disable all constraint expansion.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDiversifyLnsParams()" class="member-name-link">getDiversifyLnsParams</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, registers more lns subsolvers with different parameters.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getEnumerateAllSolutions()" class="member-name-link">getEnumerateAllSolutions</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we enumerate all solutions of a problem without objective.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getExpandAlldiffConstraints()" class="member-name-link">getExpandAlldiffConstraints</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, expand all_different constraints that are not permutations.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getExploitAllLpSolution()" class="member-name-link">getExploitAllLpSolution</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true and the Lp relaxation of the problem has a solution, try to exploit
|
|
it.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getExploitBestSolution()" class="member-name-link">getExploitBestSolution</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When branching on a variable, follow the last best solution value.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getExploitIntegerLpSolution()" class="member-name-link">getExploitIntegerLpSolution</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true and the Lp relaxation of the problem has an integer optimal
|
|
solution, try to exploit it.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getExploitObjective()" class="member-name-link">getExploitObjective</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When branching an a variable that directly affect the objective,
|
|
branch on the value that lead to the best objective first.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getExploitRelaxationSolution()" class="member-name-link">getExploitRelaxationSolution</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When branching on a variable, follow the last best relaxation solution
|
|
value.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFillAdditionalSolutionsInResponse()" class="member-name-link">getFillAdditionalSolutionsInResponse</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the final response addition_solutions field will be filled with
|
|
all solutions from our solutions pool.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFillTightenedDomainsInResponse()" class="member-name-link">getFillTightenedDomainsInResponse</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, add information about the derived variable domains to the
|
|
CpSolverResponse.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFindMultipleCores()" class="member-name-link">getFindMultipleCores</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we try to find more independent cores for a given set of
|
|
assumptions in the core based max-SAT algorithms.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFixVariablesToTheirHintedValue()" class="member-name-link">getFixVariablesToTheirHintedValue</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, variables appearing in the solution hints will be fixed to their
|
|
hinted value.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.FPRoundingMethod.html" title="enum in com.google.ortools.sat">SatParameters.FPRoundingMethod</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFpRounding()" class="member-name-link">getFpRounding</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getGlucoseDecayIncrement()" class="member-name-link">getGlucoseDecayIncrement</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double glucose_decay_increment = 23 [default = 0.01];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getGlucoseDecayIncrementPeriod()" class="member-name-link">getGlucoseDecayIncrementPeriod</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 glucose_decay_increment_period = 24 [default = 5000];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getGlucoseMaxDecay()" class="member-name-link">getGlucoseMaxDecay</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The activity starts at 0.8 and increment by 0.01 every 5000 conflicts until
|
|
0.95.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getHintConflictLimit()" class="member-name-link">getHintConflictLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Conflict limit used in the phase that exploit the solution hint.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIgnoreNames()" class="member-name-link">getIgnoreNames</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we don't keep names in our internal copy of the user given model.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIgnoreSubsolvers(int)" class="member-name-link">getIgnoreSubsolvers</a><wbr>(int index)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>com.google.protobuf.ByteString</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIgnoreSubsolversBytes(int)" class="member-name-link">getIgnoreSubsolversBytes</a><wbr>(int index)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIgnoreSubsolversCount()" class="member-name-link">getIgnoreSubsolversCount</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>com.google.protobuf.ProtocolStringList</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIgnoreSubsolversList()" class="member-name-link">getIgnoreSubsolversList</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Polarity.html" title="enum in com.google.ortools.sat">SatParameters.Polarity</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getInitialPolarity()" class="member-name-link">getInitialPolarity</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getInitialVariablesActivity()" class="member-name-link">getInitialVariablesActivity</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The initial value of the variables activity.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getInstantiateAllVariables()" class="member-name-link">getInstantiateAllVariables</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the solver will add a default integer branching strategy to the
|
|
already defined search strategy.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getInterleaveBatchSize()" class="member-name-link">getInterleaveBatchSize</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 interleave_batch_size = 134 [default = 1];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getInterleaveSearch()" class="member-name-link">getInterleaveSearch</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Experimental.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getKeepAllFeasibleSolutionsInPresolve()" class="member-name-link">getKeepAllFeasibleSolutionsInPresolve</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we disable the presolve reductions that remove feasible solutions
|
|
from the search space.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLinearizationLevel()" class="member-name-link">getLinearizationLevel</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A non-negative level indicating the type of constraints we consider in the
|
|
LP relaxation.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLogFrequencyInSeconds()" class="member-name-link">getLogFrequencyInSeconds</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Indicates how much logging should wait before logging periodic search
|
|
information from specialized workers (lb_tree_search, probing).</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLogPrefix()" class="member-name-link">getLogPrefix</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Add a prefix to all logs.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>com.google.protobuf.ByteString</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLogPrefixBytes()" class="member-name-link">getLogPrefixBytes</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Add a prefix to all logs.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLogSearchProgress()" class="member-name-link">getLogSearchProgress</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether the solver should log the search progress.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLogSubsolverStatistics()" class="member-name-link">getLogSubsolverStatistics</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether the solver should display per sub-solver search statistics.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLogToResponse()" class="member-name-link">getLogToResponse</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Log to response proto.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLogToStdout()" class="member-name-link">getLogToStdout</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Log to stdout.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxAllDiffCutSize()" class="member-name-link">getMaxAllDiffCutSize</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Cut generator for all diffs can add too many cuts for large all_diff
|
|
constraints.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxClauseActivityValue()" class="member-name-link">getMaxClauseActivityValue</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double max_clause_activity_value = 18 [default = 1e+20];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxConsecutiveInactiveCount()" class="member-name-link">getMaxConsecutiveInactiveCount</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If a constraint/cut in LP is not active for that many consecutive OPTIMAL
|
|
solves, remove it from the LP.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxCutRoundsAtLevelZero()" class="member-name-link">getMaxCutRoundsAtLevelZero</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Max number of time we perform cut generation and resolve the LP at level 0.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxDeterministicTime()" class="member-name-link">getMaxDeterministicTime</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum time allowed in deterministic time to solve a problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxDomainSizeWhenEncodingEqNeqConstraints()" class="member-name-link">getMaxDomainSizeWhenEncodingEqNeqConstraints</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When loading a*x + b*y ==/!= c when x and y are both fully encoded.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxIntegerRoundingScaling()" class="member-name-link">getMaxIntegerRoundingScaling</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In the integer rounding procedure used for MIR and Gomory cut, the maximum
|
|
"scaling" we use (must be positive).</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxMemoryInMb()" class="member-name-link">getMaxMemoryInMb</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum memory allowed for the whole thread containing the solver.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxNumberOfConflicts()" class="member-name-link">getMaxNumberOfConflicts</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum number of conflicts allowed to solve a problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxNumCuts()" class="member-name-link">getMaxNumCuts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The limit on the number of cuts in our cut pool.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxPresolveIterations()" class="member-name-link">getMaxPresolveIterations</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In case of large reduction in a presolve iteration, we perform multiple
|
|
presolve iterations.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.MaxSatAssumptionOrder.html" title="enum in com.google.ortools.sat">SatParameters.MaxSatAssumptionOrder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxSatAssumptionOrder()" class="member-name-link">getMaxSatAssumptionOrder</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxSatReverseAssumptionOrder()" class="member-name-link">getMaxSatReverseAssumptionOrder</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, adds the assumption in the reverse order of the one defined by
|
|
max_sat_assumption_order.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.MaxSatStratificationAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.MaxSatStratificationAlgorithm</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxSatStratification()" class="member-name-link">getMaxSatStratification</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxTimeInSeconds()" class="member-name-link">getMaxTimeInSeconds</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum time allowed in seconds to solve a problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxVariableActivityValue()" class="member-name-link">getMaxVariableActivityValue</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double max_variable_activity_value = 16 [default = 1e+100];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMergeAtMostOneWorkLimit()" class="member-name-link">getMergeAtMostOneWorkLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double merge_at_most_one_work_limit = 146 [default = 100000000];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMergeNoOverlapWorkLimit()" class="member-name-link">getMergeNoOverlapWorkLimit</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
During presolve, we use a maximum clique heuristic to merge together
|
|
no-overlap constraints or at most one constraints.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.ConflictMinimizationAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.ConflictMinimizationAlgorithm</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMinimizationAlgorithm()" class="member-name-link">getMinimizationAlgorithm</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMinimizeCore()" class="member-name-link">getMinimizeCore</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we use a simple heuristic to try to minimize an UNSAT core.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMinimizeReductionDuringPbResolution()" class="member-name-link">getMinimizeReductionDuringPbResolution</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A different algorithm during PB resolution.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMinimizeWithPropagationNumDecisions()" class="member-name-link">getMinimizeWithPropagationNumDecisions</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMinimizeWithPropagationRestartPeriod()" class="member-name-link">getMinimizeWithPropagationRestartPeriod</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Parameters for an heuristic similar to the one described in "An effective
|
|
learnt clause minimization approach for CDCL Sat Solvers",
|
|
https://www.ijcai.org/proceedings/2017/0098.pdf
|
|
For now, we have a somewhat simpler implementation where every x restart we
|
|
spend y decisions on clause minimization.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMinNumLnsWorkers()" class="member-name-link">getMinNumLnsWorkers</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If there is an objective and we are not in interleave mode, we will reserve
|
|
at least this number of worker for LNS thread.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMinOrthogonalityForLpConstraints()" class="member-name-link">getMinOrthogonalityForLpConstraints</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
While adding constraints, skip the constraints which have orthogonality
|
|
less than 'min_orthogonality_for_lp_constraints' with already added
|
|
constraints during current call.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMipAutomaticallyScaleVariables()" class="member-name-link">getMipAutomaticallyScaleVariables</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, some continuous variable might be automatically scaled.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMipCheckPrecision()" class="member-name-link">getMipCheckPrecision</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
As explained in mip_precision and mip_max_activity_exponent, we cannot
|
|
always reach the wanted precision during scaling.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMipComputeTrueObjectiveBound()" class="member-name-link">getMipComputeTrueObjectiveBound</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMipMaxActivityExponent()" class="member-name-link">getMipMaxActivityExponent</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMipMaxBound()" class="member-name-link">getMipMaxBound</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
We need to bound the maximum magnitude of the variables for CP-SAT, and
|
|
that is the bound we use.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMipMaxValidMagnitude()" class="member-name-link">getMipMaxValidMagnitude</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Any finite values in the input MIP must be below this threshold, otherwise
|
|
the model will be reported invalid.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMipVarScaling()" class="member-name-link">getMipVarScaling</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
All continuous variable of the problem will be multiplied by this factor.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMipWantedPrecision()" class="member-name-link">getMipWantedPrecision</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When scaling constraint with double coefficients to integer coefficients,
|
|
we will multiply by a power of 2 and round the coefficients.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getName()" class="member-name-link">getName</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In some context, like in a portfolio of search, it makes sense to name a
|
|
given parameters set for logging purpose.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>com.google.protobuf.ByteString</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNameBytes()" class="member-name-link">getNameBytes</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In some context, like in a portfolio of search, it makes sense to name a
|
|
given parameters set for logging purpose.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNewConstraintsBatchSize()" class="member-name-link">getNewConstraintsBatchSize</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Add that many lazy constraints (or cuts) at once in the LP.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNumConflictsBeforeStrategyChanges()" class="member-name-link">getNumConflictsBeforeStrategyChanges</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNumSearchWorkers()" class="member-name-link">getNumSearchWorkers</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 num_search_workers = 100 [default = 0];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNumWorkers()" class="member-name-link">getNumWorkers</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Specify the number of parallel workers (i.e.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getOnlyAddCutsAtLevelZero()" class="member-name-link">getOnlyAddCutsAtLevelZero</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For the cut that can be generated at any level, this control if we only
|
|
try to generate them at the root node.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getOptimizeWithCore()" class="member-name-link">getOptimizeWithCore</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The default optimization method is a simple "linear scan", each time trying
|
|
to find a better solution than the previous one.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getOptimizeWithLbTreeSearch()" class="member-name-link">getOptimizeWithLbTreeSearch</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Do a more conventional tree search (by opposition to SAT based one) where
|
|
we keep all the explored node in a tree.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getOptimizeWithMaxHs()" class="member-name-link">getOptimizeWithMaxHs</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
This has no effect if optimize_with_core is false.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPbCleanupIncrement()" class="member-name-link">getPbCleanupIncrement</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Same as for the clauses, but for the learned pseudo-Boolean constraints.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPbCleanupRatio()" class="member-name-link">getPbCleanupRatio</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double pb_cleanup_ratio = 47 [default = 0.5];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPermutePresolveConstraintOrder()" class="member-name-link">getPermutePresolveConstraintOrder</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional bool permute_presolve_constraint_order = 179 [default = false];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPermuteVariableRandomly()" class="member-name-link">getPermuteVariableRandomly</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
This is mainly here to test the solver variability.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPolarityRephaseIncrement()" class="member-name-link">getPolarityRephaseIncrement</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If non-zero, then we change the polarity heuristic after that many number
|
|
of conflicts in an arithmetically increasing fashion.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPolishLpSolution()" class="member-name-link">getPolishLpSolution</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.VariableOrder.html" title="enum in com.google.ortools.sat">SatParameters.VariableOrder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPreferredVariableOrder()" class="member-name-link">getPreferredVariableOrder</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPresolveBlockedClause()" class="member-name-link">getPresolveBlockedClause</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we use an heuristic to detect some basic case of blocked clause
|
|
in the SAT presolve.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPresolveBvaThreshold()" class="member-name-link">getPresolveBvaThreshold</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Apply Bounded Variable Addition (BVA) if the number of clauses is reduced
|
|
by stricly more than this threshold.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPresolveBveClauseWeight()" class="member-name-link">getPresolveBveClauseWeight</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
During presolve, we apply BVE only if this weight times the number of
|
|
clauses plus the number of clause literals is not increased.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPresolveBveThreshold()" class="member-name-link">getPresolveBveThreshold</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPresolveExtractIntegerEnforcement()" class="member-name-link">getPresolveExtractIntegerEnforcement</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we will extract from linear constraints, enforcement literals of
|
|
the form "integer variable at bound => simplified constraint".</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPresolveInclusionWorkLimit()" class="member-name-link">getPresolveInclusionWorkLimit</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A few presolve operations involve detecting constraints included in other
|
|
constraint.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPresolveProbingDeterministicTimeLimit()" class="member-name-link">getPresolveProbingDeterministicTimeLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The maximum "deterministic" time limit to spend in probing.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPresolveSubstitutionLevel()" class="member-name-link">getPresolveSubstitutionLevel</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
How much substitution (also called free variable aggregation in MIP
|
|
litterature) should we perform at presolve.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPresolveUseBva()" class="member-name-link">getPresolveUseBva</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether or not we use Bounded Variable Addition (BVA) in the presolve.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getProbingPeriodAtRoot()" class="member-name-link">getProbingPeriodAtRoot</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If set at zero (the default), it is disabled.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPseudoCostReliabilityThreshold()" class="member-name-link">getPseudoCostReliabilityThreshold</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The solver ignores the pseudo costs of variables with number of recordings
|
|
less than this threshold.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRandomBranchesRatio()" class="member-name-link">getRandomBranchesRatio</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRandomizeSearch()" class="member-name-link">getRandomizeSearch</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Randomize fixed search.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRandomPolarityRatio()" class="member-name-link">getRandomPolarityRatio</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The proportion of polarity chosen at random.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRandomSeed()" class="member-name-link">getRandomSeed</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
At the beginning of each solve, the random number generator used in some
|
|
part of the solver is reinitialized to this seed.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getReduceMemoryUsageInInterleaveMode()" class="member-name-link">getReduceMemoryUsageInInterleaveMode</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Temporary parameter until the memory usage is more optimized.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRelativeGapLimit()" class="member-name-link">getRelativeGapLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double relative_gap_limit = 160 [default = 0];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRepairHint()" class="member-name-link">getRepairHint</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the solver tries to repair the solution given in the hint.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.RestartAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.RestartAlgorithm</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRestartAlgorithms(int)" class="member-name-link">getRestartAlgorithms</a><wbr>(int index)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The restart strategies will change each time the strategy_counter is
|
|
increased.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRestartAlgorithmsCount()" class="member-name-link">getRestartAlgorithmsCount</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The restart strategies will change each time the strategy_counter is
|
|
increased.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="SatParameters.RestartAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.RestartAlgorithm</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRestartAlgorithmsList()" class="member-name-link">getRestartAlgorithmsList</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The restart strategies will change each time the strategy_counter is
|
|
increased.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRestartDlAverageRatio()" class="member-name-link">getRestartDlAverageRatio</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In the moving average restart algorithms, a restart is triggered if the
|
|
window average times this ratio is greater that the global average.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRestartLbdAverageRatio()" class="member-name-link">getRestartLbdAverageRatio</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double restart_lbd_average_ratio = 71 [default = 1];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRestartPeriod()" class="member-name-link">getRestartPeriod</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Restart period for the FIXED_RESTART strategy.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRestartRunningWindowSize()" class="member-name-link">getRestartRunningWindowSize</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Size of the window for the moving average restarts.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.SearchBranching.html" title="enum in com.google.ortools.sat">SatParameters.SearchBranching</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSearchBranching()" class="member-name-link">getSearchBranching</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSearchRandomizationTolerance()" class="member-name-link">getSearchRandomizationTolerance</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Search randomization will collect equivalent 'max valued' variables, and
|
|
pick one randomly.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getShareBinaryClauses()" class="member-name-link">getShareBinaryClauses</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Allows sharing of new learned binary clause between workers.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getShareLevelZeroBounds()" class="member-name-link">getShareLevelZeroBounds</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Allows sharing of the bounds of modified variables at level 0.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getShareObjectiveBounds()" class="member-name-link">getShareObjectiveBounds</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Allows objective sharing between workers.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getShavingSearchDeterministicTime()" class="member-name-link">getShavingSearchDeterministicTime</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Specifies the amount of deterministic time spent of each try at shaving a
|
|
bound in the shaving search.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSolutionPoolSize()" class="member-name-link">getSolutionPoolSize</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Size of the top-n different solutions kept by the solver.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getStopAfterFirstSolution()" class="member-name-link">getStopAfterFirstSolution</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For an optimization problem, stop the solver as soon as we have a solution.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getStopAfterPresolve()" class="member-name-link">getStopAfterPresolve</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Mainly used when improving the presolver.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getStrategyChangeIncreaseRatio()" class="member-name-link">getStrategyChangeIncreaseRatio</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The parameter num_conflicts_before_strategy_changes is increased by that
|
|
much after each strategy change.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSubsolverParams(int)" class="member-name-link">getSubsolverParams</a><wbr>(int index)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSubsolverParamsBuilder(int)" class="member-name-link">getSubsolverParamsBuilder</a><wbr>(int index)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSubsolverParamsBuilderList()" class="member-name-link">getSubsolverParamsBuilderList</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSubsolverParamsCount()" class="member-name-link">getSubsolverParamsCount</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSubsolverParamsList()" class="member-name-link">getSubsolverParamsList</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSubsolverParamsOrBuilder(int)" class="member-name-link">getSubsolverParamsOrBuilder</a><wbr>(int index)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSubsolverParamsOrBuilderList()" class="member-name-link">getSubsolverParamsOrBuilderList</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSubsolvers(int)" class="member-name-link">getSubsolvers</a><wbr>(int index)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>com.google.protobuf.ByteString</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSubsolversBytes(int)" class="member-name-link">getSubsolversBytes</a><wbr>(int index)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSubsolversCount()" class="member-name-link">getSubsolversCount</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>com.google.protobuf.ProtocolStringList</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSubsolversList()" class="member-name-link">getSubsolversList</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSubsumptionDuringConflictAnalysis()" class="member-name-link">getSubsumptionDuringConflictAnalysis</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSymmetryLevel()" class="member-name-link">getSymmetryLevel</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we try to automatically detect the symmetries in a model and
|
|
exploit them.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseAbslRandom()" class="member-name-link">getUseAbslRandom</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional bool use_absl_random = 180 [default = false];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseBlockingRestart()" class="member-name-link">getUseBlockingRestart</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseBranchingInLp()" class="member-name-link">getUseBranchingInLp</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the solver attemts to generate more info inside lp propagator by
|
|
branching on some variables if certain criteria are met during the search
|
|
tree exploration.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseCombinedNoOverlap()" class="member-name-link">getUseCombinedNoOverlap</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
This can be beneficial if there is a lot of no-overlap constraints but a
|
|
relatively low number of different intervals in the problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseCumulativeInNoOverlap2D()" class="member-name-link">getUseCumulativeInNoOverlap2D</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, the no_overlap_2d constraint is reinforced with
|
|
propagators from the cumulative constraints.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseDisjunctiveConstraintInCumulativeConstraint()" class="member-name-link">getUseDisjunctiveConstraintInCumulativeConstraint</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseErwaHeuristic()" class="member-name-link">getUseErwaHeuristic</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseExactLpReason()" class="member-name-link">getUseExactLpReason</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The solver usually exploit the LP relaxation of a model.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseFeasibilityPump()" class="member-name-link">getUseFeasibilityPump</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Adds a feasibility pump subsolver along with lns subsolvers.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseImpliedBounds()" class="member-name-link">getUseImpliedBounds</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Stores and exploits "implied-bounds" in the solver.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseLnsOnly()" class="member-name-link">getUseLnsOnly</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
LNS parameters.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseOptimizationHints()" class="member-name-link">getUseOptimizationHints</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For an optimization problem, whether we follow some hints in order to find
|
|
a better first solution.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseOptionalVariables()" class="member-name-link">getUseOptionalVariables</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we automatically detect variables whose constraint are always
|
|
enforced by the same literal and we mark them as optional.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseOverloadCheckerInCumulativeConstraint()" class="member-name-link">getUseOverloadCheckerInCumulativeConstraint</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, the cumulative constraint is reinforced with overload
|
|
checking, i.e., an additional level of reasoning based on energy.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUsePbResolution()" class="member-name-link">getUsePbResolution</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether to use pseudo-Boolean resolution to analyze a conflict.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUsePhaseSaving()" class="member-name-link">getUsePhaseSaving</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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().</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUsePrecedencesInDisjunctiveConstraint()" class="member-name-link">getUsePrecedencesInDisjunctiveConstraint</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, then a disjunctive constraint will try to use the
|
|
precedence relations between time intervals to propagate their bounds
|
|
further.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseProbingSearch()" class="member-name-link">getUseProbingSearch</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, search will continuously probe Boolean variables, and integer
|
|
variable bounds.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseRelaxationLns()" class="member-name-link">getUseRelaxationLns</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Turns on a lns worker which solves relaxed version of the original problem
|
|
by removing constraints from the problem in order to get better bounds.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseRinsLns()" class="member-name-link">getUseRinsLns</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Turns on relaxation induced neighborhood generator.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseSatInprocessing()" class="member-name-link">getUseSatInprocessing</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional bool use_sat_inprocessing = 163 [default = false];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseShavingInProbingSearch()" class="member-name-link">getUseShavingInProbingSearch</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUseTimetableEdgeFindingInCumulativeConstraint()" class="member-name-link">getUseTimetableEdgeFindingInCumulativeConstraint</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getVariableActivityDecay()" class="member-name-link">getVariableActivityDecay</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Each time a conflict is found, the activities of some variables are
|
|
increased by one.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasAbsoluteGapLimit()" class="member-name-link">hasAbsoluteGapLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Stop the search when the gap between the best feasible objective (O) and
|
|
our best objective bound (B) is smaller than a limit.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasAddCgCuts()" class="member-name-link">hasAddCgCuts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate and add Chvatal-Gomory cuts to the LP at root node.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasAddCliqueCuts()" class="member-name-link">hasAddCliqueCuts</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate clique cuts from the binary implication graph.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasAddLinMaxCuts()" class="member-name-link">hasAddLinMaxCuts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For the lin max constraints, generates the cuts described in "Strong
|
|
mixed-integer programming formulations for trained neural networks" by Ross
|
|
Anderson et.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasAddLpConstraintsLazily()" class="member-name-link">hasAddLpConstraintsLazily</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we start by an empty LP, and only add constraints not satisfied
|
|
by the current LP solution batch by batch.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasAddMirCuts()" class="member-name-link">hasAddMirCuts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate MIR cuts at root node.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasAddObjectiveCut()" class="member-name-link">hasAddObjectiveCut</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasAddZeroHalfCuts()" class="member-name-link">hasAddZeroHalfCuts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate Zero-Half cuts at root node.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasAlsoBumpVariablesInConflictReasons()" class="member-name-link">hasAlsoBumpVariablesInConflictReasons</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, then the variables that appear in any of the reason of
|
|
the variables in a conflict have their activity bumped.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasAutoDetectGreaterThanAtLeastOneOf()" class="member-name-link">hasAutoDetectGreaterThanAtLeastOneOf</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasBinaryMinimizationAlgorithm()" class="member-name-link">hasBinaryMinimizationAlgorithm</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasBinarySearchNumConflicts()" class="member-name-link">hasBinarySearchNumConflicts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasBlockingRestartMultiplier()" class="member-name-link">hasBlockingRestartMultiplier</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double blocking_restart_multiplier = 66 [default = 1.4];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasBlockingRestartWindowSize()" class="member-name-link">hasBlockingRestartWindowSize</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 blocking_restart_window_size = 65 [default = 5000];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasBooleanEncodingLevel()" class="member-name-link">hasBooleanEncodingLevel</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A non-negative level indicating how much we should try to fully encode
|
|
Integer variables as Boolean.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasCatchSigintSignal()" class="member-name-link">hasCatchSigintSignal</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Indicates if the CP-SAT layer should catch Control-C (SIGINT) signals
|
|
when calling solve.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasClauseActivityDecay()" class="member-name-link">hasClauseActivityDecay</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Clause activity parameters (same effect as the one on the variables).</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasClauseCleanupLbdBound()" class="member-name-link">hasClauseCleanupLbdBound</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
All the clauses with a LBD (literal blocks distance) lower or equal to this
|
|
parameters will always be kept.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasClauseCleanupOrdering()" class="member-name-link">hasClauseCleanupOrdering</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasClauseCleanupPeriod()" class="member-name-link">hasClauseCleanupPeriod</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Trigger a cleanup when this number of "deletable" clauses is learned.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasClauseCleanupProtection()" class="member-name-link">hasClauseCleanupProtection</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasClauseCleanupRatio()" class="member-name-link">hasClauseCleanupRatio</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasClauseCleanupTarget()" class="member-name-link">hasClauseCleanupTarget</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
During a cleanup, we will always keep that number of "deletable" clauses.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasConvertIntervals()" class="member-name-link">hasConvertIntervals</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Temporary flag util the feature is more mature.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasCountAssumptionLevelsInLbd()" class="member-name-link">hasCountAssumptionLevelsInLbd</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether or not the assumption levels are taken into account during the LBD
|
|
computation.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasCoverOptimization()" class="member-name-link">hasCoverOptimization</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasCpModelPresolve()" class="member-name-link">hasCpModelPresolve</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we presolve the cp_model before solving it.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasCpModelProbingLevel()" class="member-name-link">hasCpModelProbingLevel</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
How much effort do we spend on probing.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasCpModelUseSatPresolve()" class="member-name-link">hasCpModelUseSatPresolve</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we also use the sat presolve when cp_model_presolve is true.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasCutActiveCountDecay()" class="member-name-link">hasCutActiveCountDecay</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double cut_active_count_decay = 156 [default = 0.8];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasCutCleanupTarget()" class="member-name-link">hasCutCleanupTarget</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Target number of constraints to remove during cleanup.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasCutLevel()" class="member-name-link">hasCutLevel</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Control the global cut effort.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasCutMaxActiveCountValue()" class="member-name-link">hasCutMaxActiveCountValue</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
These parameters are similar to sat clause management activity parameters.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasDebugCrashOnBadHint()" class="member-name-link">hasDebugCrashOnBadHint</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Crash if we do not manage to complete the hint into a full solution.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasDebugMaxNumPresolveOperations()" class="member-name-link">hasDebugMaxNumPresolveOperations</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If positive, try to stop just after that many presolve rules have been
|
|
applied.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasDebugPostsolveWithFullSolver()" class="member-name-link">hasDebugPostsolveWithFullSolver</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
We have two different postsolve code.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasDefaultRestartAlgorithms()" class="member-name-link">hasDefaultRestartAlgorithms</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasDisableConstraintExpansion()" class="member-name-link">hasDisableConstraintExpansion</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, it disable all constraint expansion.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasDiversifyLnsParams()" class="member-name-link">hasDiversifyLnsParams</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, registers more lns subsolvers with different parameters.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasEnumerateAllSolutions()" class="member-name-link">hasEnumerateAllSolutions</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we enumerate all solutions of a problem without objective.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasExpandAlldiffConstraints()" class="member-name-link">hasExpandAlldiffConstraints</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, expand all_different constraints that are not permutations.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasExploitAllLpSolution()" class="member-name-link">hasExploitAllLpSolution</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true and the Lp relaxation of the problem has a solution, try to exploit
|
|
it.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasExploitBestSolution()" class="member-name-link">hasExploitBestSolution</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When branching on a variable, follow the last best solution value.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasExploitIntegerLpSolution()" class="member-name-link">hasExploitIntegerLpSolution</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true and the Lp relaxation of the problem has an integer optimal
|
|
solution, try to exploit it.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasExploitObjective()" class="member-name-link">hasExploitObjective</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When branching an a variable that directly affect the objective,
|
|
branch on the value that lead to the best objective first.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasExploitRelaxationSolution()" class="member-name-link">hasExploitRelaxationSolution</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When branching on a variable, follow the last best relaxation solution
|
|
value.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasFillAdditionalSolutionsInResponse()" class="member-name-link">hasFillAdditionalSolutionsInResponse</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the final response addition_solutions field will be filled with
|
|
all solutions from our solutions pool.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasFillTightenedDomainsInResponse()" class="member-name-link">hasFillTightenedDomainsInResponse</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, add information about the derived variable domains to the
|
|
CpSolverResponse.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasFindMultipleCores()" class="member-name-link">hasFindMultipleCores</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we try to find more independent cores for a given set of
|
|
assumptions in the core based max-SAT algorithms.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasFixVariablesToTheirHintedValue()" class="member-name-link">hasFixVariablesToTheirHintedValue</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, variables appearing in the solution hints will be fixed to their
|
|
hinted value.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasFpRounding()" class="member-name-link">hasFpRounding</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasGlucoseDecayIncrement()" class="member-name-link">hasGlucoseDecayIncrement</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double glucose_decay_increment = 23 [default = 0.01];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasGlucoseDecayIncrementPeriod()" class="member-name-link">hasGlucoseDecayIncrementPeriod</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 glucose_decay_increment_period = 24 [default = 5000];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasGlucoseMaxDecay()" class="member-name-link">hasGlucoseMaxDecay</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The activity starts at 0.8 and increment by 0.01 every 5000 conflicts until
|
|
0.95.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasHintConflictLimit()" class="member-name-link">hasHintConflictLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Conflict limit used in the phase that exploit the solution hint.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasIgnoreNames()" class="member-name-link">hasIgnoreNames</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we don't keep names in our internal copy of the user given model.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasInitialPolarity()" class="member-name-link">hasInitialPolarity</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasInitialVariablesActivity()" class="member-name-link">hasInitialVariablesActivity</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The initial value of the variables activity.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasInstantiateAllVariables()" class="member-name-link">hasInstantiateAllVariables</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the solver will add a default integer branching strategy to the
|
|
already defined search strategy.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasInterleaveBatchSize()" class="member-name-link">hasInterleaveBatchSize</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 interleave_batch_size = 134 [default = 1];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasInterleaveSearch()" class="member-name-link">hasInterleaveSearch</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Experimental.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasKeepAllFeasibleSolutionsInPresolve()" class="member-name-link">hasKeepAllFeasibleSolutionsInPresolve</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we disable the presolve reductions that remove feasible solutions
|
|
from the search space.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasLinearizationLevel()" class="member-name-link">hasLinearizationLevel</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A non-negative level indicating the type of constraints we consider in the
|
|
LP relaxation.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasLogFrequencyInSeconds()" class="member-name-link">hasLogFrequencyInSeconds</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Indicates how much logging should wait before logging periodic search
|
|
information from specialized workers (lb_tree_search, probing).</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasLogPrefix()" class="member-name-link">hasLogPrefix</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Add a prefix to all logs.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasLogSearchProgress()" class="member-name-link">hasLogSearchProgress</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether the solver should log the search progress.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasLogSubsolverStatistics()" class="member-name-link">hasLogSubsolverStatistics</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether the solver should display per sub-solver search statistics.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasLogToResponse()" class="member-name-link">hasLogToResponse</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Log to response proto.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasLogToStdout()" class="member-name-link">hasLogToStdout</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Log to stdout.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxAllDiffCutSize()" class="member-name-link">hasMaxAllDiffCutSize</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Cut generator for all diffs can add too many cuts for large all_diff
|
|
constraints.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxClauseActivityValue()" class="member-name-link">hasMaxClauseActivityValue</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double max_clause_activity_value = 18 [default = 1e+20];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxConsecutiveInactiveCount()" class="member-name-link">hasMaxConsecutiveInactiveCount</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If a constraint/cut in LP is not active for that many consecutive OPTIMAL
|
|
solves, remove it from the LP.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxCutRoundsAtLevelZero()" class="member-name-link">hasMaxCutRoundsAtLevelZero</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Max number of time we perform cut generation and resolve the LP at level 0.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxDeterministicTime()" class="member-name-link">hasMaxDeterministicTime</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum time allowed in deterministic time to solve a problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxDomainSizeWhenEncodingEqNeqConstraints()" class="member-name-link">hasMaxDomainSizeWhenEncodingEqNeqConstraints</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When loading a*x + b*y ==/!= c when x and y are both fully encoded.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxIntegerRoundingScaling()" class="member-name-link">hasMaxIntegerRoundingScaling</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In the integer rounding procedure used for MIR and Gomory cut, the maximum
|
|
"scaling" we use (must be positive).</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxMemoryInMb()" class="member-name-link">hasMaxMemoryInMb</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum memory allowed for the whole thread containing the solver.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxNumberOfConflicts()" class="member-name-link">hasMaxNumberOfConflicts</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum number of conflicts allowed to solve a problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxNumCuts()" class="member-name-link">hasMaxNumCuts</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The limit on the number of cuts in our cut pool.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxPresolveIterations()" class="member-name-link">hasMaxPresolveIterations</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In case of large reduction in a presolve iteration, we perform multiple
|
|
presolve iterations.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxSatAssumptionOrder()" class="member-name-link">hasMaxSatAssumptionOrder</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxSatReverseAssumptionOrder()" class="member-name-link">hasMaxSatReverseAssumptionOrder</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, adds the assumption in the reverse order of the one defined by
|
|
max_sat_assumption_order.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxSatStratification()" class="member-name-link">hasMaxSatStratification</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxTimeInSeconds()" class="member-name-link">hasMaxTimeInSeconds</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum time allowed in seconds to solve a problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMaxVariableActivityValue()" class="member-name-link">hasMaxVariableActivityValue</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double max_variable_activity_value = 16 [default = 1e+100];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMergeAtMostOneWorkLimit()" class="member-name-link">hasMergeAtMostOneWorkLimit</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double merge_at_most_one_work_limit = 146 [default = 100000000];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMergeNoOverlapWorkLimit()" class="member-name-link">hasMergeNoOverlapWorkLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
During presolve, we use a maximum clique heuristic to merge together
|
|
no-overlap constraints or at most one constraints.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMinimizationAlgorithm()" class="member-name-link">hasMinimizationAlgorithm</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMinimizeCore()" class="member-name-link">hasMinimizeCore</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we use a simple heuristic to try to minimize an UNSAT core.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMinimizeReductionDuringPbResolution()" class="member-name-link">hasMinimizeReductionDuringPbResolution</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A different algorithm during PB resolution.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMinimizeWithPropagationNumDecisions()" class="member-name-link">hasMinimizeWithPropagationNumDecisions</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMinimizeWithPropagationRestartPeriod()" class="member-name-link">hasMinimizeWithPropagationRestartPeriod</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Parameters for an heuristic similar to the one described in "An effective
|
|
learnt clause minimization approach for CDCL Sat Solvers",
|
|
https://www.ijcai.org/proceedings/2017/0098.pdf
|
|
For now, we have a somewhat simpler implementation where every x restart we
|
|
spend y decisions on clause minimization.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMinNumLnsWorkers()" class="member-name-link">hasMinNumLnsWorkers</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If there is an objective and we are not in interleave mode, we will reserve
|
|
at least this number of worker for LNS thread.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMinOrthogonalityForLpConstraints()" class="member-name-link">hasMinOrthogonalityForLpConstraints</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
While adding constraints, skip the constraints which have orthogonality
|
|
less than 'min_orthogonality_for_lp_constraints' with already added
|
|
constraints during current call.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMipAutomaticallyScaleVariables()" class="member-name-link">hasMipAutomaticallyScaleVariables</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, some continuous variable might be automatically scaled.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMipCheckPrecision()" class="member-name-link">hasMipCheckPrecision</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
As explained in mip_precision and mip_max_activity_exponent, we cannot
|
|
always reach the wanted precision during scaling.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMipComputeTrueObjectiveBound()" class="member-name-link">hasMipComputeTrueObjectiveBound</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMipMaxActivityExponent()" class="member-name-link">hasMipMaxActivityExponent</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMipMaxBound()" class="member-name-link">hasMipMaxBound</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
We need to bound the maximum magnitude of the variables for CP-SAT, and
|
|
that is the bound we use.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMipMaxValidMagnitude()" class="member-name-link">hasMipMaxValidMagnitude</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Any finite values in the input MIP must be below this threshold, otherwise
|
|
the model will be reported invalid.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMipVarScaling()" class="member-name-link">hasMipVarScaling</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
All continuous variable of the problem will be multiplied by this factor.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasMipWantedPrecision()" class="member-name-link">hasMipWantedPrecision</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When scaling constraint with double coefficients to integer coefficients,
|
|
we will multiply by a power of 2 and round the coefficients.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasName()" class="member-name-link">hasName</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In some context, like in a portfolio of search, it makes sense to name a
|
|
given parameters set for logging purpose.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasNewConstraintsBatchSize()" class="member-name-link">hasNewConstraintsBatchSize</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Add that many lazy constraints (or cuts) at once in the LP.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasNumConflictsBeforeStrategyChanges()" class="member-name-link">hasNumConflictsBeforeStrategyChanges</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasNumSearchWorkers()" class="member-name-link">hasNumSearchWorkers</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 num_search_workers = 100 [default = 0];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasNumWorkers()" class="member-name-link">hasNumWorkers</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Specify the number of parallel workers (i.e.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasOnlyAddCutsAtLevelZero()" class="member-name-link">hasOnlyAddCutsAtLevelZero</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For the cut that can be generated at any level, this control if we only
|
|
try to generate them at the root node.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasOptimizeWithCore()" class="member-name-link">hasOptimizeWithCore</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The default optimization method is a simple "linear scan", each time trying
|
|
to find a better solution than the previous one.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasOptimizeWithLbTreeSearch()" class="member-name-link">hasOptimizeWithLbTreeSearch</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Do a more conventional tree search (by opposition to SAT based one) where
|
|
we keep all the explored node in a tree.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasOptimizeWithMaxHs()" class="member-name-link">hasOptimizeWithMaxHs</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
This has no effect if optimize_with_core is false.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPbCleanupIncrement()" class="member-name-link">hasPbCleanupIncrement</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Same as for the clauses, but for the learned pseudo-Boolean constraints.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPbCleanupRatio()" class="member-name-link">hasPbCleanupRatio</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double pb_cleanup_ratio = 47 [default = 0.5];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPermutePresolveConstraintOrder()" class="member-name-link">hasPermutePresolveConstraintOrder</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional bool permute_presolve_constraint_order = 179 [default = false];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPermuteVariableRandomly()" class="member-name-link">hasPermuteVariableRandomly</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
This is mainly here to test the solver variability.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPolarityRephaseIncrement()" class="member-name-link">hasPolarityRephaseIncrement</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If non-zero, then we change the polarity heuristic after that many number
|
|
of conflicts in an arithmetically increasing fashion.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPolishLpSolution()" class="member-name-link">hasPolishLpSolution</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPreferredVariableOrder()" class="member-name-link">hasPreferredVariableOrder</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPresolveBlockedClause()" class="member-name-link">hasPresolveBlockedClause</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we use an heuristic to detect some basic case of blocked clause
|
|
in the SAT presolve.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPresolveBvaThreshold()" class="member-name-link">hasPresolveBvaThreshold</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Apply Bounded Variable Addition (BVA) if the number of clauses is reduced
|
|
by stricly more than this threshold.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPresolveBveClauseWeight()" class="member-name-link">hasPresolveBveClauseWeight</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
During presolve, we apply BVE only if this weight times the number of
|
|
clauses plus the number of clause literals is not increased.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPresolveBveThreshold()" class="member-name-link">hasPresolveBveThreshold</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPresolveExtractIntegerEnforcement()" class="member-name-link">hasPresolveExtractIntegerEnforcement</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we will extract from linear constraints, enforcement literals of
|
|
the form "integer variable at bound => simplified constraint".</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPresolveInclusionWorkLimit()" class="member-name-link">hasPresolveInclusionWorkLimit</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A few presolve operations involve detecting constraints included in other
|
|
constraint.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPresolveProbingDeterministicTimeLimit()" class="member-name-link">hasPresolveProbingDeterministicTimeLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The maximum "deterministic" time limit to spend in probing.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPresolveSubstitutionLevel()" class="member-name-link">hasPresolveSubstitutionLevel</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
How much substitution (also called free variable aggregation in MIP
|
|
litterature) should we perform at presolve.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPresolveUseBva()" class="member-name-link">hasPresolveUseBva</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether or not we use Bounded Variable Addition (BVA) in the presolve.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasProbingPeriodAtRoot()" class="member-name-link">hasProbingPeriodAtRoot</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If set at zero (the default), it is disabled.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasPseudoCostReliabilityThreshold()" class="member-name-link">hasPseudoCostReliabilityThreshold</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The solver ignores the pseudo costs of variables with number of recordings
|
|
less than this threshold.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasRandomBranchesRatio()" class="member-name-link">hasRandomBranchesRatio</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasRandomizeSearch()" class="member-name-link">hasRandomizeSearch</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Randomize fixed search.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasRandomPolarityRatio()" class="member-name-link">hasRandomPolarityRatio</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The proportion of polarity chosen at random.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasRandomSeed()" class="member-name-link">hasRandomSeed</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
At the beginning of each solve, the random number generator used in some
|
|
part of the solver is reinitialized to this seed.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasReduceMemoryUsageInInterleaveMode()" class="member-name-link">hasReduceMemoryUsageInInterleaveMode</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Temporary parameter until the memory usage is more optimized.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasRelativeGapLimit()" class="member-name-link">hasRelativeGapLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double relative_gap_limit = 160 [default = 0];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasRepairHint()" class="member-name-link">hasRepairHint</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the solver tries to repair the solution given in the hint.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasRestartDlAverageRatio()" class="member-name-link">hasRestartDlAverageRatio</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In the moving average restart algorithms, a restart is triggered if the
|
|
window average times this ratio is greater that the global average.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasRestartLbdAverageRatio()" class="member-name-link">hasRestartLbdAverageRatio</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double restart_lbd_average_ratio = 71 [default = 1];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasRestartPeriod()" class="member-name-link">hasRestartPeriod</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Restart period for the FIXED_RESTART strategy.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasRestartRunningWindowSize()" class="member-name-link">hasRestartRunningWindowSize</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Size of the window for the moving average restarts.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasSearchBranching()" class="member-name-link">hasSearchBranching</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasSearchRandomizationTolerance()" class="member-name-link">hasSearchRandomizationTolerance</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Search randomization will collect equivalent 'max valued' variables, and
|
|
pick one randomly.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasShareBinaryClauses()" class="member-name-link">hasShareBinaryClauses</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Allows sharing of new learned binary clause between workers.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasShareLevelZeroBounds()" class="member-name-link">hasShareLevelZeroBounds</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Allows sharing of the bounds of modified variables at level 0.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasShareObjectiveBounds()" class="member-name-link">hasShareObjectiveBounds</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Allows objective sharing between workers.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasShavingSearchDeterministicTime()" class="member-name-link">hasShavingSearchDeterministicTime</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Specifies the amount of deterministic time spent of each try at shaving a
|
|
bound in the shaving search.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasSolutionPoolSize()" class="member-name-link">hasSolutionPoolSize</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Size of the top-n different solutions kept by the solver.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasStopAfterFirstSolution()" class="member-name-link">hasStopAfterFirstSolution</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For an optimization problem, stop the solver as soon as we have a solution.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasStopAfterPresolve()" class="member-name-link">hasStopAfterPresolve</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Mainly used when improving the presolver.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasStrategyChangeIncreaseRatio()" class="member-name-link">hasStrategyChangeIncreaseRatio</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The parameter num_conflicts_before_strategy_changes is increased by that
|
|
much after each strategy change.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasSubsumptionDuringConflictAnalysis()" class="member-name-link">hasSubsumptionDuringConflictAnalysis</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasSymmetryLevel()" class="member-name-link">hasSymmetryLevel</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we try to automatically detect the symmetries in a model and
|
|
exploit them.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseAbslRandom()" class="member-name-link">hasUseAbslRandom</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional bool use_absl_random = 180 [default = false];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseBlockingRestart()" class="member-name-link">hasUseBlockingRestart</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseBranchingInLp()" class="member-name-link">hasUseBranchingInLp</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the solver attemts to generate more info inside lp propagator by
|
|
branching on some variables if certain criteria are met during the search
|
|
tree exploration.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseCombinedNoOverlap()" class="member-name-link">hasUseCombinedNoOverlap</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
This can be beneficial if there is a lot of no-overlap constraints but a
|
|
relatively low number of different intervals in the problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseCumulativeInNoOverlap2D()" class="member-name-link">hasUseCumulativeInNoOverlap2D</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, the no_overlap_2d constraint is reinforced with
|
|
propagators from the cumulative constraints.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseDisjunctiveConstraintInCumulativeConstraint()" class="member-name-link">hasUseDisjunctiveConstraintInCumulativeConstraint</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseErwaHeuristic()" class="member-name-link">hasUseErwaHeuristic</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseExactLpReason()" class="member-name-link">hasUseExactLpReason</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The solver usually exploit the LP relaxation of a model.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseFeasibilityPump()" class="member-name-link">hasUseFeasibilityPump</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Adds a feasibility pump subsolver along with lns subsolvers.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseImpliedBounds()" class="member-name-link">hasUseImpliedBounds</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Stores and exploits "implied-bounds" in the solver.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseLnsOnly()" class="member-name-link">hasUseLnsOnly</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
LNS parameters.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseOptimizationHints()" class="member-name-link">hasUseOptimizationHints</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For an optimization problem, whether we follow some hints in order to find
|
|
a better first solution.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseOptionalVariables()" class="member-name-link">hasUseOptionalVariables</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we automatically detect variables whose constraint are always
|
|
enforced by the same literal and we mark them as optional.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseOverloadCheckerInCumulativeConstraint()" class="member-name-link">hasUseOverloadCheckerInCumulativeConstraint</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, the cumulative constraint is reinforced with overload
|
|
checking, i.e., an additional level of reasoning based on energy.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUsePbResolution()" class="member-name-link">hasUsePbResolution</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether to use pseudo-Boolean resolution to analyze a conflict.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUsePhaseSaving()" class="member-name-link">hasUsePhaseSaving</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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().</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUsePrecedencesInDisjunctiveConstraint()" class="member-name-link">hasUsePrecedencesInDisjunctiveConstraint</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, then a disjunctive constraint will try to use the
|
|
precedence relations between time intervals to propagate their bounds
|
|
further.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseProbingSearch()" class="member-name-link">hasUseProbingSearch</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, search will continuously probe Boolean variables, and integer
|
|
variable bounds.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseRelaxationLns()" class="member-name-link">hasUseRelaxationLns</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Turns on a lns worker which solves relaxed version of the original problem
|
|
by removing constraints from the problem in order to get better bounds.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseRinsLns()" class="member-name-link">hasUseRinsLns</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Turns on relaxation induced neighborhood generator.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseSatInprocessing()" class="member-name-link">hasUseSatInprocessing</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional bool use_sat_inprocessing = 163 [default = false];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseShavingInProbingSearch()" class="member-name-link">hasUseShavingInProbingSearch</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasUseTimetableEdgeFindingInCumulativeConstraint()" class="member-name-link">hasUseTimetableEdgeFindingInCumulativeConstraint</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasVariableActivityDecay()" class="member-name-link">hasVariableActivityDecay</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Each time a conflict is found, the activities of some variables are
|
|
increased by one.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#internalGetFieldAccessorTable()" class="member-name-link">internalGetFieldAccessorTable</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>final boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isInitialized()" class="member-name-link">isInitialized</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeFrom(com.google.ortools.sat.SatParameters)" class="member-name-link">mergeFrom</a><wbr>(<a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a> other)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)" class="member-name-link">mergeFrom</a><wbr>(com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeFrom(com.google.protobuf.Message)" class="member-name-link">mergeFrom</a><wbr>(com.google.protobuf.Message other)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>final <a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeUnknownFields(com.google.protobuf.UnknownFieldSet)" class="member-name-link">mergeUnknownFields</a><wbr>(com.google.protobuf.UnknownFieldSet unknownFields)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#removeSubsolverParams(int)" class="member-name-link">removeSubsolverParams</a><wbr>(int index)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAbsoluteGapLimit(double)" class="member-name-link">setAbsoluteGapLimit</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Stop the search when the gap between the best feasible objective (O) and
|
|
our best objective bound (B) is smaller than a limit.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAddCgCuts(boolean)" class="member-name-link">setAddCgCuts</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate and add Chvatal-Gomory cuts to the LP at root node.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAddCliqueCuts(boolean)" class="member-name-link">setAddCliqueCuts</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate clique cuts from the binary implication graph.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAddLinMaxCuts(boolean)" class="member-name-link">setAddLinMaxCuts</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For the lin max constraints, generates the cuts described in "Strong
|
|
mixed-integer programming formulations for trained neural networks" by Ross
|
|
Anderson et.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAddLpConstraintsLazily(boolean)" class="member-name-link">setAddLpConstraintsLazily</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we start by an empty LP, and only add constraints not satisfied
|
|
by the current LP solution batch by batch.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAddMirCuts(boolean)" class="member-name-link">setAddMirCuts</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate MIR cuts at root node.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAddObjectiveCut(boolean)" class="member-name-link">setAddObjectiveCut</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAddZeroHalfCuts(boolean)" class="member-name-link">setAddZeroHalfCuts</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we generate Zero-Half cuts at root node.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAlsoBumpVariablesInConflictReasons(boolean)" class="member-name-link">setAlsoBumpVariablesInConflictReasons</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, then the variables that appear in any of the reason of
|
|
the variables in a conflict have their activity bumped.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAutoDetectGreaterThanAtLeastOneOf(boolean)" class="member-name-link">setAutoDetectGreaterThanAtLeastOneOf</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setBinaryMinimizationAlgorithm(com.google.ortools.sat.SatParameters.BinaryMinizationAlgorithm)" class="member-name-link">setBinaryMinimizationAlgorithm</a><wbr>(<a href="SatParameters.BinaryMinizationAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.BinaryMinizationAlgorithm</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setBinarySearchNumConflicts(int)" class="member-name-link">setBinarySearchNumConflicts</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setBlockingRestartMultiplier(double)" class="member-name-link">setBlockingRestartMultiplier</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double blocking_restart_multiplier = 66 [default = 1.4];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setBlockingRestartWindowSize(int)" class="member-name-link">setBlockingRestartWindowSize</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 blocking_restart_window_size = 65 [default = 5000];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setBooleanEncodingLevel(int)" class="member-name-link">setBooleanEncodingLevel</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A non-negative level indicating how much we should try to fully encode
|
|
Integer variables as Boolean.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCatchSigintSignal(boolean)" class="member-name-link">setCatchSigintSignal</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Indicates if the CP-SAT layer should catch Control-C (SIGINT) signals
|
|
when calling solve.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setClauseActivityDecay(double)" class="member-name-link">setClauseActivityDecay</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Clause activity parameters (same effect as the one on the variables).</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setClauseCleanupLbdBound(int)" class="member-name-link">setClauseCleanupLbdBound</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
All the clauses with a LBD (literal blocks distance) lower or equal to this
|
|
parameters will always be kept.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setClauseCleanupOrdering(com.google.ortools.sat.SatParameters.ClauseOrdering)" class="member-name-link">setClauseCleanupOrdering</a><wbr>(<a href="SatParameters.ClauseOrdering.html" title="enum in com.google.ortools.sat">SatParameters.ClauseOrdering</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setClauseCleanupPeriod(int)" class="member-name-link">setClauseCleanupPeriod</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Trigger a cleanup when this number of "deletable" clauses is learned.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setClauseCleanupProtection(com.google.ortools.sat.SatParameters.ClauseProtection)" class="member-name-link">setClauseCleanupProtection</a><wbr>(<a href="SatParameters.ClauseProtection.html" title="enum in com.google.ortools.sat">SatParameters.ClauseProtection</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setClauseCleanupRatio(double)" class="member-name-link">setClauseCleanupRatio</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setClauseCleanupTarget(int)" class="member-name-link">setClauseCleanupTarget</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
During a cleanup, we will always keep that number of "deletable" clauses.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setConvertIntervals(boolean)" class="member-name-link">setConvertIntervals</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Temporary flag util the feature is more mature.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCountAssumptionLevelsInLbd(boolean)" class="member-name-link">setCountAssumptionLevelsInLbd</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether or not the assumption levels are taken into account during the LBD
|
|
computation.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCoverOptimization(boolean)" class="member-name-link">setCoverOptimization</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCpModelPresolve(boolean)" class="member-name-link">setCpModelPresolve</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we presolve the cp_model before solving it.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCpModelProbingLevel(int)" class="member-name-link">setCpModelProbingLevel</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
How much effort do we spend on probing.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCpModelUseSatPresolve(boolean)" class="member-name-link">setCpModelUseSatPresolve</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we also use the sat presolve when cp_model_presolve is true.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCutActiveCountDecay(double)" class="member-name-link">setCutActiveCountDecay</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double cut_active_count_decay = 156 [default = 0.8];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCutCleanupTarget(int)" class="member-name-link">setCutCleanupTarget</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Target number of constraints to remove during cleanup.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCutLevel(int)" class="member-name-link">setCutLevel</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Control the global cut effort.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCutMaxActiveCountValue(double)" class="member-name-link">setCutMaxActiveCountValue</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
These parameters are similar to sat clause management activity parameters.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDebugCrashOnBadHint(boolean)" class="member-name-link">setDebugCrashOnBadHint</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Crash if we do not manage to complete the hint into a full solution.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDebugMaxNumPresolveOperations(int)" class="member-name-link">setDebugMaxNumPresolveOperations</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If positive, try to stop just after that many presolve rules have been
|
|
applied.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDebugPostsolveWithFullSolver(boolean)" class="member-name-link">setDebugPostsolveWithFullSolver</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
We have two different postsolve code.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDefaultRestartAlgorithms(java.lang.String)" class="member-name-link">setDefaultRestartAlgorithms</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDefaultRestartAlgorithmsBytes(com.google.protobuf.ByteString)" class="member-name-link">setDefaultRestartAlgorithmsBytes</a><wbr>(com.google.protobuf.ByteString value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDisableConstraintExpansion(boolean)" class="member-name-link">setDisableConstraintExpansion</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, it disable all constraint expansion.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDiversifyLnsParams(boolean)" class="member-name-link">setDiversifyLnsParams</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, registers more lns subsolvers with different parameters.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setEnumerateAllSolutions(boolean)" class="member-name-link">setEnumerateAllSolutions</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we enumerate all solutions of a problem without objective.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setExpandAlldiffConstraints(boolean)" class="member-name-link">setExpandAlldiffConstraints</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, expand all_different constraints that are not permutations.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setExploitAllLpSolution(boolean)" class="member-name-link">setExploitAllLpSolution</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true and the Lp relaxation of the problem has a solution, try to exploit
|
|
it.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setExploitBestSolution(boolean)" class="member-name-link">setExploitBestSolution</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When branching on a variable, follow the last best solution value.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setExploitIntegerLpSolution(boolean)" class="member-name-link">setExploitIntegerLpSolution</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true and the Lp relaxation of the problem has an integer optimal
|
|
solution, try to exploit it.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setExploitObjective(boolean)" class="member-name-link">setExploitObjective</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When branching an a variable that directly affect the objective,
|
|
branch on the value that lead to the best objective first.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setExploitRelaxationSolution(boolean)" class="member-name-link">setExploitRelaxationSolution</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When branching on a variable, follow the last best relaxation solution
|
|
value.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)" class="member-name-link">setField</a><wbr>(com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setFillAdditionalSolutionsInResponse(boolean)" class="member-name-link">setFillAdditionalSolutionsInResponse</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the final response addition_solutions field will be filled with
|
|
all solutions from our solutions pool.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setFillTightenedDomainsInResponse(boolean)" class="member-name-link">setFillTightenedDomainsInResponse</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, add information about the derived variable domains to the
|
|
CpSolverResponse.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setFindMultipleCores(boolean)" class="member-name-link">setFindMultipleCores</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we try to find more independent cores for a given set of
|
|
assumptions in the core based max-SAT algorithms.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setFixVariablesToTheirHintedValue(boolean)" class="member-name-link">setFixVariablesToTheirHintedValue</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, variables appearing in the solution hints will be fixed to their
|
|
hinted value.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setFpRounding(com.google.ortools.sat.SatParameters.FPRoundingMethod)" class="member-name-link">setFpRounding</a><wbr>(<a href="SatParameters.FPRoundingMethod.html" title="enum in com.google.ortools.sat">SatParameters.FPRoundingMethod</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setGlucoseDecayIncrement(double)" class="member-name-link">setGlucoseDecayIncrement</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double glucose_decay_increment = 23 [default = 0.01];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setGlucoseDecayIncrementPeriod(int)" class="member-name-link">setGlucoseDecayIncrementPeriod</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 glucose_decay_increment_period = 24 [default = 5000];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setGlucoseMaxDecay(double)" class="member-name-link">setGlucoseMaxDecay</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The activity starts at 0.8 and increment by 0.01 every 5000 conflicts until
|
|
0.95.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setHintConflictLimit(int)" class="member-name-link">setHintConflictLimit</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Conflict limit used in the phase that exploit the solution hint.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setIgnoreNames(boolean)" class="member-name-link">setIgnoreNames</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we don't keep names in our internal copy of the user given model.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setIgnoreSubsolvers(int,java.lang.String)" class="member-name-link">setIgnoreSubsolvers</a><wbr>(int index,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setInitialPolarity(com.google.ortools.sat.SatParameters.Polarity)" class="member-name-link">setInitialPolarity</a><wbr>(<a href="SatParameters.Polarity.html" title="enum in com.google.ortools.sat">SatParameters.Polarity</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setInitialVariablesActivity(double)" class="member-name-link">setInitialVariablesActivity</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The initial value of the variables activity.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setInstantiateAllVariables(boolean)" class="member-name-link">setInstantiateAllVariables</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the solver will add a default integer branching strategy to the
|
|
already defined search strategy.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setInterleaveBatchSize(int)" class="member-name-link">setInterleaveBatchSize</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 interleave_batch_size = 134 [default = 1];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setInterleaveSearch(boolean)" class="member-name-link">setInterleaveSearch</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Experimental.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setKeepAllFeasibleSolutionsInPresolve(boolean)" class="member-name-link">setKeepAllFeasibleSolutionsInPresolve</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we disable the presolve reductions that remove feasible solutions
|
|
from the search space.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setLinearizationLevel(int)" class="member-name-link">setLinearizationLevel</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A non-negative level indicating the type of constraints we consider in the
|
|
LP relaxation.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setLogFrequencyInSeconds(double)" class="member-name-link">setLogFrequencyInSeconds</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Indicates how much logging should wait before logging periodic search
|
|
information from specialized workers (lb_tree_search, probing).</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setLogPrefix(java.lang.String)" class="member-name-link">setLogPrefix</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Add a prefix to all logs.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setLogPrefixBytes(com.google.protobuf.ByteString)" class="member-name-link">setLogPrefixBytes</a><wbr>(com.google.protobuf.ByteString value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Add a prefix to all logs.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setLogSearchProgress(boolean)" class="member-name-link">setLogSearchProgress</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether the solver should log the search progress.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setLogSubsolverStatistics(boolean)" class="member-name-link">setLogSubsolverStatistics</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether the solver should display per sub-solver search statistics.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setLogToResponse(boolean)" class="member-name-link">setLogToResponse</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Log to response proto.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setLogToStdout(boolean)" class="member-name-link">setLogToStdout</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Log to stdout.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxAllDiffCutSize(int)" class="member-name-link">setMaxAllDiffCutSize</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Cut generator for all diffs can add too many cuts for large all_diff
|
|
constraints.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxClauseActivityValue(double)" class="member-name-link">setMaxClauseActivityValue</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double max_clause_activity_value = 18 [default = 1e+20];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxConsecutiveInactiveCount(int)" class="member-name-link">setMaxConsecutiveInactiveCount</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If a constraint/cut in LP is not active for that many consecutive OPTIMAL
|
|
solves, remove it from the LP.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxCutRoundsAtLevelZero(int)" class="member-name-link">setMaxCutRoundsAtLevelZero</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Max number of time we perform cut generation and resolve the LP at level 0.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxDeterministicTime(double)" class="member-name-link">setMaxDeterministicTime</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum time allowed in deterministic time to solve a problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxDomainSizeWhenEncodingEqNeqConstraints(int)" class="member-name-link">setMaxDomainSizeWhenEncodingEqNeqConstraints</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When loading a*x + b*y ==/!= c when x and y are both fully encoded.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxIntegerRoundingScaling(int)" class="member-name-link">setMaxIntegerRoundingScaling</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In the integer rounding procedure used for MIR and Gomory cut, the maximum
|
|
"scaling" we use (must be positive).</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxMemoryInMb(long)" class="member-name-link">setMaxMemoryInMb</a><wbr>(long value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum memory allowed for the whole thread containing the solver.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxNumberOfConflicts(long)" class="member-name-link">setMaxNumberOfConflicts</a><wbr>(long value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum number of conflicts allowed to solve a problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxNumCuts(int)" class="member-name-link">setMaxNumCuts</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The limit on the number of cuts in our cut pool.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxPresolveIterations(int)" class="member-name-link">setMaxPresolveIterations</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In case of large reduction in a presolve iteration, we perform multiple
|
|
presolve iterations.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxSatAssumptionOrder(com.google.ortools.sat.SatParameters.MaxSatAssumptionOrder)" class="member-name-link">setMaxSatAssumptionOrder</a><wbr>(<a href="SatParameters.MaxSatAssumptionOrder.html" title="enum in com.google.ortools.sat">SatParameters.MaxSatAssumptionOrder</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxSatReverseAssumptionOrder(boolean)" class="member-name-link">setMaxSatReverseAssumptionOrder</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, adds the assumption in the reverse order of the one defined by
|
|
max_sat_assumption_order.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxSatStratification(com.google.ortools.sat.SatParameters.MaxSatStratificationAlgorithm)" class="member-name-link">setMaxSatStratification</a><wbr>(<a href="SatParameters.MaxSatStratificationAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.MaxSatStratificationAlgorithm</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxTimeInSeconds(double)" class="member-name-link">setMaxTimeInSeconds</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Maximum time allowed in seconds to solve a problem.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxVariableActivityValue(double)" class="member-name-link">setMaxVariableActivityValue</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double max_variable_activity_value = 16 [default = 1e+100];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMergeAtMostOneWorkLimit(double)" class="member-name-link">setMergeAtMostOneWorkLimit</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double merge_at_most_one_work_limit = 146 [default = 100000000];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMergeNoOverlapWorkLimit(double)" class="member-name-link">setMergeNoOverlapWorkLimit</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
During presolve, we use a maximum clique heuristic to merge together
|
|
no-overlap constraints or at most one constraints.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMinimizationAlgorithm(com.google.ortools.sat.SatParameters.ConflictMinimizationAlgorithm)" class="member-name-link">setMinimizationAlgorithm</a><wbr>(<a href="SatParameters.ConflictMinimizationAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.ConflictMinimizationAlgorithm</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMinimizeCore(boolean)" class="member-name-link">setMinimizeCore</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we use a simple heuristic to try to minimize an UNSAT core.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMinimizeReductionDuringPbResolution(boolean)" class="member-name-link">setMinimizeReductionDuringPbResolution</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A different algorithm during PB resolution.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMinimizeWithPropagationNumDecisions(int)" class="member-name-link">setMinimizeWithPropagationNumDecisions</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMinimizeWithPropagationRestartPeriod(int)" class="member-name-link">setMinimizeWithPropagationRestartPeriod</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Parameters for an heuristic similar to the one described in "An effective
|
|
learnt clause minimization approach for CDCL Sat Solvers",
|
|
https://www.ijcai.org/proceedings/2017/0098.pdf
|
|
For now, we have a somewhat simpler implementation where every x restart we
|
|
spend y decisions on clause minimization.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMinNumLnsWorkers(int)" class="member-name-link">setMinNumLnsWorkers</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If there is an objective and we are not in interleave mode, we will reserve
|
|
at least this number of worker for LNS thread.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMinOrthogonalityForLpConstraints(double)" class="member-name-link">setMinOrthogonalityForLpConstraints</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
While adding constraints, skip the constraints which have orthogonality
|
|
less than 'min_orthogonality_for_lp_constraints' with already added
|
|
constraints during current call.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMipAutomaticallyScaleVariables(boolean)" class="member-name-link">setMipAutomaticallyScaleVariables</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, some continuous variable might be automatically scaled.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMipCheckPrecision(double)" class="member-name-link">setMipCheckPrecision</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
As explained in mip_precision and mip_max_activity_exponent, we cannot
|
|
always reach the wanted precision during scaling.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMipComputeTrueObjectiveBound(boolean)" class="member-name-link">setMipComputeTrueObjectiveBound</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMipMaxActivityExponent(int)" class="member-name-link">setMipMaxActivityExponent</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMipMaxBound(double)" class="member-name-link">setMipMaxBound</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
We need to bound the maximum magnitude of the variables for CP-SAT, and
|
|
that is the bound we use.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMipMaxValidMagnitude(double)" class="member-name-link">setMipMaxValidMagnitude</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Any finite values in the input MIP must be below this threshold, otherwise
|
|
the model will be reported invalid.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMipVarScaling(double)" class="member-name-link">setMipVarScaling</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
All continuous variable of the problem will be multiplied by this factor.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMipWantedPrecision(double)" class="member-name-link">setMipWantedPrecision</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When scaling constraint with double coefficients to integer coefficients,
|
|
we will multiply by a power of 2 and round the coefficients.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setName(java.lang.String)" class="member-name-link">setName</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In some context, like in a portfolio of search, it makes sense to name a
|
|
given parameters set for logging purpose.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNameBytes(com.google.protobuf.ByteString)" class="member-name-link">setNameBytes</a><wbr>(com.google.protobuf.ByteString value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In some context, like in a portfolio of search, it makes sense to name a
|
|
given parameters set for logging purpose.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNewConstraintsBatchSize(int)" class="member-name-link">setNewConstraintsBatchSize</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Add that many lazy constraints (or cuts) at once in the LP.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNumConflictsBeforeStrategyChanges(int)" class="member-name-link">setNumConflictsBeforeStrategyChanges</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNumSearchWorkers(int)" class="member-name-link">setNumSearchWorkers</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional int32 num_search_workers = 100 [default = 0];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNumWorkers(int)" class="member-name-link">setNumWorkers</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Specify the number of parallel workers (i.e.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setOnlyAddCutsAtLevelZero(boolean)" class="member-name-link">setOnlyAddCutsAtLevelZero</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For the cut that can be generated at any level, this control if we only
|
|
try to generate them at the root node.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setOptimizeWithCore(boolean)" class="member-name-link">setOptimizeWithCore</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The default optimization method is a simple "linear scan", each time trying
|
|
to find a better solution than the previous one.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setOptimizeWithLbTreeSearch(boolean)" class="member-name-link">setOptimizeWithLbTreeSearch</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Do a more conventional tree search (by opposition to SAT based one) where
|
|
we keep all the explored node in a tree.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setOptimizeWithMaxHs(boolean)" class="member-name-link">setOptimizeWithMaxHs</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
This has no effect if optimize_with_core is false.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPbCleanupIncrement(int)" class="member-name-link">setPbCleanupIncrement</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Same as for the clauses, but for the learned pseudo-Boolean constraints.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPbCleanupRatio(double)" class="member-name-link">setPbCleanupRatio</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double pb_cleanup_ratio = 47 [default = 0.5];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPermutePresolveConstraintOrder(boolean)" class="member-name-link">setPermutePresolveConstraintOrder</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional bool permute_presolve_constraint_order = 179 [default = false];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPermuteVariableRandomly(boolean)" class="member-name-link">setPermuteVariableRandomly</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
This is mainly here to test the solver variability.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPolarityRephaseIncrement(int)" class="member-name-link">setPolarityRephaseIncrement</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If non-zero, then we change the polarity heuristic after that many number
|
|
of conflicts in an arithmetically increasing fashion.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPolishLpSolution(boolean)" class="member-name-link">setPolishLpSolution</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPreferredVariableOrder(com.google.ortools.sat.SatParameters.VariableOrder)" class="member-name-link">setPreferredVariableOrder</a><wbr>(<a href="SatParameters.VariableOrder.html" title="enum in com.google.ortools.sat">SatParameters.VariableOrder</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPresolveBlockedClause(boolean)" class="member-name-link">setPresolveBlockedClause</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we use an heuristic to detect some basic case of blocked clause
|
|
in the SAT presolve.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPresolveBvaThreshold(int)" class="member-name-link">setPresolveBvaThreshold</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Apply Bounded Variable Addition (BVA) if the number of clauses is reduced
|
|
by stricly more than this threshold.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPresolveBveClauseWeight(int)" class="member-name-link">setPresolveBveClauseWeight</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
During presolve, we apply BVE only if this weight times the number of
|
|
clauses plus the number of clause literals is not increased.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPresolveBveThreshold(int)" class="member-name-link">setPresolveBveThreshold</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPresolveExtractIntegerEnforcement(boolean)" class="member-name-link">setPresolveExtractIntegerEnforcement</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we will extract from linear constraints, enforcement literals of
|
|
the form "integer variable at bound => simplified constraint".</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPresolveInclusionWorkLimit(long)" class="member-name-link">setPresolveInclusionWorkLimit</a><wbr>(long value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
A few presolve operations involve detecting constraints included in other
|
|
constraint.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPresolveProbingDeterministicTimeLimit(double)" class="member-name-link">setPresolveProbingDeterministicTimeLimit</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The maximum "deterministic" time limit to spend in probing.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPresolveSubstitutionLevel(int)" class="member-name-link">setPresolveSubstitutionLevel</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
How much substitution (also called free variable aggregation in MIP
|
|
litterature) should we perform at presolve.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPresolveUseBva(boolean)" class="member-name-link">setPresolveUseBva</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether or not we use Bounded Variable Addition (BVA) in the presolve.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setProbingPeriodAtRoot(long)" class="member-name-link">setProbingPeriodAtRoot</a><wbr>(long value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If set at zero (the default), it is disabled.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPseudoCostReliabilityThreshold(long)" class="member-name-link">setPseudoCostReliabilityThreshold</a><wbr>(long value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The solver ignores the pseudo costs of variables with number of recordings
|
|
less than this threshold.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRandomBranchesRatio(double)" class="member-name-link">setRandomBranchesRatio</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRandomizeSearch(boolean)" class="member-name-link">setRandomizeSearch</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Randomize fixed search.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRandomPolarityRatio(double)" class="member-name-link">setRandomPolarityRatio</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The proportion of polarity chosen at random.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRandomSeed(int)" class="member-name-link">setRandomSeed</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
At the beginning of each solve, the random number generator used in some
|
|
part of the solver is reinitialized to this seed.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setReduceMemoryUsageInInterleaveMode(boolean)" class="member-name-link">setReduceMemoryUsageInInterleaveMode</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Temporary parameter until the memory usage is more optimized.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRelativeGapLimit(double)" class="member-name-link">setRelativeGapLimit</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double relative_gap_limit = 160 [default = 0];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRepairHint(boolean)" class="member-name-link">setRepairHint</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the solver tries to repair the solution given in the hint.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)" class="member-name-link">setRepeatedField</a><wbr>(com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
int index,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRestartAlgorithms(int,com.google.ortools.sat.SatParameters.RestartAlgorithm)" class="member-name-link">setRestartAlgorithms</a><wbr>(int index,
|
|
<a href="SatParameters.RestartAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.RestartAlgorithm</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The restart strategies will change each time the strategy_counter is
|
|
increased.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRestartDlAverageRatio(double)" class="member-name-link">setRestartDlAverageRatio</a><wbr>(double value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In the moving average restart algorithms, a restart is triggered if the
|
|
window average times this ratio is greater that the global average.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRestartLbdAverageRatio(double)" class="member-name-link">setRestartLbdAverageRatio</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional double restart_lbd_average_ratio = 71 [default = 1];</code></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRestartPeriod(int)" class="member-name-link">setRestartPeriod</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Restart period for the FIXED_RESTART strategy.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRestartRunningWindowSize(int)" class="member-name-link">setRestartRunningWindowSize</a><wbr>(int value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Size of the window for the moving average restarts.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSearchBranching(com.google.ortools.sat.SatParameters.SearchBranching)" class="member-name-link">setSearchBranching</a><wbr>(<a href="SatParameters.SearchBranching.html" title="enum in com.google.ortools.sat">SatParameters.SearchBranching</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSearchRandomizationTolerance(long)" class="member-name-link">setSearchRandomizationTolerance</a><wbr>(long value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Search randomization will collect equivalent 'max valued' variables, and
|
|
pick one randomly.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setShareBinaryClauses(boolean)" class="member-name-link">setShareBinaryClauses</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Allows sharing of new learned binary clause between workers.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setShareLevelZeroBounds(boolean)" class="member-name-link">setShareLevelZeroBounds</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Allows sharing of the bounds of modified variables at level 0.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setShareObjectiveBounds(boolean)" class="member-name-link">setShareObjectiveBounds</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Allows objective sharing between workers.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setShavingSearchDeterministicTime(double)" class="member-name-link">setShavingSearchDeterministicTime</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Specifies the amount of deterministic time spent of each try at shaving a
|
|
bound in the shaving search.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSolutionPoolSize(int)" class="member-name-link">setSolutionPoolSize</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Size of the top-n different solutions kept by the solver.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setStopAfterFirstSolution(boolean)" class="member-name-link">setStopAfterFirstSolution</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For an optimization problem, stop the solver as soon as we have a solution.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setStopAfterPresolve(boolean)" class="member-name-link">setStopAfterPresolve</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Mainly used when improving the presolver.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setStrategyChangeIncreaseRatio(double)" class="member-name-link">setStrategyChangeIncreaseRatio</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The parameter num_conflicts_before_strategy_changes is increased by that
|
|
much after each strategy change.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSubsolverParams(int,com.google.ortools.sat.SatParameters)" class="member-name-link">setSubsolverParams</a><wbr>(int index,
|
|
<a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSubsolverParams(int,com.google.ortools.sat.SatParameters.Builder)" class="member-name-link">setSubsolverParams</a><wbr>(int index,
|
|
<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a> builderForValue)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
It is possible to specify additional subsolver configuration.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSubsolvers(int,java.lang.String)" class="member-name-link">setSubsolvers</a><wbr>(int index,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSubsumptionDuringConflictAnalysis(boolean)" class="member-name-link">setSubsumptionDuringConflictAnalysis</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSymmetryLevel(int)" class="member-name-link">setSymmetryLevel</a><wbr>(int value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether we try to automatically detect the symmetries in a model and
|
|
exploit them.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>final <a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUnknownFields(com.google.protobuf.UnknownFieldSet)" class="member-name-link">setUnknownFields</a><wbr>(com.google.protobuf.UnknownFieldSet unknownFields)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseAbslRandom(boolean)" class="member-name-link">setUseAbslRandom</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional bool use_absl_random = 180 [default = false];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseBlockingRestart(boolean)" class="member-name-link">setUseBlockingRestart</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseBranchingInLp(boolean)" class="member-name-link">setUseBranchingInLp</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, the solver attemts to generate more info inside lp propagator by
|
|
branching on some variables if certain criteria are met during the search
|
|
tree exploration.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseCombinedNoOverlap(boolean)" class="member-name-link">setUseCombinedNoOverlap</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
This can be beneficial if there is a lot of no-overlap constraints but a
|
|
relatively low number of different intervals in the problem.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseCumulativeInNoOverlap2D(boolean)" class="member-name-link">setUseCumulativeInNoOverlap2D</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, the no_overlap_2d constraint is reinforced with
|
|
propagators from the cumulative constraints.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseDisjunctiveConstraintInCumulativeConstraint(boolean)" class="member-name-link">setUseDisjunctiveConstraintInCumulativeConstraint</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseErwaHeuristic(boolean)" class="member-name-link">setUseErwaHeuristic</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseExactLpReason(boolean)" class="member-name-link">setUseExactLpReason</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
The solver usually exploit the LP relaxation of a model.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseFeasibilityPump(boolean)" class="member-name-link">setUseFeasibilityPump</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Adds a feasibility pump subsolver along with lns subsolvers.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseImpliedBounds(boolean)" class="member-name-link">setUseImpliedBounds</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Stores and exploits "implied-bounds" in the solver.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseLnsOnly(boolean)" class="member-name-link">setUseLnsOnly</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
LNS parameters.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseOptimizationHints(boolean)" class="member-name-link">setUseOptimizationHints</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
For an optimization problem, whether we follow some hints in order to find
|
|
a better first solution.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseOptionalVariables(boolean)" class="member-name-link">setUseOptionalVariables</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, we automatically detect variables whose constraint are always
|
|
enforced by the same literal and we mark them as optional.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseOverloadCheckerInCumulativeConstraint(boolean)" class="member-name-link">setUseOverloadCheckerInCumulativeConstraint</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, the cumulative constraint is reinforced with overload
|
|
checking, i.e., an additional level of reasoning based on energy.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUsePbResolution(boolean)" class="member-name-link">setUsePbResolution</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Whether to use pseudo-Boolean resolution to analyze a conflict.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUsePhaseSaving(boolean)" class="member-name-link">setUsePhaseSaving</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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().</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUsePrecedencesInDisjunctiveConstraint(boolean)" class="member-name-link">setUsePrecedencesInDisjunctiveConstraint</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
When this is true, then a disjunctive constraint will try to use the
|
|
precedence relations between time intervals to propagate their bounds
|
|
further.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseProbingSearch(boolean)" class="member-name-link">setUseProbingSearch</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
If true, search will continuously probe Boolean variables, and integer
|
|
variable bounds.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseRelaxationLns(boolean)" class="member-name-link">setUseRelaxationLns</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Turns on a lns worker which solves relaxed version of the original problem
|
|
by removing constraints from the problem in order to get better bounds.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseRinsLns(boolean)" class="member-name-link">setUseRinsLns</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Turns on relaxation induced neighborhood generator.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseSatInprocessing(boolean)" class="member-name-link">setUseSatInprocessing</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block"><code>optional bool use_sat_inprocessing = 163 [default = false];</code></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseShavingInProbingSearch(boolean)" class="member-name-link">setUseShavingInProbingSearch</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUseTimetableEdgeFindingInCumulativeConstraint(boolean)" class="member-name-link">setUseTimetableEdgeFindingInCumulativeConstraint</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
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.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setVariableActivityDecay(double)" class="member-name-link">setVariableActivityDecay</a><wbr>(double value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
|
<div class="block">
|
|
Each time a conflict is found, the activities of some variables are
|
|
increased by one.</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-com.google.protobuf.GeneratedMessageV3.Builder">Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder</h3>
|
|
<code>getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3</code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-com.google.protobuf.AbstractMessage.Builder">Methods inherited from class com.google.protobuf.AbstractMessage.Builder</h3>
|
|
<code>findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString</code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-com.google.protobuf.AbstractMessageLite.Builder">Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder</h3>
|
|
<code>addAll, addAll, mergeFrom, newUninitializedMessageException</code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
|
|
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-com.google.protobuf.MessageLite.Builder">Methods inherited from interface com.google.protobuf.MessageLite.Builder</h3>
|
|
<code>mergeFrom</code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-com.google.protobuf.MessageOrBuilder">Methods inherited from interface com.google.protobuf.MessageOrBuilder</h3>
|
|
<code>findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof</code></div>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<section class="details">
|
|
<ul class="details-list">
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<li>
|
|
<section class="method-details" id="method-detail">
|
|
<h2>Method Details</h2>
|
|
<ul class="member-list">
|
|
<li>
|
|
<section class="detail" id="getDescriptor()">
|
|
<h3>getDescriptor</h3>
|
|
<div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type">com.google.protobuf.Descriptors.Descriptor</span> <span class="element-name">getDescriptor</span>()</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="internalGetFieldAccessorTable()">
|
|
<h3>internalGetFieldAccessorTable</h3>
|
|
<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">com.google.protobuf.GeneratedMessageV3.FieldAccessorTable</span> <span class="element-name">internalGetFieldAccessorTable</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>internalGetFieldAccessorTable</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clear()">
|
|
<h3>clear</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clear</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>clear</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>clear</code> in interface <code>com.google.protobuf.MessageLite.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>clear</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getDescriptorForType()">
|
|
<h3>getDescriptorForType</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">com.google.protobuf.Descriptors.Descriptor</span> <span class="element-name">getDescriptorForType</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>getDescriptorForType</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>getDescriptorForType</code> in interface <code>com.google.protobuf.MessageOrBuilder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>getDescriptorForType</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getDefaultInstanceForType()">
|
|
<h3>getDefaultInstanceForType</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a></span> <span class="element-name">getDefaultInstanceForType</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>getDefaultInstanceForType</code> in interface <code>com.google.protobuf.MessageLiteOrBuilder</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>getDefaultInstanceForType</code> in interface <code>com.google.protobuf.MessageOrBuilder</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="build()">
|
|
<h3>build</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a></span> <span class="element-name">build</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>build</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>build</code> in interface <code>com.google.protobuf.MessageLite.Builder</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="buildPartial()">
|
|
<h3>buildPartial</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a></span> <span class="element-name">buildPartial</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>buildPartial</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>buildPartial</code> in interface <code>com.google.protobuf.MessageLite.Builder</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clone()">
|
|
<h3>clone</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clone</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>clone</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>clone</code> in interface <code>com.google.protobuf.MessageLite.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>clone</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)">
|
|
<h3>setField</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> value)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>setField</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>setField</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearField(com.google.protobuf.Descriptors.FieldDescriptor)">
|
|
<h3>clearField</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor field)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>clearField</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>clearField</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)">
|
|
<h3>clearOneof</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearOneof</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.OneofDescriptor oneof)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>clearOneof</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>clearOneof</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)">
|
|
<h3>setRepeatedField</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setRepeatedField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
int index,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> value)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>setRepeatedField</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>setRepeatedField</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)">
|
|
<h3>addRepeatedField</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addRepeatedField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> value)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>addRepeatedField</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>addRepeatedField</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="mergeFrom(com.google.protobuf.Message)">
|
|
<h3>mergeFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">mergeFrom</span><wbr><span class="parameters">(com.google.protobuf.Message other)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>mergeFrom</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>mergeFrom</code> in class <code>com.google.protobuf.AbstractMessage.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="mergeFrom(com.google.ortools.sat.SatParameters)">
|
|
<h3>mergeFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">mergeFrom</span><wbr><span class="parameters">(<a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a> other)</span></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isInitialized()">
|
|
<h3>isInitialized</h3>
|
|
<div class="member-signature"><span class="modifiers">public final</span> <span class="return-type">boolean</span> <span class="element-name">isInitialized</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>isInitialized</code> in interface <code>com.google.protobuf.MessageLiteOrBuilder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>isInitialized</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="mergeFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)">
|
|
<h3>mergeFrom</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">mergeFrom</span><wbr><span class="parameters">(com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)</span>
|
|
throws <span class="exceptions"><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>mergeFrom</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Specified by:</dt>
|
|
<dd><code>mergeFrom</code> in interface <code>com.google.protobuf.MessageLite.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>mergeFrom</code> in class <code>com.google.protobuf.AbstractMessage.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></code></dd>
|
|
<dt>Throws:</dt>
|
|
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasName()">
|
|
<h3>hasName</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasName</span>()</div>
|
|
<div class="block"><pre>
|
|
In some context, like in a portfolio of search, it makes sense to name a
|
|
given parameters set for logging purpose.
|
|
</pre>
|
|
|
|
<code>optional string name = 171 [default = ""];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasName()">hasName</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the name field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getName()">
|
|
<h3>getName</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">getName</span>()</div>
|
|
<div class="block"><pre>
|
|
In some context, like in a portfolio of search, it makes sense to name a
|
|
given parameters set for logging purpose.
|
|
</pre>
|
|
|
|
<code>optional string name = 171 [default = ""];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getName()">getName</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The name.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNameBytes()">
|
|
<h3>getNameBytes</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">com.google.protobuf.ByteString</span> <span class="element-name">getNameBytes</span>()</div>
|
|
<div class="block"><pre>
|
|
In some context, like in a portfolio of search, it makes sense to name a
|
|
given parameters set for logging purpose.
|
|
</pre>
|
|
|
|
<code>optional string name = 171 [default = ""];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getNameBytes()">getNameBytes</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The bytes for name.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setName(java.lang.String)">
|
|
<h3>setName</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setName</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
In some context, like in a portfolio of search, it makes sense to name a
|
|
given parameters set for logging purpose.
|
|
</pre>
|
|
|
|
<code>optional string name = 171 [default = ""];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The name to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearName()">
|
|
<h3>clearName</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearName</span>()</div>
|
|
<div class="block"><pre>
|
|
In some context, like in a portfolio of search, it makes sense to name a
|
|
given parameters set for logging purpose.
|
|
</pre>
|
|
|
|
<code>optional string name = 171 [default = ""];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setNameBytes(com.google.protobuf.ByteString)">
|
|
<h3>setNameBytes</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setNameBytes</span><wbr><span class="parameters">(com.google.protobuf.ByteString value)</span></div>
|
|
<div class="block"><pre>
|
|
In some context, like in a portfolio of search, it makes sense to name a
|
|
given parameters set for logging purpose.
|
|
</pre>
|
|
|
|
<code>optional string name = 171 [default = ""];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The bytes for name to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPreferredVariableOrder()">
|
|
<h3>hasPreferredVariableOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPreferredVariableOrder</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPreferredVariableOrder()">hasPreferredVariableOrder</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the preferredVariableOrder field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPreferredVariableOrder()">
|
|
<h3>getPreferredVariableOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.VariableOrder.html" title="enum in com.google.ortools.sat">SatParameters.VariableOrder</a></span> <span class="element-name">getPreferredVariableOrder</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPreferredVariableOrder()">getPreferredVariableOrder</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The preferredVariableOrder.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPreferredVariableOrder(com.google.ortools.sat.SatParameters.VariableOrder)">
|
|
<h3>setPreferredVariableOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPreferredVariableOrder</span><wbr><span class="parameters">(<a href="SatParameters.VariableOrder.html" title="enum in com.google.ortools.sat">SatParameters.VariableOrder</a> value)</span></div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The preferredVariableOrder to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPreferredVariableOrder()">
|
|
<h3>clearPreferredVariableOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPreferredVariableOrder</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.VariableOrder preferred_variable_order = 1 [default = IN_ORDER];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasInitialPolarity()">
|
|
<h3>hasInitialPolarity</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasInitialPolarity</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasInitialPolarity()">hasInitialPolarity</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the initialPolarity field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getInitialPolarity()">
|
|
<h3>getInitialPolarity</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Polarity.html" title="enum in com.google.ortools.sat">SatParameters.Polarity</a></span> <span class="element-name">getInitialPolarity</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getInitialPolarity()">getInitialPolarity</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The initialPolarity.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setInitialPolarity(com.google.ortools.sat.SatParameters.Polarity)">
|
|
<h3>setInitialPolarity</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setInitialPolarity</span><wbr><span class="parameters">(<a href="SatParameters.Polarity.html" title="enum in com.google.ortools.sat">SatParameters.Polarity</a> value)</span></div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The initialPolarity to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearInitialPolarity()">
|
|
<h3>clearInitialPolarity</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearInitialPolarity</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.Polarity initial_polarity = 2 [default = POLARITY_FALSE];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUsePhaseSaving()">
|
|
<h3>hasUsePhaseSaving</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUsePhaseSaving</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_phase_saving = 44 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUsePhaseSaving()">hasUsePhaseSaving</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the usePhaseSaving field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUsePhaseSaving()">
|
|
<h3>getUsePhaseSaving</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUsePhaseSaving</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_phase_saving = 44 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUsePhaseSaving()">getUsePhaseSaving</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The usePhaseSaving.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUsePhaseSaving(boolean)">
|
|
<h3>setUsePhaseSaving</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUsePhaseSaving</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_phase_saving = 44 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The usePhaseSaving to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUsePhaseSaving()">
|
|
<h3>clearUsePhaseSaving</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUsePhaseSaving</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_phase_saving = 44 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPolarityRephaseIncrement()">
|
|
<h3>hasPolarityRephaseIncrement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPolarityRephaseIncrement</span>()</div>
|
|
<div class="block"><pre>
|
|
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...
|
|
</pre>
|
|
|
|
<code>optional int32 polarity_rephase_increment = 168 [default = 1000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPolarityRephaseIncrement()">hasPolarityRephaseIncrement</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the polarityRephaseIncrement field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPolarityRephaseIncrement()">
|
|
<h3>getPolarityRephaseIncrement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getPolarityRephaseIncrement</span>()</div>
|
|
<div class="block"><pre>
|
|
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...
|
|
</pre>
|
|
|
|
<code>optional int32 polarity_rephase_increment = 168 [default = 1000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPolarityRephaseIncrement()">getPolarityRephaseIncrement</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The polarityRephaseIncrement.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPolarityRephaseIncrement(int)">
|
|
<h3>setPolarityRephaseIncrement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPolarityRephaseIncrement</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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...
|
|
</pre>
|
|
|
|
<code>optional int32 polarity_rephase_increment = 168 [default = 1000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The polarityRephaseIncrement to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPolarityRephaseIncrement()">
|
|
<h3>clearPolarityRephaseIncrement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPolarityRephaseIncrement</span>()</div>
|
|
<div class="block"><pre>
|
|
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...
|
|
</pre>
|
|
|
|
<code>optional int32 polarity_rephase_increment = 168 [default = 1000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasRandomPolarityRatio()">
|
|
<h3>hasRandomPolarityRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasRandomPolarityRatio</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double random_polarity_ratio = 45 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasRandomPolarityRatio()">hasRandomPolarityRatio</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the randomPolarityRatio field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getRandomPolarityRatio()">
|
|
<h3>getRandomPolarityRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getRandomPolarityRatio</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double random_polarity_ratio = 45 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getRandomPolarityRatio()">getRandomPolarityRatio</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The randomPolarityRatio.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setRandomPolarityRatio(double)">
|
|
<h3>setRandomPolarityRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setRandomPolarityRatio</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double random_polarity_ratio = 45 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The randomPolarityRatio to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearRandomPolarityRatio()">
|
|
<h3>clearRandomPolarityRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearRandomPolarityRatio</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double random_polarity_ratio = 45 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasRandomBranchesRatio()">
|
|
<h3>hasRandomBranchesRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasRandomBranchesRatio</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double random_branches_ratio = 32 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasRandomBranchesRatio()">hasRandomBranchesRatio</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the randomBranchesRatio field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getRandomBranchesRatio()">
|
|
<h3>getRandomBranchesRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getRandomBranchesRatio</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double random_branches_ratio = 32 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getRandomBranchesRatio()">getRandomBranchesRatio</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The randomBranchesRatio.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setRandomBranchesRatio(double)">
|
|
<h3>setRandomBranchesRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setRandomBranchesRatio</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double random_branches_ratio = 32 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The randomBranchesRatio to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearRandomBranchesRatio()">
|
|
<h3>clearRandomBranchesRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearRandomBranchesRatio</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double random_branches_ratio = 32 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseErwaHeuristic()">
|
|
<h3>hasUseErwaHeuristic</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseErwaHeuristic</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_erwa_heuristic = 75 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseErwaHeuristic()">hasUseErwaHeuristic</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useErwaHeuristic field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseErwaHeuristic()">
|
|
<h3>getUseErwaHeuristic</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseErwaHeuristic</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_erwa_heuristic = 75 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseErwaHeuristic()">getUseErwaHeuristic</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useErwaHeuristic.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseErwaHeuristic(boolean)">
|
|
<h3>setUseErwaHeuristic</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseErwaHeuristic</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_erwa_heuristic = 75 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useErwaHeuristic to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseErwaHeuristic()">
|
|
<h3>clearUseErwaHeuristic</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseErwaHeuristic</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_erwa_heuristic = 75 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasInitialVariablesActivity()">
|
|
<h3>hasInitialVariablesActivity</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasInitialVariablesActivity</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double initial_variables_activity = 76 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasInitialVariablesActivity()">hasInitialVariablesActivity</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the initialVariablesActivity field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getInitialVariablesActivity()">
|
|
<h3>getInitialVariablesActivity</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getInitialVariablesActivity</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double initial_variables_activity = 76 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getInitialVariablesActivity()">getInitialVariablesActivity</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The initialVariablesActivity.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setInitialVariablesActivity(double)">
|
|
<h3>setInitialVariablesActivity</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setInitialVariablesActivity</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double initial_variables_activity = 76 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The initialVariablesActivity to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearInitialVariablesActivity()">
|
|
<h3>clearInitialVariablesActivity</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearInitialVariablesActivity</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double initial_variables_activity = 76 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasAlsoBumpVariablesInConflictReasons()">
|
|
<h3>hasAlsoBumpVariablesInConflictReasons</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasAlsoBumpVariablesInConflictReasons</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool also_bump_variables_in_conflict_reasons = 77 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasAlsoBumpVariablesInConflictReasons()">hasAlsoBumpVariablesInConflictReasons</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the alsoBumpVariablesInConflictReasons field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAlsoBumpVariablesInConflictReasons()">
|
|
<h3>getAlsoBumpVariablesInConflictReasons</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getAlsoBumpVariablesInConflictReasons</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool also_bump_variables_in_conflict_reasons = 77 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getAlsoBumpVariablesInConflictReasons()">getAlsoBumpVariablesInConflictReasons</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The alsoBumpVariablesInConflictReasons.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setAlsoBumpVariablesInConflictReasons(boolean)">
|
|
<h3>setAlsoBumpVariablesInConflictReasons</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setAlsoBumpVariablesInConflictReasons</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool also_bump_variables_in_conflict_reasons = 77 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The alsoBumpVariablesInConflictReasons to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearAlsoBumpVariablesInConflictReasons()">
|
|
<h3>clearAlsoBumpVariablesInConflictReasons</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearAlsoBumpVariablesInConflictReasons</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool also_bump_variables_in_conflict_reasons = 77 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMinimizationAlgorithm()">
|
|
<h3>hasMinimizationAlgorithm</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMinimizationAlgorithm</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMinimizationAlgorithm()">hasMinimizationAlgorithm</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the minimizationAlgorithm field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMinimizationAlgorithm()">
|
|
<h3>getMinimizationAlgorithm</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.ConflictMinimizationAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.ConflictMinimizationAlgorithm</a></span> <span class="element-name">getMinimizationAlgorithm</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMinimizationAlgorithm()">getMinimizationAlgorithm</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The minimizationAlgorithm.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMinimizationAlgorithm(com.google.ortools.sat.SatParameters.ConflictMinimizationAlgorithm)">
|
|
<h3>setMinimizationAlgorithm</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMinimizationAlgorithm</span><wbr><span class="parameters">(<a href="SatParameters.ConflictMinimizationAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.ConflictMinimizationAlgorithm</a> value)</span></div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The minimizationAlgorithm to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMinimizationAlgorithm()">
|
|
<h3>clearMinimizationAlgorithm</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMinimizationAlgorithm</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ConflictMinimizationAlgorithm minimization_algorithm = 4 [default = RECURSIVE];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasBinaryMinimizationAlgorithm()">
|
|
<h3>hasBinaryMinimizationAlgorithm</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasBinaryMinimizationAlgorithm</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasBinaryMinimizationAlgorithm()">hasBinaryMinimizationAlgorithm</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the binaryMinimizationAlgorithm field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getBinaryMinimizationAlgorithm()">
|
|
<h3>getBinaryMinimizationAlgorithm</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.BinaryMinizationAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.BinaryMinizationAlgorithm</a></span> <span class="element-name">getBinaryMinimizationAlgorithm</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getBinaryMinimizationAlgorithm()">getBinaryMinimizationAlgorithm</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The binaryMinimizationAlgorithm.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setBinaryMinimizationAlgorithm(com.google.ortools.sat.SatParameters.BinaryMinizationAlgorithm)">
|
|
<h3>setBinaryMinimizationAlgorithm</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setBinaryMinimizationAlgorithm</span><wbr><span class="parameters">(<a href="SatParameters.BinaryMinizationAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.BinaryMinizationAlgorithm</a> value)</span></div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The binaryMinimizationAlgorithm to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearBinaryMinimizationAlgorithm()">
|
|
<h3>clearBinaryMinimizationAlgorithm</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearBinaryMinimizationAlgorithm</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.BinaryMinizationAlgorithm binary_minimization_algorithm = 34 [default = BINARY_MINIMIZATION_FIRST];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasSubsumptionDuringConflictAnalysis()">
|
|
<h3>hasSubsumptionDuringConflictAnalysis</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasSubsumptionDuringConflictAnalysis</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool subsumption_during_conflict_analysis = 56 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasSubsumptionDuringConflictAnalysis()">hasSubsumptionDuringConflictAnalysis</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the subsumptionDuringConflictAnalysis field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSubsumptionDuringConflictAnalysis()">
|
|
<h3>getSubsumptionDuringConflictAnalysis</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getSubsumptionDuringConflictAnalysis</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool subsumption_during_conflict_analysis = 56 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getSubsumptionDuringConflictAnalysis()">getSubsumptionDuringConflictAnalysis</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The subsumptionDuringConflictAnalysis.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSubsumptionDuringConflictAnalysis(boolean)">
|
|
<h3>setSubsumptionDuringConflictAnalysis</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setSubsumptionDuringConflictAnalysis</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool subsumption_during_conflict_analysis = 56 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The subsumptionDuringConflictAnalysis to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearSubsumptionDuringConflictAnalysis()">
|
|
<h3>clearSubsumptionDuringConflictAnalysis</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearSubsumptionDuringConflictAnalysis</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool subsumption_during_conflict_analysis = 56 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasClauseCleanupPeriod()">
|
|
<h3>hasClauseCleanupPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasClauseCleanupPeriod</span>()</div>
|
|
<div class="block"><pre>
|
|
Trigger a cleanup when this number of "deletable" clauses is learned.
|
|
</pre>
|
|
|
|
<code>optional int32 clause_cleanup_period = 11 [default = 10000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasClauseCleanupPeriod()">hasClauseCleanupPeriod</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the clauseCleanupPeriod field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getClauseCleanupPeriod()">
|
|
<h3>getClauseCleanupPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getClauseCleanupPeriod</span>()</div>
|
|
<div class="block"><pre>
|
|
Trigger a cleanup when this number of "deletable" clauses is learned.
|
|
</pre>
|
|
|
|
<code>optional int32 clause_cleanup_period = 11 [default = 10000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getClauseCleanupPeriod()">getClauseCleanupPeriod</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The clauseCleanupPeriod.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setClauseCleanupPeriod(int)">
|
|
<h3>setClauseCleanupPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setClauseCleanupPeriod</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
Trigger a cleanup when this number of "deletable" clauses is learned.
|
|
</pre>
|
|
|
|
<code>optional int32 clause_cleanup_period = 11 [default = 10000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The clauseCleanupPeriod to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearClauseCleanupPeriod()">
|
|
<h3>clearClauseCleanupPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearClauseCleanupPeriod</span>()</div>
|
|
<div class="block"><pre>
|
|
Trigger a cleanup when this number of "deletable" clauses is learned.
|
|
</pre>
|
|
|
|
<code>optional int32 clause_cleanup_period = 11 [default = 10000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasClauseCleanupTarget()">
|
|
<h3>hasClauseCleanupTarget</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasClauseCleanupTarget</span>()</div>
|
|
<div class="block"><pre>
|
|
During a cleanup, we will always keep that number of "deletable" clauses.
|
|
Note that this doesn't include the "protected" clauses.
|
|
</pre>
|
|
|
|
<code>optional int32 clause_cleanup_target = 13 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasClauseCleanupTarget()">hasClauseCleanupTarget</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the clauseCleanupTarget field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getClauseCleanupTarget()">
|
|
<h3>getClauseCleanupTarget</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getClauseCleanupTarget</span>()</div>
|
|
<div class="block"><pre>
|
|
During a cleanup, we will always keep that number of "deletable" clauses.
|
|
Note that this doesn't include the "protected" clauses.
|
|
</pre>
|
|
|
|
<code>optional int32 clause_cleanup_target = 13 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getClauseCleanupTarget()">getClauseCleanupTarget</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The clauseCleanupTarget.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setClauseCleanupTarget(int)">
|
|
<h3>setClauseCleanupTarget</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setClauseCleanupTarget</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
During a cleanup, we will always keep that number of "deletable" clauses.
|
|
Note that this doesn't include the "protected" clauses.
|
|
</pre>
|
|
|
|
<code>optional int32 clause_cleanup_target = 13 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The clauseCleanupTarget to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearClauseCleanupTarget()">
|
|
<h3>clearClauseCleanupTarget</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearClauseCleanupTarget</span>()</div>
|
|
<div class="block"><pre>
|
|
During a cleanup, we will always keep that number of "deletable" clauses.
|
|
Note that this doesn't include the "protected" clauses.
|
|
</pre>
|
|
|
|
<code>optional int32 clause_cleanup_target = 13 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasClauseCleanupRatio()">
|
|
<h3>hasClauseCleanupRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasClauseCleanupRatio</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double clause_cleanup_ratio = 190 [default = 0.5];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasClauseCleanupRatio()">hasClauseCleanupRatio</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the clauseCleanupRatio field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getClauseCleanupRatio()">
|
|
<h3>getClauseCleanupRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getClauseCleanupRatio</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double clause_cleanup_ratio = 190 [default = 0.5];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getClauseCleanupRatio()">getClauseCleanupRatio</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The clauseCleanupRatio.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setClauseCleanupRatio(double)">
|
|
<h3>setClauseCleanupRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setClauseCleanupRatio</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double clause_cleanup_ratio = 190 [default = 0.5];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The clauseCleanupRatio to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearClauseCleanupRatio()">
|
|
<h3>clearClauseCleanupRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearClauseCleanupRatio</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double clause_cleanup_ratio = 190 [default = 0.5];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasClauseCleanupProtection()">
|
|
<h3>hasClauseCleanupProtection</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasClauseCleanupProtection</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasClauseCleanupProtection()">hasClauseCleanupProtection</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the clauseCleanupProtection field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getClauseCleanupProtection()">
|
|
<h3>getClauseCleanupProtection</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.ClauseProtection.html" title="enum in com.google.ortools.sat">SatParameters.ClauseProtection</a></span> <span class="element-name">getClauseCleanupProtection</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getClauseCleanupProtection()">getClauseCleanupProtection</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The clauseCleanupProtection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setClauseCleanupProtection(com.google.ortools.sat.SatParameters.ClauseProtection)">
|
|
<h3>setClauseCleanupProtection</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setClauseCleanupProtection</span><wbr><span class="parameters">(<a href="SatParameters.ClauseProtection.html" title="enum in com.google.ortools.sat">SatParameters.ClauseProtection</a> value)</span></div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The clauseCleanupProtection to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearClauseCleanupProtection()">
|
|
<h3>clearClauseCleanupProtection</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearClauseCleanupProtection</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseProtection clause_cleanup_protection = 58 [default = PROTECTION_NONE];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasClauseCleanupLbdBound()">
|
|
<h3>hasClauseCleanupLbdBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasClauseCleanupLbdBound</span>()</div>
|
|
<div class="block"><pre>
|
|
All the clauses with a LBD (literal blocks distance) lower or equal to this
|
|
parameters will always be kept.
|
|
</pre>
|
|
|
|
<code>optional int32 clause_cleanup_lbd_bound = 59 [default = 5];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasClauseCleanupLbdBound()">hasClauseCleanupLbdBound</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the clauseCleanupLbdBound field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getClauseCleanupLbdBound()">
|
|
<h3>getClauseCleanupLbdBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getClauseCleanupLbdBound</span>()</div>
|
|
<div class="block"><pre>
|
|
All the clauses with a LBD (literal blocks distance) lower or equal to this
|
|
parameters will always be kept.
|
|
</pre>
|
|
|
|
<code>optional int32 clause_cleanup_lbd_bound = 59 [default = 5];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getClauseCleanupLbdBound()">getClauseCleanupLbdBound</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The clauseCleanupLbdBound.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setClauseCleanupLbdBound(int)">
|
|
<h3>setClauseCleanupLbdBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setClauseCleanupLbdBound</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
All the clauses with a LBD (literal blocks distance) lower or equal to this
|
|
parameters will always be kept.
|
|
</pre>
|
|
|
|
<code>optional int32 clause_cleanup_lbd_bound = 59 [default = 5];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The clauseCleanupLbdBound to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearClauseCleanupLbdBound()">
|
|
<h3>clearClauseCleanupLbdBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearClauseCleanupLbdBound</span>()</div>
|
|
<div class="block"><pre>
|
|
All the clauses with a LBD (literal blocks distance) lower or equal to this
|
|
parameters will always be kept.
|
|
</pre>
|
|
|
|
<code>optional int32 clause_cleanup_lbd_bound = 59 [default = 5];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasClauseCleanupOrdering()">
|
|
<h3>hasClauseCleanupOrdering</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasClauseCleanupOrdering</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasClauseCleanupOrdering()">hasClauseCleanupOrdering</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the clauseCleanupOrdering field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getClauseCleanupOrdering()">
|
|
<h3>getClauseCleanupOrdering</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.ClauseOrdering.html" title="enum in com.google.ortools.sat">SatParameters.ClauseOrdering</a></span> <span class="element-name">getClauseCleanupOrdering</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getClauseCleanupOrdering()">getClauseCleanupOrdering</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The clauseCleanupOrdering.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setClauseCleanupOrdering(com.google.ortools.sat.SatParameters.ClauseOrdering)">
|
|
<h3>setClauseCleanupOrdering</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setClauseCleanupOrdering</span><wbr><span class="parameters">(<a href="SatParameters.ClauseOrdering.html" title="enum in com.google.ortools.sat">SatParameters.ClauseOrdering</a> value)</span></div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The clauseCleanupOrdering to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearClauseCleanupOrdering()">
|
|
<h3>clearClauseCleanupOrdering</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearClauseCleanupOrdering</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.ClauseOrdering clause_cleanup_ordering = 60 [default = CLAUSE_ACTIVITY];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPbCleanupIncrement()">
|
|
<h3>hasPbCleanupIncrement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPbCleanupIncrement</span>()</div>
|
|
<div class="block"><pre>
|
|
Same as for the clauses, but for the learned pseudo-Boolean constraints.
|
|
</pre>
|
|
|
|
<code>optional int32 pb_cleanup_increment = 46 [default = 200];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPbCleanupIncrement()">hasPbCleanupIncrement</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the pbCleanupIncrement field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPbCleanupIncrement()">
|
|
<h3>getPbCleanupIncrement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getPbCleanupIncrement</span>()</div>
|
|
<div class="block"><pre>
|
|
Same as for the clauses, but for the learned pseudo-Boolean constraints.
|
|
</pre>
|
|
|
|
<code>optional int32 pb_cleanup_increment = 46 [default = 200];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPbCleanupIncrement()">getPbCleanupIncrement</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The pbCleanupIncrement.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPbCleanupIncrement(int)">
|
|
<h3>setPbCleanupIncrement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPbCleanupIncrement</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
Same as for the clauses, but for the learned pseudo-Boolean constraints.
|
|
</pre>
|
|
|
|
<code>optional int32 pb_cleanup_increment = 46 [default = 200];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The pbCleanupIncrement to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPbCleanupIncrement()">
|
|
<h3>clearPbCleanupIncrement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPbCleanupIncrement</span>()</div>
|
|
<div class="block"><pre>
|
|
Same as for the clauses, but for the learned pseudo-Boolean constraints.
|
|
</pre>
|
|
|
|
<code>optional int32 pb_cleanup_increment = 46 [default = 200];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPbCleanupRatio()">
|
|
<h3>hasPbCleanupRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPbCleanupRatio</span>()</div>
|
|
<div class="block"><code>optional double pb_cleanup_ratio = 47 [default = 0.5];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPbCleanupRatio()">hasPbCleanupRatio</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the pbCleanupRatio field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPbCleanupRatio()">
|
|
<h3>getPbCleanupRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getPbCleanupRatio</span>()</div>
|
|
<div class="block"><code>optional double pb_cleanup_ratio = 47 [default = 0.5];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPbCleanupRatio()">getPbCleanupRatio</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The pbCleanupRatio.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPbCleanupRatio(double)">
|
|
<h3>setPbCleanupRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPbCleanupRatio</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><code>optional double pb_cleanup_ratio = 47 [default = 0.5];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The pbCleanupRatio to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPbCleanupRatio()">
|
|
<h3>clearPbCleanupRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPbCleanupRatio</span>()</div>
|
|
<div class="block"><code>optional double pb_cleanup_ratio = 47 [default = 0.5];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMinimizeWithPropagationRestartPeriod()">
|
|
<h3>hasMinimizeWithPropagationRestartPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMinimizeWithPropagationRestartPeriod</span>()</div>
|
|
<div class="block"><pre>
|
|
Parameters for an heuristic similar to the one described in "An effective
|
|
learnt clause minimization approach for CDCL Sat Solvers",
|
|
https://www.ijcai.org/proceedings/2017/0098.pdf
|
|
For now, we have a somewhat simpler implementation where every x restart we
|
|
spend y decisions on clause minimization. The minimization technique is the
|
|
same as the one used to minimize core in max-sat. We also minimize problem
|
|
clauses and not just the learned clause that we keep forever like in the
|
|
paper.
|
|
Changing these parameters or the kind of clause we minimize seems to have
|
|
a big impact on the overall perf on our benchmarks. So this technique seems
|
|
definitely useful, but it is hard to tune properly.
|
|
</pre>
|
|
|
|
<code>optional int32 minimize_with_propagation_restart_period = 96 [default = 10];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMinimizeWithPropagationRestartPeriod()">hasMinimizeWithPropagationRestartPeriod</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the minimizeWithPropagationRestartPeriod field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMinimizeWithPropagationRestartPeriod()">
|
|
<h3>getMinimizeWithPropagationRestartPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getMinimizeWithPropagationRestartPeriod</span>()</div>
|
|
<div class="block"><pre>
|
|
Parameters for an heuristic similar to the one described in "An effective
|
|
learnt clause minimization approach for CDCL Sat Solvers",
|
|
https://www.ijcai.org/proceedings/2017/0098.pdf
|
|
For now, we have a somewhat simpler implementation where every x restart we
|
|
spend y decisions on clause minimization. The minimization technique is the
|
|
same as the one used to minimize core in max-sat. We also minimize problem
|
|
clauses and not just the learned clause that we keep forever like in the
|
|
paper.
|
|
Changing these parameters or the kind of clause we minimize seems to have
|
|
a big impact on the overall perf on our benchmarks. So this technique seems
|
|
definitely useful, but it is hard to tune properly.
|
|
</pre>
|
|
|
|
<code>optional int32 minimize_with_propagation_restart_period = 96 [default = 10];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMinimizeWithPropagationRestartPeriod()">getMinimizeWithPropagationRestartPeriod</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The minimizeWithPropagationRestartPeriod.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMinimizeWithPropagationRestartPeriod(int)">
|
|
<h3>setMinimizeWithPropagationRestartPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMinimizeWithPropagationRestartPeriod</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
Parameters for an heuristic similar to the one described in "An effective
|
|
learnt clause minimization approach for CDCL Sat Solvers",
|
|
https://www.ijcai.org/proceedings/2017/0098.pdf
|
|
For now, we have a somewhat simpler implementation where every x restart we
|
|
spend y decisions on clause minimization. The minimization technique is the
|
|
same as the one used to minimize core in max-sat. We also minimize problem
|
|
clauses and not just the learned clause that we keep forever like in the
|
|
paper.
|
|
Changing these parameters or the kind of clause we minimize seems to have
|
|
a big impact on the overall perf on our benchmarks. So this technique seems
|
|
definitely useful, but it is hard to tune properly.
|
|
</pre>
|
|
|
|
<code>optional int32 minimize_with_propagation_restart_period = 96 [default = 10];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The minimizeWithPropagationRestartPeriod to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMinimizeWithPropagationRestartPeriod()">
|
|
<h3>clearMinimizeWithPropagationRestartPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMinimizeWithPropagationRestartPeriod</span>()</div>
|
|
<div class="block"><pre>
|
|
Parameters for an heuristic similar to the one described in "An effective
|
|
learnt clause minimization approach for CDCL Sat Solvers",
|
|
https://www.ijcai.org/proceedings/2017/0098.pdf
|
|
For now, we have a somewhat simpler implementation where every x restart we
|
|
spend y decisions on clause minimization. The minimization technique is the
|
|
same as the one used to minimize core in max-sat. We also minimize problem
|
|
clauses and not just the learned clause that we keep forever like in the
|
|
paper.
|
|
Changing these parameters or the kind of clause we minimize seems to have
|
|
a big impact on the overall perf on our benchmarks. So this technique seems
|
|
definitely useful, but it is hard to tune properly.
|
|
</pre>
|
|
|
|
<code>optional int32 minimize_with_propagation_restart_period = 96 [default = 10];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMinimizeWithPropagationNumDecisions()">
|
|
<h3>hasMinimizeWithPropagationNumDecisions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMinimizeWithPropagationNumDecisions</span>()</div>
|
|
<div class="block"><code>optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMinimizeWithPropagationNumDecisions()">hasMinimizeWithPropagationNumDecisions</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the minimizeWithPropagationNumDecisions field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMinimizeWithPropagationNumDecisions()">
|
|
<h3>getMinimizeWithPropagationNumDecisions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getMinimizeWithPropagationNumDecisions</span>()</div>
|
|
<div class="block"><code>optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMinimizeWithPropagationNumDecisions()">getMinimizeWithPropagationNumDecisions</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The minimizeWithPropagationNumDecisions.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMinimizeWithPropagationNumDecisions(int)">
|
|
<h3>setMinimizeWithPropagationNumDecisions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMinimizeWithPropagationNumDecisions</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><code>optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The minimizeWithPropagationNumDecisions to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMinimizeWithPropagationNumDecisions()">
|
|
<h3>clearMinimizeWithPropagationNumDecisions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMinimizeWithPropagationNumDecisions</span>()</div>
|
|
<div class="block"><code>optional int32 minimize_with_propagation_num_decisions = 97 [default = 1000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasVariableActivityDecay()">
|
|
<h3>hasVariableActivityDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasVariableActivityDecay</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double variable_activity_decay = 15 [default = 0.8];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasVariableActivityDecay()">hasVariableActivityDecay</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the variableActivityDecay field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getVariableActivityDecay()">
|
|
<h3>getVariableActivityDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getVariableActivityDecay</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double variable_activity_decay = 15 [default = 0.8];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getVariableActivityDecay()">getVariableActivityDecay</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The variableActivityDecay.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setVariableActivityDecay(double)">
|
|
<h3>setVariableActivityDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setVariableActivityDecay</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double variable_activity_decay = 15 [default = 0.8];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The variableActivityDecay to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearVariableActivityDecay()">
|
|
<h3>clearVariableActivityDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearVariableActivityDecay</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double variable_activity_decay = 15 [default = 0.8];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxVariableActivityValue()">
|
|
<h3>hasMaxVariableActivityValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxVariableActivityValue</span>()</div>
|
|
<div class="block"><code>optional double max_variable_activity_value = 16 [default = 1e+100];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxVariableActivityValue()">hasMaxVariableActivityValue</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxVariableActivityValue field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxVariableActivityValue()">
|
|
<h3>getMaxVariableActivityValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getMaxVariableActivityValue</span>()</div>
|
|
<div class="block"><code>optional double max_variable_activity_value = 16 [default = 1e+100];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxVariableActivityValue()">getMaxVariableActivityValue</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxVariableActivityValue.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxVariableActivityValue(double)">
|
|
<h3>setMaxVariableActivityValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxVariableActivityValue</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><code>optional double max_variable_activity_value = 16 [default = 1e+100];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxVariableActivityValue to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxVariableActivityValue()">
|
|
<h3>clearMaxVariableActivityValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxVariableActivityValue</span>()</div>
|
|
<div class="block"><code>optional double max_variable_activity_value = 16 [default = 1e+100];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasGlucoseMaxDecay()">
|
|
<h3>hasGlucoseMaxDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasGlucoseMaxDecay</span>()</div>
|
|
<div class="block"><pre>
|
|
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
|
|
</pre>
|
|
|
|
<code>optional double glucose_max_decay = 22 [default = 0.95];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasGlucoseMaxDecay()">hasGlucoseMaxDecay</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the glucoseMaxDecay field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getGlucoseMaxDecay()">
|
|
<h3>getGlucoseMaxDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getGlucoseMaxDecay</span>()</div>
|
|
<div class="block"><pre>
|
|
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
|
|
</pre>
|
|
|
|
<code>optional double glucose_max_decay = 22 [default = 0.95];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getGlucoseMaxDecay()">getGlucoseMaxDecay</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The glucoseMaxDecay.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setGlucoseMaxDecay(double)">
|
|
<h3>setGlucoseMaxDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setGlucoseMaxDecay</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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
|
|
</pre>
|
|
|
|
<code>optional double glucose_max_decay = 22 [default = 0.95];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The glucoseMaxDecay to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearGlucoseMaxDecay()">
|
|
<h3>clearGlucoseMaxDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearGlucoseMaxDecay</span>()</div>
|
|
<div class="block"><pre>
|
|
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
|
|
</pre>
|
|
|
|
<code>optional double glucose_max_decay = 22 [default = 0.95];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasGlucoseDecayIncrement()">
|
|
<h3>hasGlucoseDecayIncrement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasGlucoseDecayIncrement</span>()</div>
|
|
<div class="block"><code>optional double glucose_decay_increment = 23 [default = 0.01];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasGlucoseDecayIncrement()">hasGlucoseDecayIncrement</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the glucoseDecayIncrement field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getGlucoseDecayIncrement()">
|
|
<h3>getGlucoseDecayIncrement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getGlucoseDecayIncrement</span>()</div>
|
|
<div class="block"><code>optional double glucose_decay_increment = 23 [default = 0.01];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getGlucoseDecayIncrement()">getGlucoseDecayIncrement</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The glucoseDecayIncrement.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setGlucoseDecayIncrement(double)">
|
|
<h3>setGlucoseDecayIncrement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setGlucoseDecayIncrement</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><code>optional double glucose_decay_increment = 23 [default = 0.01];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The glucoseDecayIncrement to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearGlucoseDecayIncrement()">
|
|
<h3>clearGlucoseDecayIncrement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearGlucoseDecayIncrement</span>()</div>
|
|
<div class="block"><code>optional double glucose_decay_increment = 23 [default = 0.01];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasGlucoseDecayIncrementPeriod()">
|
|
<h3>hasGlucoseDecayIncrementPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasGlucoseDecayIncrementPeriod</span>()</div>
|
|
<div class="block"><code>optional int32 glucose_decay_increment_period = 24 [default = 5000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasGlucoseDecayIncrementPeriod()">hasGlucoseDecayIncrementPeriod</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the glucoseDecayIncrementPeriod field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getGlucoseDecayIncrementPeriod()">
|
|
<h3>getGlucoseDecayIncrementPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getGlucoseDecayIncrementPeriod</span>()</div>
|
|
<div class="block"><code>optional int32 glucose_decay_increment_period = 24 [default = 5000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getGlucoseDecayIncrementPeriod()">getGlucoseDecayIncrementPeriod</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The glucoseDecayIncrementPeriod.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setGlucoseDecayIncrementPeriod(int)">
|
|
<h3>setGlucoseDecayIncrementPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setGlucoseDecayIncrementPeriod</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><code>optional int32 glucose_decay_increment_period = 24 [default = 5000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The glucoseDecayIncrementPeriod to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearGlucoseDecayIncrementPeriod()">
|
|
<h3>clearGlucoseDecayIncrementPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearGlucoseDecayIncrementPeriod</span>()</div>
|
|
<div class="block"><code>optional int32 glucose_decay_increment_period = 24 [default = 5000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasClauseActivityDecay()">
|
|
<h3>hasClauseActivityDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasClauseActivityDecay</span>()</div>
|
|
<div class="block"><pre>
|
|
Clause activity parameters (same effect as the one on the variables).
|
|
</pre>
|
|
|
|
<code>optional double clause_activity_decay = 17 [default = 0.999];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasClauseActivityDecay()">hasClauseActivityDecay</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the clauseActivityDecay field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getClauseActivityDecay()">
|
|
<h3>getClauseActivityDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getClauseActivityDecay</span>()</div>
|
|
<div class="block"><pre>
|
|
Clause activity parameters (same effect as the one on the variables).
|
|
</pre>
|
|
|
|
<code>optional double clause_activity_decay = 17 [default = 0.999];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getClauseActivityDecay()">getClauseActivityDecay</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The clauseActivityDecay.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setClauseActivityDecay(double)">
|
|
<h3>setClauseActivityDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setClauseActivityDecay</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
Clause activity parameters (same effect as the one on the variables).
|
|
</pre>
|
|
|
|
<code>optional double clause_activity_decay = 17 [default = 0.999];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The clauseActivityDecay to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearClauseActivityDecay()">
|
|
<h3>clearClauseActivityDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearClauseActivityDecay</span>()</div>
|
|
<div class="block"><pre>
|
|
Clause activity parameters (same effect as the one on the variables).
|
|
</pre>
|
|
|
|
<code>optional double clause_activity_decay = 17 [default = 0.999];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxClauseActivityValue()">
|
|
<h3>hasMaxClauseActivityValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxClauseActivityValue</span>()</div>
|
|
<div class="block"><code>optional double max_clause_activity_value = 18 [default = 1e+20];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxClauseActivityValue()">hasMaxClauseActivityValue</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxClauseActivityValue field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxClauseActivityValue()">
|
|
<h3>getMaxClauseActivityValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getMaxClauseActivityValue</span>()</div>
|
|
<div class="block"><code>optional double max_clause_activity_value = 18 [default = 1e+20];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxClauseActivityValue()">getMaxClauseActivityValue</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxClauseActivityValue.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxClauseActivityValue(double)">
|
|
<h3>setMaxClauseActivityValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxClauseActivityValue</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><code>optional double max_clause_activity_value = 18 [default = 1e+20];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxClauseActivityValue to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxClauseActivityValue()">
|
|
<h3>clearMaxClauseActivityValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxClauseActivityValue</span>()</div>
|
|
<div class="block"><code>optional double max_clause_activity_value = 18 [default = 1e+20];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getRestartAlgorithmsList()">
|
|
<h3>getRestartAlgorithmsList</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="SatParameters.RestartAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.RestartAlgorithm</a>></span> <span class="element-name">getRestartAlgorithmsList</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters.RestartAlgorithm restart_algorithms = 61;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getRestartAlgorithmsList()">getRestartAlgorithmsList</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>A list containing the restartAlgorithms.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getRestartAlgorithmsCount()">
|
|
<h3>getRestartAlgorithmsCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getRestartAlgorithmsCount</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters.RestartAlgorithm restart_algorithms = 61;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getRestartAlgorithmsCount()">getRestartAlgorithmsCount</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The count of restartAlgorithms.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getRestartAlgorithms(int)">
|
|
<h3>getRestartAlgorithms</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.RestartAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.RestartAlgorithm</a></span> <span class="element-name">getRestartAlgorithms</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters.RestartAlgorithm restart_algorithms = 61;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getRestartAlgorithms(int)">getRestartAlgorithms</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>index</code> - The index of the element to return.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The restartAlgorithms at the given index.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setRestartAlgorithms(int,com.google.ortools.sat.SatParameters.RestartAlgorithm)">
|
|
<h3>setRestartAlgorithms</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setRestartAlgorithms</span><wbr><span class="parameters">(int index,
|
|
<a href="SatParameters.RestartAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.RestartAlgorithm</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters.RestartAlgorithm restart_algorithms = 61;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>index</code> - The index to set the value at.</dd>
|
|
<dd><code>value</code> - The restartAlgorithms to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addRestartAlgorithms(com.google.ortools.sat.SatParameters.RestartAlgorithm)">
|
|
<h3>addRestartAlgorithms</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addRestartAlgorithms</span><wbr><span class="parameters">(<a href="SatParameters.RestartAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.RestartAlgorithm</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters.RestartAlgorithm restart_algorithms = 61;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The restartAlgorithms to add.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addAllRestartAlgorithms(java.lang.Iterable)">
|
|
<h3>addAllRestartAlgorithms</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addAllRestartAlgorithms</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><? extends <a href="SatParameters.RestartAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.RestartAlgorithm</a>> values)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters.RestartAlgorithm restart_algorithms = 61;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>values</code> - The restartAlgorithms to add.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearRestartAlgorithms()">
|
|
<h3>clearRestartAlgorithms</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearRestartAlgorithms</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters.RestartAlgorithm restart_algorithms = 61;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasDefaultRestartAlgorithms()">
|
|
<h3>hasDefaultRestartAlgorithms</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasDefaultRestartAlgorithms</span>()</div>
|
|
<div class="block"><code>optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasDefaultRestartAlgorithms()">hasDefaultRestartAlgorithms</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the defaultRestartAlgorithms field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getDefaultRestartAlgorithms()">
|
|
<h3>getDefaultRestartAlgorithms</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">getDefaultRestartAlgorithms</span>()</div>
|
|
<div class="block"><code>optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getDefaultRestartAlgorithms()">getDefaultRestartAlgorithms</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The defaultRestartAlgorithms.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getDefaultRestartAlgorithmsBytes()">
|
|
<h3>getDefaultRestartAlgorithmsBytes</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">com.google.protobuf.ByteString</span> <span class="element-name">getDefaultRestartAlgorithmsBytes</span>()</div>
|
|
<div class="block"><code>optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getDefaultRestartAlgorithmsBytes()">getDefaultRestartAlgorithmsBytes</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The bytes for defaultRestartAlgorithms.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setDefaultRestartAlgorithms(java.lang.String)">
|
|
<h3>setDefaultRestartAlgorithms</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setDefaultRestartAlgorithms</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</span></div>
|
|
<div class="block"><code>optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The defaultRestartAlgorithms to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearDefaultRestartAlgorithms()">
|
|
<h3>clearDefaultRestartAlgorithms</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearDefaultRestartAlgorithms</span>()</div>
|
|
<div class="block"><code>optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setDefaultRestartAlgorithmsBytes(com.google.protobuf.ByteString)">
|
|
<h3>setDefaultRestartAlgorithmsBytes</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setDefaultRestartAlgorithmsBytes</span><wbr><span class="parameters">(com.google.protobuf.ByteString value)</span></div>
|
|
<div class="block"><code>optional string default_restart_algorithms = 70 [default = "LUBY_RESTART,LBD_MOVING_AVERAGE_RESTART,DL_MOVING_AVERAGE_RESTART"];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The bytes for defaultRestartAlgorithms to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasRestartPeriod()">
|
|
<h3>hasRestartPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasRestartPeriod</span>()</div>
|
|
<div class="block"><pre>
|
|
Restart period for the FIXED_RESTART strategy. This is also the multiplier
|
|
used by the LUBY_RESTART strategy.
|
|
</pre>
|
|
|
|
<code>optional int32 restart_period = 30 [default = 50];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasRestartPeriod()">hasRestartPeriod</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the restartPeriod field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getRestartPeriod()">
|
|
<h3>getRestartPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getRestartPeriod</span>()</div>
|
|
<div class="block"><pre>
|
|
Restart period for the FIXED_RESTART strategy. This is also the multiplier
|
|
used by the LUBY_RESTART strategy.
|
|
</pre>
|
|
|
|
<code>optional int32 restart_period = 30 [default = 50];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getRestartPeriod()">getRestartPeriod</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The restartPeriod.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setRestartPeriod(int)">
|
|
<h3>setRestartPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setRestartPeriod</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
Restart period for the FIXED_RESTART strategy. This is also the multiplier
|
|
used by the LUBY_RESTART strategy.
|
|
</pre>
|
|
|
|
<code>optional int32 restart_period = 30 [default = 50];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The restartPeriod to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearRestartPeriod()">
|
|
<h3>clearRestartPeriod</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearRestartPeriod</span>()</div>
|
|
<div class="block"><pre>
|
|
Restart period for the FIXED_RESTART strategy. This is also the multiplier
|
|
used by the LUBY_RESTART strategy.
|
|
</pre>
|
|
|
|
<code>optional int32 restart_period = 30 [default = 50];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasRestartRunningWindowSize()">
|
|
<h3>hasRestartRunningWindowSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasRestartRunningWindowSize</span>()</div>
|
|
<div class="block"><pre>
|
|
Size of the window for the moving average restarts.
|
|
</pre>
|
|
|
|
<code>optional int32 restart_running_window_size = 62 [default = 50];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasRestartRunningWindowSize()">hasRestartRunningWindowSize</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the restartRunningWindowSize field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getRestartRunningWindowSize()">
|
|
<h3>getRestartRunningWindowSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getRestartRunningWindowSize</span>()</div>
|
|
<div class="block"><pre>
|
|
Size of the window for the moving average restarts.
|
|
</pre>
|
|
|
|
<code>optional int32 restart_running_window_size = 62 [default = 50];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getRestartRunningWindowSize()">getRestartRunningWindowSize</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The restartRunningWindowSize.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setRestartRunningWindowSize(int)">
|
|
<h3>setRestartRunningWindowSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setRestartRunningWindowSize</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
Size of the window for the moving average restarts.
|
|
</pre>
|
|
|
|
<code>optional int32 restart_running_window_size = 62 [default = 50];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The restartRunningWindowSize to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearRestartRunningWindowSize()">
|
|
<h3>clearRestartRunningWindowSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearRestartRunningWindowSize</span>()</div>
|
|
<div class="block"><pre>
|
|
Size of the window for the moving average restarts.
|
|
</pre>
|
|
|
|
<code>optional int32 restart_running_window_size = 62 [default = 50];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasRestartDlAverageRatio()">
|
|
<h3>hasRestartDlAverageRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasRestartDlAverageRatio</span>()</div>
|
|
<div class="block"><pre>
|
|
In the moving average restart algorithms, a restart is triggered if the
|
|
window average times this ratio is greater that the global average.
|
|
</pre>
|
|
|
|
<code>optional double restart_dl_average_ratio = 63 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasRestartDlAverageRatio()">hasRestartDlAverageRatio</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the restartDlAverageRatio field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getRestartDlAverageRatio()">
|
|
<h3>getRestartDlAverageRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getRestartDlAverageRatio</span>()</div>
|
|
<div class="block"><pre>
|
|
In the moving average restart algorithms, a restart is triggered if the
|
|
window average times this ratio is greater that the global average.
|
|
</pre>
|
|
|
|
<code>optional double restart_dl_average_ratio = 63 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getRestartDlAverageRatio()">getRestartDlAverageRatio</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The restartDlAverageRatio.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setRestartDlAverageRatio(double)">
|
|
<h3>setRestartDlAverageRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setRestartDlAverageRatio</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
In the moving average restart algorithms, a restart is triggered if the
|
|
window average times this ratio is greater that the global average.
|
|
</pre>
|
|
|
|
<code>optional double restart_dl_average_ratio = 63 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The restartDlAverageRatio to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearRestartDlAverageRatio()">
|
|
<h3>clearRestartDlAverageRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearRestartDlAverageRatio</span>()</div>
|
|
<div class="block"><pre>
|
|
In the moving average restart algorithms, a restart is triggered if the
|
|
window average times this ratio is greater that the global average.
|
|
</pre>
|
|
|
|
<code>optional double restart_dl_average_ratio = 63 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasRestartLbdAverageRatio()">
|
|
<h3>hasRestartLbdAverageRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasRestartLbdAverageRatio</span>()</div>
|
|
<div class="block"><code>optional double restart_lbd_average_ratio = 71 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasRestartLbdAverageRatio()">hasRestartLbdAverageRatio</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the restartLbdAverageRatio field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getRestartLbdAverageRatio()">
|
|
<h3>getRestartLbdAverageRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getRestartLbdAverageRatio</span>()</div>
|
|
<div class="block"><code>optional double restart_lbd_average_ratio = 71 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getRestartLbdAverageRatio()">getRestartLbdAverageRatio</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The restartLbdAverageRatio.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setRestartLbdAverageRatio(double)">
|
|
<h3>setRestartLbdAverageRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setRestartLbdAverageRatio</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><code>optional double restart_lbd_average_ratio = 71 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The restartLbdAverageRatio to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearRestartLbdAverageRatio()">
|
|
<h3>clearRestartLbdAverageRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearRestartLbdAverageRatio</span>()</div>
|
|
<div class="block"><code>optional double restart_lbd_average_ratio = 71 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseBlockingRestart()">
|
|
<h3>hasUseBlockingRestart</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseBlockingRestart</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_blocking_restart = 64 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseBlockingRestart()">hasUseBlockingRestart</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useBlockingRestart field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseBlockingRestart()">
|
|
<h3>getUseBlockingRestart</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseBlockingRestart</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_blocking_restart = 64 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseBlockingRestart()">getUseBlockingRestart</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useBlockingRestart.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseBlockingRestart(boolean)">
|
|
<h3>setUseBlockingRestart</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseBlockingRestart</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_blocking_restart = 64 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useBlockingRestart to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseBlockingRestart()">
|
|
<h3>clearUseBlockingRestart</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseBlockingRestart</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_blocking_restart = 64 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasBlockingRestartWindowSize()">
|
|
<h3>hasBlockingRestartWindowSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasBlockingRestartWindowSize</span>()</div>
|
|
<div class="block"><code>optional int32 blocking_restart_window_size = 65 [default = 5000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasBlockingRestartWindowSize()">hasBlockingRestartWindowSize</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the blockingRestartWindowSize field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getBlockingRestartWindowSize()">
|
|
<h3>getBlockingRestartWindowSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getBlockingRestartWindowSize</span>()</div>
|
|
<div class="block"><code>optional int32 blocking_restart_window_size = 65 [default = 5000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getBlockingRestartWindowSize()">getBlockingRestartWindowSize</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The blockingRestartWindowSize.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setBlockingRestartWindowSize(int)">
|
|
<h3>setBlockingRestartWindowSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setBlockingRestartWindowSize</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><code>optional int32 blocking_restart_window_size = 65 [default = 5000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The blockingRestartWindowSize to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearBlockingRestartWindowSize()">
|
|
<h3>clearBlockingRestartWindowSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearBlockingRestartWindowSize</span>()</div>
|
|
<div class="block"><code>optional int32 blocking_restart_window_size = 65 [default = 5000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasBlockingRestartMultiplier()">
|
|
<h3>hasBlockingRestartMultiplier</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasBlockingRestartMultiplier</span>()</div>
|
|
<div class="block"><code>optional double blocking_restart_multiplier = 66 [default = 1.4];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasBlockingRestartMultiplier()">hasBlockingRestartMultiplier</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the blockingRestartMultiplier field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getBlockingRestartMultiplier()">
|
|
<h3>getBlockingRestartMultiplier</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getBlockingRestartMultiplier</span>()</div>
|
|
<div class="block"><code>optional double blocking_restart_multiplier = 66 [default = 1.4];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getBlockingRestartMultiplier()">getBlockingRestartMultiplier</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The blockingRestartMultiplier.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setBlockingRestartMultiplier(double)">
|
|
<h3>setBlockingRestartMultiplier</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setBlockingRestartMultiplier</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><code>optional double blocking_restart_multiplier = 66 [default = 1.4];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The blockingRestartMultiplier to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearBlockingRestartMultiplier()">
|
|
<h3>clearBlockingRestartMultiplier</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearBlockingRestartMultiplier</span>()</div>
|
|
<div class="block"><code>optional double blocking_restart_multiplier = 66 [default = 1.4];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasNumConflictsBeforeStrategyChanges()">
|
|
<h3>hasNumConflictsBeforeStrategyChanges</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasNumConflictsBeforeStrategyChanges</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 num_conflicts_before_strategy_changes = 68 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasNumConflictsBeforeStrategyChanges()">hasNumConflictsBeforeStrategyChanges</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the numConflictsBeforeStrategyChanges field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumConflictsBeforeStrategyChanges()">
|
|
<h3>getNumConflictsBeforeStrategyChanges</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getNumConflictsBeforeStrategyChanges</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 num_conflicts_before_strategy_changes = 68 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getNumConflictsBeforeStrategyChanges()">getNumConflictsBeforeStrategyChanges</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The numConflictsBeforeStrategyChanges.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setNumConflictsBeforeStrategyChanges(int)">
|
|
<h3>setNumConflictsBeforeStrategyChanges</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setNumConflictsBeforeStrategyChanges</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 num_conflicts_before_strategy_changes = 68 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The numConflictsBeforeStrategyChanges to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearNumConflictsBeforeStrategyChanges()">
|
|
<h3>clearNumConflictsBeforeStrategyChanges</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearNumConflictsBeforeStrategyChanges</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 num_conflicts_before_strategy_changes = 68 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasStrategyChangeIncreaseRatio()">
|
|
<h3>hasStrategyChangeIncreaseRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasStrategyChangeIncreaseRatio</span>()</div>
|
|
<div class="block"><pre>
|
|
The parameter num_conflicts_before_strategy_changes is increased by that
|
|
much after each strategy change.
|
|
</pre>
|
|
|
|
<code>optional double strategy_change_increase_ratio = 69 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasStrategyChangeIncreaseRatio()">hasStrategyChangeIncreaseRatio</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the strategyChangeIncreaseRatio field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getStrategyChangeIncreaseRatio()">
|
|
<h3>getStrategyChangeIncreaseRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getStrategyChangeIncreaseRatio</span>()</div>
|
|
<div class="block"><pre>
|
|
The parameter num_conflicts_before_strategy_changes is increased by that
|
|
much after each strategy change.
|
|
</pre>
|
|
|
|
<code>optional double strategy_change_increase_ratio = 69 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getStrategyChangeIncreaseRatio()">getStrategyChangeIncreaseRatio</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The strategyChangeIncreaseRatio.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setStrategyChangeIncreaseRatio(double)">
|
|
<h3>setStrategyChangeIncreaseRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setStrategyChangeIncreaseRatio</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
The parameter num_conflicts_before_strategy_changes is increased by that
|
|
much after each strategy change.
|
|
</pre>
|
|
|
|
<code>optional double strategy_change_increase_ratio = 69 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The strategyChangeIncreaseRatio to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearStrategyChangeIncreaseRatio()">
|
|
<h3>clearStrategyChangeIncreaseRatio</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearStrategyChangeIncreaseRatio</span>()</div>
|
|
<div class="block"><pre>
|
|
The parameter num_conflicts_before_strategy_changes is increased by that
|
|
much after each strategy change.
|
|
</pre>
|
|
|
|
<code>optional double strategy_change_increase_ratio = 69 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxTimeInSeconds()">
|
|
<h3>hasMaxTimeInSeconds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxTimeInSeconds</span>()</div>
|
|
<div class="block"><pre>
|
|
Maximum time allowed in seconds to solve a problem.
|
|
The counter will starts at the beginning of the Solve() call.
|
|
</pre>
|
|
|
|
<code>optional double max_time_in_seconds = 36 [default = inf];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxTimeInSeconds()">hasMaxTimeInSeconds</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxTimeInSeconds field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxTimeInSeconds()">
|
|
<h3>getMaxTimeInSeconds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getMaxTimeInSeconds</span>()</div>
|
|
<div class="block"><pre>
|
|
Maximum time allowed in seconds to solve a problem.
|
|
The counter will starts at the beginning of the Solve() call.
|
|
</pre>
|
|
|
|
<code>optional double max_time_in_seconds = 36 [default = inf];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxTimeInSeconds()">getMaxTimeInSeconds</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxTimeInSeconds.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxTimeInSeconds(double)">
|
|
<h3>setMaxTimeInSeconds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxTimeInSeconds</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
Maximum time allowed in seconds to solve a problem.
|
|
The counter will starts at the beginning of the Solve() call.
|
|
</pre>
|
|
|
|
<code>optional double max_time_in_seconds = 36 [default = inf];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxTimeInSeconds to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxTimeInSeconds()">
|
|
<h3>clearMaxTimeInSeconds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxTimeInSeconds</span>()</div>
|
|
<div class="block"><pre>
|
|
Maximum time allowed in seconds to solve a problem.
|
|
The counter will starts at the beginning of the Solve() call.
|
|
</pre>
|
|
|
|
<code>optional double max_time_in_seconds = 36 [default = inf];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxDeterministicTime()">
|
|
<h3>hasMaxDeterministicTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxDeterministicTime</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double max_deterministic_time = 67 [default = inf];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxDeterministicTime()">hasMaxDeterministicTime</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxDeterministicTime field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxDeterministicTime()">
|
|
<h3>getMaxDeterministicTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getMaxDeterministicTime</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double max_deterministic_time = 67 [default = inf];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxDeterministicTime()">getMaxDeterministicTime</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxDeterministicTime.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxDeterministicTime(double)">
|
|
<h3>setMaxDeterministicTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxDeterministicTime</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double max_deterministic_time = 67 [default = inf];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxDeterministicTime to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxDeterministicTime()">
|
|
<h3>clearMaxDeterministicTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxDeterministicTime</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double max_deterministic_time = 67 [default = inf];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxNumberOfConflicts()">
|
|
<h3>hasMaxNumberOfConflicts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxNumberOfConflicts</span>()</div>
|
|
<div class="block"><pre>
|
|
Maximum number of conflicts allowed to solve a problem.
|
|
TODO(user,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.
|
|
</pre>
|
|
|
|
<code>optional int64 max_number_of_conflicts = 37 [default = 9223372036854775807];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxNumberOfConflicts()">hasMaxNumberOfConflicts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxNumberOfConflicts field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxNumberOfConflicts()">
|
|
<h3>getMaxNumberOfConflicts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getMaxNumberOfConflicts</span>()</div>
|
|
<div class="block"><pre>
|
|
Maximum number of conflicts allowed to solve a problem.
|
|
TODO(user,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.
|
|
</pre>
|
|
|
|
<code>optional int64 max_number_of_conflicts = 37 [default = 9223372036854775807];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxNumberOfConflicts()">getMaxNumberOfConflicts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxNumberOfConflicts.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxNumberOfConflicts(long)">
|
|
<h3>setMaxNumberOfConflicts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxNumberOfConflicts</span><wbr><span class="parameters">(long value)</span></div>
|
|
<div class="block"><pre>
|
|
Maximum number of conflicts allowed to solve a problem.
|
|
TODO(user,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.
|
|
</pre>
|
|
|
|
<code>optional int64 max_number_of_conflicts = 37 [default = 9223372036854775807];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxNumberOfConflicts to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxNumberOfConflicts()">
|
|
<h3>clearMaxNumberOfConflicts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxNumberOfConflicts</span>()</div>
|
|
<div class="block"><pre>
|
|
Maximum number of conflicts allowed to solve a problem.
|
|
TODO(user,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.
|
|
</pre>
|
|
|
|
<code>optional int64 max_number_of_conflicts = 37 [default = 9223372036854775807];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxMemoryInMb()">
|
|
<h3>hasMaxMemoryInMb</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxMemoryInMb</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int64 max_memory_in_mb = 40 [default = 10000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxMemoryInMb()">hasMaxMemoryInMb</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxMemoryInMb field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxMemoryInMb()">
|
|
<h3>getMaxMemoryInMb</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getMaxMemoryInMb</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int64 max_memory_in_mb = 40 [default = 10000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxMemoryInMb()">getMaxMemoryInMb</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxMemoryInMb.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxMemoryInMb(long)">
|
|
<h3>setMaxMemoryInMb</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxMemoryInMb</span><wbr><span class="parameters">(long value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int64 max_memory_in_mb = 40 [default = 10000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxMemoryInMb to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxMemoryInMb()">
|
|
<h3>clearMaxMemoryInMb</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxMemoryInMb</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int64 max_memory_in_mb = 40 [default = 10000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasAbsoluteGapLimit()">
|
|
<h3>hasAbsoluteGapLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasAbsoluteGapLimit</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double absolute_gap_limit = 159 [default = 0.0001];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasAbsoluteGapLimit()">hasAbsoluteGapLimit</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the absoluteGapLimit field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAbsoluteGapLimit()">
|
|
<h3>getAbsoluteGapLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getAbsoluteGapLimit</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double absolute_gap_limit = 159 [default = 0.0001];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getAbsoluteGapLimit()">getAbsoluteGapLimit</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The absoluteGapLimit.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setAbsoluteGapLimit(double)">
|
|
<h3>setAbsoluteGapLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setAbsoluteGapLimit</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double absolute_gap_limit = 159 [default = 0.0001];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The absoluteGapLimit to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearAbsoluteGapLimit()">
|
|
<h3>clearAbsoluteGapLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearAbsoluteGapLimit</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double absolute_gap_limit = 159 [default = 0.0001];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasRelativeGapLimit()">
|
|
<h3>hasRelativeGapLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasRelativeGapLimit</span>()</div>
|
|
<div class="block"><code>optional double relative_gap_limit = 160 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasRelativeGapLimit()">hasRelativeGapLimit</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the relativeGapLimit field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getRelativeGapLimit()">
|
|
<h3>getRelativeGapLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getRelativeGapLimit</span>()</div>
|
|
<div class="block"><code>optional double relative_gap_limit = 160 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getRelativeGapLimit()">getRelativeGapLimit</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The relativeGapLimit.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setRelativeGapLimit(double)">
|
|
<h3>setRelativeGapLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setRelativeGapLimit</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><code>optional double relative_gap_limit = 160 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The relativeGapLimit to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearRelativeGapLimit()">
|
|
<h3>clearRelativeGapLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearRelativeGapLimit</span>()</div>
|
|
<div class="block"><code>optional double relative_gap_limit = 160 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasRandomSeed()">
|
|
<h3>hasRandomSeed</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasRandomSeed</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 random_seed = 31 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasRandomSeed()">hasRandomSeed</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the randomSeed field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getRandomSeed()">
|
|
<h3>getRandomSeed</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getRandomSeed</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 random_seed = 31 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getRandomSeed()">getRandomSeed</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The randomSeed.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setRandomSeed(int)">
|
|
<h3>setRandomSeed</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setRandomSeed</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 random_seed = 31 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The randomSeed to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearRandomSeed()">
|
|
<h3>clearRandomSeed</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearRandomSeed</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 random_seed = 31 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPermuteVariableRandomly()">
|
|
<h3>hasPermuteVariableRandomly</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPermuteVariableRandomly</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool permute_variable_randomly = 178 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPermuteVariableRandomly()">hasPermuteVariableRandomly</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the permuteVariableRandomly field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPermuteVariableRandomly()">
|
|
<h3>getPermuteVariableRandomly</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getPermuteVariableRandomly</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool permute_variable_randomly = 178 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPermuteVariableRandomly()">getPermuteVariableRandomly</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The permuteVariableRandomly.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPermuteVariableRandomly(boolean)">
|
|
<h3>setPermuteVariableRandomly</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPermuteVariableRandomly</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool permute_variable_randomly = 178 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The permuteVariableRandomly to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPermuteVariableRandomly()">
|
|
<h3>clearPermuteVariableRandomly</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPermuteVariableRandomly</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool permute_variable_randomly = 178 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPermutePresolveConstraintOrder()">
|
|
<h3>hasPermutePresolveConstraintOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPermutePresolveConstraintOrder</span>()</div>
|
|
<div class="block"><code>optional bool permute_presolve_constraint_order = 179 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPermutePresolveConstraintOrder()">hasPermutePresolveConstraintOrder</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the permutePresolveConstraintOrder field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPermutePresolveConstraintOrder()">
|
|
<h3>getPermutePresolveConstraintOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getPermutePresolveConstraintOrder</span>()</div>
|
|
<div class="block"><code>optional bool permute_presolve_constraint_order = 179 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPermutePresolveConstraintOrder()">getPermutePresolveConstraintOrder</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The permutePresolveConstraintOrder.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPermutePresolveConstraintOrder(boolean)">
|
|
<h3>setPermutePresolveConstraintOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPermutePresolveConstraintOrder</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><code>optional bool permute_presolve_constraint_order = 179 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The permutePresolveConstraintOrder to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPermutePresolveConstraintOrder()">
|
|
<h3>clearPermutePresolveConstraintOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPermutePresolveConstraintOrder</span>()</div>
|
|
<div class="block"><code>optional bool permute_presolve_constraint_order = 179 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseAbslRandom()">
|
|
<h3>hasUseAbslRandom</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseAbslRandom</span>()</div>
|
|
<div class="block"><code>optional bool use_absl_random = 180 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseAbslRandom()">hasUseAbslRandom</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useAbslRandom field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseAbslRandom()">
|
|
<h3>getUseAbslRandom</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseAbslRandom</span>()</div>
|
|
<div class="block"><code>optional bool use_absl_random = 180 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseAbslRandom()">getUseAbslRandom</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useAbslRandom.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseAbslRandom(boolean)">
|
|
<h3>setUseAbslRandom</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseAbslRandom</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><code>optional bool use_absl_random = 180 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useAbslRandom to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseAbslRandom()">
|
|
<h3>clearUseAbslRandom</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseAbslRandom</span>()</div>
|
|
<div class="block"><code>optional bool use_absl_random = 180 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasLogSearchProgress()">
|
|
<h3>hasLogSearchProgress</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasLogSearchProgress</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether the solver should log the search progress. By default, it logs to
|
|
LOG(INFO). This can be overwritten by the log_destination parameter.
|
|
</pre>
|
|
|
|
<code>optional bool log_search_progress = 41 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasLogSearchProgress()">hasLogSearchProgress</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the logSearchProgress field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getLogSearchProgress()">
|
|
<h3>getLogSearchProgress</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getLogSearchProgress</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether the solver should log the search progress. By default, it logs to
|
|
LOG(INFO). This can be overwritten by the log_destination parameter.
|
|
</pre>
|
|
|
|
<code>optional bool log_search_progress = 41 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getLogSearchProgress()">getLogSearchProgress</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The logSearchProgress.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setLogSearchProgress(boolean)">
|
|
<h3>setLogSearchProgress</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setLogSearchProgress</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Whether the solver should log the search progress. By default, it logs to
|
|
LOG(INFO). This can be overwritten by the log_destination parameter.
|
|
</pre>
|
|
|
|
<code>optional bool log_search_progress = 41 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The logSearchProgress to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearLogSearchProgress()">
|
|
<h3>clearLogSearchProgress</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearLogSearchProgress</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether the solver should log the search progress. By default, it logs to
|
|
LOG(INFO). This can be overwritten by the log_destination parameter.
|
|
</pre>
|
|
|
|
<code>optional bool log_search_progress = 41 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasLogFrequencyInSeconds()">
|
|
<h3>hasLogFrequencyInSeconds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasLogFrequencyInSeconds</span>()</div>
|
|
<div class="block"><pre>
|
|
Indicates how much logging should wait before logging periodic search
|
|
information from specialized workers (lb_tree_search, probing).
|
|
A value <= 0.0 will disable periodic logs.
|
|
</pre>
|
|
|
|
<code>optional double log_frequency_in_seconds = 212 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasLogFrequencyInSeconds()">hasLogFrequencyInSeconds</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the logFrequencyInSeconds field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getLogFrequencyInSeconds()">
|
|
<h3>getLogFrequencyInSeconds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getLogFrequencyInSeconds</span>()</div>
|
|
<div class="block"><pre>
|
|
Indicates how much logging should wait before logging periodic search
|
|
information from specialized workers (lb_tree_search, probing).
|
|
A value <= 0.0 will disable periodic logs.
|
|
</pre>
|
|
|
|
<code>optional double log_frequency_in_seconds = 212 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getLogFrequencyInSeconds()">getLogFrequencyInSeconds</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The logFrequencyInSeconds.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setLogFrequencyInSeconds(double)">
|
|
<h3>setLogFrequencyInSeconds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setLogFrequencyInSeconds</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
Indicates how much logging should wait before logging periodic search
|
|
information from specialized workers (lb_tree_search, probing).
|
|
A value <= 0.0 will disable periodic logs.
|
|
</pre>
|
|
|
|
<code>optional double log_frequency_in_seconds = 212 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The logFrequencyInSeconds to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearLogFrequencyInSeconds()">
|
|
<h3>clearLogFrequencyInSeconds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearLogFrequencyInSeconds</span>()</div>
|
|
<div class="block"><pre>
|
|
Indicates how much logging should wait before logging periodic search
|
|
information from specialized workers (lb_tree_search, probing).
|
|
A value <= 0.0 will disable periodic logs.
|
|
</pre>
|
|
|
|
<code>optional double log_frequency_in_seconds = 212 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasLogSubsolverStatistics()">
|
|
<h3>hasLogSubsolverStatistics</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasLogSubsolverStatistics</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool log_subsolver_statistics = 189 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasLogSubsolverStatistics()">hasLogSubsolverStatistics</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the logSubsolverStatistics field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getLogSubsolverStatistics()">
|
|
<h3>getLogSubsolverStatistics</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getLogSubsolverStatistics</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool log_subsolver_statistics = 189 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getLogSubsolverStatistics()">getLogSubsolverStatistics</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The logSubsolverStatistics.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setLogSubsolverStatistics(boolean)">
|
|
<h3>setLogSubsolverStatistics</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setLogSubsolverStatistics</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool log_subsolver_statistics = 189 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The logSubsolverStatistics to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearLogSubsolverStatistics()">
|
|
<h3>clearLogSubsolverStatistics</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearLogSubsolverStatistics</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool log_subsolver_statistics = 189 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasLogPrefix()">
|
|
<h3>hasLogPrefix</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasLogPrefix</span>()</div>
|
|
<div class="block"><pre>
|
|
Add a prefix to all logs.
|
|
</pre>
|
|
|
|
<code>optional string log_prefix = 185 [default = ""];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasLogPrefix()">hasLogPrefix</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the logPrefix field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getLogPrefix()">
|
|
<h3>getLogPrefix</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">getLogPrefix</span>()</div>
|
|
<div class="block"><pre>
|
|
Add a prefix to all logs.
|
|
</pre>
|
|
|
|
<code>optional string log_prefix = 185 [default = ""];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getLogPrefix()">getLogPrefix</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The logPrefix.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getLogPrefixBytes()">
|
|
<h3>getLogPrefixBytes</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">com.google.protobuf.ByteString</span> <span class="element-name">getLogPrefixBytes</span>()</div>
|
|
<div class="block"><pre>
|
|
Add a prefix to all logs.
|
|
</pre>
|
|
|
|
<code>optional string log_prefix = 185 [default = ""];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getLogPrefixBytes()">getLogPrefixBytes</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The bytes for logPrefix.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setLogPrefix(java.lang.String)">
|
|
<h3>setLogPrefix</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setLogPrefix</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
Add a prefix to all logs.
|
|
</pre>
|
|
|
|
<code>optional string log_prefix = 185 [default = ""];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The logPrefix to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearLogPrefix()">
|
|
<h3>clearLogPrefix</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearLogPrefix</span>()</div>
|
|
<div class="block"><pre>
|
|
Add a prefix to all logs.
|
|
</pre>
|
|
|
|
<code>optional string log_prefix = 185 [default = ""];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setLogPrefixBytes(com.google.protobuf.ByteString)">
|
|
<h3>setLogPrefixBytes</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setLogPrefixBytes</span><wbr><span class="parameters">(com.google.protobuf.ByteString value)</span></div>
|
|
<div class="block"><pre>
|
|
Add a prefix to all logs.
|
|
</pre>
|
|
|
|
<code>optional string log_prefix = 185 [default = ""];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The bytes for logPrefix to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasLogToStdout()">
|
|
<h3>hasLogToStdout</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasLogToStdout</span>()</div>
|
|
<div class="block"><pre>
|
|
Log to stdout.
|
|
</pre>
|
|
|
|
<code>optional bool log_to_stdout = 186 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasLogToStdout()">hasLogToStdout</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the logToStdout field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getLogToStdout()">
|
|
<h3>getLogToStdout</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getLogToStdout</span>()</div>
|
|
<div class="block"><pre>
|
|
Log to stdout.
|
|
</pre>
|
|
|
|
<code>optional bool log_to_stdout = 186 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getLogToStdout()">getLogToStdout</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The logToStdout.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setLogToStdout(boolean)">
|
|
<h3>setLogToStdout</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setLogToStdout</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Log to stdout.
|
|
</pre>
|
|
|
|
<code>optional bool log_to_stdout = 186 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The logToStdout to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearLogToStdout()">
|
|
<h3>clearLogToStdout</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearLogToStdout</span>()</div>
|
|
<div class="block"><pre>
|
|
Log to stdout.
|
|
</pre>
|
|
|
|
<code>optional bool log_to_stdout = 186 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasLogToResponse()">
|
|
<h3>hasLogToResponse</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasLogToResponse</span>()</div>
|
|
<div class="block"><pre>
|
|
Log to response proto.
|
|
</pre>
|
|
|
|
<code>optional bool log_to_response = 187 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasLogToResponse()">hasLogToResponse</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the logToResponse field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getLogToResponse()">
|
|
<h3>getLogToResponse</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getLogToResponse</span>()</div>
|
|
<div class="block"><pre>
|
|
Log to response proto.
|
|
</pre>
|
|
|
|
<code>optional bool log_to_response = 187 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getLogToResponse()">getLogToResponse</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The logToResponse.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setLogToResponse(boolean)">
|
|
<h3>setLogToResponse</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setLogToResponse</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Log to response proto.
|
|
</pre>
|
|
|
|
<code>optional bool log_to_response = 187 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The logToResponse to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearLogToResponse()">
|
|
<h3>clearLogToResponse</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearLogToResponse</span>()</div>
|
|
<div class="block"><pre>
|
|
Log to response proto.
|
|
</pre>
|
|
|
|
<code>optional bool log_to_response = 187 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUsePbResolution()">
|
|
<h3>hasUsePbResolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUsePbResolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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).
|
|
</pre>
|
|
|
|
<code>optional bool use_pb_resolution = 43 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUsePbResolution()">hasUsePbResolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the usePbResolution field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUsePbResolution()">
|
|
<h3>getUsePbResolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUsePbResolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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).
|
|
</pre>
|
|
|
|
<code>optional bool use_pb_resolution = 43 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUsePbResolution()">getUsePbResolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The usePbResolution.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUsePbResolution(boolean)">
|
|
<h3>setUsePbResolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUsePbResolution</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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).
|
|
</pre>
|
|
|
|
<code>optional bool use_pb_resolution = 43 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The usePbResolution to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUsePbResolution()">
|
|
<h3>clearUsePbResolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUsePbResolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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).
|
|
</pre>
|
|
|
|
<code>optional bool use_pb_resolution = 43 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMinimizeReductionDuringPbResolution()">
|
|
<h3>hasMinimizeReductionDuringPbResolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMinimizeReductionDuringPbResolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool minimize_reduction_during_pb_resolution = 48 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMinimizeReductionDuringPbResolution()">hasMinimizeReductionDuringPbResolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the minimizeReductionDuringPbResolution field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMinimizeReductionDuringPbResolution()">
|
|
<h3>getMinimizeReductionDuringPbResolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getMinimizeReductionDuringPbResolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool minimize_reduction_during_pb_resolution = 48 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMinimizeReductionDuringPbResolution()">getMinimizeReductionDuringPbResolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The minimizeReductionDuringPbResolution.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMinimizeReductionDuringPbResolution(boolean)">
|
|
<h3>setMinimizeReductionDuringPbResolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMinimizeReductionDuringPbResolution</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool minimize_reduction_during_pb_resolution = 48 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The minimizeReductionDuringPbResolution to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMinimizeReductionDuringPbResolution()">
|
|
<h3>clearMinimizeReductionDuringPbResolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMinimizeReductionDuringPbResolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool minimize_reduction_during_pb_resolution = 48 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasCountAssumptionLevelsInLbd()">
|
|
<h3>hasCountAssumptionLevelsInLbd</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasCountAssumptionLevelsInLbd</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool count_assumption_levels_in_lbd = 49 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasCountAssumptionLevelsInLbd()">hasCountAssumptionLevelsInLbd</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the countAssumptionLevelsInLbd field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getCountAssumptionLevelsInLbd()">
|
|
<h3>getCountAssumptionLevelsInLbd</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getCountAssumptionLevelsInLbd</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool count_assumption_levels_in_lbd = 49 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getCountAssumptionLevelsInLbd()">getCountAssumptionLevelsInLbd</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The countAssumptionLevelsInLbd.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setCountAssumptionLevelsInLbd(boolean)">
|
|
<h3>setCountAssumptionLevelsInLbd</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setCountAssumptionLevelsInLbd</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool count_assumption_levels_in_lbd = 49 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The countAssumptionLevelsInLbd to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearCountAssumptionLevelsInLbd()">
|
|
<h3>clearCountAssumptionLevelsInLbd</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearCountAssumptionLevelsInLbd</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool count_assumption_levels_in_lbd = 49 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPresolveBveThreshold()">
|
|
<h3>hasPresolveBveThreshold</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPresolveBveThreshold</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_bve_threshold = 54 [default = 500];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPresolveBveThreshold()">hasPresolveBveThreshold</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the presolveBveThreshold field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPresolveBveThreshold()">
|
|
<h3>getPresolveBveThreshold</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getPresolveBveThreshold</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_bve_threshold = 54 [default = 500];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPresolveBveThreshold()">getPresolveBveThreshold</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The presolveBveThreshold.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPresolveBveThreshold(int)">
|
|
<h3>setPresolveBveThreshold</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPresolveBveThreshold</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_bve_threshold = 54 [default = 500];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The presolveBveThreshold to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPresolveBveThreshold()">
|
|
<h3>clearPresolveBveThreshold</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPresolveBveThreshold</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_bve_threshold = 54 [default = 500];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPresolveBveClauseWeight()">
|
|
<h3>hasPresolveBveClauseWeight</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPresolveBveClauseWeight</span>()</div>
|
|
<div class="block"><pre>
|
|
During presolve, we apply BVE only if this weight times the number of
|
|
clauses plus the number of clause literals is not increased.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_bve_clause_weight = 55 [default = 3];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPresolveBveClauseWeight()">hasPresolveBveClauseWeight</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the presolveBveClauseWeight field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPresolveBveClauseWeight()">
|
|
<h3>getPresolveBveClauseWeight</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getPresolveBveClauseWeight</span>()</div>
|
|
<div class="block"><pre>
|
|
During presolve, we apply BVE only if this weight times the number of
|
|
clauses plus the number of clause literals is not increased.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_bve_clause_weight = 55 [default = 3];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPresolveBveClauseWeight()">getPresolveBveClauseWeight</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The presolveBveClauseWeight.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPresolveBveClauseWeight(int)">
|
|
<h3>setPresolveBveClauseWeight</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPresolveBveClauseWeight</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
During presolve, we apply BVE only if this weight times the number of
|
|
clauses plus the number of clause literals is not increased.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_bve_clause_weight = 55 [default = 3];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The presolveBveClauseWeight to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPresolveBveClauseWeight()">
|
|
<h3>clearPresolveBveClauseWeight</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPresolveBveClauseWeight</span>()</div>
|
|
<div class="block"><pre>
|
|
During presolve, we apply BVE only if this weight times the number of
|
|
clauses plus the number of clause literals is not increased.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_bve_clause_weight = 55 [default = 3];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPresolveProbingDeterministicTimeLimit()">
|
|
<h3>hasPresolveProbingDeterministicTimeLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPresolveProbingDeterministicTimeLimit</span>()</div>
|
|
<div class="block"><pre>
|
|
The maximum "deterministic" time limit to spend in probing. A value of
|
|
zero will disable the probing.
|
|
</pre>
|
|
|
|
<code>optional double presolve_probing_deterministic_time_limit = 57 [default = 30];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPresolveProbingDeterministicTimeLimit()">hasPresolveProbingDeterministicTimeLimit</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the presolveProbingDeterministicTimeLimit field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPresolveProbingDeterministicTimeLimit()">
|
|
<h3>getPresolveProbingDeterministicTimeLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getPresolveProbingDeterministicTimeLimit</span>()</div>
|
|
<div class="block"><pre>
|
|
The maximum "deterministic" time limit to spend in probing. A value of
|
|
zero will disable the probing.
|
|
</pre>
|
|
|
|
<code>optional double presolve_probing_deterministic_time_limit = 57 [default = 30];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPresolveProbingDeterministicTimeLimit()">getPresolveProbingDeterministicTimeLimit</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The presolveProbingDeterministicTimeLimit.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPresolveProbingDeterministicTimeLimit(double)">
|
|
<h3>setPresolveProbingDeterministicTimeLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPresolveProbingDeterministicTimeLimit</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
The maximum "deterministic" time limit to spend in probing. A value of
|
|
zero will disable the probing.
|
|
</pre>
|
|
|
|
<code>optional double presolve_probing_deterministic_time_limit = 57 [default = 30];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The presolveProbingDeterministicTimeLimit to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPresolveProbingDeterministicTimeLimit()">
|
|
<h3>clearPresolveProbingDeterministicTimeLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPresolveProbingDeterministicTimeLimit</span>()</div>
|
|
<div class="block"><pre>
|
|
The maximum "deterministic" time limit to spend in probing. A value of
|
|
zero will disable the probing.
|
|
</pre>
|
|
|
|
<code>optional double presolve_probing_deterministic_time_limit = 57 [default = 30];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPresolveBlockedClause()">
|
|
<h3>hasPresolveBlockedClause</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPresolveBlockedClause</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we use an heuristic to detect some basic case of blocked clause
|
|
in the SAT presolve.
|
|
</pre>
|
|
|
|
<code>optional bool presolve_blocked_clause = 88 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPresolveBlockedClause()">hasPresolveBlockedClause</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the presolveBlockedClause field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPresolveBlockedClause()">
|
|
<h3>getPresolveBlockedClause</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getPresolveBlockedClause</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we use an heuristic to detect some basic case of blocked clause
|
|
in the SAT presolve.
|
|
</pre>
|
|
|
|
<code>optional bool presolve_blocked_clause = 88 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPresolveBlockedClause()">getPresolveBlockedClause</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The presolveBlockedClause.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPresolveBlockedClause(boolean)">
|
|
<h3>setPresolveBlockedClause</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPresolveBlockedClause</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Whether we use an heuristic to detect some basic case of blocked clause
|
|
in the SAT presolve.
|
|
</pre>
|
|
|
|
<code>optional bool presolve_blocked_clause = 88 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The presolveBlockedClause to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPresolveBlockedClause()">
|
|
<h3>clearPresolveBlockedClause</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPresolveBlockedClause</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we use an heuristic to detect some basic case of blocked clause
|
|
in the SAT presolve.
|
|
</pre>
|
|
|
|
<code>optional bool presolve_blocked_clause = 88 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPresolveUseBva()">
|
|
<h3>hasPresolveUseBva</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPresolveUseBva</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether or not we use Bounded Variable Addition (BVA) in the presolve.
|
|
</pre>
|
|
|
|
<code>optional bool presolve_use_bva = 72 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPresolveUseBva()">hasPresolveUseBva</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the presolveUseBva field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPresolveUseBva()">
|
|
<h3>getPresolveUseBva</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getPresolveUseBva</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether or not we use Bounded Variable Addition (BVA) in the presolve.
|
|
</pre>
|
|
|
|
<code>optional bool presolve_use_bva = 72 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPresolveUseBva()">getPresolveUseBva</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The presolveUseBva.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPresolveUseBva(boolean)">
|
|
<h3>setPresolveUseBva</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPresolveUseBva</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Whether or not we use Bounded Variable Addition (BVA) in the presolve.
|
|
</pre>
|
|
|
|
<code>optional bool presolve_use_bva = 72 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The presolveUseBva to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPresolveUseBva()">
|
|
<h3>clearPresolveUseBva</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPresolveUseBva</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether or not we use Bounded Variable Addition (BVA) in the presolve.
|
|
</pre>
|
|
|
|
<code>optional bool presolve_use_bva = 72 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPresolveBvaThreshold()">
|
|
<h3>hasPresolveBvaThreshold</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPresolveBvaThreshold</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_bva_threshold = 73 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPresolveBvaThreshold()">hasPresolveBvaThreshold</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the presolveBvaThreshold field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPresolveBvaThreshold()">
|
|
<h3>getPresolveBvaThreshold</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getPresolveBvaThreshold</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_bva_threshold = 73 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPresolveBvaThreshold()">getPresolveBvaThreshold</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The presolveBvaThreshold.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPresolveBvaThreshold(int)">
|
|
<h3>setPresolveBvaThreshold</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPresolveBvaThreshold</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_bva_threshold = 73 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The presolveBvaThreshold to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPresolveBvaThreshold()">
|
|
<h3>clearPresolveBvaThreshold</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPresolveBvaThreshold</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_bva_threshold = 73 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxPresolveIterations()">
|
|
<h3>hasMaxPresolveIterations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxPresolveIterations</span>()</div>
|
|
<div class="block"><pre>
|
|
In case of large reduction in a presolve iteration, we perform multiple
|
|
presolve iterations. This parameter controls the maximum number of such
|
|
presolve iterations.
|
|
</pre>
|
|
|
|
<code>optional int32 max_presolve_iterations = 138 [default = 3];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxPresolveIterations()">hasMaxPresolveIterations</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxPresolveIterations field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxPresolveIterations()">
|
|
<h3>getMaxPresolveIterations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getMaxPresolveIterations</span>()</div>
|
|
<div class="block"><pre>
|
|
In case of large reduction in a presolve iteration, we perform multiple
|
|
presolve iterations. This parameter controls the maximum number of such
|
|
presolve iterations.
|
|
</pre>
|
|
|
|
<code>optional int32 max_presolve_iterations = 138 [default = 3];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxPresolveIterations()">getMaxPresolveIterations</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxPresolveIterations.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxPresolveIterations(int)">
|
|
<h3>setMaxPresolveIterations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxPresolveIterations</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
In case of large reduction in a presolve iteration, we perform multiple
|
|
presolve iterations. This parameter controls the maximum number of such
|
|
presolve iterations.
|
|
</pre>
|
|
|
|
<code>optional int32 max_presolve_iterations = 138 [default = 3];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxPresolveIterations to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxPresolveIterations()">
|
|
<h3>clearMaxPresolveIterations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxPresolveIterations</span>()</div>
|
|
<div class="block"><pre>
|
|
In case of large reduction in a presolve iteration, we perform multiple
|
|
presolve iterations. This parameter controls the maximum number of such
|
|
presolve iterations.
|
|
</pre>
|
|
|
|
<code>optional int32 max_presolve_iterations = 138 [default = 3];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasCpModelPresolve()">
|
|
<h3>hasCpModelPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasCpModelPresolve</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we presolve the cp_model before solving it.
|
|
</pre>
|
|
|
|
<code>optional bool cp_model_presolve = 86 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasCpModelPresolve()">hasCpModelPresolve</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the cpModelPresolve field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getCpModelPresolve()">
|
|
<h3>getCpModelPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getCpModelPresolve</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we presolve the cp_model before solving it.
|
|
</pre>
|
|
|
|
<code>optional bool cp_model_presolve = 86 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getCpModelPresolve()">getCpModelPresolve</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The cpModelPresolve.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setCpModelPresolve(boolean)">
|
|
<h3>setCpModelPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setCpModelPresolve</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Whether we presolve the cp_model before solving it.
|
|
</pre>
|
|
|
|
<code>optional bool cp_model_presolve = 86 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The cpModelPresolve to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearCpModelPresolve()">
|
|
<h3>clearCpModelPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearCpModelPresolve</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we presolve the cp_model before solving it.
|
|
</pre>
|
|
|
|
<code>optional bool cp_model_presolve = 86 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasCpModelProbingLevel()">
|
|
<h3>hasCpModelProbingLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasCpModelProbingLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
How much effort do we spend on probing. 0 disables it completely.
|
|
</pre>
|
|
|
|
<code>optional int32 cp_model_probing_level = 110 [default = 2];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasCpModelProbingLevel()">hasCpModelProbingLevel</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the cpModelProbingLevel field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getCpModelProbingLevel()">
|
|
<h3>getCpModelProbingLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getCpModelProbingLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
How much effort do we spend on probing. 0 disables it completely.
|
|
</pre>
|
|
|
|
<code>optional int32 cp_model_probing_level = 110 [default = 2];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getCpModelProbingLevel()">getCpModelProbingLevel</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The cpModelProbingLevel.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setCpModelProbingLevel(int)">
|
|
<h3>setCpModelProbingLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setCpModelProbingLevel</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
How much effort do we spend on probing. 0 disables it completely.
|
|
</pre>
|
|
|
|
<code>optional int32 cp_model_probing_level = 110 [default = 2];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The cpModelProbingLevel to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearCpModelProbingLevel()">
|
|
<h3>clearCpModelProbingLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearCpModelProbingLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
How much effort do we spend on probing. 0 disables it completely.
|
|
</pre>
|
|
|
|
<code>optional int32 cp_model_probing_level = 110 [default = 2];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasCpModelUseSatPresolve()">
|
|
<h3>hasCpModelUseSatPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasCpModelUseSatPresolve</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we also use the sat presolve when cp_model_presolve is true.
|
|
</pre>
|
|
|
|
<code>optional bool cp_model_use_sat_presolve = 93 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasCpModelUseSatPresolve()">hasCpModelUseSatPresolve</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the cpModelUseSatPresolve field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getCpModelUseSatPresolve()">
|
|
<h3>getCpModelUseSatPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getCpModelUseSatPresolve</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we also use the sat presolve when cp_model_presolve is true.
|
|
</pre>
|
|
|
|
<code>optional bool cp_model_use_sat_presolve = 93 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getCpModelUseSatPresolve()">getCpModelUseSatPresolve</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The cpModelUseSatPresolve.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setCpModelUseSatPresolve(boolean)">
|
|
<h3>setCpModelUseSatPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setCpModelUseSatPresolve</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Whether we also use the sat presolve when cp_model_presolve is true.
|
|
</pre>
|
|
|
|
<code>optional bool cp_model_use_sat_presolve = 93 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The cpModelUseSatPresolve to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearCpModelUseSatPresolve()">
|
|
<h3>clearCpModelUseSatPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearCpModelUseSatPresolve</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we also use the sat presolve when cp_model_presolve is true.
|
|
</pre>
|
|
|
|
<code>optional bool cp_model_use_sat_presolve = 93 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseSatInprocessing()">
|
|
<h3>hasUseSatInprocessing</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseSatInprocessing</span>()</div>
|
|
<div class="block"><code>optional bool use_sat_inprocessing = 163 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseSatInprocessing()">hasUseSatInprocessing</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useSatInprocessing field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseSatInprocessing()">
|
|
<h3>getUseSatInprocessing</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseSatInprocessing</span>()</div>
|
|
<div class="block"><code>optional bool use_sat_inprocessing = 163 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseSatInprocessing()">getUseSatInprocessing</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useSatInprocessing.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseSatInprocessing(boolean)">
|
|
<h3>setUseSatInprocessing</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseSatInprocessing</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><code>optional bool use_sat_inprocessing = 163 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useSatInprocessing to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseSatInprocessing()">
|
|
<h3>clearUseSatInprocessing</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseSatInprocessing</span>()</div>
|
|
<div class="block"><code>optional bool use_sat_inprocessing = 163 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasExpandAlldiffConstraints()">
|
|
<h3>hasExpandAlldiffConstraints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasExpandAlldiffConstraints</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, expand all_different constraints that are not permutations.
|
|
Permutations (#Variables = #Values) are always expanded.
|
|
</pre>
|
|
|
|
<code>optional bool expand_alldiff_constraints = 170 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasExpandAlldiffConstraints()">hasExpandAlldiffConstraints</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the expandAlldiffConstraints field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getExpandAlldiffConstraints()">
|
|
<h3>getExpandAlldiffConstraints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getExpandAlldiffConstraints</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, expand all_different constraints that are not permutations.
|
|
Permutations (#Variables = #Values) are always expanded.
|
|
</pre>
|
|
|
|
<code>optional bool expand_alldiff_constraints = 170 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getExpandAlldiffConstraints()">getExpandAlldiffConstraints</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The expandAlldiffConstraints.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setExpandAlldiffConstraints(boolean)">
|
|
<h3>setExpandAlldiffConstraints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setExpandAlldiffConstraints</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
If true, expand all_different constraints that are not permutations.
|
|
Permutations (#Variables = #Values) are always expanded.
|
|
</pre>
|
|
|
|
<code>optional bool expand_alldiff_constraints = 170 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The expandAlldiffConstraints to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearExpandAlldiffConstraints()">
|
|
<h3>clearExpandAlldiffConstraints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearExpandAlldiffConstraints</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, expand all_different constraints that are not permutations.
|
|
Permutations (#Variables = #Values) are always expanded.
|
|
</pre>
|
|
|
|
<code>optional bool expand_alldiff_constraints = 170 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasDisableConstraintExpansion()">
|
|
<h3>hasDisableConstraintExpansion</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasDisableConstraintExpansion</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, it disable all constraint expansion.
|
|
This should only be used to test the presolve of expanded constraints.
|
|
</pre>
|
|
|
|
<code>optional bool disable_constraint_expansion = 181 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasDisableConstraintExpansion()">hasDisableConstraintExpansion</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the disableConstraintExpansion field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getDisableConstraintExpansion()">
|
|
<h3>getDisableConstraintExpansion</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getDisableConstraintExpansion</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, it disable all constraint expansion.
|
|
This should only be used to test the presolve of expanded constraints.
|
|
</pre>
|
|
|
|
<code>optional bool disable_constraint_expansion = 181 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getDisableConstraintExpansion()">getDisableConstraintExpansion</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The disableConstraintExpansion.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setDisableConstraintExpansion(boolean)">
|
|
<h3>setDisableConstraintExpansion</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setDisableConstraintExpansion</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
If true, it disable all constraint expansion.
|
|
This should only be used to test the presolve of expanded constraints.
|
|
</pre>
|
|
|
|
<code>optional bool disable_constraint_expansion = 181 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The disableConstraintExpansion to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearDisableConstraintExpansion()">
|
|
<h3>clearDisableConstraintExpansion</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearDisableConstraintExpansion</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, it disable all constraint expansion.
|
|
This should only be used to test the presolve of expanded constraints.
|
|
</pre>
|
|
|
|
<code>optional bool disable_constraint_expansion = 181 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMergeNoOverlapWorkLimit()">
|
|
<h3>hasMergeNoOverlapWorkLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMergeNoOverlapWorkLimit</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double merge_no_overlap_work_limit = 145 [default = 1000000000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMergeNoOverlapWorkLimit()">hasMergeNoOverlapWorkLimit</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the mergeNoOverlapWorkLimit field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMergeNoOverlapWorkLimit()">
|
|
<h3>getMergeNoOverlapWorkLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getMergeNoOverlapWorkLimit</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double merge_no_overlap_work_limit = 145 [default = 1000000000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMergeNoOverlapWorkLimit()">getMergeNoOverlapWorkLimit</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The mergeNoOverlapWorkLimit.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMergeNoOverlapWorkLimit(double)">
|
|
<h3>setMergeNoOverlapWorkLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMergeNoOverlapWorkLimit</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double merge_no_overlap_work_limit = 145 [default = 1000000000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The mergeNoOverlapWorkLimit to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMergeNoOverlapWorkLimit()">
|
|
<h3>clearMergeNoOverlapWorkLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMergeNoOverlapWorkLimit</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double merge_no_overlap_work_limit = 145 [default = 1000000000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMergeAtMostOneWorkLimit()">
|
|
<h3>hasMergeAtMostOneWorkLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMergeAtMostOneWorkLimit</span>()</div>
|
|
<div class="block"><code>optional double merge_at_most_one_work_limit = 146 [default = 100000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMergeAtMostOneWorkLimit()">hasMergeAtMostOneWorkLimit</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the mergeAtMostOneWorkLimit field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMergeAtMostOneWorkLimit()">
|
|
<h3>getMergeAtMostOneWorkLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getMergeAtMostOneWorkLimit</span>()</div>
|
|
<div class="block"><code>optional double merge_at_most_one_work_limit = 146 [default = 100000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMergeAtMostOneWorkLimit()">getMergeAtMostOneWorkLimit</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The mergeAtMostOneWorkLimit.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMergeAtMostOneWorkLimit(double)">
|
|
<h3>setMergeAtMostOneWorkLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMergeAtMostOneWorkLimit</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><code>optional double merge_at_most_one_work_limit = 146 [default = 100000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The mergeAtMostOneWorkLimit to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMergeAtMostOneWorkLimit()">
|
|
<h3>clearMergeAtMostOneWorkLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMergeAtMostOneWorkLimit</span>()</div>
|
|
<div class="block"><code>optional double merge_at_most_one_work_limit = 146 [default = 100000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPresolveSubstitutionLevel()">
|
|
<h3>hasPresolveSubstitutionLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPresolveSubstitutionLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_substitution_level = 147 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPresolveSubstitutionLevel()">hasPresolveSubstitutionLevel</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the presolveSubstitutionLevel field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPresolveSubstitutionLevel()">
|
|
<h3>getPresolveSubstitutionLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getPresolveSubstitutionLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_substitution_level = 147 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPresolveSubstitutionLevel()">getPresolveSubstitutionLevel</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The presolveSubstitutionLevel.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPresolveSubstitutionLevel(int)">
|
|
<h3>setPresolveSubstitutionLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPresolveSubstitutionLevel</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_substitution_level = 147 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The presolveSubstitutionLevel to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPresolveSubstitutionLevel()">
|
|
<h3>clearPresolveSubstitutionLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPresolveSubstitutionLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 presolve_substitution_level = 147 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPresolveExtractIntegerEnforcement()">
|
|
<h3>hasPresolveExtractIntegerEnforcement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPresolveExtractIntegerEnforcement</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, we will extract from linear constraints, enforcement literals of
|
|
the form "integer variable at bound => simplified constraint". This should
|
|
always be beneficial except that we don't always handle them as efficiently
|
|
as we could for now. This causes problem on manna81.mps (LP relaxation not
|
|
as tight it seems) and on neos-3354841-apure.mps.gz (too many literals
|
|
created this way).
|
|
</pre>
|
|
|
|
<code>optional bool presolve_extract_integer_enforcement = 174 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPresolveExtractIntegerEnforcement()">hasPresolveExtractIntegerEnforcement</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the presolveExtractIntegerEnforcement field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPresolveExtractIntegerEnforcement()">
|
|
<h3>getPresolveExtractIntegerEnforcement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getPresolveExtractIntegerEnforcement</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, we will extract from linear constraints, enforcement literals of
|
|
the form "integer variable at bound => simplified constraint". This should
|
|
always be beneficial except that we don't always handle them as efficiently
|
|
as we could for now. This causes problem on manna81.mps (LP relaxation not
|
|
as tight it seems) and on neos-3354841-apure.mps.gz (too many literals
|
|
created this way).
|
|
</pre>
|
|
|
|
<code>optional bool presolve_extract_integer_enforcement = 174 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPresolveExtractIntegerEnforcement()">getPresolveExtractIntegerEnforcement</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The presolveExtractIntegerEnforcement.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPresolveExtractIntegerEnforcement(boolean)">
|
|
<h3>setPresolveExtractIntegerEnforcement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPresolveExtractIntegerEnforcement</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
If true, we will extract from linear constraints, enforcement literals of
|
|
the form "integer variable at bound => simplified constraint". This should
|
|
always be beneficial except that we don't always handle them as efficiently
|
|
as we could for now. This causes problem on manna81.mps (LP relaxation not
|
|
as tight it seems) and on neos-3354841-apure.mps.gz (too many literals
|
|
created this way).
|
|
</pre>
|
|
|
|
<code>optional bool presolve_extract_integer_enforcement = 174 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The presolveExtractIntegerEnforcement to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPresolveExtractIntegerEnforcement()">
|
|
<h3>clearPresolveExtractIntegerEnforcement</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPresolveExtractIntegerEnforcement</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, we will extract from linear constraints, enforcement literals of
|
|
the form "integer variable at bound => simplified constraint". This should
|
|
always be beneficial except that we don't always handle them as efficiently
|
|
as we could for now. This causes problem on manna81.mps (LP relaxation not
|
|
as tight it seems) and on neos-3354841-apure.mps.gz (too many literals
|
|
created this way).
|
|
</pre>
|
|
|
|
<code>optional bool presolve_extract_integer_enforcement = 174 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPresolveInclusionWorkLimit()">
|
|
<h3>hasPresolveInclusionWorkLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPresolveInclusionWorkLimit</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int64 presolve_inclusion_work_limit = 201 [default = 100000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPresolveInclusionWorkLimit()">hasPresolveInclusionWorkLimit</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the presolveInclusionWorkLimit field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPresolveInclusionWorkLimit()">
|
|
<h3>getPresolveInclusionWorkLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getPresolveInclusionWorkLimit</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int64 presolve_inclusion_work_limit = 201 [default = 100000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPresolveInclusionWorkLimit()">getPresolveInclusionWorkLimit</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The presolveInclusionWorkLimit.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPresolveInclusionWorkLimit(long)">
|
|
<h3>setPresolveInclusionWorkLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPresolveInclusionWorkLimit</span><wbr><span class="parameters">(long value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int64 presolve_inclusion_work_limit = 201 [default = 100000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The presolveInclusionWorkLimit to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPresolveInclusionWorkLimit()">
|
|
<h3>clearPresolveInclusionWorkLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPresolveInclusionWorkLimit</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int64 presolve_inclusion_work_limit = 201 [default = 100000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasIgnoreNames()">
|
|
<h3>hasIgnoreNames</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasIgnoreNames</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, we don't keep names in our internal copy of the user given model.
|
|
</pre>
|
|
|
|
<code>optional bool ignore_names = 202 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasIgnoreNames()">hasIgnoreNames</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the ignoreNames field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getIgnoreNames()">
|
|
<h3>getIgnoreNames</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getIgnoreNames</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, we don't keep names in our internal copy of the user given model.
|
|
</pre>
|
|
|
|
<code>optional bool ignore_names = 202 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getIgnoreNames()">getIgnoreNames</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The ignoreNames.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setIgnoreNames(boolean)">
|
|
<h3>setIgnoreNames</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setIgnoreNames</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
If true, we don't keep names in our internal copy of the user given model.
|
|
</pre>
|
|
|
|
<code>optional bool ignore_names = 202 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The ignoreNames to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearIgnoreNames()">
|
|
<h3>clearIgnoreNames</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearIgnoreNames</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, we don't keep names in our internal copy of the user given model.
|
|
</pre>
|
|
|
|
<code>optional bool ignore_names = 202 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasNumWorkers()">
|
|
<h3>hasNumWorkers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasNumWorkers</span>()</div>
|
|
<div class="block"><pre>
|
|
Specify the number of parallel workers (i.e. threads) to use during search.
|
|
This should usually be lower than your number of available cpus +
|
|
hyperthread in your machine.
|
|
A value of 0 means the solver will try to use all cores on the machine.
|
|
A number of 1 means no parallelism.
|
|
Note that 'num_workers' is the preferred name, but if it is set to zero,
|
|
we will still read the deprecated 'num_search_worker'.
|
|
As of 2020-04-10, if you're using SAT via MPSolver (to solve integer
|
|
programs) this field is overridden with a value of 8, if the field is not
|
|
set *explicitly*. Thus, always set this field explicitly or via
|
|
MPSolver::SetNumThreads().
|
|
</pre>
|
|
|
|
<code>optional int32 num_workers = 206 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasNumWorkers()">hasNumWorkers</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the numWorkers field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumWorkers()">
|
|
<h3>getNumWorkers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getNumWorkers</span>()</div>
|
|
<div class="block"><pre>
|
|
Specify the number of parallel workers (i.e. threads) to use during search.
|
|
This should usually be lower than your number of available cpus +
|
|
hyperthread in your machine.
|
|
A value of 0 means the solver will try to use all cores on the machine.
|
|
A number of 1 means no parallelism.
|
|
Note that 'num_workers' is the preferred name, but if it is set to zero,
|
|
we will still read the deprecated 'num_search_worker'.
|
|
As of 2020-04-10, if you're using SAT via MPSolver (to solve integer
|
|
programs) this field is overridden with a value of 8, if the field is not
|
|
set *explicitly*. Thus, always set this field explicitly or via
|
|
MPSolver::SetNumThreads().
|
|
</pre>
|
|
|
|
<code>optional int32 num_workers = 206 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getNumWorkers()">getNumWorkers</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The numWorkers.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setNumWorkers(int)">
|
|
<h3>setNumWorkers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setNumWorkers</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
Specify the number of parallel workers (i.e. threads) to use during search.
|
|
This should usually be lower than your number of available cpus +
|
|
hyperthread in your machine.
|
|
A value of 0 means the solver will try to use all cores on the machine.
|
|
A number of 1 means no parallelism.
|
|
Note that 'num_workers' is the preferred name, but if it is set to zero,
|
|
we will still read the deprecated 'num_search_worker'.
|
|
As of 2020-04-10, if you're using SAT via MPSolver (to solve integer
|
|
programs) this field is overridden with a value of 8, if the field is not
|
|
set *explicitly*. Thus, always set this field explicitly or via
|
|
MPSolver::SetNumThreads().
|
|
</pre>
|
|
|
|
<code>optional int32 num_workers = 206 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The numWorkers to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearNumWorkers()">
|
|
<h3>clearNumWorkers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearNumWorkers</span>()</div>
|
|
<div class="block"><pre>
|
|
Specify the number of parallel workers (i.e. threads) to use during search.
|
|
This should usually be lower than your number of available cpus +
|
|
hyperthread in your machine.
|
|
A value of 0 means the solver will try to use all cores on the machine.
|
|
A number of 1 means no parallelism.
|
|
Note that 'num_workers' is the preferred name, but if it is set to zero,
|
|
we will still read the deprecated 'num_search_worker'.
|
|
As of 2020-04-10, if you're using SAT via MPSolver (to solve integer
|
|
programs) this field is overridden with a value of 8, if the field is not
|
|
set *explicitly*. Thus, always set this field explicitly or via
|
|
MPSolver::SetNumThreads().
|
|
</pre>
|
|
|
|
<code>optional int32 num_workers = 206 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasNumSearchWorkers()">
|
|
<h3>hasNumSearchWorkers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasNumSearchWorkers</span>()</div>
|
|
<div class="block"><code>optional int32 num_search_workers = 100 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasNumSearchWorkers()">hasNumSearchWorkers</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the numSearchWorkers field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNumSearchWorkers()">
|
|
<h3>getNumSearchWorkers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getNumSearchWorkers</span>()</div>
|
|
<div class="block"><code>optional int32 num_search_workers = 100 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getNumSearchWorkers()">getNumSearchWorkers</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The numSearchWorkers.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setNumSearchWorkers(int)">
|
|
<h3>setNumSearchWorkers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setNumSearchWorkers</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><code>optional int32 num_search_workers = 100 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The numSearchWorkers to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearNumSearchWorkers()">
|
|
<h3>clearNumSearchWorkers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearNumSearchWorkers</span>()</div>
|
|
<div class="block"><code>optional int32 num_search_workers = 100 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMinNumLnsWorkers()">
|
|
<h3>hasMinNumLnsWorkers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMinNumLnsWorkers</span>()</div>
|
|
<div class="block"><pre>
|
|
If there is an objective and we are not in interleave mode, we will reserve
|
|
at least this number of worker for LNS thread.
|
|
TODO(user): Also define like for subsolvers the list of "active" type of
|
|
neighborhood used.
|
|
</pre>
|
|
|
|
<code>optional int32 min_num_lns_workers = 211 [default = 2];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMinNumLnsWorkers()">hasMinNumLnsWorkers</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the minNumLnsWorkers field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMinNumLnsWorkers()">
|
|
<h3>getMinNumLnsWorkers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getMinNumLnsWorkers</span>()</div>
|
|
<div class="block"><pre>
|
|
If there is an objective and we are not in interleave mode, we will reserve
|
|
at least this number of worker for LNS thread.
|
|
TODO(user): Also define like for subsolvers the list of "active" type of
|
|
neighborhood used.
|
|
</pre>
|
|
|
|
<code>optional int32 min_num_lns_workers = 211 [default = 2];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMinNumLnsWorkers()">getMinNumLnsWorkers</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The minNumLnsWorkers.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMinNumLnsWorkers(int)">
|
|
<h3>setMinNumLnsWorkers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMinNumLnsWorkers</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
If there is an objective and we are not in interleave mode, we will reserve
|
|
at least this number of worker for LNS thread.
|
|
TODO(user): Also define like for subsolvers the list of "active" type of
|
|
neighborhood used.
|
|
</pre>
|
|
|
|
<code>optional int32 min_num_lns_workers = 211 [default = 2];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The minNumLnsWorkers to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMinNumLnsWorkers()">
|
|
<h3>clearMinNumLnsWorkers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMinNumLnsWorkers</span>()</div>
|
|
<div class="block"><pre>
|
|
If there is an objective and we are not in interleave mode, we will reserve
|
|
at least this number of worker for LNS thread.
|
|
TODO(user): Also define like for subsolvers the list of "active" type of
|
|
neighborhood used.
|
|
</pre>
|
|
|
|
<code>optional int32 min_num_lns_workers = 211 [default = 2];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSubsolversList()">
|
|
<h3>getSubsolversList</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">com.google.protobuf.ProtocolStringList</span> <span class="element-name">getSubsolversList</span>()</div>
|
|
<div class="block"><pre>
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters. This field indicates the names of the parameters
|
|
that are used in multithread.
|
|
See cp_model_search.cc to see a list of the names and the default value (if
|
|
left empty) that looks like:
|
|
- default_lp (linearization_level:1)
|
|
- fixed (only if fixed search specified or scheduling)
|
|
- less_encoding (only if no objective)
|
|
- no_lp (linearization_level:0)
|
|
- max_lp (linearization_level:2)
|
|
- pseudo_costs (only if objective, change search heuristic)
|
|
- reduced_costs (only if objective, change search heuristic)
|
|
- quick_restart (kind of probing)
|
|
- quick_restart_no_lp (kind of probing with linearization_level:0)
|
|
- lb_tree_search (to improve lower bound, MIP like tree search)
|
|
- probing (continuous probing and shaving)
|
|
Also, note that some set of parameters will be ignored if they do not make
|
|
sense. For instance if there is no objective, pseudo_cost or reduced_cost
|
|
search will be ignored. Core based search will only work if the objective
|
|
has many terms. If there is no fixed strategy fixed will be ignored. And so
|
|
on.
|
|
The order is important, as only the first usable "num_workers -
|
|
min_num_lns_workers" subsolvers will be scheduled. You can see in the log
|
|
which one are selected for a given run. All the others will be LNS if there
|
|
is an objective, or randomized SAT search for pure satisfiability problems.
|
|
</pre>
|
|
|
|
<code>repeated string subsolvers = 207;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getSubsolversList()">getSubsolversList</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>A list containing the subsolvers.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSubsolversCount()">
|
|
<h3>getSubsolversCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getSubsolversCount</span>()</div>
|
|
<div class="block"><pre>
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters. This field indicates the names of the parameters
|
|
that are used in multithread.
|
|
See cp_model_search.cc to see a list of the names and the default value (if
|
|
left empty) that looks like:
|
|
- default_lp (linearization_level:1)
|
|
- fixed (only if fixed search specified or scheduling)
|
|
- less_encoding (only if no objective)
|
|
- no_lp (linearization_level:0)
|
|
- max_lp (linearization_level:2)
|
|
- pseudo_costs (only if objective, change search heuristic)
|
|
- reduced_costs (only if objective, change search heuristic)
|
|
- quick_restart (kind of probing)
|
|
- quick_restart_no_lp (kind of probing with linearization_level:0)
|
|
- lb_tree_search (to improve lower bound, MIP like tree search)
|
|
- probing (continuous probing and shaving)
|
|
Also, note that some set of parameters will be ignored if they do not make
|
|
sense. For instance if there is no objective, pseudo_cost or reduced_cost
|
|
search will be ignored. Core based search will only work if the objective
|
|
has many terms. If there is no fixed strategy fixed will be ignored. And so
|
|
on.
|
|
The order is important, as only the first usable "num_workers -
|
|
min_num_lns_workers" subsolvers will be scheduled. You can see in the log
|
|
which one are selected for a given run. All the others will be LNS if there
|
|
is an objective, or randomized SAT search for pure satisfiability problems.
|
|
</pre>
|
|
|
|
<code>repeated string subsolvers = 207;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getSubsolversCount()">getSubsolversCount</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The count of subsolvers.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSubsolvers(int)">
|
|
<h3>getSubsolvers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">getSubsolvers</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters. This field indicates the names of the parameters
|
|
that are used in multithread.
|
|
See cp_model_search.cc to see a list of the names and the default value (if
|
|
left empty) that looks like:
|
|
- default_lp (linearization_level:1)
|
|
- fixed (only if fixed search specified or scheduling)
|
|
- less_encoding (only if no objective)
|
|
- no_lp (linearization_level:0)
|
|
- max_lp (linearization_level:2)
|
|
- pseudo_costs (only if objective, change search heuristic)
|
|
- reduced_costs (only if objective, change search heuristic)
|
|
- quick_restart (kind of probing)
|
|
- quick_restart_no_lp (kind of probing with linearization_level:0)
|
|
- lb_tree_search (to improve lower bound, MIP like tree search)
|
|
- probing (continuous probing and shaving)
|
|
Also, note that some set of parameters will be ignored if they do not make
|
|
sense. For instance if there is no objective, pseudo_cost or reduced_cost
|
|
search will be ignored. Core based search will only work if the objective
|
|
has many terms. If there is no fixed strategy fixed will be ignored. And so
|
|
on.
|
|
The order is important, as only the first usable "num_workers -
|
|
min_num_lns_workers" subsolvers will be scheduled. You can see in the log
|
|
which one are selected for a given run. All the others will be LNS if there
|
|
is an objective, or randomized SAT search for pure satisfiability problems.
|
|
</pre>
|
|
|
|
<code>repeated string subsolvers = 207;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getSubsolvers(int)">getSubsolvers</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>index</code> - The index of the element to return.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The subsolvers at the given index.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSubsolversBytes(int)">
|
|
<h3>getSubsolversBytes</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">com.google.protobuf.ByteString</span> <span class="element-name">getSubsolversBytes</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters. This field indicates the names of the parameters
|
|
that are used in multithread.
|
|
See cp_model_search.cc to see a list of the names and the default value (if
|
|
left empty) that looks like:
|
|
- default_lp (linearization_level:1)
|
|
- fixed (only if fixed search specified or scheduling)
|
|
- less_encoding (only if no objective)
|
|
- no_lp (linearization_level:0)
|
|
- max_lp (linearization_level:2)
|
|
- pseudo_costs (only if objective, change search heuristic)
|
|
- reduced_costs (only if objective, change search heuristic)
|
|
- quick_restart (kind of probing)
|
|
- quick_restart_no_lp (kind of probing with linearization_level:0)
|
|
- lb_tree_search (to improve lower bound, MIP like tree search)
|
|
- probing (continuous probing and shaving)
|
|
Also, note that some set of parameters will be ignored if they do not make
|
|
sense. For instance if there is no objective, pseudo_cost or reduced_cost
|
|
search will be ignored. Core based search will only work if the objective
|
|
has many terms. If there is no fixed strategy fixed will be ignored. And so
|
|
on.
|
|
The order is important, as only the first usable "num_workers -
|
|
min_num_lns_workers" subsolvers will be scheduled. You can see in the log
|
|
which one are selected for a given run. All the others will be LNS if there
|
|
is an objective, or randomized SAT search for pure satisfiability problems.
|
|
</pre>
|
|
|
|
<code>repeated string subsolvers = 207;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getSubsolversBytes(int)">getSubsolversBytes</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>index</code> - The index of the value to return.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The bytes of the subsolvers at the given index.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSubsolvers(int,java.lang.String)">
|
|
<h3>setSubsolvers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setSubsolvers</span><wbr><span class="parameters">(int index,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters. This field indicates the names of the parameters
|
|
that are used in multithread.
|
|
See cp_model_search.cc to see a list of the names and the default value (if
|
|
left empty) that looks like:
|
|
- default_lp (linearization_level:1)
|
|
- fixed (only if fixed search specified or scheduling)
|
|
- less_encoding (only if no objective)
|
|
- no_lp (linearization_level:0)
|
|
- max_lp (linearization_level:2)
|
|
- pseudo_costs (only if objective, change search heuristic)
|
|
- reduced_costs (only if objective, change search heuristic)
|
|
- quick_restart (kind of probing)
|
|
- quick_restart_no_lp (kind of probing with linearization_level:0)
|
|
- lb_tree_search (to improve lower bound, MIP like tree search)
|
|
- probing (continuous probing and shaving)
|
|
Also, note that some set of parameters will be ignored if they do not make
|
|
sense. For instance if there is no objective, pseudo_cost or reduced_cost
|
|
search will be ignored. Core based search will only work if the objective
|
|
has many terms. If there is no fixed strategy fixed will be ignored. And so
|
|
on.
|
|
The order is important, as only the first usable "num_workers -
|
|
min_num_lns_workers" subsolvers will be scheduled. You can see in the log
|
|
which one are selected for a given run. All the others will be LNS if there
|
|
is an objective, or randomized SAT search for pure satisfiability problems.
|
|
</pre>
|
|
|
|
<code>repeated string subsolvers = 207;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>index</code> - The index to set the value at.</dd>
|
|
<dd><code>value</code> - The subsolvers to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addSubsolvers(java.lang.String)">
|
|
<h3>addSubsolvers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addSubsolvers</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters. This field indicates the names of the parameters
|
|
that are used in multithread.
|
|
See cp_model_search.cc to see a list of the names and the default value (if
|
|
left empty) that looks like:
|
|
- default_lp (linearization_level:1)
|
|
- fixed (only if fixed search specified or scheduling)
|
|
- less_encoding (only if no objective)
|
|
- no_lp (linearization_level:0)
|
|
- max_lp (linearization_level:2)
|
|
- pseudo_costs (only if objective, change search heuristic)
|
|
- reduced_costs (only if objective, change search heuristic)
|
|
- quick_restart (kind of probing)
|
|
- quick_restart_no_lp (kind of probing with linearization_level:0)
|
|
- lb_tree_search (to improve lower bound, MIP like tree search)
|
|
- probing (continuous probing and shaving)
|
|
Also, note that some set of parameters will be ignored if they do not make
|
|
sense. For instance if there is no objective, pseudo_cost or reduced_cost
|
|
search will be ignored. Core based search will only work if the objective
|
|
has many terms. If there is no fixed strategy fixed will be ignored. And so
|
|
on.
|
|
The order is important, as only the first usable "num_workers -
|
|
min_num_lns_workers" subsolvers will be scheduled. You can see in the log
|
|
which one are selected for a given run. All the others will be LNS if there
|
|
is an objective, or randomized SAT search for pure satisfiability problems.
|
|
</pre>
|
|
|
|
<code>repeated string subsolvers = 207;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The subsolvers to add.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addAllSubsolvers(java.lang.Iterable)">
|
|
<h3>addAllSubsolvers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addAllSubsolvers</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>> values)</span></div>
|
|
<div class="block"><pre>
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters. This field indicates the names of the parameters
|
|
that are used in multithread.
|
|
See cp_model_search.cc to see a list of the names and the default value (if
|
|
left empty) that looks like:
|
|
- default_lp (linearization_level:1)
|
|
- fixed (only if fixed search specified or scheduling)
|
|
- less_encoding (only if no objective)
|
|
- no_lp (linearization_level:0)
|
|
- max_lp (linearization_level:2)
|
|
- pseudo_costs (only if objective, change search heuristic)
|
|
- reduced_costs (only if objective, change search heuristic)
|
|
- quick_restart (kind of probing)
|
|
- quick_restart_no_lp (kind of probing with linearization_level:0)
|
|
- lb_tree_search (to improve lower bound, MIP like tree search)
|
|
- probing (continuous probing and shaving)
|
|
Also, note that some set of parameters will be ignored if they do not make
|
|
sense. For instance if there is no objective, pseudo_cost or reduced_cost
|
|
search will be ignored. Core based search will only work if the objective
|
|
has many terms. If there is no fixed strategy fixed will be ignored. And so
|
|
on.
|
|
The order is important, as only the first usable "num_workers -
|
|
min_num_lns_workers" subsolvers will be scheduled. You can see in the log
|
|
which one are selected for a given run. All the others will be LNS if there
|
|
is an objective, or randomized SAT search for pure satisfiability problems.
|
|
</pre>
|
|
|
|
<code>repeated string subsolvers = 207;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>values</code> - The subsolvers to add.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearSubsolvers()">
|
|
<h3>clearSubsolvers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearSubsolvers</span>()</div>
|
|
<div class="block"><pre>
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters. This field indicates the names of the parameters
|
|
that are used in multithread.
|
|
See cp_model_search.cc to see a list of the names and the default value (if
|
|
left empty) that looks like:
|
|
- default_lp (linearization_level:1)
|
|
- fixed (only if fixed search specified or scheduling)
|
|
- less_encoding (only if no objective)
|
|
- no_lp (linearization_level:0)
|
|
- max_lp (linearization_level:2)
|
|
- pseudo_costs (only if objective, change search heuristic)
|
|
- reduced_costs (only if objective, change search heuristic)
|
|
- quick_restart (kind of probing)
|
|
- quick_restart_no_lp (kind of probing with linearization_level:0)
|
|
- lb_tree_search (to improve lower bound, MIP like tree search)
|
|
- probing (continuous probing and shaving)
|
|
Also, note that some set of parameters will be ignored if they do not make
|
|
sense. For instance if there is no objective, pseudo_cost or reduced_cost
|
|
search will be ignored. Core based search will only work if the objective
|
|
has many terms. If there is no fixed strategy fixed will be ignored. And so
|
|
on.
|
|
The order is important, as only the first usable "num_workers -
|
|
min_num_lns_workers" subsolvers will be scheduled. You can see in the log
|
|
which one are selected for a given run. All the others will be LNS if there
|
|
is an objective, or randomized SAT search for pure satisfiability problems.
|
|
</pre>
|
|
|
|
<code>repeated string subsolvers = 207;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addSubsolversBytes(com.google.protobuf.ByteString)">
|
|
<h3>addSubsolversBytes</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addSubsolversBytes</span><wbr><span class="parameters">(com.google.protobuf.ByteString value)</span></div>
|
|
<div class="block"><pre>
|
|
In multi-thread, the solver can be mainly seen as a portfolio of solvers
|
|
with different parameters. This field indicates the names of the parameters
|
|
that are used in multithread.
|
|
See cp_model_search.cc to see a list of the names and the default value (if
|
|
left empty) that looks like:
|
|
- default_lp (linearization_level:1)
|
|
- fixed (only if fixed search specified or scheduling)
|
|
- less_encoding (only if no objective)
|
|
- no_lp (linearization_level:0)
|
|
- max_lp (linearization_level:2)
|
|
- pseudo_costs (only if objective, change search heuristic)
|
|
- reduced_costs (only if objective, change search heuristic)
|
|
- quick_restart (kind of probing)
|
|
- quick_restart_no_lp (kind of probing with linearization_level:0)
|
|
- lb_tree_search (to improve lower bound, MIP like tree search)
|
|
- probing (continuous probing and shaving)
|
|
Also, note that some set of parameters will be ignored if they do not make
|
|
sense. For instance if there is no objective, pseudo_cost or reduced_cost
|
|
search will be ignored. Core based search will only work if the objective
|
|
has many terms. If there is no fixed strategy fixed will be ignored. And so
|
|
on.
|
|
The order is important, as only the first usable "num_workers -
|
|
min_num_lns_workers" subsolvers will be scheduled. You can see in the log
|
|
which one are selected for a given run. All the others will be LNS if there
|
|
is an objective, or randomized SAT search for pure satisfiability problems.
|
|
</pre>
|
|
|
|
<code>repeated string subsolvers = 207;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The bytes of the subsolvers to add.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getIgnoreSubsolversList()">
|
|
<h3>getIgnoreSubsolversList</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">com.google.protobuf.ProtocolStringList</span> <span class="element-name">getIgnoreSubsolversList</span>()</div>
|
|
<div class="block"><pre>
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.
|
|
</pre>
|
|
|
|
<code>repeated string ignore_subsolvers = 209;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getIgnoreSubsolversList()">getIgnoreSubsolversList</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>A list containing the ignoreSubsolvers.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getIgnoreSubsolversCount()">
|
|
<h3>getIgnoreSubsolversCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getIgnoreSubsolversCount</span>()</div>
|
|
<div class="block"><pre>
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.
|
|
</pre>
|
|
|
|
<code>repeated string ignore_subsolvers = 209;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getIgnoreSubsolversCount()">getIgnoreSubsolversCount</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The count of ignoreSubsolvers.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getIgnoreSubsolvers(int)">
|
|
<h3>getIgnoreSubsolvers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">getIgnoreSubsolvers</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.
|
|
</pre>
|
|
|
|
<code>repeated string ignore_subsolvers = 209;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getIgnoreSubsolvers(int)">getIgnoreSubsolvers</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>index</code> - The index of the element to return.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The ignoreSubsolvers at the given index.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getIgnoreSubsolversBytes(int)">
|
|
<h3>getIgnoreSubsolversBytes</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">com.google.protobuf.ByteString</span> <span class="element-name">getIgnoreSubsolversBytes</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.
|
|
</pre>
|
|
|
|
<code>repeated string ignore_subsolvers = 209;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getIgnoreSubsolversBytes(int)">getIgnoreSubsolversBytes</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>index</code> - The index of the value to return.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The bytes of the ignoreSubsolvers at the given index.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setIgnoreSubsolvers(int,java.lang.String)">
|
|
<h3>setIgnoreSubsolvers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setIgnoreSubsolvers</span><wbr><span class="parameters">(int index,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.
|
|
</pre>
|
|
|
|
<code>repeated string ignore_subsolvers = 209;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>index</code> - The index to set the value at.</dd>
|
|
<dd><code>value</code> - The ignoreSubsolvers to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addIgnoreSubsolvers(java.lang.String)">
|
|
<h3>addIgnoreSubsolvers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addIgnoreSubsolvers</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.
|
|
</pre>
|
|
|
|
<code>repeated string ignore_subsolvers = 209;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The ignoreSubsolvers to add.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addAllIgnoreSubsolvers(java.lang.Iterable)">
|
|
<h3>addAllIgnoreSubsolvers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addAllIgnoreSubsolvers</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>> values)</span></div>
|
|
<div class="block"><pre>
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.
|
|
</pre>
|
|
|
|
<code>repeated string ignore_subsolvers = 209;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>values</code> - The ignoreSubsolvers to add.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearIgnoreSubsolvers()">
|
|
<h3>clearIgnoreSubsolvers</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearIgnoreSubsolvers</span>()</div>
|
|
<div class="block"><pre>
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.
|
|
</pre>
|
|
|
|
<code>repeated string ignore_subsolvers = 209;</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addIgnoreSubsolversBytes(com.google.protobuf.ByteString)">
|
|
<h3>addIgnoreSubsolversBytes</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addIgnoreSubsolversBytes</span><wbr><span class="parameters">(com.google.protobuf.ByteString value)</span></div>
|
|
<div class="block"><pre>
|
|
Rather than fully specifying subsolvers, it is often convenient to just
|
|
remove the ones that are not useful on a given problem.
|
|
</pre>
|
|
|
|
<code>repeated string ignore_subsolvers = 209;</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The bytes of the ignoreSubsolvers to add.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSubsolverParamsList()">
|
|
<h3>getSubsolverParamsList</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a>></span> <span class="element-name">getSubsolverParamsList</span>()</div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getSubsolverParamsList()">getSubsolverParamsList</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSubsolverParamsCount()">
|
|
<h3>getSubsolverParamsCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getSubsolverParamsCount</span>()</div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getSubsolverParamsCount()">getSubsolverParamsCount</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSubsolverParams(int)">
|
|
<h3>getSubsolverParams</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a></span> <span class="element-name">getSubsolverParams</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getSubsolverParams(int)">getSubsolverParams</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSubsolverParams(int,com.google.ortools.sat.SatParameters)">
|
|
<h3>setSubsolverParams</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setSubsolverParams</span><wbr><span class="parameters">(int index,
|
|
<a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSubsolverParams(int,com.google.ortools.sat.SatParameters.Builder)">
|
|
<h3>setSubsolverParams</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setSubsolverParams</span><wbr><span class="parameters">(int index,
|
|
<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a> builderForValue)</span></div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addSubsolverParams(com.google.ortools.sat.SatParameters)">
|
|
<h3>addSubsolverParams</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addSubsolverParams</span><wbr><span class="parameters">(<a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addSubsolverParams(int,com.google.ortools.sat.SatParameters)">
|
|
<h3>addSubsolverParams</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addSubsolverParams</span><wbr><span class="parameters">(int index,
|
|
<a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a> value)</span></div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addSubsolverParams(com.google.ortools.sat.SatParameters.Builder)">
|
|
<h3>addSubsolverParams</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addSubsolverParams</span><wbr><span class="parameters">(<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a> builderForValue)</span></div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addSubsolverParams(int,com.google.ortools.sat.SatParameters.Builder)">
|
|
<h3>addSubsolverParams</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addSubsolverParams</span><wbr><span class="parameters">(int index,
|
|
<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a> builderForValue)</span></div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addAllSubsolverParams(java.lang.Iterable)">
|
|
<h3>addAllSubsolverParams</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addAllSubsolverParams</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><? extends <a href="SatParameters.html" title="class in com.google.ortools.sat">SatParameters</a>> values)</span></div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearSubsolverParams()">
|
|
<h3>clearSubsolverParams</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearSubsolverParams</span>()</div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="removeSubsolverParams(int)">
|
|
<h3>removeSubsolverParams</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">removeSubsolverParams</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSubsolverParamsBuilder(int)">
|
|
<h3>getSubsolverParamsBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">getSubsolverParamsBuilder</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSubsolverParamsOrBuilder(int)">
|
|
<h3>getSubsolverParamsOrBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></span> <span class="element-name">getSubsolverParamsOrBuilder</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getSubsolverParamsOrBuilder(int)">getSubsolverParamsOrBuilder</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSubsolverParamsOrBuilderList()">
|
|
<h3>getSubsolverParamsOrBuilderList</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a>></span> <span class="element-name">getSubsolverParamsOrBuilderList</span>()</div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getSubsolverParamsOrBuilderList()">getSubsolverParamsOrBuilderList</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addSubsolverParamsBuilder()">
|
|
<h3>addSubsolverParamsBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addSubsolverParamsBuilder</span>()</div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addSubsolverParamsBuilder(int)">
|
|
<h3>addSubsolverParamsBuilder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">addSubsolverParamsBuilder</span><wbr><span class="parameters">(int index)</span></div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSubsolverParamsBuilderList()">
|
|
<h3>getSubsolverParamsBuilderList</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></span> <span class="element-name">getSubsolverParamsBuilderList</span>()</div>
|
|
<div class="block"><pre>
|
|
It is possible to specify additional subsolver configuration. These can be
|
|
referred by their params.name() in the fields above. Note that only the
|
|
specified field will "overwrite" the ones of the base parameter. It is also
|
|
possible to overwrite the default names above.
|
|
</pre>
|
|
|
|
<code>repeated .operations_research.sat.SatParameters subsolver_params = 210;</code></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasInterleaveSearch()">
|
|
<h3>hasInterleaveSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasInterleaveSearch</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool interleave_search = 136 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasInterleaveSearch()">hasInterleaveSearch</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the interleaveSearch field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getInterleaveSearch()">
|
|
<h3>getInterleaveSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getInterleaveSearch</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool interleave_search = 136 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getInterleaveSearch()">getInterleaveSearch</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The interleaveSearch.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setInterleaveSearch(boolean)">
|
|
<h3>setInterleaveSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setInterleaveSearch</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool interleave_search = 136 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The interleaveSearch to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearInterleaveSearch()">
|
|
<h3>clearInterleaveSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearInterleaveSearch</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool interleave_search = 136 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasInterleaveBatchSize()">
|
|
<h3>hasInterleaveBatchSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasInterleaveBatchSize</span>()</div>
|
|
<div class="block"><code>optional int32 interleave_batch_size = 134 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasInterleaveBatchSize()">hasInterleaveBatchSize</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the interleaveBatchSize field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getInterleaveBatchSize()">
|
|
<h3>getInterleaveBatchSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getInterleaveBatchSize</span>()</div>
|
|
<div class="block"><code>optional int32 interleave_batch_size = 134 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getInterleaveBatchSize()">getInterleaveBatchSize</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The interleaveBatchSize.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setInterleaveBatchSize(int)">
|
|
<h3>setInterleaveBatchSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setInterleaveBatchSize</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><code>optional int32 interleave_batch_size = 134 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The interleaveBatchSize to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearInterleaveBatchSize()">
|
|
<h3>clearInterleaveBatchSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearInterleaveBatchSize</span>()</div>
|
|
<div class="block"><code>optional int32 interleave_batch_size = 134 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasReduceMemoryUsageInInterleaveMode()">
|
|
<h3>hasReduceMemoryUsageInInterleaveMode</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasReduceMemoryUsageInInterleaveMode</span>()</div>
|
|
<div class="block"><pre>
|
|
Temporary parameter until the memory usage is more optimized. Note that
|
|
this completely ignore any of the subsolvers parameters above and does its
|
|
own things.
|
|
</pre>
|
|
|
|
<code>optional bool reduce_memory_usage_in_interleave_mode = 141 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasReduceMemoryUsageInInterleaveMode()">hasReduceMemoryUsageInInterleaveMode</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the reduceMemoryUsageInInterleaveMode field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getReduceMemoryUsageInInterleaveMode()">
|
|
<h3>getReduceMemoryUsageInInterleaveMode</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getReduceMemoryUsageInInterleaveMode</span>()</div>
|
|
<div class="block"><pre>
|
|
Temporary parameter until the memory usage is more optimized. Note that
|
|
this completely ignore any of the subsolvers parameters above and does its
|
|
own things.
|
|
</pre>
|
|
|
|
<code>optional bool reduce_memory_usage_in_interleave_mode = 141 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getReduceMemoryUsageInInterleaveMode()">getReduceMemoryUsageInInterleaveMode</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The reduceMemoryUsageInInterleaveMode.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setReduceMemoryUsageInInterleaveMode(boolean)">
|
|
<h3>setReduceMemoryUsageInInterleaveMode</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setReduceMemoryUsageInInterleaveMode</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Temporary parameter until the memory usage is more optimized. Note that
|
|
this completely ignore any of the subsolvers parameters above and does its
|
|
own things.
|
|
</pre>
|
|
|
|
<code>optional bool reduce_memory_usage_in_interleave_mode = 141 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The reduceMemoryUsageInInterleaveMode to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearReduceMemoryUsageInInterleaveMode()">
|
|
<h3>clearReduceMemoryUsageInInterleaveMode</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearReduceMemoryUsageInInterleaveMode</span>()</div>
|
|
<div class="block"><pre>
|
|
Temporary parameter until the memory usage is more optimized. Note that
|
|
this completely ignore any of the subsolvers parameters above and does its
|
|
own things.
|
|
</pre>
|
|
|
|
<code>optional bool reduce_memory_usage_in_interleave_mode = 141 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasShareObjectiveBounds()">
|
|
<h3>hasShareObjectiveBounds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasShareObjectiveBounds</span>()</div>
|
|
<div class="block"><pre>
|
|
Allows objective sharing between workers.
|
|
</pre>
|
|
|
|
<code>optional bool share_objective_bounds = 113 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasShareObjectiveBounds()">hasShareObjectiveBounds</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the shareObjectiveBounds field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getShareObjectiveBounds()">
|
|
<h3>getShareObjectiveBounds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getShareObjectiveBounds</span>()</div>
|
|
<div class="block"><pre>
|
|
Allows objective sharing between workers.
|
|
</pre>
|
|
|
|
<code>optional bool share_objective_bounds = 113 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getShareObjectiveBounds()">getShareObjectiveBounds</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The shareObjectiveBounds.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setShareObjectiveBounds(boolean)">
|
|
<h3>setShareObjectiveBounds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setShareObjectiveBounds</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Allows objective sharing between workers.
|
|
</pre>
|
|
|
|
<code>optional bool share_objective_bounds = 113 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The shareObjectiveBounds to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearShareObjectiveBounds()">
|
|
<h3>clearShareObjectiveBounds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearShareObjectiveBounds</span>()</div>
|
|
<div class="block"><pre>
|
|
Allows objective sharing between workers.
|
|
</pre>
|
|
|
|
<code>optional bool share_objective_bounds = 113 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasShareLevelZeroBounds()">
|
|
<h3>hasShareLevelZeroBounds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasShareLevelZeroBounds</span>()</div>
|
|
<div class="block"><pre>
|
|
Allows sharing of the bounds of modified variables at level 0.
|
|
</pre>
|
|
|
|
<code>optional bool share_level_zero_bounds = 114 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasShareLevelZeroBounds()">hasShareLevelZeroBounds</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the shareLevelZeroBounds field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getShareLevelZeroBounds()">
|
|
<h3>getShareLevelZeroBounds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getShareLevelZeroBounds</span>()</div>
|
|
<div class="block"><pre>
|
|
Allows sharing of the bounds of modified variables at level 0.
|
|
</pre>
|
|
|
|
<code>optional bool share_level_zero_bounds = 114 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getShareLevelZeroBounds()">getShareLevelZeroBounds</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The shareLevelZeroBounds.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setShareLevelZeroBounds(boolean)">
|
|
<h3>setShareLevelZeroBounds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setShareLevelZeroBounds</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Allows sharing of the bounds of modified variables at level 0.
|
|
</pre>
|
|
|
|
<code>optional bool share_level_zero_bounds = 114 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The shareLevelZeroBounds to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearShareLevelZeroBounds()">
|
|
<h3>clearShareLevelZeroBounds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearShareLevelZeroBounds</span>()</div>
|
|
<div class="block"><pre>
|
|
Allows sharing of the bounds of modified variables at level 0.
|
|
</pre>
|
|
|
|
<code>optional bool share_level_zero_bounds = 114 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasShareBinaryClauses()">
|
|
<h3>hasShareBinaryClauses</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasShareBinaryClauses</span>()</div>
|
|
<div class="block"><pre>
|
|
Allows sharing of new learned binary clause between workers.
|
|
</pre>
|
|
|
|
<code>optional bool share_binary_clauses = 203 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasShareBinaryClauses()">hasShareBinaryClauses</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the shareBinaryClauses field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getShareBinaryClauses()">
|
|
<h3>getShareBinaryClauses</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getShareBinaryClauses</span>()</div>
|
|
<div class="block"><pre>
|
|
Allows sharing of new learned binary clause between workers.
|
|
</pre>
|
|
|
|
<code>optional bool share_binary_clauses = 203 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getShareBinaryClauses()">getShareBinaryClauses</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The shareBinaryClauses.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setShareBinaryClauses(boolean)">
|
|
<h3>setShareBinaryClauses</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setShareBinaryClauses</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Allows sharing of new learned binary clause between workers.
|
|
</pre>
|
|
|
|
<code>optional bool share_binary_clauses = 203 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The shareBinaryClauses to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearShareBinaryClauses()">
|
|
<h3>clearShareBinaryClauses</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearShareBinaryClauses</span>()</div>
|
|
<div class="block"><pre>
|
|
Allows sharing of new learned binary clause between workers.
|
|
</pre>
|
|
|
|
<code>optional bool share_binary_clauses = 203 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasDebugPostsolveWithFullSolver()">
|
|
<h3>hasDebugPostsolveWithFullSolver</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasDebugPostsolveWithFullSolver</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool debug_postsolve_with_full_solver = 162 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasDebugPostsolveWithFullSolver()">hasDebugPostsolveWithFullSolver</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the debugPostsolveWithFullSolver field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getDebugPostsolveWithFullSolver()">
|
|
<h3>getDebugPostsolveWithFullSolver</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getDebugPostsolveWithFullSolver</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool debug_postsolve_with_full_solver = 162 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getDebugPostsolveWithFullSolver()">getDebugPostsolveWithFullSolver</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The debugPostsolveWithFullSolver.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setDebugPostsolveWithFullSolver(boolean)">
|
|
<h3>setDebugPostsolveWithFullSolver</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setDebugPostsolveWithFullSolver</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool debug_postsolve_with_full_solver = 162 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The debugPostsolveWithFullSolver to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearDebugPostsolveWithFullSolver()">
|
|
<h3>clearDebugPostsolveWithFullSolver</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearDebugPostsolveWithFullSolver</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool debug_postsolve_with_full_solver = 162 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasDebugMaxNumPresolveOperations()">
|
|
<h3>hasDebugMaxNumPresolveOperations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasDebugMaxNumPresolveOperations</span>()</div>
|
|
<div class="block"><pre>
|
|
If positive, try to stop just after that many presolve rules have been
|
|
applied. This is mainly useful for debugging presolve.
|
|
</pre>
|
|
|
|
<code>optional int32 debug_max_num_presolve_operations = 151 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasDebugMaxNumPresolveOperations()">hasDebugMaxNumPresolveOperations</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the debugMaxNumPresolveOperations field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getDebugMaxNumPresolveOperations()">
|
|
<h3>getDebugMaxNumPresolveOperations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getDebugMaxNumPresolveOperations</span>()</div>
|
|
<div class="block"><pre>
|
|
If positive, try to stop just after that many presolve rules have been
|
|
applied. This is mainly useful for debugging presolve.
|
|
</pre>
|
|
|
|
<code>optional int32 debug_max_num_presolve_operations = 151 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getDebugMaxNumPresolveOperations()">getDebugMaxNumPresolveOperations</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The debugMaxNumPresolveOperations.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setDebugMaxNumPresolveOperations(int)">
|
|
<h3>setDebugMaxNumPresolveOperations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setDebugMaxNumPresolveOperations</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
If positive, try to stop just after that many presolve rules have been
|
|
applied. This is mainly useful for debugging presolve.
|
|
</pre>
|
|
|
|
<code>optional int32 debug_max_num_presolve_operations = 151 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The debugMaxNumPresolveOperations to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearDebugMaxNumPresolveOperations()">
|
|
<h3>clearDebugMaxNumPresolveOperations</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearDebugMaxNumPresolveOperations</span>()</div>
|
|
<div class="block"><pre>
|
|
If positive, try to stop just after that many presolve rules have been
|
|
applied. This is mainly useful for debugging presolve.
|
|
</pre>
|
|
|
|
<code>optional int32 debug_max_num_presolve_operations = 151 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasDebugCrashOnBadHint()">
|
|
<h3>hasDebugCrashOnBadHint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasDebugCrashOnBadHint</span>()</div>
|
|
<div class="block"><pre>
|
|
Crash if we do not manage to complete the hint into a full solution.
|
|
</pre>
|
|
|
|
<code>optional bool debug_crash_on_bad_hint = 195 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasDebugCrashOnBadHint()">hasDebugCrashOnBadHint</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the debugCrashOnBadHint field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getDebugCrashOnBadHint()">
|
|
<h3>getDebugCrashOnBadHint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getDebugCrashOnBadHint</span>()</div>
|
|
<div class="block"><pre>
|
|
Crash if we do not manage to complete the hint into a full solution.
|
|
</pre>
|
|
|
|
<code>optional bool debug_crash_on_bad_hint = 195 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getDebugCrashOnBadHint()">getDebugCrashOnBadHint</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The debugCrashOnBadHint.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setDebugCrashOnBadHint(boolean)">
|
|
<h3>setDebugCrashOnBadHint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setDebugCrashOnBadHint</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Crash if we do not manage to complete the hint into a full solution.
|
|
</pre>
|
|
|
|
<code>optional bool debug_crash_on_bad_hint = 195 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The debugCrashOnBadHint to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearDebugCrashOnBadHint()">
|
|
<h3>clearDebugCrashOnBadHint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearDebugCrashOnBadHint</span>()</div>
|
|
<div class="block"><pre>
|
|
Crash if we do not manage to complete the hint into a full solution.
|
|
</pre>
|
|
|
|
<code>optional bool debug_crash_on_bad_hint = 195 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseOptimizationHints()">
|
|
<h3>hasUseOptimizationHints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseOptimizationHints</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_optimization_hints = 35 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseOptimizationHints()">hasUseOptimizationHints</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useOptimizationHints field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseOptimizationHints()">
|
|
<h3>getUseOptimizationHints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseOptimizationHints</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_optimization_hints = 35 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseOptimizationHints()">getUseOptimizationHints</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useOptimizationHints.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseOptimizationHints(boolean)">
|
|
<h3>setUseOptimizationHints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseOptimizationHints</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_optimization_hints = 35 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useOptimizationHints to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseOptimizationHints()">
|
|
<h3>clearUseOptimizationHints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseOptimizationHints</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_optimization_hints = 35 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMinimizeCore()">
|
|
<h3>hasMinimizeCore</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMinimizeCore</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we use a simple heuristic to try to minimize an UNSAT core.
|
|
</pre>
|
|
|
|
<code>optional bool minimize_core = 50 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMinimizeCore()">hasMinimizeCore</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the minimizeCore field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMinimizeCore()">
|
|
<h3>getMinimizeCore</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getMinimizeCore</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we use a simple heuristic to try to minimize an UNSAT core.
|
|
</pre>
|
|
|
|
<code>optional bool minimize_core = 50 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMinimizeCore()">getMinimizeCore</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The minimizeCore.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMinimizeCore(boolean)">
|
|
<h3>setMinimizeCore</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMinimizeCore</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Whether we use a simple heuristic to try to minimize an UNSAT core.
|
|
</pre>
|
|
|
|
<code>optional bool minimize_core = 50 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The minimizeCore to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMinimizeCore()">
|
|
<h3>clearMinimizeCore</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMinimizeCore</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we use a simple heuristic to try to minimize an UNSAT core.
|
|
</pre>
|
|
|
|
<code>optional bool minimize_core = 50 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasFindMultipleCores()">
|
|
<h3>hasFindMultipleCores</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasFindMultipleCores</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we try to find more independent cores for a given set of
|
|
assumptions in the core based max-SAT algorithms.
|
|
</pre>
|
|
|
|
<code>optional bool find_multiple_cores = 84 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasFindMultipleCores()">hasFindMultipleCores</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the findMultipleCores field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getFindMultipleCores()">
|
|
<h3>getFindMultipleCores</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getFindMultipleCores</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we try to find more independent cores for a given set of
|
|
assumptions in the core based max-SAT algorithms.
|
|
</pre>
|
|
|
|
<code>optional bool find_multiple_cores = 84 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getFindMultipleCores()">getFindMultipleCores</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The findMultipleCores.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setFindMultipleCores(boolean)">
|
|
<h3>setFindMultipleCores</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setFindMultipleCores</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Whether we try to find more independent cores for a given set of
|
|
assumptions in the core based max-SAT algorithms.
|
|
</pre>
|
|
|
|
<code>optional bool find_multiple_cores = 84 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The findMultipleCores to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearFindMultipleCores()">
|
|
<h3>clearFindMultipleCores</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearFindMultipleCores</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we try to find more independent cores for a given set of
|
|
assumptions in the core based max-SAT algorithms.
|
|
</pre>
|
|
|
|
<code>optional bool find_multiple_cores = 84 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasCoverOptimization()">
|
|
<h3>hasCoverOptimization</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasCoverOptimization</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool cover_optimization = 89 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasCoverOptimization()">hasCoverOptimization</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the coverOptimization field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getCoverOptimization()">
|
|
<h3>getCoverOptimization</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getCoverOptimization</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool cover_optimization = 89 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getCoverOptimization()">getCoverOptimization</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The coverOptimization.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setCoverOptimization(boolean)">
|
|
<h3>setCoverOptimization</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setCoverOptimization</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool cover_optimization = 89 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The coverOptimization to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearCoverOptimization()">
|
|
<h3>clearCoverOptimization</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearCoverOptimization</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool cover_optimization = 89 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxSatAssumptionOrder()">
|
|
<h3>hasMaxSatAssumptionOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxSatAssumptionOrder</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxSatAssumptionOrder()">hasMaxSatAssumptionOrder</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxSatAssumptionOrder field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxSatAssumptionOrder()">
|
|
<h3>getMaxSatAssumptionOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.MaxSatAssumptionOrder.html" title="enum in com.google.ortools.sat">SatParameters.MaxSatAssumptionOrder</a></span> <span class="element-name">getMaxSatAssumptionOrder</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxSatAssumptionOrder()">getMaxSatAssumptionOrder</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxSatAssumptionOrder.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxSatAssumptionOrder(com.google.ortools.sat.SatParameters.MaxSatAssumptionOrder)">
|
|
<h3>setMaxSatAssumptionOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxSatAssumptionOrder</span><wbr><span class="parameters">(<a href="SatParameters.MaxSatAssumptionOrder.html" title="enum in com.google.ortools.sat">SatParameters.MaxSatAssumptionOrder</a> value)</span></div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxSatAssumptionOrder to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxSatAssumptionOrder()">
|
|
<h3>clearMaxSatAssumptionOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxSatAssumptionOrder</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatAssumptionOrder max_sat_assumption_order = 51 [default = DEFAULT_ASSUMPTION_ORDER];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxSatReverseAssumptionOrder()">
|
|
<h3>hasMaxSatReverseAssumptionOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxSatReverseAssumptionOrder</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, adds the assumption in the reverse order of the one defined by
|
|
max_sat_assumption_order.
|
|
</pre>
|
|
|
|
<code>optional bool max_sat_reverse_assumption_order = 52 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxSatReverseAssumptionOrder()">hasMaxSatReverseAssumptionOrder</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxSatReverseAssumptionOrder field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxSatReverseAssumptionOrder()">
|
|
<h3>getMaxSatReverseAssumptionOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getMaxSatReverseAssumptionOrder</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, adds the assumption in the reverse order of the one defined by
|
|
max_sat_assumption_order.
|
|
</pre>
|
|
|
|
<code>optional bool max_sat_reverse_assumption_order = 52 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxSatReverseAssumptionOrder()">getMaxSatReverseAssumptionOrder</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxSatReverseAssumptionOrder.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxSatReverseAssumptionOrder(boolean)">
|
|
<h3>setMaxSatReverseAssumptionOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxSatReverseAssumptionOrder</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
If true, adds the assumption in the reverse order of the one defined by
|
|
max_sat_assumption_order.
|
|
</pre>
|
|
|
|
<code>optional bool max_sat_reverse_assumption_order = 52 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxSatReverseAssumptionOrder to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxSatReverseAssumptionOrder()">
|
|
<h3>clearMaxSatReverseAssumptionOrder</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxSatReverseAssumptionOrder</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, adds the assumption in the reverse order of the one defined by
|
|
max_sat_assumption_order.
|
|
</pre>
|
|
|
|
<code>optional bool max_sat_reverse_assumption_order = 52 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxSatStratification()">
|
|
<h3>hasMaxSatStratification</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxSatStratification</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxSatStratification()">hasMaxSatStratification</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxSatStratification field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxSatStratification()">
|
|
<h3>getMaxSatStratification</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.MaxSatStratificationAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.MaxSatStratificationAlgorithm</a></span> <span class="element-name">getMaxSatStratification</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxSatStratification()">getMaxSatStratification</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxSatStratification.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxSatStratification(com.google.ortools.sat.SatParameters.MaxSatStratificationAlgorithm)">
|
|
<h3>setMaxSatStratification</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxSatStratification</span><wbr><span class="parameters">(<a href="SatParameters.MaxSatStratificationAlgorithm.html" title="enum in com.google.ortools.sat">SatParameters.MaxSatStratificationAlgorithm</a> value)</span></div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxSatStratification to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxSatStratification()">
|
|
<h3>clearMaxSatStratification</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxSatStratification</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.MaxSatStratificationAlgorithm max_sat_stratification = 53 [default = STRATIFICATION_DESCENT];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUsePrecedencesInDisjunctiveConstraint()">
|
|
<h3>hasUsePrecedencesInDisjunctiveConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUsePrecedencesInDisjunctiveConstraint</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_precedences_in_disjunctive_constraint = 74 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUsePrecedencesInDisjunctiveConstraint()">hasUsePrecedencesInDisjunctiveConstraint</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the usePrecedencesInDisjunctiveConstraint field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUsePrecedencesInDisjunctiveConstraint()">
|
|
<h3>getUsePrecedencesInDisjunctiveConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUsePrecedencesInDisjunctiveConstraint</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_precedences_in_disjunctive_constraint = 74 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUsePrecedencesInDisjunctiveConstraint()">getUsePrecedencesInDisjunctiveConstraint</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The usePrecedencesInDisjunctiveConstraint.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUsePrecedencesInDisjunctiveConstraint(boolean)">
|
|
<h3>setUsePrecedencesInDisjunctiveConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUsePrecedencesInDisjunctiveConstraint</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_precedences_in_disjunctive_constraint = 74 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The usePrecedencesInDisjunctiveConstraint to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUsePrecedencesInDisjunctiveConstraint()">
|
|
<h3>clearUsePrecedencesInDisjunctiveConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUsePrecedencesInDisjunctiveConstraint</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_precedences_in_disjunctive_constraint = 74 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseOverloadCheckerInCumulativeConstraint()">
|
|
<h3>hasUseOverloadCheckerInCumulativeConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseOverloadCheckerInCumulativeConstraint</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_overload_checker_in_cumulative_constraint = 78 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseOverloadCheckerInCumulativeConstraint()">hasUseOverloadCheckerInCumulativeConstraint</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useOverloadCheckerInCumulativeConstraint field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseOverloadCheckerInCumulativeConstraint()">
|
|
<h3>getUseOverloadCheckerInCumulativeConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseOverloadCheckerInCumulativeConstraint</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_overload_checker_in_cumulative_constraint = 78 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseOverloadCheckerInCumulativeConstraint()">getUseOverloadCheckerInCumulativeConstraint</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useOverloadCheckerInCumulativeConstraint.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseOverloadCheckerInCumulativeConstraint(boolean)">
|
|
<h3>setUseOverloadCheckerInCumulativeConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseOverloadCheckerInCumulativeConstraint</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_overload_checker_in_cumulative_constraint = 78 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useOverloadCheckerInCumulativeConstraint to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseOverloadCheckerInCumulativeConstraint()">
|
|
<h3>clearUseOverloadCheckerInCumulativeConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseOverloadCheckerInCumulativeConstraint</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_overload_checker_in_cumulative_constraint = 78 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseTimetableEdgeFindingInCumulativeConstraint()">
|
|
<h3>hasUseTimetableEdgeFindingInCumulativeConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseTimetableEdgeFindingInCumulativeConstraint</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_timetable_edge_finding_in_cumulative_constraint = 79 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseTimetableEdgeFindingInCumulativeConstraint()">hasUseTimetableEdgeFindingInCumulativeConstraint</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useTimetableEdgeFindingInCumulativeConstraint field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseTimetableEdgeFindingInCumulativeConstraint()">
|
|
<h3>getUseTimetableEdgeFindingInCumulativeConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseTimetableEdgeFindingInCumulativeConstraint</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_timetable_edge_finding_in_cumulative_constraint = 79 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseTimetableEdgeFindingInCumulativeConstraint()">getUseTimetableEdgeFindingInCumulativeConstraint</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useTimetableEdgeFindingInCumulativeConstraint.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseTimetableEdgeFindingInCumulativeConstraint(boolean)">
|
|
<h3>setUseTimetableEdgeFindingInCumulativeConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseTimetableEdgeFindingInCumulativeConstraint</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_timetable_edge_finding_in_cumulative_constraint = 79 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useTimetableEdgeFindingInCumulativeConstraint to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseTimetableEdgeFindingInCumulativeConstraint()">
|
|
<h3>clearUseTimetableEdgeFindingInCumulativeConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseTimetableEdgeFindingInCumulativeConstraint</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_timetable_edge_finding_in_cumulative_constraint = 79 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseDisjunctiveConstraintInCumulativeConstraint()">
|
|
<h3>hasUseDisjunctiveConstraintInCumulativeConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseDisjunctiveConstraintInCumulativeConstraint</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_disjunctive_constraint_in_cumulative_constraint = 80 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseDisjunctiveConstraintInCumulativeConstraint()">hasUseDisjunctiveConstraintInCumulativeConstraint</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useDisjunctiveConstraintInCumulativeConstraint field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseDisjunctiveConstraintInCumulativeConstraint()">
|
|
<h3>getUseDisjunctiveConstraintInCumulativeConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseDisjunctiveConstraintInCumulativeConstraint</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_disjunctive_constraint_in_cumulative_constraint = 80 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseDisjunctiveConstraintInCumulativeConstraint()">getUseDisjunctiveConstraintInCumulativeConstraint</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useDisjunctiveConstraintInCumulativeConstraint.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseDisjunctiveConstraintInCumulativeConstraint(boolean)">
|
|
<h3>setUseDisjunctiveConstraintInCumulativeConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseDisjunctiveConstraintInCumulativeConstraint</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_disjunctive_constraint_in_cumulative_constraint = 80 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useDisjunctiveConstraintInCumulativeConstraint to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseDisjunctiveConstraintInCumulativeConstraint()">
|
|
<h3>clearUseDisjunctiveConstraintInCumulativeConstraint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseDisjunctiveConstraintInCumulativeConstraint</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_disjunctive_constraint_in_cumulative_constraint = 80 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseCumulativeInNoOverlap2D()">
|
|
<h3>hasUseCumulativeInNoOverlap2D</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseCumulativeInNoOverlap2D</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_cumulative_in_no_overlap_2d = 200 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseCumulativeInNoOverlap2D()">hasUseCumulativeInNoOverlap2D</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useCumulativeInNoOverlap2d field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseCumulativeInNoOverlap2D()">
|
|
<h3>getUseCumulativeInNoOverlap2D</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseCumulativeInNoOverlap2D</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_cumulative_in_no_overlap_2d = 200 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseCumulativeInNoOverlap2D()">getUseCumulativeInNoOverlap2D</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useCumulativeInNoOverlap2d.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseCumulativeInNoOverlap2D(boolean)">
|
|
<h3>setUseCumulativeInNoOverlap2D</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseCumulativeInNoOverlap2D</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_cumulative_in_no_overlap_2d = 200 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useCumulativeInNoOverlap2d to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseCumulativeInNoOverlap2D()">
|
|
<h3>clearUseCumulativeInNoOverlap2D</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseCumulativeInNoOverlap2D</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_cumulative_in_no_overlap_2d = 200 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasLinearizationLevel()">
|
|
<h3>hasLinearizationLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasLinearizationLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 linearization_level = 90 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasLinearizationLevel()">hasLinearizationLevel</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the linearizationLevel field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getLinearizationLevel()">
|
|
<h3>getLinearizationLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getLinearizationLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 linearization_level = 90 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getLinearizationLevel()">getLinearizationLevel</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The linearizationLevel.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setLinearizationLevel(int)">
|
|
<h3>setLinearizationLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setLinearizationLevel</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 linearization_level = 90 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The linearizationLevel to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearLinearizationLevel()">
|
|
<h3>clearLinearizationLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearLinearizationLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 linearization_level = 90 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasBooleanEncodingLevel()">
|
|
<h3>hasBooleanEncodingLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasBooleanEncodingLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
A non-negative level indicating how much we should try to fully encode
|
|
Integer variables as Boolean.
|
|
</pre>
|
|
|
|
<code>optional int32 boolean_encoding_level = 107 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasBooleanEncodingLevel()">hasBooleanEncodingLevel</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the booleanEncodingLevel field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getBooleanEncodingLevel()">
|
|
<h3>getBooleanEncodingLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getBooleanEncodingLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
A non-negative level indicating how much we should try to fully encode
|
|
Integer variables as Boolean.
|
|
</pre>
|
|
|
|
<code>optional int32 boolean_encoding_level = 107 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getBooleanEncodingLevel()">getBooleanEncodingLevel</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The booleanEncodingLevel.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setBooleanEncodingLevel(int)">
|
|
<h3>setBooleanEncodingLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setBooleanEncodingLevel</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
A non-negative level indicating how much we should try to fully encode
|
|
Integer variables as Boolean.
|
|
</pre>
|
|
|
|
<code>optional int32 boolean_encoding_level = 107 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The booleanEncodingLevel to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearBooleanEncodingLevel()">
|
|
<h3>clearBooleanEncodingLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearBooleanEncodingLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
A non-negative level indicating how much we should try to fully encode
|
|
Integer variables as Boolean.
|
|
</pre>
|
|
|
|
<code>optional int32 boolean_encoding_level = 107 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxDomainSizeWhenEncodingEqNeqConstraints()">
|
|
<h3>hasMaxDomainSizeWhenEncodingEqNeqConstraints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxDomainSizeWhenEncodingEqNeqConstraints</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_domain_size_when_encoding_eq_neq_constraints = 191 [default = 16];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxDomainSizeWhenEncodingEqNeqConstraints()">hasMaxDomainSizeWhenEncodingEqNeqConstraints</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxDomainSizeWhenEncodingEqNeqConstraints field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxDomainSizeWhenEncodingEqNeqConstraints()">
|
|
<h3>getMaxDomainSizeWhenEncodingEqNeqConstraints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getMaxDomainSizeWhenEncodingEqNeqConstraints</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_domain_size_when_encoding_eq_neq_constraints = 191 [default = 16];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxDomainSizeWhenEncodingEqNeqConstraints()">getMaxDomainSizeWhenEncodingEqNeqConstraints</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxDomainSizeWhenEncodingEqNeqConstraints.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxDomainSizeWhenEncodingEqNeqConstraints(int)">
|
|
<h3>setMaxDomainSizeWhenEncodingEqNeqConstraints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxDomainSizeWhenEncodingEqNeqConstraints</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_domain_size_when_encoding_eq_neq_constraints = 191 [default = 16];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxDomainSizeWhenEncodingEqNeqConstraints to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxDomainSizeWhenEncodingEqNeqConstraints()">
|
|
<h3>clearMaxDomainSizeWhenEncodingEqNeqConstraints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxDomainSizeWhenEncodingEqNeqConstraints</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_domain_size_when_encoding_eq_neq_constraints = 191 [default = 16];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxNumCuts()">
|
|
<h3>hasMaxNumCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxNumCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_num_cuts = 91 [default = 10000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxNumCuts()">hasMaxNumCuts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxNumCuts field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxNumCuts()">
|
|
<h3>getMaxNumCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getMaxNumCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_num_cuts = 91 [default = 10000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxNumCuts()">getMaxNumCuts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxNumCuts.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxNumCuts(int)">
|
|
<h3>setMaxNumCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxNumCuts</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_num_cuts = 91 [default = 10000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxNumCuts to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxNumCuts()">
|
|
<h3>clearMaxNumCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxNumCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_num_cuts = 91 [default = 10000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasCutLevel()">
|
|
<h3>hasCutLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasCutLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 cut_level = 196 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasCutLevel()">hasCutLevel</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the cutLevel field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getCutLevel()">
|
|
<h3>getCutLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getCutLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 cut_level = 196 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getCutLevel()">getCutLevel</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The cutLevel.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setCutLevel(int)">
|
|
<h3>setCutLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setCutLevel</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 cut_level = 196 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The cutLevel to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearCutLevel()">
|
|
<h3>clearCutLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearCutLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 cut_level = 196 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasOnlyAddCutsAtLevelZero()">
|
|
<h3>hasOnlyAddCutsAtLevelZero</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasOnlyAddCutsAtLevelZero</span>()</div>
|
|
<div class="block"><pre>
|
|
For the cut that can be generated at any level, this control if we only
|
|
try to generate them at the root node.
|
|
</pre>
|
|
|
|
<code>optional bool only_add_cuts_at_level_zero = 92 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasOnlyAddCutsAtLevelZero()">hasOnlyAddCutsAtLevelZero</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the onlyAddCutsAtLevelZero field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getOnlyAddCutsAtLevelZero()">
|
|
<h3>getOnlyAddCutsAtLevelZero</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getOnlyAddCutsAtLevelZero</span>()</div>
|
|
<div class="block"><pre>
|
|
For the cut that can be generated at any level, this control if we only
|
|
try to generate them at the root node.
|
|
</pre>
|
|
|
|
<code>optional bool only_add_cuts_at_level_zero = 92 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getOnlyAddCutsAtLevelZero()">getOnlyAddCutsAtLevelZero</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The onlyAddCutsAtLevelZero.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setOnlyAddCutsAtLevelZero(boolean)">
|
|
<h3>setOnlyAddCutsAtLevelZero</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setOnlyAddCutsAtLevelZero</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
For the cut that can be generated at any level, this control if we only
|
|
try to generate them at the root node.
|
|
</pre>
|
|
|
|
<code>optional bool only_add_cuts_at_level_zero = 92 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The onlyAddCutsAtLevelZero to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearOnlyAddCutsAtLevelZero()">
|
|
<h3>clearOnlyAddCutsAtLevelZero</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearOnlyAddCutsAtLevelZero</span>()</div>
|
|
<div class="block"><pre>
|
|
For the cut that can be generated at any level, this control if we only
|
|
try to generate them at the root node.
|
|
</pre>
|
|
|
|
<code>optional bool only_add_cuts_at_level_zero = 92 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasAddObjectiveCut()">
|
|
<h3>hasAddObjectiveCut</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasAddObjectiveCut</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool add_objective_cut = 197 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasAddObjectiveCut()">hasAddObjectiveCut</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the addObjectiveCut field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAddObjectiveCut()">
|
|
<h3>getAddObjectiveCut</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getAddObjectiveCut</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool add_objective_cut = 197 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getAddObjectiveCut()">getAddObjectiveCut</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The addObjectiveCut.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setAddObjectiveCut(boolean)">
|
|
<h3>setAddObjectiveCut</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setAddObjectiveCut</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool add_objective_cut = 197 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The addObjectiveCut to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearAddObjectiveCut()">
|
|
<h3>clearAddObjectiveCut</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearAddObjectiveCut</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool add_objective_cut = 197 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasAddCgCuts()">
|
|
<h3>hasAddCgCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasAddCgCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we generate and add Chvatal-Gomory cuts to the LP at root node.
|
|
Note that for now, this is not heavily tuned.
|
|
</pre>
|
|
|
|
<code>optional bool add_cg_cuts = 117 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasAddCgCuts()">hasAddCgCuts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the addCgCuts field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAddCgCuts()">
|
|
<h3>getAddCgCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getAddCgCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we generate and add Chvatal-Gomory cuts to the LP at root node.
|
|
Note that for now, this is not heavily tuned.
|
|
</pre>
|
|
|
|
<code>optional bool add_cg_cuts = 117 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getAddCgCuts()">getAddCgCuts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The addCgCuts.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setAddCgCuts(boolean)">
|
|
<h3>setAddCgCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setAddCgCuts</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Whether we generate and add Chvatal-Gomory cuts to the LP at root node.
|
|
Note that for now, this is not heavily tuned.
|
|
</pre>
|
|
|
|
<code>optional bool add_cg_cuts = 117 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The addCgCuts to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearAddCgCuts()">
|
|
<h3>clearAddCgCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearAddCgCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we generate and add Chvatal-Gomory cuts to the LP at root node.
|
|
Note that for now, this is not heavily tuned.
|
|
</pre>
|
|
|
|
<code>optional bool add_cg_cuts = 117 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasAddMirCuts()">
|
|
<h3>hasAddMirCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasAddMirCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we generate MIR cuts at root node.
|
|
Note that for now, this is not heavily tuned.
|
|
</pre>
|
|
|
|
<code>optional bool add_mir_cuts = 120 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasAddMirCuts()">hasAddMirCuts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the addMirCuts field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAddMirCuts()">
|
|
<h3>getAddMirCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getAddMirCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we generate MIR cuts at root node.
|
|
Note that for now, this is not heavily tuned.
|
|
</pre>
|
|
|
|
<code>optional bool add_mir_cuts = 120 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getAddMirCuts()">getAddMirCuts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The addMirCuts.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setAddMirCuts(boolean)">
|
|
<h3>setAddMirCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setAddMirCuts</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Whether we generate MIR cuts at root node.
|
|
Note that for now, this is not heavily tuned.
|
|
</pre>
|
|
|
|
<code>optional bool add_mir_cuts = 120 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The addMirCuts to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearAddMirCuts()">
|
|
<h3>clearAddMirCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearAddMirCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we generate MIR cuts at root node.
|
|
Note that for now, this is not heavily tuned.
|
|
</pre>
|
|
|
|
<code>optional bool add_mir_cuts = 120 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasAddZeroHalfCuts()">
|
|
<h3>hasAddZeroHalfCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasAddZeroHalfCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we generate Zero-Half cuts at root node.
|
|
Note that for now, this is not heavily tuned.
|
|
</pre>
|
|
|
|
<code>optional bool add_zero_half_cuts = 169 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasAddZeroHalfCuts()">hasAddZeroHalfCuts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the addZeroHalfCuts field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAddZeroHalfCuts()">
|
|
<h3>getAddZeroHalfCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getAddZeroHalfCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we generate Zero-Half cuts at root node.
|
|
Note that for now, this is not heavily tuned.
|
|
</pre>
|
|
|
|
<code>optional bool add_zero_half_cuts = 169 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getAddZeroHalfCuts()">getAddZeroHalfCuts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The addZeroHalfCuts.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setAddZeroHalfCuts(boolean)">
|
|
<h3>setAddZeroHalfCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setAddZeroHalfCuts</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Whether we generate Zero-Half cuts at root node.
|
|
Note that for now, this is not heavily tuned.
|
|
</pre>
|
|
|
|
<code>optional bool add_zero_half_cuts = 169 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The addZeroHalfCuts to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearAddZeroHalfCuts()">
|
|
<h3>clearAddZeroHalfCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearAddZeroHalfCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
Whether we generate Zero-Half cuts at root node.
|
|
Note that for now, this is not heavily tuned.
|
|
</pre>
|
|
|
|
<code>optional bool add_zero_half_cuts = 169 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasAddCliqueCuts()">
|
|
<h3>hasAddCliqueCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasAddCliqueCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool add_clique_cuts = 172 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasAddCliqueCuts()">hasAddCliqueCuts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the addCliqueCuts field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAddCliqueCuts()">
|
|
<h3>getAddCliqueCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getAddCliqueCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool add_clique_cuts = 172 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getAddCliqueCuts()">getAddCliqueCuts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The addCliqueCuts.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setAddCliqueCuts(boolean)">
|
|
<h3>setAddCliqueCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setAddCliqueCuts</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool add_clique_cuts = 172 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The addCliqueCuts to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearAddCliqueCuts()">
|
|
<h3>clearAddCliqueCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearAddCliqueCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool add_clique_cuts = 172 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxAllDiffCutSize()">
|
|
<h3>hasMaxAllDiffCutSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxAllDiffCutSize</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_all_diff_cut_size = 148 [default = 7];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxAllDiffCutSize()">hasMaxAllDiffCutSize</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxAllDiffCutSize field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxAllDiffCutSize()">
|
|
<h3>getMaxAllDiffCutSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getMaxAllDiffCutSize</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_all_diff_cut_size = 148 [default = 7];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxAllDiffCutSize()">getMaxAllDiffCutSize</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxAllDiffCutSize.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxAllDiffCutSize(int)">
|
|
<h3>setMaxAllDiffCutSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxAllDiffCutSize</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_all_diff_cut_size = 148 [default = 7];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxAllDiffCutSize to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxAllDiffCutSize()">
|
|
<h3>clearMaxAllDiffCutSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxAllDiffCutSize</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_all_diff_cut_size = 148 [default = 7];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasAddLinMaxCuts()">
|
|
<h3>hasAddLinMaxCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasAddLinMaxCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
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)
|
|
</pre>
|
|
|
|
<code>optional bool add_lin_max_cuts = 152 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasAddLinMaxCuts()">hasAddLinMaxCuts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the addLinMaxCuts field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAddLinMaxCuts()">
|
|
<h3>getAddLinMaxCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getAddLinMaxCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
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)
|
|
</pre>
|
|
|
|
<code>optional bool add_lin_max_cuts = 152 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getAddLinMaxCuts()">getAddLinMaxCuts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The addLinMaxCuts.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setAddLinMaxCuts(boolean)">
|
|
<h3>setAddLinMaxCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setAddLinMaxCuts</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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)
|
|
</pre>
|
|
|
|
<code>optional bool add_lin_max_cuts = 152 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The addLinMaxCuts to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearAddLinMaxCuts()">
|
|
<h3>clearAddLinMaxCuts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearAddLinMaxCuts</span>()</div>
|
|
<div class="block"><pre>
|
|
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)
|
|
</pre>
|
|
|
|
<code>optional bool add_lin_max_cuts = 152 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxIntegerRoundingScaling()">
|
|
<h3>hasMaxIntegerRoundingScaling</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxIntegerRoundingScaling</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_integer_rounding_scaling = 119 [default = 600];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxIntegerRoundingScaling()">hasMaxIntegerRoundingScaling</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxIntegerRoundingScaling field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxIntegerRoundingScaling()">
|
|
<h3>getMaxIntegerRoundingScaling</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getMaxIntegerRoundingScaling</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_integer_rounding_scaling = 119 [default = 600];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxIntegerRoundingScaling()">getMaxIntegerRoundingScaling</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxIntegerRoundingScaling.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxIntegerRoundingScaling(int)">
|
|
<h3>setMaxIntegerRoundingScaling</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxIntegerRoundingScaling</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_integer_rounding_scaling = 119 [default = 600];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxIntegerRoundingScaling to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxIntegerRoundingScaling()">
|
|
<h3>clearMaxIntegerRoundingScaling</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxIntegerRoundingScaling</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_integer_rounding_scaling = 119 [default = 600];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasAddLpConstraintsLazily()">
|
|
<h3>hasAddLpConstraintsLazily</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasAddLpConstraintsLazily</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool add_lp_constraints_lazily = 112 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasAddLpConstraintsLazily()">hasAddLpConstraintsLazily</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the addLpConstraintsLazily field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAddLpConstraintsLazily()">
|
|
<h3>getAddLpConstraintsLazily</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getAddLpConstraintsLazily</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool add_lp_constraints_lazily = 112 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getAddLpConstraintsLazily()">getAddLpConstraintsLazily</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The addLpConstraintsLazily.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setAddLpConstraintsLazily(boolean)">
|
|
<h3>setAddLpConstraintsLazily</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setAddLpConstraintsLazily</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool add_lp_constraints_lazily = 112 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The addLpConstraintsLazily to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearAddLpConstraintsLazily()">
|
|
<h3>clearAddLpConstraintsLazily</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearAddLpConstraintsLazily</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool add_lp_constraints_lazily = 112 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMinOrthogonalityForLpConstraints()">
|
|
<h3>hasMinOrthogonalityForLpConstraints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMinOrthogonalityForLpConstraints</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double min_orthogonality_for_lp_constraints = 115 [default = 0.05];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMinOrthogonalityForLpConstraints()">hasMinOrthogonalityForLpConstraints</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the minOrthogonalityForLpConstraints field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMinOrthogonalityForLpConstraints()">
|
|
<h3>getMinOrthogonalityForLpConstraints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getMinOrthogonalityForLpConstraints</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double min_orthogonality_for_lp_constraints = 115 [default = 0.05];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMinOrthogonalityForLpConstraints()">getMinOrthogonalityForLpConstraints</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The minOrthogonalityForLpConstraints.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMinOrthogonalityForLpConstraints(double)">
|
|
<h3>setMinOrthogonalityForLpConstraints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMinOrthogonalityForLpConstraints</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double min_orthogonality_for_lp_constraints = 115 [default = 0.05];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The minOrthogonalityForLpConstraints to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMinOrthogonalityForLpConstraints()">
|
|
<h3>clearMinOrthogonalityForLpConstraints</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMinOrthogonalityForLpConstraints</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double min_orthogonality_for_lp_constraints = 115 [default = 0.05];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxCutRoundsAtLevelZero()">
|
|
<h3>hasMaxCutRoundsAtLevelZero</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxCutRoundsAtLevelZero</span>()</div>
|
|
<div class="block"><pre>
|
|
Max number of time we perform cut generation and resolve the LP at level 0.
|
|
</pre>
|
|
|
|
<code>optional int32 max_cut_rounds_at_level_zero = 154 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxCutRoundsAtLevelZero()">hasMaxCutRoundsAtLevelZero</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxCutRoundsAtLevelZero field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxCutRoundsAtLevelZero()">
|
|
<h3>getMaxCutRoundsAtLevelZero</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getMaxCutRoundsAtLevelZero</span>()</div>
|
|
<div class="block"><pre>
|
|
Max number of time we perform cut generation and resolve the LP at level 0.
|
|
</pre>
|
|
|
|
<code>optional int32 max_cut_rounds_at_level_zero = 154 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxCutRoundsAtLevelZero()">getMaxCutRoundsAtLevelZero</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxCutRoundsAtLevelZero.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxCutRoundsAtLevelZero(int)">
|
|
<h3>setMaxCutRoundsAtLevelZero</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxCutRoundsAtLevelZero</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
Max number of time we perform cut generation and resolve the LP at level 0.
|
|
</pre>
|
|
|
|
<code>optional int32 max_cut_rounds_at_level_zero = 154 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxCutRoundsAtLevelZero to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxCutRoundsAtLevelZero()">
|
|
<h3>clearMaxCutRoundsAtLevelZero</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxCutRoundsAtLevelZero</span>()</div>
|
|
<div class="block"><pre>
|
|
Max number of time we perform cut generation and resolve the LP at level 0.
|
|
</pre>
|
|
|
|
<code>optional int32 max_cut_rounds_at_level_zero = 154 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMaxConsecutiveInactiveCount()">
|
|
<h3>hasMaxConsecutiveInactiveCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMaxConsecutiveInactiveCount</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_consecutive_inactive_count = 121 [default = 100];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMaxConsecutiveInactiveCount()">hasMaxConsecutiveInactiveCount</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the maxConsecutiveInactiveCount field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMaxConsecutiveInactiveCount()">
|
|
<h3>getMaxConsecutiveInactiveCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getMaxConsecutiveInactiveCount</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_consecutive_inactive_count = 121 [default = 100];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMaxConsecutiveInactiveCount()">getMaxConsecutiveInactiveCount</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The maxConsecutiveInactiveCount.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMaxConsecutiveInactiveCount(int)">
|
|
<h3>setMaxConsecutiveInactiveCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMaxConsecutiveInactiveCount</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_consecutive_inactive_count = 121 [default = 100];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The maxConsecutiveInactiveCount to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMaxConsecutiveInactiveCount()">
|
|
<h3>clearMaxConsecutiveInactiveCount</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMaxConsecutiveInactiveCount</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 max_consecutive_inactive_count = 121 [default = 100];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasCutMaxActiveCountValue()">
|
|
<h3>hasCutMaxActiveCountValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasCutMaxActiveCountValue</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double cut_max_active_count_value = 155 [default = 10000000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasCutMaxActiveCountValue()">hasCutMaxActiveCountValue</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the cutMaxActiveCountValue field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getCutMaxActiveCountValue()">
|
|
<h3>getCutMaxActiveCountValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getCutMaxActiveCountValue</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double cut_max_active_count_value = 155 [default = 10000000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getCutMaxActiveCountValue()">getCutMaxActiveCountValue</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The cutMaxActiveCountValue.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setCutMaxActiveCountValue(double)">
|
|
<h3>setCutMaxActiveCountValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setCutMaxActiveCountValue</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double cut_max_active_count_value = 155 [default = 10000000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The cutMaxActiveCountValue to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearCutMaxActiveCountValue()">
|
|
<h3>clearCutMaxActiveCountValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearCutMaxActiveCountValue</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double cut_max_active_count_value = 155 [default = 10000000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasCutActiveCountDecay()">
|
|
<h3>hasCutActiveCountDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasCutActiveCountDecay</span>()</div>
|
|
<div class="block"><code>optional double cut_active_count_decay = 156 [default = 0.8];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasCutActiveCountDecay()">hasCutActiveCountDecay</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the cutActiveCountDecay field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getCutActiveCountDecay()">
|
|
<h3>getCutActiveCountDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getCutActiveCountDecay</span>()</div>
|
|
<div class="block"><code>optional double cut_active_count_decay = 156 [default = 0.8];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getCutActiveCountDecay()">getCutActiveCountDecay</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The cutActiveCountDecay.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setCutActiveCountDecay(double)">
|
|
<h3>setCutActiveCountDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setCutActiveCountDecay</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><code>optional double cut_active_count_decay = 156 [default = 0.8];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The cutActiveCountDecay to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearCutActiveCountDecay()">
|
|
<h3>clearCutActiveCountDecay</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearCutActiveCountDecay</span>()</div>
|
|
<div class="block"><code>optional double cut_active_count_decay = 156 [default = 0.8];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasCutCleanupTarget()">
|
|
<h3>hasCutCleanupTarget</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasCutCleanupTarget</span>()</div>
|
|
<div class="block"><pre>
|
|
Target number of constraints to remove during cleanup.
|
|
</pre>
|
|
|
|
<code>optional int32 cut_cleanup_target = 157 [default = 1000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasCutCleanupTarget()">hasCutCleanupTarget</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the cutCleanupTarget field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getCutCleanupTarget()">
|
|
<h3>getCutCleanupTarget</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getCutCleanupTarget</span>()</div>
|
|
<div class="block"><pre>
|
|
Target number of constraints to remove during cleanup.
|
|
</pre>
|
|
|
|
<code>optional int32 cut_cleanup_target = 157 [default = 1000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getCutCleanupTarget()">getCutCleanupTarget</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The cutCleanupTarget.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setCutCleanupTarget(int)">
|
|
<h3>setCutCleanupTarget</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setCutCleanupTarget</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
Target number of constraints to remove during cleanup.
|
|
</pre>
|
|
|
|
<code>optional int32 cut_cleanup_target = 157 [default = 1000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The cutCleanupTarget to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearCutCleanupTarget()">
|
|
<h3>clearCutCleanupTarget</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearCutCleanupTarget</span>()</div>
|
|
<div class="block"><pre>
|
|
Target number of constraints to remove during cleanup.
|
|
</pre>
|
|
|
|
<code>optional int32 cut_cleanup_target = 157 [default = 1000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasNewConstraintsBatchSize()">
|
|
<h3>hasNewConstraintsBatchSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasNewConstraintsBatchSize</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 new_constraints_batch_size = 122 [default = 50];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasNewConstraintsBatchSize()">hasNewConstraintsBatchSize</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the newConstraintsBatchSize field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNewConstraintsBatchSize()">
|
|
<h3>getNewConstraintsBatchSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getNewConstraintsBatchSize</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 new_constraints_batch_size = 122 [default = 50];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getNewConstraintsBatchSize()">getNewConstraintsBatchSize</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The newConstraintsBatchSize.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setNewConstraintsBatchSize(int)">
|
|
<h3>setNewConstraintsBatchSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setNewConstraintsBatchSize</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 new_constraints_batch_size = 122 [default = 50];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The newConstraintsBatchSize to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearNewConstraintsBatchSize()">
|
|
<h3>clearNewConstraintsBatchSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearNewConstraintsBatchSize</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 new_constraints_batch_size = 122 [default = 50];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasSearchBranching()">
|
|
<h3>hasSearchBranching</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasSearchBranching</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasSearchBranching()">hasSearchBranching</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the searchBranching field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSearchBranching()">
|
|
<h3>getSearchBranching</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.SearchBranching.html" title="enum in com.google.ortools.sat">SatParameters.SearchBranching</a></span> <span class="element-name">getSearchBranching</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getSearchBranching()">getSearchBranching</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The searchBranching.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSearchBranching(com.google.ortools.sat.SatParameters.SearchBranching)">
|
|
<h3>setSearchBranching</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setSearchBranching</span><wbr><span class="parameters">(<a href="SatParameters.SearchBranching.html" title="enum in com.google.ortools.sat">SatParameters.SearchBranching</a> value)</span></div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The searchBranching to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearSearchBranching()">
|
|
<h3>clearSearchBranching</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearSearchBranching</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.SearchBranching search_branching = 82 [default = AUTOMATIC_SEARCH];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasHintConflictLimit()">
|
|
<h3>hasHintConflictLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasHintConflictLimit</span>()</div>
|
|
<div class="block"><pre>
|
|
Conflict limit used in the phase that exploit the solution hint.
|
|
</pre>
|
|
|
|
<code>optional int32 hint_conflict_limit = 153 [default = 10];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasHintConflictLimit()">hasHintConflictLimit</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the hintConflictLimit field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getHintConflictLimit()">
|
|
<h3>getHintConflictLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getHintConflictLimit</span>()</div>
|
|
<div class="block"><pre>
|
|
Conflict limit used in the phase that exploit the solution hint.
|
|
</pre>
|
|
|
|
<code>optional int32 hint_conflict_limit = 153 [default = 10];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getHintConflictLimit()">getHintConflictLimit</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The hintConflictLimit.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setHintConflictLimit(int)">
|
|
<h3>setHintConflictLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setHintConflictLimit</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
Conflict limit used in the phase that exploit the solution hint.
|
|
</pre>
|
|
|
|
<code>optional int32 hint_conflict_limit = 153 [default = 10];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The hintConflictLimit to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearHintConflictLimit()">
|
|
<h3>clearHintConflictLimit</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearHintConflictLimit</span>()</div>
|
|
<div class="block"><pre>
|
|
Conflict limit used in the phase that exploit the solution hint.
|
|
</pre>
|
|
|
|
<code>optional int32 hint_conflict_limit = 153 [default = 10];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasRepairHint()">
|
|
<h3>hasRepairHint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasRepairHint</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool repair_hint = 167 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasRepairHint()">hasRepairHint</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the repairHint field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getRepairHint()">
|
|
<h3>getRepairHint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getRepairHint</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool repair_hint = 167 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getRepairHint()">getRepairHint</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The repairHint.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setRepairHint(boolean)">
|
|
<h3>setRepairHint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setRepairHint</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool repair_hint = 167 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The repairHint to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearRepairHint()">
|
|
<h3>clearRepairHint</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearRepairHint</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool repair_hint = 167 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasFixVariablesToTheirHintedValue()">
|
|
<h3>hasFixVariablesToTheirHintedValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasFixVariablesToTheirHintedValue</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, variables appearing in the solution hints will be fixed to their
|
|
hinted value.
|
|
</pre>
|
|
|
|
<code>optional bool fix_variables_to_their_hinted_value = 192 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasFixVariablesToTheirHintedValue()">hasFixVariablesToTheirHintedValue</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the fixVariablesToTheirHintedValue field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getFixVariablesToTheirHintedValue()">
|
|
<h3>getFixVariablesToTheirHintedValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getFixVariablesToTheirHintedValue</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, variables appearing in the solution hints will be fixed to their
|
|
hinted value.
|
|
</pre>
|
|
|
|
<code>optional bool fix_variables_to_their_hinted_value = 192 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getFixVariablesToTheirHintedValue()">getFixVariablesToTheirHintedValue</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The fixVariablesToTheirHintedValue.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setFixVariablesToTheirHintedValue(boolean)">
|
|
<h3>setFixVariablesToTheirHintedValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setFixVariablesToTheirHintedValue</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
If true, variables appearing in the solution hints will be fixed to their
|
|
hinted value.
|
|
</pre>
|
|
|
|
<code>optional bool fix_variables_to_their_hinted_value = 192 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The fixVariablesToTheirHintedValue to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearFixVariablesToTheirHintedValue()">
|
|
<h3>clearFixVariablesToTheirHintedValue</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearFixVariablesToTheirHintedValue</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, variables appearing in the solution hints will be fixed to their
|
|
hinted value.
|
|
</pre>
|
|
|
|
<code>optional bool fix_variables_to_their_hinted_value = 192 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasExploitIntegerLpSolution()">
|
|
<h3>hasExploitIntegerLpSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasExploitIntegerLpSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_integer_lp_solution = 94 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasExploitIntegerLpSolution()">hasExploitIntegerLpSolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the exploitIntegerLpSolution field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getExploitIntegerLpSolution()">
|
|
<h3>getExploitIntegerLpSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getExploitIntegerLpSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_integer_lp_solution = 94 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getExploitIntegerLpSolution()">getExploitIntegerLpSolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The exploitIntegerLpSolution.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setExploitIntegerLpSolution(boolean)">
|
|
<h3>setExploitIntegerLpSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setExploitIntegerLpSolution</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_integer_lp_solution = 94 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The exploitIntegerLpSolution to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearExploitIntegerLpSolution()">
|
|
<h3>clearExploitIntegerLpSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearExploitIntegerLpSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_integer_lp_solution = 94 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasExploitAllLpSolution()">
|
|
<h3>hasExploitAllLpSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasExploitAllLpSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_all_lp_solution = 116 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasExploitAllLpSolution()">hasExploitAllLpSolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the exploitAllLpSolution field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getExploitAllLpSolution()">
|
|
<h3>getExploitAllLpSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getExploitAllLpSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_all_lp_solution = 116 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getExploitAllLpSolution()">getExploitAllLpSolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The exploitAllLpSolution.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setExploitAllLpSolution(boolean)">
|
|
<h3>setExploitAllLpSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setExploitAllLpSolution</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_all_lp_solution = 116 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The exploitAllLpSolution to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearExploitAllLpSolution()">
|
|
<h3>clearExploitAllLpSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearExploitAllLpSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_all_lp_solution = 116 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasExploitBestSolution()">
|
|
<h3>hasExploitBestSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasExploitBestSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
When branching on a variable, follow the last best solution value.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_best_solution = 130 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasExploitBestSolution()">hasExploitBestSolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the exploitBestSolution field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getExploitBestSolution()">
|
|
<h3>getExploitBestSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getExploitBestSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
When branching on a variable, follow the last best solution value.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_best_solution = 130 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getExploitBestSolution()">getExploitBestSolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The exploitBestSolution.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setExploitBestSolution(boolean)">
|
|
<h3>setExploitBestSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setExploitBestSolution</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
When branching on a variable, follow the last best solution value.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_best_solution = 130 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The exploitBestSolution to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearExploitBestSolution()">
|
|
<h3>clearExploitBestSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearExploitBestSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
When branching on a variable, follow the last best solution value.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_best_solution = 130 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasExploitRelaxationSolution()">
|
|
<h3>hasExploitRelaxationSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasExploitRelaxationSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_relaxation_solution = 161 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasExploitRelaxationSolution()">hasExploitRelaxationSolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the exploitRelaxationSolution field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getExploitRelaxationSolution()">
|
|
<h3>getExploitRelaxationSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getExploitRelaxationSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_relaxation_solution = 161 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getExploitRelaxationSolution()">getExploitRelaxationSolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The exploitRelaxationSolution.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setExploitRelaxationSolution(boolean)">
|
|
<h3>setExploitRelaxationSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setExploitRelaxationSolution</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_relaxation_solution = 161 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The exploitRelaxationSolution to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearExploitRelaxationSolution()">
|
|
<h3>clearExploitRelaxationSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearExploitRelaxationSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_relaxation_solution = 161 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasExploitObjective()">
|
|
<h3>hasExploitObjective</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasExploitObjective</span>()</div>
|
|
<div class="block"><pre>
|
|
When branching an a variable that directly affect the objective,
|
|
branch on the value that lead to the best objective first.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_objective = 131 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasExploitObjective()">hasExploitObjective</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the exploitObjective field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getExploitObjective()">
|
|
<h3>getExploitObjective</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getExploitObjective</span>()</div>
|
|
<div class="block"><pre>
|
|
When branching an a variable that directly affect the objective,
|
|
branch on the value that lead to the best objective first.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_objective = 131 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getExploitObjective()">getExploitObjective</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The exploitObjective.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setExploitObjective(boolean)">
|
|
<h3>setExploitObjective</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setExploitObjective</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
When branching an a variable that directly affect the objective,
|
|
branch on the value that lead to the best objective first.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_objective = 131 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The exploitObjective to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearExploitObjective()">
|
|
<h3>clearExploitObjective</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearExploitObjective</span>()</div>
|
|
<div class="block"><pre>
|
|
When branching an a variable that directly affect the objective,
|
|
branch on the value that lead to the best objective first.
|
|
</pre>
|
|
|
|
<code>optional bool exploit_objective = 131 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasProbingPeriodAtRoot()">
|
|
<h3>hasProbingPeriodAtRoot</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasProbingPeriodAtRoot</span>()</div>
|
|
<div class="block"><pre>
|
|
If set at zero (the default), it is disabled. Otherwise the solver attempts
|
|
probing at every 'probing_period' root node. Period of 1 enables probing at
|
|
every root node.
|
|
</pre>
|
|
|
|
<code>optional int64 probing_period_at_root = 142 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasProbingPeriodAtRoot()">hasProbingPeriodAtRoot</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the probingPeriodAtRoot field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getProbingPeriodAtRoot()">
|
|
<h3>getProbingPeriodAtRoot</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getProbingPeriodAtRoot</span>()</div>
|
|
<div class="block"><pre>
|
|
If set at zero (the default), it is disabled. Otherwise the solver attempts
|
|
probing at every 'probing_period' root node. Period of 1 enables probing at
|
|
every root node.
|
|
</pre>
|
|
|
|
<code>optional int64 probing_period_at_root = 142 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getProbingPeriodAtRoot()">getProbingPeriodAtRoot</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The probingPeriodAtRoot.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setProbingPeriodAtRoot(long)">
|
|
<h3>setProbingPeriodAtRoot</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setProbingPeriodAtRoot</span><wbr><span class="parameters">(long value)</span></div>
|
|
<div class="block"><pre>
|
|
If set at zero (the default), it is disabled. Otherwise the solver attempts
|
|
probing at every 'probing_period' root node. Period of 1 enables probing at
|
|
every root node.
|
|
</pre>
|
|
|
|
<code>optional int64 probing_period_at_root = 142 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The probingPeriodAtRoot to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearProbingPeriodAtRoot()">
|
|
<h3>clearProbingPeriodAtRoot</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearProbingPeriodAtRoot</span>()</div>
|
|
<div class="block"><pre>
|
|
If set at zero (the default), it is disabled. Otherwise the solver attempts
|
|
probing at every 'probing_period' root node. Period of 1 enables probing at
|
|
every root node.
|
|
</pre>
|
|
|
|
<code>optional int64 probing_period_at_root = 142 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseProbingSearch()">
|
|
<h3>hasUseProbingSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseProbingSearch</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, search will continuously probe Boolean variables, and integer
|
|
variable bounds. This parameter is set to true in parallel on the probing
|
|
worker.
|
|
</pre>
|
|
|
|
<code>optional bool use_probing_search = 176 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseProbingSearch()">hasUseProbingSearch</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useProbingSearch field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseProbingSearch()">
|
|
<h3>getUseProbingSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseProbingSearch</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, search will continuously probe Boolean variables, and integer
|
|
variable bounds. This parameter is set to true in parallel on the probing
|
|
worker.
|
|
</pre>
|
|
|
|
<code>optional bool use_probing_search = 176 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseProbingSearch()">getUseProbingSearch</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useProbingSearch.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseProbingSearch(boolean)">
|
|
<h3>setUseProbingSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseProbingSearch</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
If true, search will continuously probe Boolean variables, and integer
|
|
variable bounds. This parameter is set to true in parallel on the probing
|
|
worker.
|
|
</pre>
|
|
|
|
<code>optional bool use_probing_search = 176 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useProbingSearch to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseProbingSearch()">
|
|
<h3>clearUseProbingSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseProbingSearch</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, search will continuously probe Boolean variables, and integer
|
|
variable bounds. This parameter is set to true in parallel on the probing
|
|
worker.
|
|
</pre>
|
|
|
|
<code>optional bool use_probing_search = 176 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseShavingInProbingSearch()">
|
|
<h3>hasUseShavingInProbingSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseShavingInProbingSearch</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_shaving_in_probing_search = 204 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseShavingInProbingSearch()">hasUseShavingInProbingSearch</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useShavingInProbingSearch field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseShavingInProbingSearch()">
|
|
<h3>getUseShavingInProbingSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseShavingInProbingSearch</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_shaving_in_probing_search = 204 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseShavingInProbingSearch()">getUseShavingInProbingSearch</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useShavingInProbingSearch.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseShavingInProbingSearch(boolean)">
|
|
<h3>setUseShavingInProbingSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseShavingInProbingSearch</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_shaving_in_probing_search = 204 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useShavingInProbingSearch to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseShavingInProbingSearch()">
|
|
<h3>clearUseShavingInProbingSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseShavingInProbingSearch</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_shaving_in_probing_search = 204 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasShavingSearchDeterministicTime()">
|
|
<h3>hasShavingSearchDeterministicTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasShavingSearchDeterministicTime</span>()</div>
|
|
<div class="block"><pre>
|
|
Specifies the amount of deterministic time spent of each try at shaving a
|
|
bound in the shaving search.
|
|
</pre>
|
|
|
|
<code>optional double shaving_search_deterministic_time = 205 [default = 0.001];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasShavingSearchDeterministicTime()">hasShavingSearchDeterministicTime</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the shavingSearchDeterministicTime field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getShavingSearchDeterministicTime()">
|
|
<h3>getShavingSearchDeterministicTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getShavingSearchDeterministicTime</span>()</div>
|
|
<div class="block"><pre>
|
|
Specifies the amount of deterministic time spent of each try at shaving a
|
|
bound in the shaving search.
|
|
</pre>
|
|
|
|
<code>optional double shaving_search_deterministic_time = 205 [default = 0.001];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getShavingSearchDeterministicTime()">getShavingSearchDeterministicTime</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The shavingSearchDeterministicTime.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setShavingSearchDeterministicTime(double)">
|
|
<h3>setShavingSearchDeterministicTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setShavingSearchDeterministicTime</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
Specifies the amount of deterministic time spent of each try at shaving a
|
|
bound in the shaving search.
|
|
</pre>
|
|
|
|
<code>optional double shaving_search_deterministic_time = 205 [default = 0.001];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The shavingSearchDeterministicTime to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearShavingSearchDeterministicTime()">
|
|
<h3>clearShavingSearchDeterministicTime</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearShavingSearchDeterministicTime</span>()</div>
|
|
<div class="block"><pre>
|
|
Specifies the amount of deterministic time spent of each try at shaving a
|
|
bound in the shaving search.
|
|
</pre>
|
|
|
|
<code>optional double shaving_search_deterministic_time = 205 [default = 0.001];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPseudoCostReliabilityThreshold()">
|
|
<h3>hasPseudoCostReliabilityThreshold</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPseudoCostReliabilityThreshold</span>()</div>
|
|
<div class="block"><pre>
|
|
The solver ignores the pseudo costs of variables with number of recordings
|
|
less than this threshold.
|
|
</pre>
|
|
|
|
<code>optional int64 pseudo_cost_reliability_threshold = 123 [default = 100];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPseudoCostReliabilityThreshold()">hasPseudoCostReliabilityThreshold</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the pseudoCostReliabilityThreshold field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPseudoCostReliabilityThreshold()">
|
|
<h3>getPseudoCostReliabilityThreshold</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getPseudoCostReliabilityThreshold</span>()</div>
|
|
<div class="block"><pre>
|
|
The solver ignores the pseudo costs of variables with number of recordings
|
|
less than this threshold.
|
|
</pre>
|
|
|
|
<code>optional int64 pseudo_cost_reliability_threshold = 123 [default = 100];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPseudoCostReliabilityThreshold()">getPseudoCostReliabilityThreshold</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The pseudoCostReliabilityThreshold.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPseudoCostReliabilityThreshold(long)">
|
|
<h3>setPseudoCostReliabilityThreshold</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPseudoCostReliabilityThreshold</span><wbr><span class="parameters">(long value)</span></div>
|
|
<div class="block"><pre>
|
|
The solver ignores the pseudo costs of variables with number of recordings
|
|
less than this threshold.
|
|
</pre>
|
|
|
|
<code>optional int64 pseudo_cost_reliability_threshold = 123 [default = 100];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The pseudoCostReliabilityThreshold to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPseudoCostReliabilityThreshold()">
|
|
<h3>clearPseudoCostReliabilityThreshold</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPseudoCostReliabilityThreshold</span>()</div>
|
|
<div class="block"><pre>
|
|
The solver ignores the pseudo costs of variables with number of recordings
|
|
less than this threshold.
|
|
</pre>
|
|
|
|
<code>optional int64 pseudo_cost_reliability_threshold = 123 [default = 100];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasOptimizeWithCore()">
|
|
<h3>hasOptimizeWithCore</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasOptimizeWithCore</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool optimize_with_core = 83 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasOptimizeWithCore()">hasOptimizeWithCore</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the optimizeWithCore field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getOptimizeWithCore()">
|
|
<h3>getOptimizeWithCore</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getOptimizeWithCore</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool optimize_with_core = 83 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getOptimizeWithCore()">getOptimizeWithCore</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The optimizeWithCore.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setOptimizeWithCore(boolean)">
|
|
<h3>setOptimizeWithCore</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setOptimizeWithCore</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool optimize_with_core = 83 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The optimizeWithCore to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearOptimizeWithCore()">
|
|
<h3>clearOptimizeWithCore</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearOptimizeWithCore</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool optimize_with_core = 83 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasOptimizeWithLbTreeSearch()">
|
|
<h3>hasOptimizeWithLbTreeSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasOptimizeWithLbTreeSearch</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool optimize_with_lb_tree_search = 188 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasOptimizeWithLbTreeSearch()">hasOptimizeWithLbTreeSearch</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the optimizeWithLbTreeSearch field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getOptimizeWithLbTreeSearch()">
|
|
<h3>getOptimizeWithLbTreeSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getOptimizeWithLbTreeSearch</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool optimize_with_lb_tree_search = 188 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getOptimizeWithLbTreeSearch()">getOptimizeWithLbTreeSearch</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The optimizeWithLbTreeSearch.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setOptimizeWithLbTreeSearch(boolean)">
|
|
<h3>setOptimizeWithLbTreeSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setOptimizeWithLbTreeSearch</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool optimize_with_lb_tree_search = 188 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The optimizeWithLbTreeSearch to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearOptimizeWithLbTreeSearch()">
|
|
<h3>clearOptimizeWithLbTreeSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearOptimizeWithLbTreeSearch</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool optimize_with_lb_tree_search = 188 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasBinarySearchNumConflicts()">
|
|
<h3>hasBinarySearchNumConflicts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasBinarySearchNumConflicts</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 binary_search_num_conflicts = 99 [default = -1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasBinarySearchNumConflicts()">hasBinarySearchNumConflicts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the binarySearchNumConflicts field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getBinarySearchNumConflicts()">
|
|
<h3>getBinarySearchNumConflicts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getBinarySearchNumConflicts</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 binary_search_num_conflicts = 99 [default = -1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getBinarySearchNumConflicts()">getBinarySearchNumConflicts</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The binarySearchNumConflicts.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setBinarySearchNumConflicts(int)">
|
|
<h3>setBinarySearchNumConflicts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setBinarySearchNumConflicts</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 binary_search_num_conflicts = 99 [default = -1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The binarySearchNumConflicts to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearBinarySearchNumConflicts()">
|
|
<h3>clearBinarySearchNumConflicts</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearBinarySearchNumConflicts</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 binary_search_num_conflicts = 99 [default = -1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasOptimizeWithMaxHs()">
|
|
<h3>hasOptimizeWithMaxHs</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasOptimizeWithMaxHs</span>()</div>
|
|
<div class="block"><pre>
|
|
This has no effect if optimize_with_core is false. If true, use a different
|
|
core-based algorithm similar to the max-HS algo for max-SAT. This is a
|
|
hybrid MIP/CP approach and it uses a MIP solver in addition to the CP/SAT
|
|
one. This is also related to the PhD work of tobyodavies@
|
|
"Automatic Logic-Based Benders Decomposition with MiniZinc"
|
|
http://aaai.org/ocs/index.php/AAAI/AAAI17/paper/view/14489
|
|
</pre>
|
|
|
|
<code>optional bool optimize_with_max_hs = 85 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasOptimizeWithMaxHs()">hasOptimizeWithMaxHs</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the optimizeWithMaxHs field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getOptimizeWithMaxHs()">
|
|
<h3>getOptimizeWithMaxHs</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getOptimizeWithMaxHs</span>()</div>
|
|
<div class="block"><pre>
|
|
This has no effect if optimize_with_core is false. If true, use a different
|
|
core-based algorithm similar to the max-HS algo for max-SAT. This is a
|
|
hybrid MIP/CP approach and it uses a MIP solver in addition to the CP/SAT
|
|
one. This is also related to the PhD work of tobyodavies@
|
|
"Automatic Logic-Based Benders Decomposition with MiniZinc"
|
|
http://aaai.org/ocs/index.php/AAAI/AAAI17/paper/view/14489
|
|
</pre>
|
|
|
|
<code>optional bool optimize_with_max_hs = 85 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getOptimizeWithMaxHs()">getOptimizeWithMaxHs</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The optimizeWithMaxHs.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setOptimizeWithMaxHs(boolean)">
|
|
<h3>setOptimizeWithMaxHs</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setOptimizeWithMaxHs</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
This has no effect if optimize_with_core is false. If true, use a different
|
|
core-based algorithm similar to the max-HS algo for max-SAT. This is a
|
|
hybrid MIP/CP approach and it uses a MIP solver in addition to the CP/SAT
|
|
one. This is also related to the PhD work of tobyodavies@
|
|
"Automatic Logic-Based Benders Decomposition with MiniZinc"
|
|
http://aaai.org/ocs/index.php/AAAI/AAAI17/paper/view/14489
|
|
</pre>
|
|
|
|
<code>optional bool optimize_with_max_hs = 85 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The optimizeWithMaxHs to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearOptimizeWithMaxHs()">
|
|
<h3>clearOptimizeWithMaxHs</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearOptimizeWithMaxHs</span>()</div>
|
|
<div class="block"><pre>
|
|
This has no effect if optimize_with_core is false. If true, use a different
|
|
core-based algorithm similar to the max-HS algo for max-SAT. This is a
|
|
hybrid MIP/CP approach and it uses a MIP solver in addition to the CP/SAT
|
|
one. This is also related to the PhD work of tobyodavies@
|
|
"Automatic Logic-Based Benders Decomposition with MiniZinc"
|
|
http://aaai.org/ocs/index.php/AAAI/AAAI17/paper/view/14489
|
|
</pre>
|
|
|
|
<code>optional bool optimize_with_max_hs = 85 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasEnumerateAllSolutions()">
|
|
<h3>hasEnumerateAllSolutions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasEnumerateAllSolutions</span>()</div>
|
|
<div class="block"><pre>
|
|
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 ?
|
|
</pre>
|
|
|
|
<code>optional bool enumerate_all_solutions = 87 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasEnumerateAllSolutions()">hasEnumerateAllSolutions</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the enumerateAllSolutions field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getEnumerateAllSolutions()">
|
|
<h3>getEnumerateAllSolutions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getEnumerateAllSolutions</span>()</div>
|
|
<div class="block"><pre>
|
|
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 ?
|
|
</pre>
|
|
|
|
<code>optional bool enumerate_all_solutions = 87 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getEnumerateAllSolutions()">getEnumerateAllSolutions</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The enumerateAllSolutions.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setEnumerateAllSolutions(boolean)">
|
|
<h3>setEnumerateAllSolutions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setEnumerateAllSolutions</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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 ?
|
|
</pre>
|
|
|
|
<code>optional bool enumerate_all_solutions = 87 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The enumerateAllSolutions to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearEnumerateAllSolutions()">
|
|
<h3>clearEnumerateAllSolutions</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearEnumerateAllSolutions</span>()</div>
|
|
<div class="block"><pre>
|
|
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 ?
|
|
</pre>
|
|
|
|
<code>optional bool enumerate_all_solutions = 87 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasKeepAllFeasibleSolutionsInPresolve()">
|
|
<h3>hasKeepAllFeasibleSolutionsInPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasKeepAllFeasibleSolutionsInPresolve</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool keep_all_feasible_solutions_in_presolve = 173 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasKeepAllFeasibleSolutionsInPresolve()">hasKeepAllFeasibleSolutionsInPresolve</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the keepAllFeasibleSolutionsInPresolve field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getKeepAllFeasibleSolutionsInPresolve()">
|
|
<h3>getKeepAllFeasibleSolutionsInPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getKeepAllFeasibleSolutionsInPresolve</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool keep_all_feasible_solutions_in_presolve = 173 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getKeepAllFeasibleSolutionsInPresolve()">getKeepAllFeasibleSolutionsInPresolve</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The keepAllFeasibleSolutionsInPresolve.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setKeepAllFeasibleSolutionsInPresolve(boolean)">
|
|
<h3>setKeepAllFeasibleSolutionsInPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setKeepAllFeasibleSolutionsInPresolve</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool keep_all_feasible_solutions_in_presolve = 173 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The keepAllFeasibleSolutionsInPresolve to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearKeepAllFeasibleSolutionsInPresolve()">
|
|
<h3>clearKeepAllFeasibleSolutionsInPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearKeepAllFeasibleSolutionsInPresolve</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool keep_all_feasible_solutions_in_presolve = 173 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasFillTightenedDomainsInResponse()">
|
|
<h3>hasFillTightenedDomainsInResponse</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasFillTightenedDomainsInResponse</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool fill_tightened_domains_in_response = 132 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasFillTightenedDomainsInResponse()">hasFillTightenedDomainsInResponse</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the fillTightenedDomainsInResponse field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getFillTightenedDomainsInResponse()">
|
|
<h3>getFillTightenedDomainsInResponse</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getFillTightenedDomainsInResponse</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool fill_tightened_domains_in_response = 132 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getFillTightenedDomainsInResponse()">getFillTightenedDomainsInResponse</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The fillTightenedDomainsInResponse.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setFillTightenedDomainsInResponse(boolean)">
|
|
<h3>setFillTightenedDomainsInResponse</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setFillTightenedDomainsInResponse</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool fill_tightened_domains_in_response = 132 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The fillTightenedDomainsInResponse to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearFillTightenedDomainsInResponse()">
|
|
<h3>clearFillTightenedDomainsInResponse</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearFillTightenedDomainsInResponse</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool fill_tightened_domains_in_response = 132 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasFillAdditionalSolutionsInResponse()">
|
|
<h3>hasFillAdditionalSolutionsInResponse</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasFillAdditionalSolutionsInResponse</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool fill_additional_solutions_in_response = 194 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasFillAdditionalSolutionsInResponse()">hasFillAdditionalSolutionsInResponse</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the fillAdditionalSolutionsInResponse field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getFillAdditionalSolutionsInResponse()">
|
|
<h3>getFillAdditionalSolutionsInResponse</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getFillAdditionalSolutionsInResponse</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool fill_additional_solutions_in_response = 194 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getFillAdditionalSolutionsInResponse()">getFillAdditionalSolutionsInResponse</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The fillAdditionalSolutionsInResponse.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setFillAdditionalSolutionsInResponse(boolean)">
|
|
<h3>setFillAdditionalSolutionsInResponse</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setFillAdditionalSolutionsInResponse</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool fill_additional_solutions_in_response = 194 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The fillAdditionalSolutionsInResponse to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearFillAdditionalSolutionsInResponse()">
|
|
<h3>clearFillAdditionalSolutionsInResponse</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearFillAdditionalSolutionsInResponse</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool fill_additional_solutions_in_response = 194 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasInstantiateAllVariables()">
|
|
<h3>hasInstantiateAllVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasInstantiateAllVariables</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool instantiate_all_variables = 106 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasInstantiateAllVariables()">hasInstantiateAllVariables</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the instantiateAllVariables field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getInstantiateAllVariables()">
|
|
<h3>getInstantiateAllVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getInstantiateAllVariables</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool instantiate_all_variables = 106 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getInstantiateAllVariables()">getInstantiateAllVariables</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The instantiateAllVariables.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setInstantiateAllVariables(boolean)">
|
|
<h3>setInstantiateAllVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setInstantiateAllVariables</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool instantiate_all_variables = 106 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The instantiateAllVariables to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearInstantiateAllVariables()">
|
|
<h3>clearInstantiateAllVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearInstantiateAllVariables</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool instantiate_all_variables = 106 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasAutoDetectGreaterThanAtLeastOneOf()">
|
|
<h3>hasAutoDetectGreaterThanAtLeastOneOf</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasAutoDetectGreaterThanAtLeastOneOf</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool auto_detect_greater_than_at_least_one_of = 95 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasAutoDetectGreaterThanAtLeastOneOf()">hasAutoDetectGreaterThanAtLeastOneOf</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the autoDetectGreaterThanAtLeastOneOf field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAutoDetectGreaterThanAtLeastOneOf()">
|
|
<h3>getAutoDetectGreaterThanAtLeastOneOf</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getAutoDetectGreaterThanAtLeastOneOf</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool auto_detect_greater_than_at_least_one_of = 95 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getAutoDetectGreaterThanAtLeastOneOf()">getAutoDetectGreaterThanAtLeastOneOf</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The autoDetectGreaterThanAtLeastOneOf.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setAutoDetectGreaterThanAtLeastOneOf(boolean)">
|
|
<h3>setAutoDetectGreaterThanAtLeastOneOf</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setAutoDetectGreaterThanAtLeastOneOf</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool auto_detect_greater_than_at_least_one_of = 95 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The autoDetectGreaterThanAtLeastOneOf to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearAutoDetectGreaterThanAtLeastOneOf()">
|
|
<h3>clearAutoDetectGreaterThanAtLeastOneOf</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearAutoDetectGreaterThanAtLeastOneOf</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool auto_detect_greater_than_at_least_one_of = 95 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasStopAfterFirstSolution()">
|
|
<h3>hasStopAfterFirstSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasStopAfterFirstSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
For an optimization problem, stop the solver as soon as we have a solution.
|
|
</pre>
|
|
|
|
<code>optional bool stop_after_first_solution = 98 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasStopAfterFirstSolution()">hasStopAfterFirstSolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the stopAfterFirstSolution field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getStopAfterFirstSolution()">
|
|
<h3>getStopAfterFirstSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getStopAfterFirstSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
For an optimization problem, stop the solver as soon as we have a solution.
|
|
</pre>
|
|
|
|
<code>optional bool stop_after_first_solution = 98 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getStopAfterFirstSolution()">getStopAfterFirstSolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The stopAfterFirstSolution.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setStopAfterFirstSolution(boolean)">
|
|
<h3>setStopAfterFirstSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setStopAfterFirstSolution</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
For an optimization problem, stop the solver as soon as we have a solution.
|
|
</pre>
|
|
|
|
<code>optional bool stop_after_first_solution = 98 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The stopAfterFirstSolution to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearStopAfterFirstSolution()">
|
|
<h3>clearStopAfterFirstSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearStopAfterFirstSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
For an optimization problem, stop the solver as soon as we have a solution.
|
|
</pre>
|
|
|
|
<code>optional bool stop_after_first_solution = 98 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasStopAfterPresolve()">
|
|
<h3>hasStopAfterPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasStopAfterPresolve</span>()</div>
|
|
<div class="block"><pre>
|
|
Mainly used when improving the presolver. When true, stops the solver after
|
|
the presolve is complete.
|
|
</pre>
|
|
|
|
<code>optional bool stop_after_presolve = 149 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasStopAfterPresolve()">hasStopAfterPresolve</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the stopAfterPresolve field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getStopAfterPresolve()">
|
|
<h3>getStopAfterPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getStopAfterPresolve</span>()</div>
|
|
<div class="block"><pre>
|
|
Mainly used when improving the presolver. When true, stops the solver after
|
|
the presolve is complete.
|
|
</pre>
|
|
|
|
<code>optional bool stop_after_presolve = 149 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getStopAfterPresolve()">getStopAfterPresolve</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The stopAfterPresolve.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setStopAfterPresolve(boolean)">
|
|
<h3>setStopAfterPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setStopAfterPresolve</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Mainly used when improving the presolver. When true, stops the solver after
|
|
the presolve is complete.
|
|
</pre>
|
|
|
|
<code>optional bool stop_after_presolve = 149 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The stopAfterPresolve to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearStopAfterPresolve()">
|
|
<h3>clearStopAfterPresolve</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearStopAfterPresolve</span>()</div>
|
|
<div class="block"><pre>
|
|
Mainly used when improving the presolver. When true, stops the solver after
|
|
the presolve is complete.
|
|
</pre>
|
|
|
|
<code>optional bool stop_after_presolve = 149 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseLnsOnly()">
|
|
<h3>hasUseLnsOnly</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseLnsOnly</span>()</div>
|
|
<div class="block"><pre>
|
|
LNS parameters.
|
|
</pre>
|
|
|
|
<code>optional bool use_lns_only = 101 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseLnsOnly()">hasUseLnsOnly</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useLnsOnly field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseLnsOnly()">
|
|
<h3>getUseLnsOnly</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseLnsOnly</span>()</div>
|
|
<div class="block"><pre>
|
|
LNS parameters.
|
|
</pre>
|
|
|
|
<code>optional bool use_lns_only = 101 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseLnsOnly()">getUseLnsOnly</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useLnsOnly.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseLnsOnly(boolean)">
|
|
<h3>setUseLnsOnly</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseLnsOnly</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
LNS parameters.
|
|
</pre>
|
|
|
|
<code>optional bool use_lns_only = 101 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useLnsOnly to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseLnsOnly()">
|
|
<h3>clearUseLnsOnly</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseLnsOnly</span>()</div>
|
|
<div class="block"><pre>
|
|
LNS parameters.
|
|
</pre>
|
|
|
|
<code>optional bool use_lns_only = 101 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasSolutionPoolSize()">
|
|
<h3>hasSolutionPoolSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasSolutionPoolSize</span>()</div>
|
|
<div class="block"><pre>
|
|
Size of the top-n different solutions kept by the solver.
|
|
Currently this only impact the "base" solution chosen for a LNS fragment.
|
|
</pre>
|
|
|
|
<code>optional int32 solution_pool_size = 193 [default = 3];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasSolutionPoolSize()">hasSolutionPoolSize</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the solutionPoolSize field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSolutionPoolSize()">
|
|
<h3>getSolutionPoolSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getSolutionPoolSize</span>()</div>
|
|
<div class="block"><pre>
|
|
Size of the top-n different solutions kept by the solver.
|
|
Currently this only impact the "base" solution chosen for a LNS fragment.
|
|
</pre>
|
|
|
|
<code>optional int32 solution_pool_size = 193 [default = 3];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getSolutionPoolSize()">getSolutionPoolSize</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The solutionPoolSize.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSolutionPoolSize(int)">
|
|
<h3>setSolutionPoolSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setSolutionPoolSize</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
Size of the top-n different solutions kept by the solver.
|
|
Currently this only impact the "base" solution chosen for a LNS fragment.
|
|
</pre>
|
|
|
|
<code>optional int32 solution_pool_size = 193 [default = 3];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The solutionPoolSize to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearSolutionPoolSize()">
|
|
<h3>clearSolutionPoolSize</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearSolutionPoolSize</span>()</div>
|
|
<div class="block"><pre>
|
|
Size of the top-n different solutions kept by the solver.
|
|
Currently this only impact the "base" solution chosen for a LNS fragment.
|
|
</pre>
|
|
|
|
<code>optional int32 solution_pool_size = 193 [default = 3];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseRinsLns()">
|
|
<h3>hasUseRinsLns</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseRinsLns</span>()</div>
|
|
<div class="block"><pre>
|
|
Turns on relaxation induced neighborhood generator.
|
|
</pre>
|
|
|
|
<code>optional bool use_rins_lns = 129 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseRinsLns()">hasUseRinsLns</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useRinsLns field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseRinsLns()">
|
|
<h3>getUseRinsLns</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseRinsLns</span>()</div>
|
|
<div class="block"><pre>
|
|
Turns on relaxation induced neighborhood generator.
|
|
</pre>
|
|
|
|
<code>optional bool use_rins_lns = 129 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseRinsLns()">getUseRinsLns</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useRinsLns.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseRinsLns(boolean)">
|
|
<h3>setUseRinsLns</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseRinsLns</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Turns on relaxation induced neighborhood generator.
|
|
</pre>
|
|
|
|
<code>optional bool use_rins_lns = 129 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useRinsLns to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseRinsLns()">
|
|
<h3>clearUseRinsLns</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseRinsLns</span>()</div>
|
|
<div class="block"><pre>
|
|
Turns on relaxation induced neighborhood generator.
|
|
</pre>
|
|
|
|
<code>optional bool use_rins_lns = 129 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseFeasibilityPump()">
|
|
<h3>hasUseFeasibilityPump</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseFeasibilityPump</span>()</div>
|
|
<div class="block"><pre>
|
|
Adds a feasibility pump subsolver along with lns subsolvers.
|
|
</pre>
|
|
|
|
<code>optional bool use_feasibility_pump = 164 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseFeasibilityPump()">hasUseFeasibilityPump</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useFeasibilityPump field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseFeasibilityPump()">
|
|
<h3>getUseFeasibilityPump</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseFeasibilityPump</span>()</div>
|
|
<div class="block"><pre>
|
|
Adds a feasibility pump subsolver along with lns subsolvers.
|
|
</pre>
|
|
|
|
<code>optional bool use_feasibility_pump = 164 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseFeasibilityPump()">getUseFeasibilityPump</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useFeasibilityPump.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseFeasibilityPump(boolean)">
|
|
<h3>setUseFeasibilityPump</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseFeasibilityPump</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Adds a feasibility pump subsolver along with lns subsolvers.
|
|
</pre>
|
|
|
|
<code>optional bool use_feasibility_pump = 164 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useFeasibilityPump to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseFeasibilityPump()">
|
|
<h3>clearUseFeasibilityPump</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseFeasibilityPump</span>()</div>
|
|
<div class="block"><pre>
|
|
Adds a feasibility pump subsolver along with lns subsolvers.
|
|
</pre>
|
|
|
|
<code>optional bool use_feasibility_pump = 164 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasFpRounding()">
|
|
<h3>hasFpRounding</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasFpRounding</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasFpRounding()">hasFpRounding</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the fpRounding field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getFpRounding()">
|
|
<h3>getFpRounding</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.FPRoundingMethod.html" title="enum in com.google.ortools.sat">SatParameters.FPRoundingMethod</a></span> <span class="element-name">getFpRounding</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getFpRounding()">getFpRounding</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The fpRounding.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setFpRounding(com.google.ortools.sat.SatParameters.FPRoundingMethod)">
|
|
<h3>setFpRounding</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setFpRounding</span><wbr><span class="parameters">(<a href="SatParameters.FPRoundingMethod.html" title="enum in com.google.ortools.sat">SatParameters.FPRoundingMethod</a> value)</span></div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The fpRounding to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearFpRounding()">
|
|
<h3>clearFpRounding</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearFpRounding</span>()</div>
|
|
<div class="block"><code>optional .operations_research.sat.SatParameters.FPRoundingMethod fp_rounding = 165 [default = PROPAGATION_ASSISTED];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseRelaxationLns()">
|
|
<h3>hasUseRelaxationLns</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseRelaxationLns</span>()</div>
|
|
<div class="block"><pre>
|
|
Turns on a lns worker which solves relaxed version of the original problem
|
|
by removing constraints from the problem in order to get better bounds.
|
|
</pre>
|
|
|
|
<code>optional bool use_relaxation_lns = 150 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseRelaxationLns()">hasUseRelaxationLns</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useRelaxationLns field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseRelaxationLns()">
|
|
<h3>getUseRelaxationLns</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseRelaxationLns</span>()</div>
|
|
<div class="block"><pre>
|
|
Turns on a lns worker which solves relaxed version of the original problem
|
|
by removing constraints from the problem in order to get better bounds.
|
|
</pre>
|
|
|
|
<code>optional bool use_relaxation_lns = 150 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseRelaxationLns()">getUseRelaxationLns</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useRelaxationLns.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseRelaxationLns(boolean)">
|
|
<h3>setUseRelaxationLns</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseRelaxationLns</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Turns on a lns worker which solves relaxed version of the original problem
|
|
by removing constraints from the problem in order to get better bounds.
|
|
</pre>
|
|
|
|
<code>optional bool use_relaxation_lns = 150 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useRelaxationLns to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseRelaxationLns()">
|
|
<h3>clearUseRelaxationLns</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseRelaxationLns</span>()</div>
|
|
<div class="block"><pre>
|
|
Turns on a lns worker which solves relaxed version of the original problem
|
|
by removing constraints from the problem in order to get better bounds.
|
|
</pre>
|
|
|
|
<code>optional bool use_relaxation_lns = 150 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasDiversifyLnsParams()">
|
|
<h3>hasDiversifyLnsParams</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasDiversifyLnsParams</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, registers more lns subsolvers with different parameters.
|
|
</pre>
|
|
|
|
<code>optional bool diversify_lns_params = 137 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasDiversifyLnsParams()">hasDiversifyLnsParams</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the diversifyLnsParams field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getDiversifyLnsParams()">
|
|
<h3>getDiversifyLnsParams</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getDiversifyLnsParams</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, registers more lns subsolvers with different parameters.
|
|
</pre>
|
|
|
|
<code>optional bool diversify_lns_params = 137 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getDiversifyLnsParams()">getDiversifyLnsParams</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The diversifyLnsParams.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setDiversifyLnsParams(boolean)">
|
|
<h3>setDiversifyLnsParams</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setDiversifyLnsParams</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
If true, registers more lns subsolvers with different parameters.
|
|
</pre>
|
|
|
|
<code>optional bool diversify_lns_params = 137 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The diversifyLnsParams to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearDiversifyLnsParams()">
|
|
<h3>clearDiversifyLnsParams</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearDiversifyLnsParams</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, registers more lns subsolvers with different parameters.
|
|
</pre>
|
|
|
|
<code>optional bool diversify_lns_params = 137 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasRandomizeSearch()">
|
|
<h3>hasRandomizeSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasRandomizeSearch</span>()</div>
|
|
<div class="block"><pre>
|
|
Randomize fixed search.
|
|
</pre>
|
|
|
|
<code>optional bool randomize_search = 103 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasRandomizeSearch()">hasRandomizeSearch</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the randomizeSearch field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getRandomizeSearch()">
|
|
<h3>getRandomizeSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getRandomizeSearch</span>()</div>
|
|
<div class="block"><pre>
|
|
Randomize fixed search.
|
|
</pre>
|
|
|
|
<code>optional bool randomize_search = 103 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getRandomizeSearch()">getRandomizeSearch</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The randomizeSearch.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setRandomizeSearch(boolean)">
|
|
<h3>setRandomizeSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setRandomizeSearch</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
Randomize fixed search.
|
|
</pre>
|
|
|
|
<code>optional bool randomize_search = 103 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The randomizeSearch to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearRandomizeSearch()">
|
|
<h3>clearRandomizeSearch</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearRandomizeSearch</span>()</div>
|
|
<div class="block"><pre>
|
|
Randomize fixed search.
|
|
</pre>
|
|
|
|
<code>optional bool randomize_search = 103 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasSearchRandomizationTolerance()">
|
|
<h3>hasSearchRandomizationTolerance</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasSearchRandomizationTolerance</span>()</div>
|
|
<div class="block"><pre>
|
|
Search randomization will collect equivalent 'max valued' variables, and
|
|
pick one randomly. For instance, if the variable strategy is CHOOSE_FIRST,
|
|
all unassigned variables are equivalent. If the variable strategy is
|
|
CHOOSE_LOWEST_MIN, and `lm` is the current lowest min of all unassigned
|
|
variables, then the set of max valued variables will be all unassigned
|
|
variables where
|
|
lm <= variable min <= lm + search_randomization_tolerance
|
|
</pre>
|
|
|
|
<code>optional int64 search_randomization_tolerance = 104 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasSearchRandomizationTolerance()">hasSearchRandomizationTolerance</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the searchRandomizationTolerance field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSearchRandomizationTolerance()">
|
|
<h3>getSearchRandomizationTolerance</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getSearchRandomizationTolerance</span>()</div>
|
|
<div class="block"><pre>
|
|
Search randomization will collect equivalent 'max valued' variables, and
|
|
pick one randomly. For instance, if the variable strategy is CHOOSE_FIRST,
|
|
all unassigned variables are equivalent. If the variable strategy is
|
|
CHOOSE_LOWEST_MIN, and `lm` is the current lowest min of all unassigned
|
|
variables, then the set of max valued variables will be all unassigned
|
|
variables where
|
|
lm <= variable min <= lm + search_randomization_tolerance
|
|
</pre>
|
|
|
|
<code>optional int64 search_randomization_tolerance = 104 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getSearchRandomizationTolerance()">getSearchRandomizationTolerance</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The searchRandomizationTolerance.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSearchRandomizationTolerance(long)">
|
|
<h3>setSearchRandomizationTolerance</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setSearchRandomizationTolerance</span><wbr><span class="parameters">(long value)</span></div>
|
|
<div class="block"><pre>
|
|
Search randomization will collect equivalent 'max valued' variables, and
|
|
pick one randomly. For instance, if the variable strategy is CHOOSE_FIRST,
|
|
all unassigned variables are equivalent. If the variable strategy is
|
|
CHOOSE_LOWEST_MIN, and `lm` is the current lowest min of all unassigned
|
|
variables, then the set of max valued variables will be all unassigned
|
|
variables where
|
|
lm <= variable min <= lm + search_randomization_tolerance
|
|
</pre>
|
|
|
|
<code>optional int64 search_randomization_tolerance = 104 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The searchRandomizationTolerance to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearSearchRandomizationTolerance()">
|
|
<h3>clearSearchRandomizationTolerance</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearSearchRandomizationTolerance</span>()</div>
|
|
<div class="block"><pre>
|
|
Search randomization will collect equivalent 'max valued' variables, and
|
|
pick one randomly. For instance, if the variable strategy is CHOOSE_FIRST,
|
|
all unassigned variables are equivalent. If the variable strategy is
|
|
CHOOSE_LOWEST_MIN, and `lm` is the current lowest min of all unassigned
|
|
variables, then the set of max valued variables will be all unassigned
|
|
variables where
|
|
lm <= variable min <= lm + search_randomization_tolerance
|
|
</pre>
|
|
|
|
<code>optional int64 search_randomization_tolerance = 104 [default = 0];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseOptionalVariables()">
|
|
<h3>hasUseOptionalVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseOptionalVariables</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_optional_variables = 108 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseOptionalVariables()">hasUseOptionalVariables</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useOptionalVariables field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseOptionalVariables()">
|
|
<h3>getUseOptionalVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseOptionalVariables</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_optional_variables = 108 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseOptionalVariables()">getUseOptionalVariables</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useOptionalVariables.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseOptionalVariables(boolean)">
|
|
<h3>setUseOptionalVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseOptionalVariables</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_optional_variables = 108 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useOptionalVariables to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseOptionalVariables()">
|
|
<h3>clearUseOptionalVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseOptionalVariables</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_optional_variables = 108 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseExactLpReason()">
|
|
<h3>hasUseExactLpReason</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseExactLpReason</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_exact_lp_reason = 109 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseExactLpReason()">hasUseExactLpReason</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useExactLpReason field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseExactLpReason()">
|
|
<h3>getUseExactLpReason</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseExactLpReason</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_exact_lp_reason = 109 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseExactLpReason()">getUseExactLpReason</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useExactLpReason.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseExactLpReason(boolean)">
|
|
<h3>setUseExactLpReason</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseExactLpReason</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_exact_lp_reason = 109 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useExactLpReason to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseExactLpReason()">
|
|
<h3>clearUseExactLpReason</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseExactLpReason</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_exact_lp_reason = 109 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseBranchingInLp()">
|
|
<h3>hasUseBranchingInLp</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseBranchingInLp</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, the solver attemts to generate more info inside lp propagator by
|
|
branching on some variables if certain criteria are met during the search
|
|
tree exploration.
|
|
</pre>
|
|
|
|
<code>optional bool use_branching_in_lp = 139 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseBranchingInLp()">hasUseBranchingInLp</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useBranchingInLp field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseBranchingInLp()">
|
|
<h3>getUseBranchingInLp</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseBranchingInLp</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, the solver attemts to generate more info inside lp propagator by
|
|
branching on some variables if certain criteria are met during the search
|
|
tree exploration.
|
|
</pre>
|
|
|
|
<code>optional bool use_branching_in_lp = 139 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseBranchingInLp()">getUseBranchingInLp</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useBranchingInLp.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseBranchingInLp(boolean)">
|
|
<h3>setUseBranchingInLp</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseBranchingInLp</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
If true, the solver attemts to generate more info inside lp propagator by
|
|
branching on some variables if certain criteria are met during the search
|
|
tree exploration.
|
|
</pre>
|
|
|
|
<code>optional bool use_branching_in_lp = 139 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useBranchingInLp to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseBranchingInLp()">
|
|
<h3>clearUseBranchingInLp</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseBranchingInLp</span>()</div>
|
|
<div class="block"><pre>
|
|
If true, the solver attemts to generate more info inside lp propagator by
|
|
branching on some variables if certain criteria are met during the search
|
|
tree exploration.
|
|
</pre>
|
|
|
|
<code>optional bool use_branching_in_lp = 139 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseCombinedNoOverlap()">
|
|
<h3>hasUseCombinedNoOverlap</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseCombinedNoOverlap</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_combined_no_overlap = 133 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseCombinedNoOverlap()">hasUseCombinedNoOverlap</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useCombinedNoOverlap field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseCombinedNoOverlap()">
|
|
<h3>getUseCombinedNoOverlap</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseCombinedNoOverlap</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_combined_no_overlap = 133 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseCombinedNoOverlap()">getUseCombinedNoOverlap</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useCombinedNoOverlap.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseCombinedNoOverlap(boolean)">
|
|
<h3>setUseCombinedNoOverlap</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseCombinedNoOverlap</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_combined_no_overlap = 133 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useCombinedNoOverlap to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseCombinedNoOverlap()">
|
|
<h3>clearUseCombinedNoOverlap</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseCombinedNoOverlap</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_combined_no_overlap = 133 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasCatchSigintSignal()">
|
|
<h3>hasCatchSigintSignal</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasCatchSigintSignal</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool catch_sigint_signal = 135 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasCatchSigintSignal()">hasCatchSigintSignal</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the catchSigintSignal field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getCatchSigintSignal()">
|
|
<h3>getCatchSigintSignal</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getCatchSigintSignal</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool catch_sigint_signal = 135 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getCatchSigintSignal()">getCatchSigintSignal</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The catchSigintSignal.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setCatchSigintSignal(boolean)">
|
|
<h3>setCatchSigintSignal</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setCatchSigintSignal</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool catch_sigint_signal = 135 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The catchSigintSignal to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearCatchSigintSignal()">
|
|
<h3>clearCatchSigintSignal</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearCatchSigintSignal</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool catch_sigint_signal = 135 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasUseImpliedBounds()">
|
|
<h3>hasUseImpliedBounds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasUseImpliedBounds</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_implied_bounds = 144 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasUseImpliedBounds()">hasUseImpliedBounds</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the useImpliedBounds field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getUseImpliedBounds()">
|
|
<h3>getUseImpliedBounds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getUseImpliedBounds</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_implied_bounds = 144 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getUseImpliedBounds()">getUseImpliedBounds</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The useImpliedBounds.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUseImpliedBounds(boolean)">
|
|
<h3>setUseImpliedBounds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUseImpliedBounds</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_implied_bounds = 144 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The useImpliedBounds to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearUseImpliedBounds()">
|
|
<h3>clearUseImpliedBounds</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearUseImpliedBounds</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool use_implied_bounds = 144 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasPolishLpSolution()">
|
|
<h3>hasPolishLpSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasPolishLpSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool polish_lp_solution = 175 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasPolishLpSolution()">hasPolishLpSolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the polishLpSolution field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPolishLpSolution()">
|
|
<h3>getPolishLpSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getPolishLpSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool polish_lp_solution = 175 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getPolishLpSolution()">getPolishLpSolution</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The polishLpSolution.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPolishLpSolution(boolean)">
|
|
<h3>setPolishLpSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setPolishLpSolution</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool polish_lp_solution = 175 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The polishLpSolution to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearPolishLpSolution()">
|
|
<h3>clearPolishLpSolution</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearPolishLpSolution</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool polish_lp_solution = 175 [default = false];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasConvertIntervals()">
|
|
<h3>hasConvertIntervals</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasConvertIntervals</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool convert_intervals = 177 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasConvertIntervals()">hasConvertIntervals</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the convertIntervals field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getConvertIntervals()">
|
|
<h3>getConvertIntervals</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getConvertIntervals</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool convert_intervals = 177 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getConvertIntervals()">getConvertIntervals</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The convertIntervals.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setConvertIntervals(boolean)">
|
|
<h3>setConvertIntervals</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setConvertIntervals</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool convert_intervals = 177 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The convertIntervals to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearConvertIntervals()">
|
|
<h3>clearConvertIntervals</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearConvertIntervals</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool convert_intervals = 177 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasSymmetryLevel()">
|
|
<h3>hasSymmetryLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasSymmetryLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 symmetry_level = 183 [default = 2];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasSymmetryLevel()">hasSymmetryLevel</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the symmetryLevel field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSymmetryLevel()">
|
|
<h3>getSymmetryLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getSymmetryLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 symmetry_level = 183 [default = 2];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getSymmetryLevel()">getSymmetryLevel</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The symmetryLevel.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSymmetryLevel(int)">
|
|
<h3>setSymmetryLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setSymmetryLevel</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 symmetry_level = 183 [default = 2];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The symmetryLevel to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearSymmetryLevel()">
|
|
<h3>clearSymmetryLevel</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearSymmetryLevel</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 symmetry_level = 183 [default = 2];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMipMaxBound()">
|
|
<h3>hasMipMaxBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMipMaxBound</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_max_bound = 124 [default = 10000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMipMaxBound()">hasMipMaxBound</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the mipMaxBound field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMipMaxBound()">
|
|
<h3>getMipMaxBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getMipMaxBound</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_max_bound = 124 [default = 10000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMipMaxBound()">getMipMaxBound</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The mipMaxBound.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMipMaxBound(double)">
|
|
<h3>setMipMaxBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMipMaxBound</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_max_bound = 124 [default = 10000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The mipMaxBound to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMipMaxBound()">
|
|
<h3>clearMipMaxBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMipMaxBound</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_max_bound = 124 [default = 10000000];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMipVarScaling()">
|
|
<h3>hasMipVarScaling</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMipVarScaling</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_var_scaling = 125 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMipVarScaling()">hasMipVarScaling</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the mipVarScaling field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMipVarScaling()">
|
|
<h3>getMipVarScaling</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getMipVarScaling</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_var_scaling = 125 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMipVarScaling()">getMipVarScaling</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The mipVarScaling.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMipVarScaling(double)">
|
|
<h3>setMipVarScaling</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMipVarScaling</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_var_scaling = 125 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The mipVarScaling to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMipVarScaling()">
|
|
<h3>clearMipVarScaling</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMipVarScaling</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_var_scaling = 125 [default = 1];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMipAutomaticallyScaleVariables()">
|
|
<h3>hasMipAutomaticallyScaleVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMipAutomaticallyScaleVariables</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool mip_automatically_scale_variables = 166 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMipAutomaticallyScaleVariables()">hasMipAutomaticallyScaleVariables</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the mipAutomaticallyScaleVariables field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMipAutomaticallyScaleVariables()">
|
|
<h3>getMipAutomaticallyScaleVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getMipAutomaticallyScaleVariables</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool mip_automatically_scale_variables = 166 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMipAutomaticallyScaleVariables()">getMipAutomaticallyScaleVariables</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The mipAutomaticallyScaleVariables.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMipAutomaticallyScaleVariables(boolean)">
|
|
<h3>setMipAutomaticallyScaleVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMipAutomaticallyScaleVariables</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool mip_automatically_scale_variables = 166 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The mipAutomaticallyScaleVariables to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMipAutomaticallyScaleVariables()">
|
|
<h3>clearMipAutomaticallyScaleVariables</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMipAutomaticallyScaleVariables</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool mip_automatically_scale_variables = 166 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMipWantedPrecision()">
|
|
<h3>hasMipWantedPrecision</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMipWantedPrecision</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_wanted_precision = 126 [default = 1e-06];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMipWantedPrecision()">hasMipWantedPrecision</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the mipWantedPrecision field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMipWantedPrecision()">
|
|
<h3>getMipWantedPrecision</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getMipWantedPrecision</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_wanted_precision = 126 [default = 1e-06];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMipWantedPrecision()">getMipWantedPrecision</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The mipWantedPrecision.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMipWantedPrecision(double)">
|
|
<h3>setMipWantedPrecision</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMipWantedPrecision</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_wanted_precision = 126 [default = 1e-06];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The mipWantedPrecision to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMipWantedPrecision()">
|
|
<h3>clearMipWantedPrecision</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMipWantedPrecision</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_wanted_precision = 126 [default = 1e-06];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMipMaxActivityExponent()">
|
|
<h3>hasMipMaxActivityExponent</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMipMaxActivityExponent</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 mip_max_activity_exponent = 127 [default = 53];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMipMaxActivityExponent()">hasMipMaxActivityExponent</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the mipMaxActivityExponent field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMipMaxActivityExponent()">
|
|
<h3>getMipMaxActivityExponent</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getMipMaxActivityExponent</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 mip_max_activity_exponent = 127 [default = 53];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMipMaxActivityExponent()">getMipMaxActivityExponent</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The mipMaxActivityExponent.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMipMaxActivityExponent(int)">
|
|
<h3>setMipMaxActivityExponent</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMipMaxActivityExponent</span><wbr><span class="parameters">(int value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 mip_max_activity_exponent = 127 [default = 53];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The mipMaxActivityExponent to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMipMaxActivityExponent()">
|
|
<h3>clearMipMaxActivityExponent</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMipMaxActivityExponent</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional int32 mip_max_activity_exponent = 127 [default = 53];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMipCheckPrecision()">
|
|
<h3>hasMipCheckPrecision</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMipCheckPrecision</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_check_precision = 128 [default = 0.0001];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMipCheckPrecision()">hasMipCheckPrecision</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the mipCheckPrecision field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMipCheckPrecision()">
|
|
<h3>getMipCheckPrecision</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getMipCheckPrecision</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_check_precision = 128 [default = 0.0001];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMipCheckPrecision()">getMipCheckPrecision</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The mipCheckPrecision.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMipCheckPrecision(double)">
|
|
<h3>setMipCheckPrecision</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMipCheckPrecision</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_check_precision = 128 [default = 0.0001];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The mipCheckPrecision to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMipCheckPrecision()">
|
|
<h3>clearMipCheckPrecision</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMipCheckPrecision</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_check_precision = 128 [default = 0.0001];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMipComputeTrueObjectiveBound()">
|
|
<h3>hasMipComputeTrueObjectiveBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMipComputeTrueObjectiveBound</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool mip_compute_true_objective_bound = 198 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMipComputeTrueObjectiveBound()">hasMipComputeTrueObjectiveBound</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the mipComputeTrueObjectiveBound field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMipComputeTrueObjectiveBound()">
|
|
<h3>getMipComputeTrueObjectiveBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">getMipComputeTrueObjectiveBound</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool mip_compute_true_objective_bound = 198 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMipComputeTrueObjectiveBound()">getMipComputeTrueObjectiveBound</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The mipComputeTrueObjectiveBound.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMipComputeTrueObjectiveBound(boolean)">
|
|
<h3>setMipComputeTrueObjectiveBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMipComputeTrueObjectiveBound</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool mip_compute_true_objective_bound = 198 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The mipComputeTrueObjectiveBound to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMipComputeTrueObjectiveBound()">
|
|
<h3>clearMipComputeTrueObjectiveBound</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMipComputeTrueObjectiveBound</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional bool mip_compute_true_objective_bound = 198 [default = true];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasMipMaxValidMagnitude()">
|
|
<h3>hasMipMaxValidMagnitude</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">hasMipMaxValidMagnitude</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_max_valid_magnitude = 199 [default = 1e+30];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#hasMipMaxValidMagnitude()">hasMipMaxValidMagnitude</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the mipMaxValidMagnitude field is set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMipMaxValidMagnitude()">
|
|
<h3>getMipMaxValidMagnitude</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getMipMaxValidMagnitude</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_max_valid_magnitude = 199 [default = 1e+30];</code></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="SatParametersOrBuilder.html#getMipMaxValidMagnitude()">getMipMaxValidMagnitude</a></code> in interface <code><a href="SatParametersOrBuilder.html" title="interface in com.google.ortools.sat">SatParametersOrBuilder</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The mipMaxValidMagnitude.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMipMaxValidMagnitude(double)">
|
|
<h3>setMipMaxValidMagnitude</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setMipMaxValidMagnitude</span><wbr><span class="parameters">(double value)</span></div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_max_valid_magnitude = 199 [default = 1e+30];</code></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - The mipMaxValidMagnitude to set.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="clearMipMaxValidMagnitude()">
|
|
<h3>clearMipMaxValidMagnitude</h3>
|
|
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">clearMipMaxValidMagnitude</span>()</div>
|
|
<div class="block"><pre>
|
|
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.
|
|
</pre>
|
|
|
|
<code>optional double mip_max_valid_magnitude = 199 [default = 1e+30];</code></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>This builder for chaining.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setUnknownFields(com.google.protobuf.UnknownFieldSet)">
|
|
<h3>setUnknownFields</h3>
|
|
<div class="member-signature"><span class="modifiers">public final</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">setUnknownFields</span><wbr><span class="parameters">(com.google.protobuf.UnknownFieldSet unknownFields)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>setUnknownFields</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>setUnknownFields</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="mergeUnknownFields(com.google.protobuf.UnknownFieldSet)">
|
|
<h3>mergeUnknownFields</h3>
|
|
<div class="member-signature"><span class="modifiers">public final</span> <span class="return-type"><a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a></span> <span class="element-name">mergeUnknownFields</span><wbr><span class="parameters">(com.google.protobuf.UnknownFieldSet unknownFields)</span></div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code>mergeUnknownFields</code> in interface <code>com.google.protobuf.Message.Builder</code></dd>
|
|
<dt>Overrides:</dt>
|
|
<dd><code>mergeUnknownFields</code> in class <code>com.google.protobuf.GeneratedMessageV3.Builder<<a href="SatParameters.Builder.html" title="class in com.google.ortools.sat">SatParameters.Builder</a>></code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
</main>
|
|
<footer role="contentinfo">
|
|
<hr>
|
|
<p class="legal-copy"><small>Copyright © 2022. All rights reserved.</small></p>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|