Files
ortools-clone/docs/javadoc/com/google/ortools/sat/CpModelProto.Builder.html
Mizux Seiha 3b81c981c2 Update doc
2022-03-04 00:19:15 +01:00

2643 lines
203 KiB
HTML

<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) on Thu Mar 03 21:59:09 CET 2022 -->
<title>CpModelProto.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: CpModelProto, 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/CpModelProto.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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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>&nbsp;<a href="package-summary.html">com.google.ortools.sat</a></div>
<h1 title="Class CpModelProto.Builder" class="title">Class CpModelProto.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&lt;BuilderType&gt;
<div class="inheritance">com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;
<div class="inheritance">com.google.ortools.sat.CpModelProto.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="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</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="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></dd>
</dl>
<hr>
<div class="type-signature"><span class="modifiers">public static final class </span><span class="element-name type-name-label">CpModelProto.Builder</span>
<span class="extends-implements">extends com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;
implements <a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></span></div>
<div class="block"><pre>
A constraint programming problem.
</pre>
Protobuf type <code>operations_research.sat.CpModelProto</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="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addAllAssumptions(java.lang.Iterable)" class="member-name-link">addAllAssumptions</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>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&gt;&nbsp;values)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
A list of literals.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addAllConstraints(java.lang.Iterable)" class="member-name-link">addAllConstraints</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>&lt;? extends <a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a>&gt;&nbsp;values)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addAllSearchStrategy(java.lang.Iterable)" class="member-name-link">addAllSearchStrategy</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>&lt;? extends <a href="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a>&gt;&nbsp;values)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to 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="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addAllVariables(java.lang.Iterable)" class="member-name-link">addAllVariables</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>&lt;? extends <a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a>&gt;&nbsp;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 associated Protos should be referred by their index in these fields.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addAssumptions(int)" class="member-name-link">addAssumptions</a><wbr>(int&nbsp;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 list of literals.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addConstraints(int,com.google.ortools.sat.ConstraintProto)" class="member-name-link">addConstraints</a><wbr>(int&nbsp;index,
<a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a>&nbsp;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>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addConstraints(int,com.google.ortools.sat.ConstraintProto.Builder)" class="member-name-link">addConstraints</a><wbr>(int&nbsp;index,
<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addConstraints(com.google.ortools.sat.ConstraintProto)" class="member-name-link">addConstraints</a><wbr>(<a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a>&nbsp;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>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addConstraints(com.google.ortools.sat.ConstraintProto.Builder)" class="member-name-link">addConstraints</a><wbr>(<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.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="#addConstraintsBuilder()" class="member-name-link">addConstraintsBuilder</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>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.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="#addConstraintsBuilder(int)" class="member-name-link">addConstraintsBuilder</a><wbr>(int&nbsp;index)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)" class="member-name-link">addRepeatedField</a><wbr>(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;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>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addSearchStrategy(int,com.google.ortools.sat.DecisionStrategyProto)" class="member-name-link">addSearchStrategy</a><wbr>(int&nbsp;index,
<a href="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to 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="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addSearchStrategy(int,com.google.ortools.sat.DecisionStrategyProto.Builder)" class="member-name-link">addSearchStrategy</a><wbr>(int&nbsp;index,
<a href="DecisionStrategyProto.Builder.html" title="class in com.google.ortools.sat">DecisionStrategyProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addSearchStrategy(com.google.ortools.sat.DecisionStrategyProto)" class="member-name-link">addSearchStrategy</a><wbr>(<a href="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to 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="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addSearchStrategy(com.google.ortools.sat.DecisionStrategyProto.Builder)" class="member-name-link">addSearchStrategy</a><wbr>(<a href="DecisionStrategyProto.Builder.html" title="class in com.google.ortools.sat">DecisionStrategyProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="DecisionStrategyProto.Builder.html" title="class in com.google.ortools.sat">DecisionStrategyProto.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="#addSearchStrategyBuilder()" class="member-name-link">addSearchStrategyBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to 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="DecisionStrategyProto.Builder.html" title="class in com.google.ortools.sat">DecisionStrategyProto.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="#addSearchStrategyBuilder(int)" class="member-name-link">addSearchStrategyBuilder</a><wbr>(int&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addVariables(int,com.google.ortools.sat.IntegerVariableProto)" class="member-name-link">addVariables</a><wbr>(int&nbsp;index,
<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a>&nbsp;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 associated Protos should be referred by their index in these fields.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addVariables(int,com.google.ortools.sat.IntegerVariableProto.Builder)" class="member-name-link">addVariables</a><wbr>(int&nbsp;index,
<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The associated Protos should be referred by their index in these fields.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addVariables(com.google.ortools.sat.IntegerVariableProto)" class="member-name-link">addVariables</a><wbr>(<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a>&nbsp;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 associated Protos should be referred by their index in these fields.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#addVariables(com.google.ortools.sat.IntegerVariableProto.Builder)" class="member-name-link">addVariables</a><wbr>(<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The associated Protos should be referred by their index in these fields.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.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="#addVariablesBuilder()" class="member-name-link">addVariablesBuilder</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 associated Protos should be referred by their index in these fields.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.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="#addVariablesBuilder(int)" class="member-name-link">addVariablesBuilder</a><wbr>(int&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The associated Protos should be referred by their index in these fields.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</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">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</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">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#clearAssumptions()" class="member-name-link">clearAssumptions</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 list of literals.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#clearConstraints()" class="member-name-link">clearConstraints</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>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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&nbsp;field)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#clearFloatingPointObjective()" class="member-name-link">clearFloatingPointObjective</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Advanced usage.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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">
For debug/logging only.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#clearObjective()" class="member-name-link">clearObjective</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 objective to minimize.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)" class="member-name-link">clearOneof</a><wbr>(com.google.protobuf.Descriptors.OneofDescriptor&nbsp;oneof)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#clearSearchStrategy()" class="member-name-link">clearSearchStrategy</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to 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="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#clearSolutionHint()" class="member-name-link">clearSolutionHint</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#clearSymmetry()" class="member-name-link">clearSymmetry</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 now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#clearVariables()" class="member-name-link">clearVariables</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 associated Protos should be referred by their index in these fields.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#clone()" class="member-name-link">clone</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</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="#getAssumptions(int)" class="member-name-link">getAssumptions</a><wbr>(int&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
A list of literals.</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="#getAssumptionsCount()" class="member-name-link">getAssumptionsCount</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 list of literals.</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>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAssumptionsList()" class="member-name-link">getAssumptionsList</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 list of literals.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getConstraints(int)" class="member-name-link">getConstraints</a><wbr>(int&nbsp;index)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.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="#getConstraintsBuilder(int)" class="member-name-link">getConstraintsBuilder</a><wbr>(int&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></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>&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getConstraintsBuilderList()" class="member-name-link">getConstraintsBuilderList</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>repeated .operations_research.sat.ConstraintProto constraints = 3;</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="#getConstraintsCount()" class="member-name-link">getConstraintsCount</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>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></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>&lt;<a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getConstraintsList()" class="member-name-link">getConstraintsList</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>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getConstraintsOrBuilder(int)" class="member-name-link">getConstraintsOrBuilder</a><wbr>(int&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></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>&lt;? extends <a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getConstraintsOrBuilderList()" class="member-name-link">getConstraintsOrBuilderList</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>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></code></div>
<div class="col-second odd-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 odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-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 even-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 even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-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 odd-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 odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="FloatObjectiveProto.html" title="class in com.google.ortools.sat">FloatObjectiveProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFloatingPointObjective()" class="member-name-link">getFloatingPointObjective</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Advanced usage.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="FloatObjectiveProto.Builder.html" title="class in com.google.ortools.sat">FloatObjectiveProto.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="#getFloatingPointObjectiveBuilder()" class="member-name-link">getFloatingPointObjectiveBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Advanced usage.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="FloatObjectiveProtoOrBuilder.html" title="interface in com.google.ortools.sat">FloatObjectiveProtoOrBuilder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFloatingPointObjectiveOrBuilder()" class="member-name-link">getFloatingPointObjectiveOrBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Advanced usage.</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">
For debug/logging only.</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">
For debug/logging only.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpObjectiveProto.html" title="class in com.google.ortools.sat">CpObjectiveProto</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getObjective()" class="member-name-link">getObjective</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 objective to minimize.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpObjectiveProto.Builder.html" title="class in com.google.ortools.sat">CpObjectiveProto.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="#getObjectiveBuilder()" class="member-name-link">getObjectiveBuilder</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 objective to minimize.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpObjectiveProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpObjectiveProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getObjectiveOrBuilder()" class="member-name-link">getObjectiveOrBuilder</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 objective to minimize.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSearchStrategy(int)" class="member-name-link">getSearchStrategy</a><wbr>(int&nbsp;index)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to 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="DecisionStrategyProto.Builder.html" title="class in com.google.ortools.sat">DecisionStrategyProto.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="#getSearchStrategyBuilder(int)" class="member-name-link">getSearchStrategyBuilder</a><wbr>(int&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH.</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>&lt;<a href="DecisionStrategyProto.Builder.html" title="class in com.google.ortools.sat">DecisionStrategyProto.Builder</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSearchStrategyBuilderList()" class="member-name-link">getSearchStrategyBuilderList</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_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="#getSearchStrategyCount()" class="member-name-link">getSearchStrategyCount</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH.</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>&lt;<a href="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSearchStrategyList()" class="member-name-link">getSearchStrategyList</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to 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="DecisionStrategyProtoOrBuilder.html" title="interface in com.google.ortools.sat">DecisionStrategyProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSearchStrategyOrBuilder(int)" class="member-name-link">getSearchStrategyOrBuilder</a><wbr>(int&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH.</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>&lt;? extends <a href="DecisionStrategyProtoOrBuilder.html" title="interface in com.google.ortools.sat">DecisionStrategyProtoOrBuilder</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSearchStrategyOrBuilderList()" class="member-name-link">getSearchStrategyOrBuilderList</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to 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="PartialVariableAssignment.html" title="class in com.google.ortools.sat">PartialVariableAssignment</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSolutionHint()" class="member-name-link">getSolutionHint</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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="PartialVariableAssignment.Builder.html" title="class in com.google.ortools.sat">PartialVariableAssignment.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="#getSolutionHintBuilder()" class="member-name-link">getSolutionHintBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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="PartialVariableAssignmentOrBuilder.html" title="interface in com.google.ortools.sat">PartialVariableAssignmentOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSolutionHintOrBuilder()" class="member-name-link">getSolutionHintOrBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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="SymmetryProto.html" title="class in com.google.ortools.sat">SymmetryProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSymmetry()" class="member-name-link">getSymmetry</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 now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SymmetryProto.Builder.html" title="class in com.google.ortools.sat">SymmetryProto.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="#getSymmetryBuilder()" class="member-name-link">getSymmetryBuilder</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 now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SymmetryProtoOrBuilder.html" title="interface in com.google.ortools.sat">SymmetryProtoOrBuilder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSymmetryOrBuilder()" class="member-name-link">getSymmetryOrBuilder</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 now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getVariables(int)" class="member-name-link">getVariables</a><wbr>(int&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The associated Protos should be referred by their index in these fields.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.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="#getVariablesBuilder(int)" class="member-name-link">getVariablesBuilder</a><wbr>(int&nbsp;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 associated Protos should be referred by their index in these fields.</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>&lt;<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getVariablesBuilderList()" class="member-name-link">getVariablesBuilderList</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 associated Protos should be referred by their index in these fields.</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="#getVariablesCount()" class="member-name-link">getVariablesCount</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 associated Protos should be referred by their index in these fields.</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>&lt;<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getVariablesList()" class="member-name-link">getVariablesList</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 associated Protos should be referred by their index in these fields.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="IntegerVariableProtoOrBuilder.html" title="interface in com.google.ortools.sat">IntegerVariableProtoOrBuilder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getVariablesOrBuilder(int)" class="member-name-link">getVariablesOrBuilder</a><wbr>(int&nbsp;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 associated Protos should be referred by their index in these fields.</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>&lt;? extends <a href="IntegerVariableProtoOrBuilder.html" title="interface in com.google.ortools.sat">IntegerVariableProtoOrBuilder</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getVariablesOrBuilderList()" class="member-name-link">getVariablesOrBuilderList</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 associated Protos should be referred by their index in these fields.</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="#hasFloatingPointObjective()" class="member-name-link">hasFloatingPointObjective</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Advanced usage.</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="#hasObjective()" class="member-name-link">hasObjective</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 objective to minimize.</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="#hasSolutionHint()" class="member-name-link">hasSolutionHint</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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="#hasSymmetry()" class="member-name-link">hasSymmetry</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 now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.</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">&nbsp;</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">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#mergeFloatingPointObjective(com.google.ortools.sat.FloatObjectiveProto)" class="member-name-link">mergeFloatingPointObjective</a><wbr>(<a href="FloatObjectiveProto.html" title="class in com.google.ortools.sat">FloatObjectiveProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Advanced usage.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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.ortools.sat.CpModelProto)" class="member-name-link">mergeFrom</a><wbr>(<a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a>&nbsp;other)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)" class="member-name-link">mergeFrom</a><wbr>(com.google.protobuf.CodedInputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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.Message)" class="member-name-link">mergeFrom</a><wbr>(com.google.protobuf.Message&nbsp;other)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#mergeObjective(com.google.ortools.sat.CpObjectiveProto)" class="member-name-link">mergeObjective</a><wbr>(<a href="CpObjectiveProto.html" title="class in com.google.ortools.sat">CpObjectiveProto</a>&nbsp;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 objective to minimize.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#mergeSolutionHint(com.google.ortools.sat.PartialVariableAssignment)" class="member-name-link">mergeSolutionHint</a><wbr>(<a href="PartialVariableAssignment.html" title="class in com.google.ortools.sat">PartialVariableAssignment</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#mergeSymmetry(com.google.ortools.sat.SymmetryProto)" class="member-name-link">mergeSymmetry</a><wbr>(<a href="SymmetryProto.html" title="class in com.google.ortools.sat">SymmetryProto</a>&nbsp;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 now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>final <a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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&nbsp;unknownFields)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#removeConstraints(int)" class="member-name-link">removeConstraints</a><wbr>(int&nbsp;index)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#removeSearchStrategy(int)" class="member-name-link">removeSearchStrategy</a><wbr>(int&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#removeVariables(int)" class="member-name-link">removeVariables</a><wbr>(int&nbsp;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 associated Protos should be referred by their index in these fields.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setAssumptions(int,int)" class="member-name-link">setAssumptions</a><wbr>(int&nbsp;index,
int&nbsp;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 list of literals.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setConstraints(int,com.google.ortools.sat.ConstraintProto)" class="member-name-link">setConstraints</a><wbr>(int&nbsp;index,
<a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a>&nbsp;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>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setConstraints(int,com.google.ortools.sat.ConstraintProto.Builder)" class="member-name-link">setConstraints</a><wbr>(int&nbsp;index,
<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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&nbsp;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>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setFloatingPointObjective(com.google.ortools.sat.FloatObjectiveProto)" class="member-name-link">setFloatingPointObjective</a><wbr>(<a href="FloatObjectiveProto.html" title="class in com.google.ortools.sat">FloatObjectiveProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Advanced usage.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setFloatingPointObjective(com.google.ortools.sat.FloatObjectiveProto.Builder)" class="member-name-link">setFloatingPointObjective</a><wbr>(<a href="FloatObjectiveProto.Builder.html" title="class in com.google.ortools.sat">FloatObjectiveProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Advanced usage.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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>&nbsp;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 debug/logging only.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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&nbsp;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 debug/logging only.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setObjective(com.google.ortools.sat.CpObjectiveProto)" class="member-name-link">setObjective</a><wbr>(<a href="CpObjectiveProto.html" title="class in com.google.ortools.sat">CpObjectiveProto</a>&nbsp;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 objective to minimize.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setObjective(com.google.ortools.sat.CpObjectiveProto.Builder)" class="member-name-link">setObjective</a><wbr>(<a href="CpObjectiveProto.Builder.html" title="class in com.google.ortools.sat">CpObjectiveProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The objective to minimize.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)" class="member-name-link">setRepeatedField</a><wbr>(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;field,
int&nbsp;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>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setSearchStrategy(int,com.google.ortools.sat.DecisionStrategyProto)" class="member-name-link">setSearchStrategy</a><wbr>(int&nbsp;index,
<a href="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to 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="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setSearchStrategy(int,com.google.ortools.sat.DecisionStrategyProto.Builder)" class="member-name-link">setSearchStrategy</a><wbr>(int&nbsp;index,
<a href="DecisionStrategyProto.Builder.html" title="class in com.google.ortools.sat">DecisionStrategyProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setSolutionHint(com.google.ortools.sat.PartialVariableAssignment)" class="member-name-link">setSolutionHint</a><wbr>(<a href="PartialVariableAssignment.html" title="class in com.google.ortools.sat">PartialVariableAssignment</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setSolutionHint(com.google.ortools.sat.PartialVariableAssignment.Builder)" class="member-name-link">setSolutionHint</a><wbr>(<a href="PartialVariableAssignment.Builder.html" title="class in com.google.ortools.sat">PartialVariableAssignment.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setSymmetry(com.google.ortools.sat.SymmetryProto)" class="member-name-link">setSymmetry</a><wbr>(<a href="SymmetryProto.html" title="class in com.google.ortools.sat">SymmetryProto</a>&nbsp;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 now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setSymmetry(com.google.ortools.sat.SymmetryProto.Builder)" class="member-name-link">setSymmetry</a><wbr>(<a href="SymmetryProto.Builder.html" title="class in com.google.ortools.sat">SymmetryProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
For now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>final <a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setUnknownFields(com.google.protobuf.UnknownFieldSet)" class="member-name-link">setUnknownFields</a><wbr>(com.google.protobuf.UnknownFieldSet&nbsp;unknownFields)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setVariables(int,com.google.ortools.sat.IntegerVariableProto)" class="member-name-link">setVariables</a><wbr>(int&nbsp;index,
<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a>&nbsp;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 associated Protos should be referred by their index in these fields.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.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="#setVariables(int,com.google.ortools.sat.IntegerVariableProto.Builder)" class="member-name-link">setVariables</a><wbr>(int&nbsp;index,
<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The associated Protos should be referred by their index in these fields.</div>
</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-com.google.protobuf.GeneratedMessageV3.Builder">Methods inherited from class&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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>&nbsp;<span class="return-type">com.google.protobuf.Descriptors.Descriptor</span>&nbsp;<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>&nbsp;<span class="return-type">com.google.protobuf.GeneratedMessageV3.FieldAccessorTable</span>&nbsp;<span class="element-name">internalGetFieldAccessorTable</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>internalGetFieldAccessorTable</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="clear()">
<h3>clear</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">clear</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>clear</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Specified by:</dt>
<dd><code>clear</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.MessageLite.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>clear</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDescriptorForType()">
<h3>getDescriptorForType</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">com.google.protobuf.Descriptors.Descriptor</span>&nbsp;<span class="element-name">getDescriptorForType</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>getDescriptorForType</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Specified by:</dt>
<dd><code>getDescriptorForType</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.MessageOrBuilder</code></dd>
<dt>Overrides:</dt>
<dd><code>getDescriptorForType</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDefaultInstanceForType()">
<h3>getDefaultInstanceForType</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span>&nbsp;<span class="element-name">getDefaultInstanceForType</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>getDefaultInstanceForType</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.MessageLiteOrBuilder</code></dd>
<dt>Specified by:</dt>
<dd><code>getDefaultInstanceForType</code>&nbsp;in interface&nbsp;<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>&nbsp;<span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span>&nbsp;<span class="element-name">build</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>build</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Specified by:</dt>
<dd><code>build</code>&nbsp;in interface&nbsp;<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>&nbsp;<span class="return-type"><a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a></span>&nbsp;<span class="element-name">buildPartial</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>buildPartial</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Specified by:</dt>
<dd><code>buildPartial</code>&nbsp;in interface&nbsp;<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>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">clone</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>clone</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Specified by:</dt>
<dd><code>clone</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.MessageLite.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>clone</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;</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>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;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>&nbsp;value)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>setField</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>setField</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;</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>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">clearField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;field)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>clearField</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>clearField</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;</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>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">clearOneof</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.OneofDescriptor&nbsp;oneof)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>clearOneof</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>clearOneof</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;</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>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setRepeatedField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;field,
int&nbsp;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>&nbsp;value)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>setRepeatedField</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>setRepeatedField</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;</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>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addRepeatedField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;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>&nbsp;value)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>addRepeatedField</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>addRepeatedField</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;</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>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">mergeFrom</span><wbr><span class="parameters">(com.google.protobuf.Message&nbsp;other)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>mergeFrom</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>mergeFrom</code>&nbsp;in class&nbsp;<code>com.google.protobuf.AbstractMessage.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="mergeFrom(com.google.ortools.sat.CpModelProto)">
<h3>mergeFrom</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">mergeFrom</span><wbr><span class="parameters">(<a href="CpModelProto.html" title="class in com.google.ortools.sat">CpModelProto</a>&nbsp;other)</span></div>
</section>
</li>
<li>
<section class="detail" id="isInitialized()">
<h3>isInitialized</h3>
<div class="member-signature"><span class="modifiers">public final</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isInitialized</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>isInitialized</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.MessageLiteOrBuilder</code></dd>
<dt>Overrides:</dt>
<dd><code>isInitialized</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;</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>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">mergeFrom</span><wbr><span class="parameters">(com.google.protobuf.CodedInputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;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>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Specified by:</dt>
<dd><code>mergeFrom</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.MessageLite.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>mergeFrom</code>&nbsp;in class&nbsp;<code>com.google.protobuf.AbstractMessage.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;</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="getName()">
<h3>getName</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<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>&nbsp;<span class="element-name">getName</span>()</div>
<div class="block"><pre>
For debug/logging only. Can be empty.
</pre>
<code>string name = 1;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getName()">getName</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</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>&nbsp;<span class="return-type">com.google.protobuf.ByteString</span>&nbsp;<span class="element-name">getNameBytes</span>()</div>
<div class="block"><pre>
For debug/logging only. Can be empty.
</pre>
<code>string name = 1;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getNameBytes()">getNameBytes</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</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>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<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>&nbsp;value)</span></div>
<div class="block"><pre>
For debug/logging only. Can be empty.
</pre>
<code>string name = 1;</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>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">clearName</span>()</div>
<div class="block"><pre>
For debug/logging only. Can be empty.
</pre>
<code>string name = 1;</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>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setNameBytes</span><wbr><span class="parameters">(com.google.protobuf.ByteString&nbsp;value)</span></div>
<div class="block"><pre>
For debug/logging only. Can be empty.
</pre>
<code>string name = 1;</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="getVariablesList()">
<h3>getVariablesList</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<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>&lt;<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a>&gt;</span>&nbsp;<span class="element-name">getVariablesList</span>()</div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getVariablesList()">getVariablesList</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getVariablesCount()">
<h3>getVariablesCount</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">getVariablesCount</span>()</div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getVariablesCount()">getVariablesCount</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getVariables(int)">
<h3>getVariables</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a></span>&nbsp;<span class="element-name">getVariables</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getVariables(int)">getVariables</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setVariables(int,com.google.ortools.sat.IntegerVariableProto)">
<h3>setVariables</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setVariables</span><wbr><span class="parameters">(int&nbsp;index,
<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
</section>
</li>
<li>
<section class="detail" id="setVariables(int,com.google.ortools.sat.IntegerVariableProto.Builder)">
<h3>setVariables</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setVariables</span><wbr><span class="parameters">(int&nbsp;index,
<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
</section>
</li>
<li>
<section class="detail" id="addVariables(com.google.ortools.sat.IntegerVariableProto)">
<h3>addVariables</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addVariables</span><wbr><span class="parameters">(<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
</section>
</li>
<li>
<section class="detail" id="addVariables(int,com.google.ortools.sat.IntegerVariableProto)">
<h3>addVariables</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addVariables</span><wbr><span class="parameters">(int&nbsp;index,
<a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
</section>
</li>
<li>
<section class="detail" id="addVariables(com.google.ortools.sat.IntegerVariableProto.Builder)">
<h3>addVariables</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addVariables</span><wbr><span class="parameters">(<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
</section>
</li>
<li>
<section class="detail" id="addVariables(int,com.google.ortools.sat.IntegerVariableProto.Builder)">
<h3>addVariables</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addVariables</span><wbr><span class="parameters">(int&nbsp;index,
<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
</section>
</li>
<li>
<section class="detail" id="addAllVariables(java.lang.Iterable)">
<h3>addAllVariables</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addAllVariables</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>&lt;? extends <a href="IntegerVariableProto.html" title="class in com.google.ortools.sat">IntegerVariableProto</a>&gt;&nbsp;values)</span></div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearVariables()">
<h3>clearVariables</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">clearVariables</span>()</div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
</section>
</li>
<li>
<section class="detail" id="removeVariables(int)">
<h3>removeVariables</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">removeVariables</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
</section>
</li>
<li>
<section class="detail" id="getVariablesBuilder(int)">
<h3>getVariablesBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a></span>&nbsp;<span class="element-name">getVariablesBuilder</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
</section>
</li>
<li>
<section class="detail" id="getVariablesOrBuilder(int)">
<h3>getVariablesOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="IntegerVariableProtoOrBuilder.html" title="interface in com.google.ortools.sat">IntegerVariableProtoOrBuilder</a></span>&nbsp;<span class="element-name">getVariablesOrBuilder</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getVariablesOrBuilder(int)">getVariablesOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getVariablesOrBuilderList()">
<h3>getVariablesOrBuilderList</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<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>&lt;? extends <a href="IntegerVariableProtoOrBuilder.html" title="interface in com.google.ortools.sat">IntegerVariableProtoOrBuilder</a>&gt;</span>&nbsp;<span class="element-name">getVariablesOrBuilderList</span>()</div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getVariablesOrBuilderList()">getVariablesOrBuilderList</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addVariablesBuilder()">
<h3>addVariablesBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a></span>&nbsp;<span class="element-name">addVariablesBuilder</span>()</div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
</section>
</li>
<li>
<section class="detail" id="addVariablesBuilder(int)">
<h3>addVariablesBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a></span>&nbsp;<span class="element-name">addVariablesBuilder</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
</section>
</li>
<li>
<section class="detail" id="getVariablesBuilderList()">
<h3>getVariablesBuilderList</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<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>&lt;<a href="IntegerVariableProto.Builder.html" title="class in com.google.ortools.sat">IntegerVariableProto.Builder</a>&gt;</span>&nbsp;<span class="element-name">getVariablesBuilderList</span>()</div>
<div class="block"><pre>
The associated Protos should be referred by their index in these fields.
</pre>
<code>repeated .operations_research.sat.IntegerVariableProto variables = 2;</code></div>
</section>
</li>
<li>
<section class="detail" id="getConstraintsList()">
<h3>getConstraintsList</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<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>&lt;<a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a>&gt;</span>&nbsp;<span class="element-name">getConstraintsList</span>()</div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getConstraintsList()">getConstraintsList</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getConstraintsCount()">
<h3>getConstraintsCount</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">getConstraintsCount</span>()</div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getConstraintsCount()">getConstraintsCount</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getConstraints(int)">
<h3>getConstraints</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a></span>&nbsp;<span class="element-name">getConstraints</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getConstraints(int)">getConstraints</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setConstraints(int,com.google.ortools.sat.ConstraintProto)">
<h3>setConstraints</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setConstraints</span><wbr><span class="parameters">(int&nbsp;index,
<a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="setConstraints(int,com.google.ortools.sat.ConstraintProto.Builder)">
<h3>setConstraints</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setConstraints</span><wbr><span class="parameters">(int&nbsp;index,
<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="addConstraints(com.google.ortools.sat.ConstraintProto)">
<h3>addConstraints</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addConstraints</span><wbr><span class="parameters">(<a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="addConstraints(int,com.google.ortools.sat.ConstraintProto)">
<h3>addConstraints</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addConstraints</span><wbr><span class="parameters">(int&nbsp;index,
<a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="addConstraints(com.google.ortools.sat.ConstraintProto.Builder)">
<h3>addConstraints</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addConstraints</span><wbr><span class="parameters">(<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="addConstraints(int,com.google.ortools.sat.ConstraintProto.Builder)">
<h3>addConstraints</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addConstraints</span><wbr><span class="parameters">(int&nbsp;index,
<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="addAllConstraints(java.lang.Iterable)">
<h3>addAllConstraints</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addAllConstraints</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>&lt;? extends <a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a>&gt;&nbsp;values)</span></div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearConstraints()">
<h3>clearConstraints</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">clearConstraints</span>()</div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="removeConstraints(int)">
<h3>removeConstraints</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">removeConstraints</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="getConstraintsBuilder(int)">
<h3>getConstraintsBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">getConstraintsBuilder</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="getConstraintsOrBuilder(int)">
<h3>getConstraintsOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></span>&nbsp;<span class="element-name">getConstraintsOrBuilder</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getConstraintsOrBuilder(int)">getConstraintsOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getConstraintsOrBuilderList()">
<h3>getConstraintsOrBuilderList</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<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>&lt;? extends <a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a>&gt;</span>&nbsp;<span class="element-name">getConstraintsOrBuilderList</span>()</div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getConstraintsOrBuilderList()">getConstraintsOrBuilderList</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addConstraintsBuilder()">
<h3>addConstraintsBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">addConstraintsBuilder</span>()</div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="addConstraintsBuilder(int)">
<h3>addConstraintsBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">addConstraintsBuilder</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="getConstraintsBuilderList()">
<h3>getConstraintsBuilderList</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<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>&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</span>&nbsp;<span class="element-name">getConstraintsBuilderList</span>()</div>
<div class="block"><code>repeated .operations_research.sat.ConstraintProto constraints = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="hasObjective()">
<h3>hasObjective</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasObjective</span>()</div>
<div class="block"><pre>
The objective to minimize. Can be empty for pure decision problems.
</pre>
<code>.operations_research.sat.CpObjectiveProto objective = 4;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#hasObjective()">hasObjective</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the objective field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getObjective()">
<h3>getObjective</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpObjectiveProto.html" title="class in com.google.ortools.sat">CpObjectiveProto</a></span>&nbsp;<span class="element-name">getObjective</span>()</div>
<div class="block"><pre>
The objective to minimize. Can be empty for pure decision problems.
</pre>
<code>.operations_research.sat.CpObjectiveProto objective = 4;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getObjective()">getObjective</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The objective.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setObjective(com.google.ortools.sat.CpObjectiveProto)">
<h3>setObjective</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setObjective</span><wbr><span class="parameters">(<a href="CpObjectiveProto.html" title="class in com.google.ortools.sat">CpObjectiveProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The objective to minimize. Can be empty for pure decision problems.
</pre>
<code>.operations_research.sat.CpObjectiveProto objective = 4;</code></div>
</section>
</li>
<li>
<section class="detail" id="setObjective(com.google.ortools.sat.CpObjectiveProto.Builder)">
<h3>setObjective</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setObjective</span><wbr><span class="parameters">(<a href="CpObjectiveProto.Builder.html" title="class in com.google.ortools.sat">CpObjectiveProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The objective to minimize. Can be empty for pure decision problems.
</pre>
<code>.operations_research.sat.CpObjectiveProto objective = 4;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeObjective(com.google.ortools.sat.CpObjectiveProto)">
<h3>mergeObjective</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">mergeObjective</span><wbr><span class="parameters">(<a href="CpObjectiveProto.html" title="class in com.google.ortools.sat">CpObjectiveProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The objective to minimize. Can be empty for pure decision problems.
</pre>
<code>.operations_research.sat.CpObjectiveProto objective = 4;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearObjective()">
<h3>clearObjective</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">clearObjective</span>()</div>
<div class="block"><pre>
The objective to minimize. Can be empty for pure decision problems.
</pre>
<code>.operations_research.sat.CpObjectiveProto objective = 4;</code></div>
</section>
</li>
<li>
<section class="detail" id="getObjectiveBuilder()">
<h3>getObjectiveBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpObjectiveProto.Builder.html" title="class in com.google.ortools.sat">CpObjectiveProto.Builder</a></span>&nbsp;<span class="element-name">getObjectiveBuilder</span>()</div>
<div class="block"><pre>
The objective to minimize. Can be empty for pure decision problems.
</pre>
<code>.operations_research.sat.CpObjectiveProto objective = 4;</code></div>
</section>
</li>
<li>
<section class="detail" id="getObjectiveOrBuilder()">
<h3>getObjectiveOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpObjectiveProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpObjectiveProtoOrBuilder</a></span>&nbsp;<span class="element-name">getObjectiveOrBuilder</span>()</div>
<div class="block"><pre>
The objective to minimize. Can be empty for pure decision problems.
</pre>
<code>.operations_research.sat.CpObjectiveProto objective = 4;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getObjectiveOrBuilder()">getObjectiveOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasFloatingPointObjective()">
<h3>hasFloatingPointObjective</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasFloatingPointObjective</span>()</div>
<div class="block"><pre>
Advanced usage.
It is invalid to have both an objective and a floating point objective.
The objective of the model, in floating point format. The solver will
automatically scale this to integer during expansion and thus convert it to
a normal CpObjectiveProto. See the mip* parameters to control how this is
scaled. In most situation the precision will be good enough, but you can
see the logs to see what are the precision guaranteed when this is
converted to a fixed point representation.
Note that even if the precision is bad, the returned objective_value and
best_objective_bound will be computed correctly. So at the end of the solve
you can check the gap if you only want precise optimal.
</pre>
<code>.operations_research.sat.FloatObjectiveProto floating_point_objective = 9;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#hasFloatingPointObjective()">hasFloatingPointObjective</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the floatingPointObjective field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getFloatingPointObjective()">
<h3>getFloatingPointObjective</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="FloatObjectiveProto.html" title="class in com.google.ortools.sat">FloatObjectiveProto</a></span>&nbsp;<span class="element-name">getFloatingPointObjective</span>()</div>
<div class="block"><pre>
Advanced usage.
It is invalid to have both an objective and a floating point objective.
The objective of the model, in floating point format. The solver will
automatically scale this to integer during expansion and thus convert it to
a normal CpObjectiveProto. See the mip* parameters to control how this is
scaled. In most situation the precision will be good enough, but you can
see the logs to see what are the precision guaranteed when this is
converted to a fixed point representation.
Note that even if the precision is bad, the returned objective_value and
best_objective_bound will be computed correctly. So at the end of the solve
you can check the gap if you only want precise optimal.
</pre>
<code>.operations_research.sat.FloatObjectiveProto floating_point_objective = 9;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getFloatingPointObjective()">getFloatingPointObjective</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The floatingPointObjective.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setFloatingPointObjective(com.google.ortools.sat.FloatObjectiveProto)">
<h3>setFloatingPointObjective</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setFloatingPointObjective</span><wbr><span class="parameters">(<a href="FloatObjectiveProto.html" title="class in com.google.ortools.sat">FloatObjectiveProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
Advanced usage.
It is invalid to have both an objective and a floating point objective.
The objective of the model, in floating point format. The solver will
automatically scale this to integer during expansion and thus convert it to
a normal CpObjectiveProto. See the mip* parameters to control how this is
scaled. In most situation the precision will be good enough, but you can
see the logs to see what are the precision guaranteed when this is
converted to a fixed point representation.
Note that even if the precision is bad, the returned objective_value and
best_objective_bound will be computed correctly. So at the end of the solve
you can check the gap if you only want precise optimal.
</pre>
<code>.operations_research.sat.FloatObjectiveProto floating_point_objective = 9;</code></div>
</section>
</li>
<li>
<section class="detail" id="setFloatingPointObjective(com.google.ortools.sat.FloatObjectiveProto.Builder)">
<h3>setFloatingPointObjective</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setFloatingPointObjective</span><wbr><span class="parameters">(<a href="FloatObjectiveProto.Builder.html" title="class in com.google.ortools.sat">FloatObjectiveProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
Advanced usage.
It is invalid to have both an objective and a floating point objective.
The objective of the model, in floating point format. The solver will
automatically scale this to integer during expansion and thus convert it to
a normal CpObjectiveProto. See the mip* parameters to control how this is
scaled. In most situation the precision will be good enough, but you can
see the logs to see what are the precision guaranteed when this is
converted to a fixed point representation.
Note that even if the precision is bad, the returned objective_value and
best_objective_bound will be computed correctly. So at the end of the solve
you can check the gap if you only want precise optimal.
</pre>
<code>.operations_research.sat.FloatObjectiveProto floating_point_objective = 9;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeFloatingPointObjective(com.google.ortools.sat.FloatObjectiveProto)">
<h3>mergeFloatingPointObjective</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">mergeFloatingPointObjective</span><wbr><span class="parameters">(<a href="FloatObjectiveProto.html" title="class in com.google.ortools.sat">FloatObjectiveProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
Advanced usage.
It is invalid to have both an objective and a floating point objective.
The objective of the model, in floating point format. The solver will
automatically scale this to integer during expansion and thus convert it to
a normal CpObjectiveProto. See the mip* parameters to control how this is
scaled. In most situation the precision will be good enough, but you can
see the logs to see what are the precision guaranteed when this is
converted to a fixed point representation.
Note that even if the precision is bad, the returned objective_value and
best_objective_bound will be computed correctly. So at the end of the solve
you can check the gap if you only want precise optimal.
</pre>
<code>.operations_research.sat.FloatObjectiveProto floating_point_objective = 9;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearFloatingPointObjective()">
<h3>clearFloatingPointObjective</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">clearFloatingPointObjective</span>()</div>
<div class="block"><pre>
Advanced usage.
It is invalid to have both an objective and a floating point objective.
The objective of the model, in floating point format. The solver will
automatically scale this to integer during expansion and thus convert it to
a normal CpObjectiveProto. See the mip* parameters to control how this is
scaled. In most situation the precision will be good enough, but you can
see the logs to see what are the precision guaranteed when this is
converted to a fixed point representation.
Note that even if the precision is bad, the returned objective_value and
best_objective_bound will be computed correctly. So at the end of the solve
you can check the gap if you only want precise optimal.
</pre>
<code>.operations_research.sat.FloatObjectiveProto floating_point_objective = 9;</code></div>
</section>
</li>
<li>
<section class="detail" id="getFloatingPointObjectiveBuilder()">
<h3>getFloatingPointObjectiveBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="FloatObjectiveProto.Builder.html" title="class in com.google.ortools.sat">FloatObjectiveProto.Builder</a></span>&nbsp;<span class="element-name">getFloatingPointObjectiveBuilder</span>()</div>
<div class="block"><pre>
Advanced usage.
It is invalid to have both an objective and a floating point objective.
The objective of the model, in floating point format. The solver will
automatically scale this to integer during expansion and thus convert it to
a normal CpObjectiveProto. See the mip* parameters to control how this is
scaled. In most situation the precision will be good enough, but you can
see the logs to see what are the precision guaranteed when this is
converted to a fixed point representation.
Note that even if the precision is bad, the returned objective_value and
best_objective_bound will be computed correctly. So at the end of the solve
you can check the gap if you only want precise optimal.
</pre>
<code>.operations_research.sat.FloatObjectiveProto floating_point_objective = 9;</code></div>
</section>
</li>
<li>
<section class="detail" id="getFloatingPointObjectiveOrBuilder()">
<h3>getFloatingPointObjectiveOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="FloatObjectiveProtoOrBuilder.html" title="interface in com.google.ortools.sat">FloatObjectiveProtoOrBuilder</a></span>&nbsp;<span class="element-name">getFloatingPointObjectiveOrBuilder</span>()</div>
<div class="block"><pre>
Advanced usage.
It is invalid to have both an objective and a floating point objective.
The objective of the model, in floating point format. The solver will
automatically scale this to integer during expansion and thus convert it to
a normal CpObjectiveProto. See the mip* parameters to control how this is
scaled. In most situation the precision will be good enough, but you can
see the logs to see what are the precision guaranteed when this is
converted to a fixed point representation.
Note that even if the precision is bad, the returned objective_value and
best_objective_bound will be computed correctly. So at the end of the solve
you can check the gap if you only want precise optimal.
</pre>
<code>.operations_research.sat.FloatObjectiveProto floating_point_objective = 9;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getFloatingPointObjectiveOrBuilder()">getFloatingPointObjectiveOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSearchStrategyList()">
<h3>getSearchStrategyList</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<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>&lt;<a href="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a>&gt;</span>&nbsp;<span class="element-name">getSearchStrategyList</span>()</div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getSearchStrategyList()">getSearchStrategyList</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSearchStrategyCount()">
<h3>getSearchStrategyCount</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">getSearchStrategyCount</span>()</div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getSearchStrategyCount()">getSearchStrategyCount</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSearchStrategy(int)">
<h3>getSearchStrategy</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a></span>&nbsp;<span class="element-name">getSearchStrategy</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getSearchStrategy(int)">getSearchStrategy</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setSearchStrategy(int,com.google.ortools.sat.DecisionStrategyProto)">
<h3>setSearchStrategy</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setSearchStrategy</span><wbr><span class="parameters">(int&nbsp;index,
<a href="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="setSearchStrategy(int,com.google.ortools.sat.DecisionStrategyProto.Builder)">
<h3>setSearchStrategy</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setSearchStrategy</span><wbr><span class="parameters">(int&nbsp;index,
<a href="DecisionStrategyProto.Builder.html" title="class in com.google.ortools.sat">DecisionStrategyProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="addSearchStrategy(com.google.ortools.sat.DecisionStrategyProto)">
<h3>addSearchStrategy</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addSearchStrategy</span><wbr><span class="parameters">(<a href="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="addSearchStrategy(int,com.google.ortools.sat.DecisionStrategyProto)">
<h3>addSearchStrategy</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addSearchStrategy</span><wbr><span class="parameters">(int&nbsp;index,
<a href="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="addSearchStrategy(com.google.ortools.sat.DecisionStrategyProto.Builder)">
<h3>addSearchStrategy</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addSearchStrategy</span><wbr><span class="parameters">(<a href="DecisionStrategyProto.Builder.html" title="class in com.google.ortools.sat">DecisionStrategyProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="addSearchStrategy(int,com.google.ortools.sat.DecisionStrategyProto.Builder)">
<h3>addSearchStrategy</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addSearchStrategy</span><wbr><span class="parameters">(int&nbsp;index,
<a href="DecisionStrategyProto.Builder.html" title="class in com.google.ortools.sat">DecisionStrategyProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="addAllSearchStrategy(java.lang.Iterable)">
<h3>addAllSearchStrategy</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addAllSearchStrategy</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>&lt;? extends <a href="DecisionStrategyProto.html" title="class in com.google.ortools.sat">DecisionStrategyProto</a>&gt;&nbsp;values)</span></div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearSearchStrategy()">
<h3>clearSearchStrategy</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">clearSearchStrategy</span>()</div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="removeSearchStrategy(int)">
<h3>removeSearchStrategy</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">removeSearchStrategy</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="getSearchStrategyBuilder(int)">
<h3>getSearchStrategyBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="DecisionStrategyProto.Builder.html" title="class in com.google.ortools.sat">DecisionStrategyProto.Builder</a></span>&nbsp;<span class="element-name">getSearchStrategyBuilder</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="getSearchStrategyOrBuilder(int)">
<h3>getSearchStrategyOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="DecisionStrategyProtoOrBuilder.html" title="interface in com.google.ortools.sat">DecisionStrategyProtoOrBuilder</a></span>&nbsp;<span class="element-name">getSearchStrategyOrBuilder</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getSearchStrategyOrBuilder(int)">getSearchStrategyOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSearchStrategyOrBuilderList()">
<h3>getSearchStrategyOrBuilderList</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<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>&lt;? extends <a href="DecisionStrategyProtoOrBuilder.html" title="interface in com.google.ortools.sat">DecisionStrategyProtoOrBuilder</a>&gt;</span>&nbsp;<span class="element-name">getSearchStrategyOrBuilderList</span>()</div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getSearchStrategyOrBuilderList()">getSearchStrategyOrBuilderList</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addSearchStrategyBuilder()">
<h3>addSearchStrategyBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="DecisionStrategyProto.Builder.html" title="class in com.google.ortools.sat">DecisionStrategyProto.Builder</a></span>&nbsp;<span class="element-name">addSearchStrategyBuilder</span>()</div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="addSearchStrategyBuilder(int)">
<h3>addSearchStrategyBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="DecisionStrategyProto.Builder.html" title="class in com.google.ortools.sat">DecisionStrategyProto.Builder</a></span>&nbsp;<span class="element-name">addSearchStrategyBuilder</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="getSearchStrategyBuilderList()">
<h3>getSearchStrategyBuilderList</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<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>&lt;<a href="DecisionStrategyProto.Builder.html" title="class in com.google.ortools.sat">DecisionStrategyProto.Builder</a>&gt;</span>&nbsp;<span class="element-name">getSearchStrategyBuilderList</span>()</div>
<div class="block"><pre>
Defines the strategy that the solver should follow when the
search_branching parameter is set to FIXED_SEARCH. Note that this strategy
is also used as a heuristic when we are not in fixed search.
Advanced Usage: if not all variables appears and the parameter
"instantiate_all_variables" is set to false, then the solver will not try
to instantiate the variables that do not appear. Thus, at the end of the
search, not all variables may be fixed. Currently, we will set them to
their lower bound in the solution.
</pre>
<code>repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="hasSolutionHint()">
<h3>hasSolutionHint</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasSolutionHint</span>()</div>
<div class="block"><pre>
Solution hint.
If a feasible or almost-feasible solution to the problem is already known,
it may be helpful to pass it to the solver so that it can be used. The
solver will try to use this information to create its initial feasible
solution.
Note that it may not always be faster to give a hint like this to the
solver. There is also no guarantee that the solver will use this hint or
try to return a solution "close" to this assignment in case of multiple
optimal solutions.
</pre>
<code>.operations_research.sat.PartialVariableAssignment solution_hint = 6;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#hasSolutionHint()">hasSolutionHint</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the solutionHint field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSolutionHint()">
<h3>getSolutionHint</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="PartialVariableAssignment.html" title="class in com.google.ortools.sat">PartialVariableAssignment</a></span>&nbsp;<span class="element-name">getSolutionHint</span>()</div>
<div class="block"><pre>
Solution hint.
If a feasible or almost-feasible solution to the problem is already known,
it may be helpful to pass it to the solver so that it can be used. The
solver will try to use this information to create its initial feasible
solution.
Note that it may not always be faster to give a hint like this to the
solver. There is also no guarantee that the solver will use this hint or
try to return a solution "close" to this assignment in case of multiple
optimal solutions.
</pre>
<code>.operations_research.sat.PartialVariableAssignment solution_hint = 6;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getSolutionHint()">getSolutionHint</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The solutionHint.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setSolutionHint(com.google.ortools.sat.PartialVariableAssignment)">
<h3>setSolutionHint</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setSolutionHint</span><wbr><span class="parameters">(<a href="PartialVariableAssignment.html" title="class in com.google.ortools.sat">PartialVariableAssignment</a>&nbsp;value)</span></div>
<div class="block"><pre>
Solution hint.
If a feasible or almost-feasible solution to the problem is already known,
it may be helpful to pass it to the solver so that it can be used. The
solver will try to use this information to create its initial feasible
solution.
Note that it may not always be faster to give a hint like this to the
solver. There is also no guarantee that the solver will use this hint or
try to return a solution "close" to this assignment in case of multiple
optimal solutions.
</pre>
<code>.operations_research.sat.PartialVariableAssignment solution_hint = 6;</code></div>
</section>
</li>
<li>
<section class="detail" id="setSolutionHint(com.google.ortools.sat.PartialVariableAssignment.Builder)">
<h3>setSolutionHint</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setSolutionHint</span><wbr><span class="parameters">(<a href="PartialVariableAssignment.Builder.html" title="class in com.google.ortools.sat">PartialVariableAssignment.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
Solution hint.
If a feasible or almost-feasible solution to the problem is already known,
it may be helpful to pass it to the solver so that it can be used. The
solver will try to use this information to create its initial feasible
solution.
Note that it may not always be faster to give a hint like this to the
solver. There is also no guarantee that the solver will use this hint or
try to return a solution "close" to this assignment in case of multiple
optimal solutions.
</pre>
<code>.operations_research.sat.PartialVariableAssignment solution_hint = 6;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeSolutionHint(com.google.ortools.sat.PartialVariableAssignment)">
<h3>mergeSolutionHint</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">mergeSolutionHint</span><wbr><span class="parameters">(<a href="PartialVariableAssignment.html" title="class in com.google.ortools.sat">PartialVariableAssignment</a>&nbsp;value)</span></div>
<div class="block"><pre>
Solution hint.
If a feasible or almost-feasible solution to the problem is already known,
it may be helpful to pass it to the solver so that it can be used. The
solver will try to use this information to create its initial feasible
solution.
Note that it may not always be faster to give a hint like this to the
solver. There is also no guarantee that the solver will use this hint or
try to return a solution "close" to this assignment in case of multiple
optimal solutions.
</pre>
<code>.operations_research.sat.PartialVariableAssignment solution_hint = 6;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearSolutionHint()">
<h3>clearSolutionHint</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">clearSolutionHint</span>()</div>
<div class="block"><pre>
Solution hint.
If a feasible or almost-feasible solution to the problem is already known,
it may be helpful to pass it to the solver so that it can be used. The
solver will try to use this information to create its initial feasible
solution.
Note that it may not always be faster to give a hint like this to the
solver. There is also no guarantee that the solver will use this hint or
try to return a solution "close" to this assignment in case of multiple
optimal solutions.
</pre>
<code>.operations_research.sat.PartialVariableAssignment solution_hint = 6;</code></div>
</section>
</li>
<li>
<section class="detail" id="getSolutionHintBuilder()">
<h3>getSolutionHintBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="PartialVariableAssignment.Builder.html" title="class in com.google.ortools.sat">PartialVariableAssignment.Builder</a></span>&nbsp;<span class="element-name">getSolutionHintBuilder</span>()</div>
<div class="block"><pre>
Solution hint.
If a feasible or almost-feasible solution to the problem is already known,
it may be helpful to pass it to the solver so that it can be used. The
solver will try to use this information to create its initial feasible
solution.
Note that it may not always be faster to give a hint like this to the
solver. There is also no guarantee that the solver will use this hint or
try to return a solution "close" to this assignment in case of multiple
optimal solutions.
</pre>
<code>.operations_research.sat.PartialVariableAssignment solution_hint = 6;</code></div>
</section>
</li>
<li>
<section class="detail" id="getSolutionHintOrBuilder()">
<h3>getSolutionHintOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="PartialVariableAssignmentOrBuilder.html" title="interface in com.google.ortools.sat">PartialVariableAssignmentOrBuilder</a></span>&nbsp;<span class="element-name">getSolutionHintOrBuilder</span>()</div>
<div class="block"><pre>
Solution hint.
If a feasible or almost-feasible solution to the problem is already known,
it may be helpful to pass it to the solver so that it can be used. The
solver will try to use this information to create its initial feasible
solution.
Note that it may not always be faster to give a hint like this to the
solver. There is also no guarantee that the solver will use this hint or
try to return a solution "close" to this assignment in case of multiple
optimal solutions.
</pre>
<code>.operations_research.sat.PartialVariableAssignment solution_hint = 6;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getSolutionHintOrBuilder()">getSolutionHintOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAssumptionsList()">
<h3>getAssumptionsList</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<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>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&gt;</span>&nbsp;<span class="element-name">getAssumptionsList</span>()</div>
<div class="block"><pre>
A list of literals. The model will be solved assuming all these literals
are true. Compared to just fixing the domain of these literals, using this
mechanism is slower but allows in case the model is INFEASIBLE to get a
potentially small subset of them that can be used to explain the
infeasibility.
Think (IIS), except when you are only concerned by the provided
assumptions. This is powerful as it allows to group a set of logically
related constraint under only one enforcement literal which can potentially
give you a good and interpretable explanation for infeasiblity.
Such infeasibility explanation will be available in the
sufficient_assumptions_for_infeasibility response field.
</pre>
<code>repeated int32 assumptions = 7;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getAssumptionsList()">getAssumptionsList</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>A list containing the assumptions.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAssumptionsCount()">
<h3>getAssumptionsCount</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">getAssumptionsCount</span>()</div>
<div class="block"><pre>
A list of literals. The model will be solved assuming all these literals
are true. Compared to just fixing the domain of these literals, using this
mechanism is slower but allows in case the model is INFEASIBLE to get a
potentially small subset of them that can be used to explain the
infeasibility.
Think (IIS), except when you are only concerned by the provided
assumptions. This is powerful as it allows to group a set of logically
related constraint under only one enforcement literal which can potentially
give you a good and interpretable explanation for infeasiblity.
Such infeasibility explanation will be available in the
sufficient_assumptions_for_infeasibility response field.
</pre>
<code>repeated int32 assumptions = 7;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getAssumptionsCount()">getAssumptionsCount</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The count of assumptions.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAssumptions(int)">
<h3>getAssumptions</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">getAssumptions</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><pre>
A list of literals. The model will be solved assuming all these literals
are true. Compared to just fixing the domain of these literals, using this
mechanism is slower but allows in case the model is INFEASIBLE to get a
potentially small subset of them that can be used to explain the
infeasibility.
Think (IIS), except when you are only concerned by the provided
assumptions. This is powerful as it allows to group a set of logically
related constraint under only one enforcement literal which can potentially
give you a good and interpretable explanation for infeasiblity.
Such infeasibility explanation will be available in the
sufficient_assumptions_for_infeasibility response field.
</pre>
<code>repeated int32 assumptions = 7;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getAssumptions(int)">getAssumptions</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
<dt>Parameters:</dt>
<dd><code>index</code> - The index of the element to return.</dd>
<dt>Returns:</dt>
<dd>The assumptions at the given index.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setAssumptions(int,int)">
<h3>setAssumptions</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setAssumptions</span><wbr><span class="parameters">(int&nbsp;index,
int&nbsp;value)</span></div>
<div class="block"><pre>
A list of literals. The model will be solved assuming all these literals
are true. Compared to just fixing the domain of these literals, using this
mechanism is slower but allows in case the model is INFEASIBLE to get a
potentially small subset of them that can be used to explain the
infeasibility.
Think (IIS), except when you are only concerned by the provided
assumptions. This is powerful as it allows to group a set of logically
related constraint under only one enforcement literal which can potentially
give you a good and interpretable explanation for infeasiblity.
Such infeasibility explanation will be available in the
sufficient_assumptions_for_infeasibility response field.
</pre>
<code>repeated int32 assumptions = 7;</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 assumptions to set.</dd>
<dt>Returns:</dt>
<dd>This builder for chaining.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addAssumptions(int)">
<h3>addAssumptions</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addAssumptions</span><wbr><span class="parameters">(int&nbsp;value)</span></div>
<div class="block"><pre>
A list of literals. The model will be solved assuming all these literals
are true. Compared to just fixing the domain of these literals, using this
mechanism is slower but allows in case the model is INFEASIBLE to get a
potentially small subset of them that can be used to explain the
infeasibility.
Think (IIS), except when you are only concerned by the provided
assumptions. This is powerful as it allows to group a set of logically
related constraint under only one enforcement literal which can potentially
give you a good and interpretable explanation for infeasiblity.
Such infeasibility explanation will be available in the
sufficient_assumptions_for_infeasibility response field.
</pre>
<code>repeated int32 assumptions = 7;</code></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The assumptions to add.</dd>
<dt>Returns:</dt>
<dd>This builder for chaining.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addAllAssumptions(java.lang.Iterable)">
<h3>addAllAssumptions</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">addAllAssumptions</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>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&gt;&nbsp;values)</span></div>
<div class="block"><pre>
A list of literals. The model will be solved assuming all these literals
are true. Compared to just fixing the domain of these literals, using this
mechanism is slower but allows in case the model is INFEASIBLE to get a
potentially small subset of them that can be used to explain the
infeasibility.
Think (IIS), except when you are only concerned by the provided
assumptions. This is powerful as it allows to group a set of logically
related constraint under only one enforcement literal which can potentially
give you a good and interpretable explanation for infeasiblity.
Such infeasibility explanation will be available in the
sufficient_assumptions_for_infeasibility response field.
</pre>
<code>repeated int32 assumptions = 7;</code></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>values</code> - The assumptions to add.</dd>
<dt>Returns:</dt>
<dd>This builder for chaining.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="clearAssumptions()">
<h3>clearAssumptions</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">clearAssumptions</span>()</div>
<div class="block"><pre>
A list of literals. The model will be solved assuming all these literals
are true. Compared to just fixing the domain of these literals, using this
mechanism is slower but allows in case the model is INFEASIBLE to get a
potentially small subset of them that can be used to explain the
infeasibility.
Think (IIS), except when you are only concerned by the provided
assumptions. This is powerful as it allows to group a set of logically
related constraint under only one enforcement literal which can potentially
give you a good and interpretable explanation for infeasiblity.
Such infeasibility explanation will be available in the
sufficient_assumptions_for_infeasibility response field.
</pre>
<code>repeated int32 assumptions = 7;</code></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>This builder for chaining.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasSymmetry()">
<h3>hasSymmetry</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasSymmetry</span>()</div>
<div class="block"><pre>
For now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.
Information about the symmetries of the feasible solution space.
These usually leaves the objective invariant.
</pre>
<code>.operations_research.sat.SymmetryProto symmetry = 8;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#hasSymmetry()">hasSymmetry</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the symmetry field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSymmetry()">
<h3>getSymmetry</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="SymmetryProto.html" title="class in com.google.ortools.sat">SymmetryProto</a></span>&nbsp;<span class="element-name">getSymmetry</span>()</div>
<div class="block"><pre>
For now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.
Information about the symmetries of the feasible solution space.
These usually leaves the objective invariant.
</pre>
<code>.operations_research.sat.SymmetryProto symmetry = 8;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getSymmetry()">getSymmetry</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The symmetry.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setSymmetry(com.google.ortools.sat.SymmetryProto)">
<h3>setSymmetry</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setSymmetry</span><wbr><span class="parameters">(<a href="SymmetryProto.html" title="class in com.google.ortools.sat">SymmetryProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
For now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.
Information about the symmetries of the feasible solution space.
These usually leaves the objective invariant.
</pre>
<code>.operations_research.sat.SymmetryProto symmetry = 8;</code></div>
</section>
</li>
<li>
<section class="detail" id="setSymmetry(com.google.ortools.sat.SymmetryProto.Builder)">
<h3>setSymmetry</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setSymmetry</span><wbr><span class="parameters">(<a href="SymmetryProto.Builder.html" title="class in com.google.ortools.sat">SymmetryProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
For now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.
Information about the symmetries of the feasible solution space.
These usually leaves the objective invariant.
</pre>
<code>.operations_research.sat.SymmetryProto symmetry = 8;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeSymmetry(com.google.ortools.sat.SymmetryProto)">
<h3>mergeSymmetry</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">mergeSymmetry</span><wbr><span class="parameters">(<a href="SymmetryProto.html" title="class in com.google.ortools.sat">SymmetryProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
For now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.
Information about the symmetries of the feasible solution space.
These usually leaves the objective invariant.
</pre>
<code>.operations_research.sat.SymmetryProto symmetry = 8;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearSymmetry()">
<h3>clearSymmetry</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">clearSymmetry</span>()</div>
<div class="block"><pre>
For now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.
Information about the symmetries of the feasible solution space.
These usually leaves the objective invariant.
</pre>
<code>.operations_research.sat.SymmetryProto symmetry = 8;</code></div>
</section>
</li>
<li>
<section class="detail" id="getSymmetryBuilder()">
<h3>getSymmetryBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="SymmetryProto.Builder.html" title="class in com.google.ortools.sat">SymmetryProto.Builder</a></span>&nbsp;<span class="element-name">getSymmetryBuilder</span>()</div>
<div class="block"><pre>
For now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.
Information about the symmetries of the feasible solution space.
These usually leaves the objective invariant.
</pre>
<code>.operations_research.sat.SymmetryProto symmetry = 8;</code></div>
</section>
</li>
<li>
<section class="detail" id="getSymmetryOrBuilder()">
<h3>getSymmetryOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="SymmetryProtoOrBuilder.html" title="interface in com.google.ortools.sat">SymmetryProtoOrBuilder</a></span>&nbsp;<span class="element-name">getSymmetryOrBuilder</span>()</div>
<div class="block"><pre>
For now, this is not meant to be filled by a client writing a model, but
by our preprocessing step.
Information about the symmetries of the feasible solution space.
These usually leaves the objective invariant.
</pre>
<code>.operations_research.sat.SymmetryProto symmetry = 8;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="CpModelProtoOrBuilder.html#getSymmetryOrBuilder()">getSymmetryOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="CpModelProtoOrBuilder.html" title="interface in com.google.ortools.sat">CpModelProtoOrBuilder</a></code></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>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">setUnknownFields</span><wbr><span class="parameters">(com.google.protobuf.UnknownFieldSet&nbsp;unknownFields)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>setUnknownFields</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>setUnknownFields</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;</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>&nbsp;<span class="return-type"><a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a></span>&nbsp;<span class="element-name">mergeUnknownFields</span><wbr><span class="parameters">(com.google.protobuf.UnknownFieldSet&nbsp;unknownFields)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>mergeUnknownFields</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>mergeUnknownFields</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="CpModelProto.Builder.html" title="class in com.google.ortools.sat">CpModelProto.Builder</a>&gt;</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 &#169; 2022. All rights reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>