Files
ortools-clone/docs/cpp_sat/cp__model_8h_source.html

206 lines
165 KiB
HTML
Raw Normal View History

2019-06-13 15:51:12 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>OR-Tools</title>
<meta http-equiv="Content-Type" content="text/html;"/>
<meta charset="utf-8"/>
<!--<link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>-->
2019-06-20 23:08:48 +02:00
<link rel="stylesheet" type="text/css" href="ortools.css" title="default" media="screen,print" />
2019-06-13 15:51:12 +02:00
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
</head>
<body>
<div id="banner-container">
<div id="banner">
2019-09-12 09:22:44 +02:00
<span id="sfml">Google OR-Tools 7.4</span>
2019-06-13 15:51:12 +02:00
</div>
</div>
2019-08-07 18:01:08 -07:00
<div id="content" style="width: 100%; overflow: hidden;">
<div style="margin-left: 15px; margin-top: 5px; float: left; color: #145A32;">
2019-08-12 09:16:03 -07:00
<h2>C++ Reference</h2>
2019-08-07 18:01:08 -07:00
<ul>
<li><a href="../cpp_algorithms/annotated.html">Algorithms</a></li>
2019-08-12 09:16:03 -07:00
<li><a href="../cpp_sat/annotated.html">CP-SAT</a></li>
2019-08-07 18:01:08 -07:00
<li><a href="../cpp_graph/annotated.html">Graph</a></li>
<li><a href="../cpp_routing/annotated.html">Routing</a></li>
<li><a href="../cpp_linear/annotated.html">Linear solver</a></li>
</ul>
</div>
2019-06-13 15:51:12 +02:00
<div id="content">
2019-08-07 18:01:08 -07:00
<div align="center">
<h1 style="color: #145A32;">C++ Reference: CP-SAT</h1>
</div>
2019-09-12 09:22:44 +02:00
<!-- Generated by Doxygen 1.8.15 -->
2019-06-13 15:51:12 +02:00
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
2019-07-15 17:42:24 -07:00
<li class="current"><a href="files.html"><span>Files</span></a></li>
2019-06-13 15:51:12 +02:00
</ul>
</div>
2019-08-07 18:01:08 -07:00
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_a7cc1eeded8f693d0da6c729bc88c45a.html">ortools</a></li><li class="navelem"><a class="el" href="dir_dddac007a45022d9da6ea1dee012c3b9.html">sat</a></li> </ul>
2019-07-12 13:25:23 -07:00
</div>
2019-08-07 18:01:08 -07:00
</div><!-- top -->
2019-06-13 15:51:12 +02:00
<div class="header">
<div class="headertitle">
<div class="title">cp_model.h</div> </div>
</div><!--header-->
<div class="contents">
2019-09-12 09:22:44 +02:00
<a href="cp__model_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// Copyright 2010-2018 Google LLC</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// you may not use this file except in compliance with the License.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// You may obtain a copy of the License at</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#ifndef OR_TOOLS_SAT_CP_MODEL_H_</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#define OR_TOOLS_SAT_CP_MODEL_H_</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor">#include &quot;absl/container/flat_hash_map.h&quot;</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="preprocessor">#include &quot;absl/types/span.h&quot;</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="cp__model_8pb_8h.html">ortools/sat/cp_model.pb.h</a>&quot;</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="cp__model__solver_8h.html">ortools/sat/cp_model_solver.h</a>&quot;</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor">#include &quot;ortools/sat/cp_model_utils.h&quot;</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="model_8h.html">ortools/sat/model.h</a>&quot;</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor">#include &quot;ortools/sat/sat_parameters.pb.h&quot;</span></div><div class="line"><a name="l00050"></a><span class="lineno">
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_a764be64f3029f8b8e23511061d8de355"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a764be64f3029f8b8e23511061d8de355">operations_research::sat::IntVar::DebugString</a></div><div class="ttdeci">std::string DebugString() const</div><div class="ttdoc">Returns a debug std::string.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a2642f1728e719f00cf36e348124155e0"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a2642f1728e719f00cf36e348124155e0">operations_research::sat::CpModelBuilder::AddAbsEquality</a></div><div class="ttdeci">Constraint AddAbsEquality(IntVar target, IntVar var)</div><div class="ttdoc">Adds target == abs(var).</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a7ec28144e7a47f2e8067b895dba4971a"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a7ec28144e7a47f2e8067b895dba4971a">operations_research::sat::CpModelBuilder::Build</a></div><div class="ttdeci">const CpModelProto &amp; Build() const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00806">cp_model.h:806</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_ad93e8152b59e0db58d7e5ba4a525dd81"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#ad93e8152b59e0db58d7e5ba4a525dd81">operations_research::sat::LinearExpr::coefficients</a></div><div class="ttdeci">const std::vector&lt; int64 &gt; &amp; coefficients() const</div><div class="ttdoc">Returns the vector of coefficients.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00283">cp_model.h:283</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1Constraint_html_ab24547e367af774c764d4fbf76a23223"><div class="ttname"><a href="classoperations__research_1_1sat_1_1Constraint.html#ab24547e367af774c764d4fbf76a23223">operations_research::sat::Constraint::MutableProto</a></div><div class="ttdeci">ConstraintProto * MutableProto() const</div><div class="ttdoc">Returns the mutable underlying protobuf object (useful for model edition).</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00425">cp_model.h:425</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_ab0da51955684003ebd40b203c9515538"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#ab0da51955684003ebd40b203c9515538">operations_research::sat::CpModelBuilder::AddNoOverlap2D</a></div><div class="ttdeci">NoOverlap2DConstraint AddNoOverlap2D()</div><div class="ttdoc">The no_overlap_2d constraint prevents a set of boxes from overlapping.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_a93177d9951cd72c46ef51f55b0eba6c1"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a93177d9951cd72c46ef51f55b0eba6c1">operations_research::sat::IntervalVar::EndVar</a></div><div class="ttdeci">IntVar EndVar() const</div><div class="ttdoc">Returns the end variable.</div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a9c0ae0d048a431656985fc79428bbe67"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a9c0ae0d048a431656985fc79428bbe67">operations_research::sat::operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const BoolVar &amp;var)</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_aa96427ca5156644ef61e4ffec3ea4083"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#aa96427ca5156644ef61e4ffec3ea4083">operations_research::sat::LinearExpr::variables</a></div><div class="ttdeci">const std::vector&lt; IntVar &gt; &amp; variables() const</div><div class="ttdoc">Returns the vector of variables.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00280">cp_model.h:280</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a0efb111b753edb71e39cb7d1243d93d1"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a0efb111b753edb71e39cb7d1243d93d1">operations_research::sat::CpModelBuilder::AddForbiddenAssignments</a></div><div class="ttdeci">TableConstraint AddForbiddenAssignments(absl::Span&lt; const IntVar &gt; vars)</div><div class="ttdoc">Adds an forbidden assignments constraint.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a08bd8b53ab836f5c1e16f360afcf2818"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a08bd8b53ab836f5c1e16f360afcf2818">operations_research::sat::CpModelBuilder::NewConstant</a></div><div class="ttdeci">IntVar NewConstant(int64 value)</div><div class="ttdoc">Creates a constant variable.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_abf7850d0824985bff25b3013958f2b50"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#abf7850d0824985bff25b3013958f2b50">operations_research::sat::CpModelBuilder::AddAutomaton</a></div><div class="ttdeci">AutomatonConstraint AddAutomaton(absl::Span&lt; const IntVar &gt; transition_variables, int starting_state, absl::Span&lt; const int &gt; final_states)</div><div class="ttdoc">An automaton constraint/.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a7671d69e0d2ee5470b338710c9d13f80"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a7671d69e0d2ee5470b338710c9d13f80">operations_research::sat::CpModelBuilder::AddVariableElement</a></div><div class="ttdeci">Constraint AddVariableElement(IntVar index, absl::Span&lt; const IntVar &gt; variables, IntVar target)</div><div class="ttdoc">Adds the element constraint: variables[index] == target.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_aac1d593654ac2c9e311b7337b702216b"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#aac1d593654ac2c9e311b7337b702216b">operations_research::sat::CpModelBuilder::AddEquality</a></div><div class="ttdeci">Constraint AddEquality(const LinearExpr &amp;left, const LinearExpr &amp;right)</div><div class="ttdoc">Adds left == right.</div></div>
<div class="ttc" id="cp__model__solver_8h_html"><div class="ttname"><a href="cp__model__solver_8h.html">cp_model_solver.h</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_ab00374af3fbd853d2d5f04a5ca608ec2"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#ab00374af3fbd853d2d5f04a5ca608ec2">operations_research::sat::LinearExpr::AddTerm</a></div><div class="ttdeci">void AddTerm(IntVar var, int64 coeff)</div><div class="ttdoc">Adds a term (var * coeff) to the linear expression.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a510f0bd907252a773f2a868f12632aa8"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a510f0bd907252a773f2a868f12632aa8">operations_research::sat::CpModelBuilder::NewOptionalIntervalVar</a></div><div class="ttdeci">IntervalVar NewOptionalIntervalVar(IntVar start, IntVar size, IntVar end, BoolVar presence)</div><div class="ttdoc">Creates an optional interval variable.</div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a0ab0c4789d577b30dde661c19f88d00e"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a0ab0c4789d577b30dde661c19f88d00e">operations_research::sat::DecisionStrategyProto_DomainReductionStrategy</a></div><div class="ttdeci">DecisionStrategyProto_DomainReductionStrategy</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l00191">cp_model.pb.h:191</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_ac1fcee16c92c43742bc7b0d3b78c7c28"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#ac1fcee16c92c43742bc7b0d3b78c7c28">operations_research::sat::CpModelBuilder::AddHint</a></div><div class="ttdeci">void AddHint(IntVar var, int64 value)</div><div class="ttdoc">Adds hinting to a variable.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntegerVariableProto_html_a24dcbf29c0d6cd766009a182a6484e3b"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntegerVariableProto.html#a24dcbf29c0d6cd766009a182a6484e3b">operations_research::sat::IntegerVariableProto::name</a></div><div class="ttdeci">const std::string &amp; name() const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l04576">cp_model.pb.h:4576</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_ae8e77c3b7a6be3b4e47395bfd38d1810"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#ae8e77c3b7a6be3b4e47395bfd38d1810">operations_research::sat::CpModelBuilder::MutableProto</a></div><div class="ttdeci">CpModelProto * MutableProto()</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00809">cp_model.h:809</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a39205137bf1d725eeb83298fed27a320"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a39205137bf1d725eeb83298fed27a320">operations_research::sat::CpModelBuilder::NewIntVar</a></div><div class="ttdeci">IntVar NewIntVar(const Domain &amp;domain)</div><div class="ttdoc">Creates an integer variable with the given domain.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_ae5d09f03aa97474f2893f9fc46a496ec"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#ae5d09f03aa97474f2893f9fc46a496ec">operations_research::sat::LinearExpr::constant</a></div><div class="ttdeci">int64 constant() const</div><div class="ttdoc">Returns the constant term.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00286">cp_model.h:286</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntegerVariableProto_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntegerVariableProto.html">operations_research::sat::IntegerVariableProto</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l00248">cp_model.pb.h:248</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_aabad4e80a83e1b7ceb05a1a33263c6af"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#aabad4e80a83e1b7ceb05a1a33263c6af">operations_research::sat::CpModelBuilder::AddModuloEquality</a></div><div class="ttdeci">Constraint AddModuloEquality(IntVar target, IntVar var, IntVar mod)</div><div class="ttdoc">Adds target = var % mod.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_af4231766a67a055d14cd7d41b747c05d"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#af4231766a67a055d14cd7d41b747c05d">operations_research::sat::CpModelBuilder::NewIntervalVar</a></div><div class="ttdeci">IntervalVar NewIntervalVar(IntVar start, IntVar size, IntVar end)</div><div class="ttdoc">Creates an interval variable.</div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a671200a31003492dbef21f2b4ee3dcbd"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a671200a31003492dbef21f2b4ee3dcbd">operations_research::sat::SolutionIntegerMin</a></div><div class="ttdeci">int64 SolutionIntegerMin(const CpSolverResponse &amp;r, IntVar x)</div><div class="ttdoc">Returns the min of an integer variable in a solution.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html">operations_research::sat::CpModelBuilder</a></div><div class="ttdoc">Wrapper class around the cp_model proto.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00565">cp_model.h:565</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a30635c1596eb7f885ac2fb3c8f2defc9"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a30635c1596eb7f885ac2fb3c8f2defc9">operations_research::sat::CpModelBuilder::AddReservoirConstraint</a></div><div class="ttdeci">ReservoirConstraint AddReservoirConstraint(int64 min_level, int64 max_level)</div><div class="ttdoc">Adds a reservoir constraint with optional refill/emptying events.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_aa2a46716066eef222aee80da07fb7fda"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#aa2a46716066eef222aee80da07fb7fda">operations_research::sat::BoolVar::operator!=</a></div><div class="ttdeci">bool operator!=(const BoolVar &amp;other) const</div><div class="ttdoc">Dis-Equality test.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00085">cp_model.h:85</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a94523f1ebceff999bc59a3db7d2b98b6"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a94523f1ebceff999bc59a3db7d2b98b6">operations_research::sat::DecisionStrategyProto_VariableSelectionStrategy</a></div><div class="ttdeci">DecisionStrategyProto_VariableSelectionStrategy</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l00163">cp_model.pb.h:163</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1ReservoirConstraint_html_af1151b0627920bc9eddd2b532dd274b2"><div class="ttname"><a href="classoperations__research_1_1sat_1_1ReservoirConstraint.html#af1151b0627920bc9eddd2b532dd274b2">operations_research::sat::ReservoirConstraint::AddOptionalEvent</a></div><div class="ttdeci">void AddOptionalEvent(IntVar time, int64 demand, BoolVar is_active)</div><div class="ttdoc">Adds a optional event.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_a8098e37a46ec252d36fe0757887f1337"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a8098e37a46ec252d36fe0757887f1337">operations_research::sat::IntVar::WithName</a></div><div class="ttdeci">IntVar WithName(const std::string &amp;name)</div><div class="ttdoc">Sets the name of the variable.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1ReservoirConstraint_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1ReservoirConstraint.html">operations_research::sat::ReservoirConstraint</a></div><div class="ttdoc">Specialized reservoir constraint.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00480">cp_model.h:480</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1Constraint_html_a9ee30a925ae7127a28ae72965c8654d8"><div class="ttname"><a href="classoperations__research_1_1sat_1_1Constraint.html#a9ee30a925ae7127a28ae72965c8654d8">operations_research::sat::Constraint::proto_</a></div><div class="ttdeci">ConstraintProto * proto_</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00432">cp_model.h:432</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a38d802efced63979cac9c029f748b2df"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a38d802efced63979cac9c029f748b2df">operations_research::sat::CpModelBuilder::TrueVar</a></div><div class="ttdeci">BoolVar TrueVar()</div><div class="ttdoc">Creates an always true Boolean variable.</div></div>
<div class="ttc" id="model_8h_html"><div class="ttname"><a href="model_8h.html">model.h</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a41656ab2aa515b1768f3325383c32a47"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a41656ab2aa515b1768f3325383c32a47">operations_research::sat::CpModelBuilder::AddDivisionEquality</a></div><div class="ttdeci">Constraint AddDivisionEquality(IntVar target, IntVar numerator, IntVar denominator)</div><div class="ttdoc">Adds target = num / denom (integer division rounded towards 0).</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1NoOverlap2DConstraint_html_ac9f005471a4a54c288d4dc259d25fbc3"><div class="ttname"><a href="classoperations__research_1_1sat_1_1NoOverlap2DConstraint.html#ac9f005471a4a54c288d4dc259d25fbc3">operations_research::sat::NoOverlap2DConstraint::AddRectangle</a></div><div class="ttdeci">void AddRectangle(IntervalVar x_coordinate, IntervalVar y_coordinate)</div><div class="ttdoc">Adds a rectangle (parallel to the axis) to the constraint.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_a191cd9b1ba3e3c01a558a1f6c02a4429"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#a191cd9b1ba3e3c01a558a1f6c02a4429">operations_research::sat::BoolVar::Name</a></div><div class="ttdeci">const std::string &amp; Name() const</div><div class="ttdoc">Returns the name of the variable.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00074">cp_model.h:74</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1Constraint_html_ad26730509027a6151e72620d34a2c8e2"><div class="ttname"><a href="classoperations__research_1_1sat_1_1Constraint.html#ad26730509027a6151e72620d34a2c8e2">operations_research::sat::Constraint::Constraint</a></div><div class="ttdeci">Constraint(ConstraintProto *proto)</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1ConstraintProto_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1ConstraintProto.html">operations_research::sat::ConstraintProto</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l02929">cp_model.pb.h:2929</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CumulativeConstraint_html_a93d6b777e333ebf211de4c96208dfe8d"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CumulativeConstraint.html#a93d6b777e333ebf211de4c96208dfe8d">operations_research::sat::CumulativeConstraint::AddDemand</a></div><div class="ttdeci">void AddDemand(IntervalVar interval, IntVar demand)</div><div class="ttdoc">Adds a pair (interval, demand) to the constraint.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_aa67c05613e104e47d09fcafa7fe4bcfa"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#aa67c05613e104e47d09fcafa7fe4bcfa">operations_research::sat::CpModelBuilder::AddLessOrEqual</a></div><div class="ttdeci">Constraint AddLessOrEqual(const LinearExpr &amp;left, const LinearExpr &amp;right)</div><div class="ttdoc">Adds left &lt;= right.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html">operations_research::sat::LinearExpr</a></div><div class="ttdoc">A dedicated container for linear expressions.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00237">cp_model.h:237</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1Constraint_html_a808ccd064e687092f93e0d6671536e21"><div class="ttname"><a href="classoperations__research_1_1sat_1_1Constraint.html#a808ccd064e687092f93e0d6671536e21">operations_research::sat::Constraint::Proto</a></div><div class="ttdeci">const ConstraintProto &amp; Proto() const</div><div class="ttdoc">Returns the underlying protobuf object (useful for testing).</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00422">cp_model.h:422</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_a708e7b52aae1fa3c440ef7ced3f06cd9"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#a708e7b52aae1fa3c440ef7ced3f06cd9">operations_research::sat::LinearExpr::LinearExpr</a></div><div class="ttdeci">LinearExpr()</div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a8ec893fa736de5b95135ecb9314ee6d8"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a8ec893fa736de5b95135ecb9314ee6d8">operations_research::sat::SolutionIntegerMax</a></div><div class="ttdeci">int64 SolutionIntegerMax(const CpSolverResponse &amp;r, IntVar x)</div><div class="ttdoc">Returns the max of an integer variable in a solution.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_ae7be47301fa8fdc0f4944877cd2fe7ba"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#ae7be47301fa8fdc0f4944877cd2fe7ba">operations_research::sat::IntVar::Proto</a></div><div class="ttdeci">const IntegerVariableProto &amp; Proto() const</div><div class="ttdoc">Returns the underlying protobuf object (useful for testing).</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00171">cp_model.h:171</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_a3e3b31a2b9e3c9799b0d4de7cce25157"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a3e3b31a2b9e3c9799b0d4de7cce25157">operations_research::sat::IntervalVar::PresenceBoolVar</a></div><div class="ttdeci">BoolVar PresenceBoolVar() const</div><div class="ttdoc">Returns a BoolVar indicating the presence of this interval.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_a8391a20c25890ccbf3f5e3982afed236"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#a8391a20c25890ccbf3f5e3982afed236">operations_research::sat::BoolVar::SolutionBooleanValue</a></div><div class="ttdeci">friend bool SolutionBooleanValue(const CpSolverResponse &amp;r, BoolVar x)</div><div class="ttdoc">Evaluates the value of a Boolean literal in a solver response.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a9c481bea08e8109289cdd3ee8d4a24d8"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a9c481bea08e8109289cdd3ee8d4a24d8">operations_research::sat::CpModelBuilder::FalseVar</a></div><div class="ttdeci">BoolVar FalseVar()</div><div class="ttdoc">Creates an always false Boolean variable.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_aa87921d8ff0a1fe8f40b50900433997a"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#aa87921d8ff0a1fe8f40b50900433997a">operations_research::sat::LinearExpr::BooleanSum</a></div><div class="ttdeci">static LinearExpr BooleanSum(absl::Span&lt; const BoolVar &gt; vars)</div><div class="ttdoc">Constructs the sum of a list of Booleans.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html">operations_research::sat::IntervalVar</a></div><div class="ttdoc">Represents a Interval variable.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00315">cp_model.h:315</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_a7cb0963c126cc771ab69529f40826812"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a7cb0963c126cc771ab69529f40826812">operations_research::sat::IntervalVar::operator!=</a></div><div class="ttdeci">bool operator!=(const IntervalVar &amp;other) const</div><div class="ttdoc">Difference test with another interval variable.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00348">cp_model.h:348</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_a5faa887b5cfc205902474ccd69223870"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#a5faa887b5cfc205902474ccd69223870">operations_research::sat::BoolVar::WithName</a></div><div class="ttdeci">BoolVar WithName(const std::string &amp;name)</div><div class="ttdoc">Sets the name of the variable.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_a191cd9b1ba3e3c01a558a1f6c02a4429"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a191cd9b1ba3e3c01a558a1f6c02a4429">operations_research::sat::IntVar::Name</a></div><div class="ttdeci">const std::string &amp; Name() const</div><div class="ttdoc">Returns the name of the variable (or the empty std::string if not set).</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00155">cp_model.h:155</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CumulativeConstraint_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CumulativeConstraint.html">operations_research::sat::CumulativeConstraint</a></div><div class="ttdoc">Specialized cumulative constraint.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00545">cp_model.h:545</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_a4575c5afc539cb5f35bf5fe753158569"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#a4575c5afc539cb5f35bf5fe753158569">operations_research::sat::LinearExpr::Term</a></div><div class="ttdeci">static LinearExpr Term(IntVar var, int64 coefficient)</div><div class="ttdoc">Construncts var * coefficient.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearConstraintProto_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearConstraintProto.html">operations_research::sat::LinearConstraintProto</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l00820">cp_model.pb.h:820</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_a7414f9395b4bafa9c58fe865b68165dd"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a7414f9395b4bafa9c58fe865b68165dd">operations_research::sat::IntervalVar::SizeVar</a></div><div class="ttdeci">IntVar SizeVar() const</div><div class="ttdoc">Returns the size variable.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1ReservoirConstraint_html_adbf37b87cdabfe283381f9d42f7e80fb"><div class="ttname"><a href="classoperations__research_1_1sat_1_1ReservoirConstraint.html#adbf37b87cdabfe283381f9d42f7e80fb">operations_research::sat::ReservoirConstraint::AddEvent</a></div><div class="ttdeci">void AddEvent(IntVar time, int64 demand)</div><div class="ttdoc">Adds a mandatory event.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html">operations_research::sat::BoolVar</a></div><div class="ttdoc">A Boolean variable.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00066">cp_model.h:66</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalConstraintProto_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalConstraintProto.html">operations_research::sat::IntervalConstraintProto</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l01138">cp_model.pb.h:1138</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1TableConstraint_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1TableConstraint.html">operations_research::sat::TableConstraint</a></div><div class="ttdoc">Specialized assignment constraint.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00463">cp_model.h:463</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a5e3de118c1f8dd5a7ec21704e05684b9"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a5e3de118c1f8dd5a7ec21704e05684b9">operations_research::sat::Not</a></div><div class="ttdeci">BoolVar Not(BoolVar x)</div><div class="ttdoc">A convenient wrapper so we can write Not(x) instead of x.Not() which is sometimes clearer.</div></div>
<div class="ttc" id="sorted__interval__list_8h_html"><div class="ttname"><a href="sorted__interval__list_8h.html">sorted_interval_list.h</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_ab58d2ffae5a0a7e7b0111bf6f465a018"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#ab58d2ffae5a0a7e7b0111bf6f465a018">operations_research::sat::CpModelBuilder::AddElement</a></div><div class="ttdeci">Constraint AddElement(IntVar index, absl::Span&lt; const int64 &gt; values, IntVar target)</div><div class="ttdoc">Adds the element constraint: values[index] == target.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_ab3208590bc0182ec5d6acffd6347503c"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#ab3208590bc0182ec5d6acffd6347503c">operations_research::sat::IntervalVar::Proto</a></div><div class="ttdeci">const IntervalConstraintProto &amp; Proto() const</div><div class="ttdoc">Returns the underlying protobuf object (useful for testing).</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00356">cp_model.h:356</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_a7400b108444b2375d723b848e23bb169"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a7400b108444b2375d723b848e23bb169">operations_research::sat::IntVar::IntVar</a></div><div class="ttdeci">IntVar()</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a8e6a73106e33c7acb3a0c13adca6af07"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a8e6a73106e33c7acb3a0c13adca6af07">operations_research::sat::CpModelBuilder::AddLessThan</a></div><div class="ttdeci">Constraint AddLessThan(const LinearExpr &amp;left, const LinearExpr &amp;right)</div><div class="ttdoc">Adds left &lt; right.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a93e3463c812581d990d7c4524cc8c4c7"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a93e3463c812581d990d7c4524cc8c4c7">operations_research::sat::CpModelBuilder::AddBoolXor</a></div><div class="ttdeci">Constraint AddBoolXor(absl::Span&lt; const BoolVar &gt; literals)</div><div class="ttdoc">Adds the constraint that a odd number of literal is true.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_acca41811e8aaab0112b987749c0ecb93"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#acca41811e8aaab0112b987749c0ecb93">operations_research::sat::BoolVar::index</a></div><div class="ttdeci">int index() const</div><div class="ttdoc">Returns the index of the variable in the model.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00108">cp_model.h:108</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelProto_html_ab9746c6070379e1990d2fd2da7586398"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelProto.html#ab9746c6070379e1990d2fd2da7586398">operations_research::sat::CpModelProto::mutable_variables</a></div><div class="ttdeci">::operations_research::sat::IntegerVariableProto * mutable_variables(int index)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07298">cp_model.pb.h:7298</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_afeafd91b6c39ca5733228cd0e3a78cab"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#afeafd91b6c39ca5733228cd0e3a78cab">operations_research::sat::IntervalVar::StartVar</a></div><div class="ttdeci">IntVar StartVar() const</div><div class="ttdoc">Returns the start variable.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a49f862c5400f04e70393acc6b78f096a"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a49f862c5400f04e70393acc6b78f096a">operations_research::sat::CpModelBuilder::Maximize</a></div><div class="ttdeci">void Maximize(const LinearExpr &amp;expr)</div><div class="ttdoc">Adds a linear maximization objective.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1TableConstraint_html_a5a4a22c7e11aa5064b3de8668497b650"><div class="ttname"><a href="classoperations__research_1_1sat_1_1TableConstraint.html#a5a4a22c7e11aa5064b3de8668497b650">operations_research::sat::TableConstraint::AddTuple</a></div><div class="ttdeci">void AddTuple(absl::Span&lt; const int64 &gt; tuple)</div><div class="ttdoc">Adds a tuple of possible values to the constraint.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_ab6091344cb80f81a2b80c4cad2233457"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#ab6091344cb80f81a2b80c4cad2233457">operations_research::sat::CpModelBuilder::AddGreaterOrEqual</a></div><div class="ttdeci">Constraint AddGreaterOrEqual(const LinearExpr &amp;left, const LinearExpr &amp;right)</div><div class="ttdoc">Adds left &gt;= right.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_a79061f94ca7a97d0616f8b270358c771"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a79061f94ca7a97d0616f8b270358c771">operations_research::sat::IntVar::SolutionIntegerMax</a></div><div class="ttdeci">friend int64 SolutionIntegerMax(const CpSolverResponse &amp;r, IntVar x)</div><div class="ttdoc">Returns the max of an integer variable in a solution.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_aeabe14db3b80e3fb94c6d2b3ad90e8f8"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#aeabe14db3b80e3fb94c6d2b3ad90e8f8">operations_research::sat::CpModelBuilder::AddAllowedAssignments</a></div><div class="ttdeci">TableConstraint AddAllowedAssignments(absl::Span&lt; const IntVar &gt; vars)</div><div class="ttdoc">Adds an allowed assignments constraint.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_af3cc44f35b9ba07d6d7e48b32bd1b0ca"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#af3cc44f35b9ba07d6d7e48b32bd1b0ca">operations_research::sat::CpModelBuilder::AddInverseConstraint</a></div><div class="ttdeci">Constraint AddInverseConstraint(absl::Span&lt; const IntVar &gt; variables, absl::Span&lt; const IntVar &gt; inverse_variables)</div><div class="ttdoc">An inverse constraint.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a7555c0d6582783a6778bf209acc737e9"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a7555c0d6582783a6778bf209acc737e9">operations_research::sat::CpModelBuilder::ScaleObjectiveBy</a></div><div class="ttdeci">void ScaleObjectiveBy(double scaling)</div><div class="ttdoc">Sets scaling of the objective.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a76b3dff7b13e85766819c3413d237ad1"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a76b3dff7b13e85766819c3413d237ad1">operations_research::sat::CpModelBuilder::Proto</a></div><div class="ttdeci">const CpModelProto &amp; Proto() const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00808">cp_model.h:808</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_a02b89136ac6040e03a762f9588bbb38f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a02b89136ac6040e03a762f9588bbb38f">operations_research::sat::IntVar::MutableProto</a></div><div class="ttdeci">IntegerVariableProto * MutableProto() const</div><div class="ttdoc">Returns the mutable underlying protobuf object (useful for model edition).</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00176">cp_model.h:176</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1NoOverlap2DConstraint_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1NoOverlap2DConstraint.html">operations_research::sat::NoOverlap2DConstraint</a></div><div class="ttdoc">Specialized no_overlap2D constraint.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00528">cp_model.h:528</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1Constraint_html_a0ef1ea52810f5cb078f58799520b833c"><div class="ttname"><a href="classoperations__research_1_1sat_1_1Constraint.html#a0ef1ea52810f5cb078f58799520b833c">operations_research::sat::Constraint::OnlyEnforceIf</a></div><div class="ttdeci">Constraint OnlyEnforceIf(absl::Span&lt; const BoolVar &gt; literals)</div><div class="ttdoc">The constraint will be enforced iff all literals listed here are true.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1Constraint_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1Constraint.html">operations_research::sat::Constraint</a></div><div class="ttdoc">A constraint.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00391">cp_model.h:391</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a9fb68d41ffab385f703f7944ba2e5211"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a9fb68d41ffab385f703f7944ba2e5211">operations_research::sat::CpModelBuilder::AddBoolAnd</a></div><div class="ttdeci">Constraint AddBoolAnd(absl::Span&lt; const BoolVar &gt; literals)</div><div class="ttdoc">Adds the constraint that all literals must be true.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_ae17bac92c54a4eabc1ddaa875d32cdd2"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#ae17bac92c54a4eabc1ddaa875d32cdd2">operations_research::sat::CpModelBuilder::AddNotEqual</a></div><div class="ttdeci">Constraint AddNotEqual(const LinearExpr &amp;left, const LinearExpr &amp;right)</div><div class="ttdoc">Adds left != right.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_ac007930625d02938b9440eafdd23dcdc"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#ac007930625d02938b9440eafdd23dcdc">operations_research::sat::BoolVar::operator==</a></div><div class="ttdeci">bool operator==(const BoolVar &amp;other) const</div><div class="ttdoc">Equality test with another boolvar.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00080">cp_model.h:80</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_a8ec929aea42c9e50e2f1daf56525e379"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a8ec929aea42c9e50e2f1daf56525e379">operations_research::sat::IntVar::SolutionIntegerMin</a></div><div class="ttdeci">friend int64 SolutionIntegerMin(const CpSolverResponse &amp;r, IntVar x)</div><div class="ttdoc">Returns the min of an integer variable in a solution.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1Constraint_html_a18bb41d87c6d089385c392476adb6465"><div class="ttname"><a href="classoperations__research_1_1sat_1_1Constraint.html#a18bb41d87c6d089385c392476adb6465">operations_research::sat::Constraint::WithName</a></div><div class="ttdeci">Constraint WithName(const std::string &amp;name)</div><div class="ttdoc">Sets the name of the constraint.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1ConstraintProto_html_a0c6e505a600b075354ca4c9f9a08c4d0"><div class="ttname"><a href="classoperations__research_1_1sat_1_1ConstraintProto.html#a0c6e505a600b075354ca4c9f9a08c4d0">operations_research::sat::ConstraintProto::mutable_interval</a></div><div class="ttdeci">::operations_research::sat::IntervalConstraintProto * mutable_interval()</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l06769">cp_model.pb.h:6769</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_a899dd96359ab1e4f8a0589439db9c619"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#a899dd96359ab1e4f8a0589439db9c619">operations_research::sat::LinearExpr::Sum</a></div><div class="ttdeci">static LinearExpr Sum(absl::Span&lt; const IntVar &gt; vars)</div><div class="ttdoc">Constructs the sum of a list of variables.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_a764be64f3029f8b8e23511061d8de355"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#a764be64f3029f8b8e23511061d8de355">operations_research::sat::BoolVar::DebugString</a></div><div class="ttdeci">std::string DebugString() const</div><div class="ttdoc">Debug std::string.</div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_afa415e372a9d64eede869ed98666c29c"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#afa415e372a9d64eede869ed98666c29c">operations_research::sat::SolutionBooleanValue</a></div><div class="ttdeci">bool SolutionBooleanValue(const CpSolverResponse &amp;r, BoolVar x)</div><div class="ttdoc">Evaluates the value of a Boolean literal in a solver response.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_ae7be47301fa8fdc0f4944877cd2fe7ba"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#ae7be47301fa8fdc0f4944877cd2fe7ba">operations_research::sat::BoolVar::Proto</a></div><div class="ttdeci">const IntegerVariableProto &amp; Proto() const</div><div class="ttdoc">Returns the underlying protobuf object (useful for testing).</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00093">cp_model.h:93</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a81c51e7386ecad3111a9fb9e2bacc29d"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a81c51e7386ecad3111a9fb9e2bacc29d">operations_research::sat::CpModelBuilder::AddGreaterThan</a></div><div class="ttdeci">Constraint AddGreaterThan(const LinearExpr &amp;left, const LinearExpr &amp;right)</div><div class="ttdoc">Adds left &gt; right.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_acf0b12c4598ff0e9badb80795341e1ce"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#acf0b12c4598ff0e9badb80795341e1ce">operations_research::sat::BoolVar::Not</a></div><div class="ttdeci">BoolVar Not() const</div><div class="ttdoc">Returns the logical negation of the current Boolean variable.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00077">cp_model.h:77</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_a64bd6fadf44a9840c837cc701b2b9043"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a64bd6fadf44a9840c837cc701b2b9043">operations_research::sat::IntVar::SolutionIntegerValue</a></div><div class="ttdeci">friend int64 SolutionIntegerValue(const CpSolverResponse &amp;r, const LinearExpr &amp;expr)</div><div class="ttdoc">Evaluates the value of an linear expression in a solver response.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1Constraint_html_a191cd9b1ba3e3c01a558a1f6c02a4429"><div class="ttname"><a href="classoperations__research_1_1sat_1_1Constraint.html#a191cd9b1ba3e3c01a558a1f6c02a4429">operations_research::sat::Constraint::Name</a></div><div class="ttdeci">const std::string &amp; Name() const</div><div class="ttdoc">Returns the name of the constraint (or the empty std::string if not set).</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_a16e8537a019c3aa686e290a82d68356e"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#a16e8537a019c3aa686e290a82d68356e">operations_research::sat::LinearExpr::ScalProd</a></div><div class="ttdeci">static LinearExpr ScalProd(absl::Span&lt; const IntVar &gt; vars, absl::Span&lt; const int64 &gt; coeffs)</div><div class="ttdoc">Constructs the scalar product of variables and coefficients.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_a8d34e06a33d1de52331eef3732b509cf"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#a8d34e06a33d1de52331eef3732b509cf">operations_research::sat::BoolVar::BoolVar</a></div><div class="ttdeci">BoolVar()</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a18f5b0a54e5d977cbc51978dbb58a083"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a18f5b0a54e5d977cbc51978dbb58a083">operations_research::sat::CpModelBuilder::AddLinearConstraint</a></div><div class="ttdeci">Constraint AddLinearConstraint(const LinearExpr &amp;expr, const Domain &amp;domain)</div><div class="ttdoc">Adds expr in domain.</div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_aeaed9bdf2a27bb778ba397666cb874d7"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#aeaed9bdf2a27bb778ba397666cb874d7">operations_research::sat::SolutionIntegerValue</a></div><div class="ttdeci">int64 SolutionIntegerValue(const CpSolverResponse &amp;r, const LinearExpr &amp;expr)</div><div class="ttdoc">Evaluates the value of an linear expression in a solver response.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1AutomatonConstraint_html_a91c44b4bd258542c96f064b771996ccb"><div class="ttname"><a href="classoperations__research_1_1sat_1_1AutomatonConstraint.html#a91c44b4bd258542c96f064b771996ccb">operations_research::sat::AutomatonConstraint::AddTransition</a></div><div class="ttdeci">void AddTransition(int tail, int head, int64 transition_label)</div><div class="ttdoc">Adds a transitions to the automaton.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_a86bf77bbf334c2b017bf92cc10d82c0b"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a86bf77bbf334c2b017bf92cc10d82c0b">operations_research::sat::IntervalVar::operator==</a></div><div class="ttdeci">bool operator==(const IntervalVar &amp;other) const</div><div class="ttdoc">Equality test with another interval variable.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00343">cp_model.h:343</a></div></div>
<div class="ttc" id="classoperations__research_1_1Domain_html"><div class="ttname"><a href="classoperations__research_1_1Domain.html">operations_research::Domain</a></div><div class="ttdoc">We call domain any subset of Int64 = [kint64min, kint64max].</div><div class="ttdef"><b>Definition:</b> <a href="sorted__interval__list_8h_source.html#l00074">sorted_interval_list.h:74</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_ad73e372cd9d1def69624f85777393123"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#ad73e372cd9d1def69624f85777393123">operations_research::sat::IntervalVar::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const IntervalVar &amp;var)</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_acca41811e8aaab0112b987749c0ecb93"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#acca41811e8aaab0112b987749c0ecb93">operations_research::sat::IntervalVar::index</a></div><div class="ttdeci">int index() const</div><div class="ttdoc">Returns the index of the interval constraint in the model.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00366">cp_model.h:366</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelProto_html_a6a4544ca20489d70e302f5d6d374a012"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelProto.html#a6a4544ca20489d70e302f5d6d374a012">operations_research::sat::CpModelProto::variables</a></div><div class="ttdeci">const ::operations_research::sat::IntegerVariableProto &amp; variables(int index) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07307">cp_model.pb.h:7307</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_abb93372bf4b86beb59afd982e3e2e35b"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#abb93372bf4b86beb59afd982e3e2e35b">operations_research::sat::CpModelBuilder::AddBoolOr</a></div><div class="ttdeci">Constraint AddBoolOr(absl::Span&lt; const BoolVar &gt; literals)</div><div class="ttdoc">Adds the constraint that at least one of the literals must be true.</div></div>
<div class="ttc" id="cp__model_8pb_8h_html"><div class="ttname"><a href="cp__model_8pb_8h.html">cp_model.pb.h</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_acca41811e8aaab0112b987749c0ecb93"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#acca41811e8aaab0112b987749c0ecb93">operations_research::sat::IntVar::index</a></div><div class="ttdeci">int index() const</div><div class="ttdoc">Returns the index of the variable in the model.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00181">cp_model.h:181</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a3f32fd0e59b753a40089aae8fa14f2e8"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a3f32fd0e59b753a40089aae8fa14f2e8">operations_research::sat::CpModelBuilder::AddMaxEquality</a></div><div class="ttdeci">Constraint AddMaxEquality(IntVar target, absl::Span&lt; const IntVar &gt; vars)</div><div class="ttdoc">Adds target == max(vars).</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpSolverResponse_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpSolverResponse.html">operations_research::sat::CpSolverResponse</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l04280">cp_model.pb.h:4280</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a992e2e2fd31057ae895a5e1ee406c067"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a992e2e2fd31057ae895a5e1ee406c067">operations_research::sat::CpModelBuilder::Minimize</a></div><div class="ttdeci">void Minimize(const LinearExpr &amp;expr)</div><div class="ttdoc">Adds a linear minimization objective.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a75c76026eaca8ea83038fb6dfc9e734e"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a75c76026eaca8ea83038fb6dfc9e734e">operations_research::sat::CpModelBuilder::AddCircuitConstraint</a></div><div class="ttdeci">CircuitConstraint AddCircuitConstraint()</div><div class="ttdoc">Adds a circuit constraint.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a6a381cb501091af7e3e8604baa503e4f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a6a381cb501091af7e3e8604baa503e4f">operations_research::sat::CpModelBuilder::AddDecisionStrategy</a></div><div class="ttdeci">void AddDecisionStrategy(absl::Span&lt; const IntVar &gt; variables, DecisionStrategyProto::VariableSelectionStrategy var_strategy, DecisionStrategyProto::DomainReductionStrategy domain_strategy)</div><div class="ttdoc">Adds a decision strategy on a list of integer variables.</div></div>
<div class="ttc" id="namespaceoperations__research_html"><div class="ttname"><a href="namespaceoperations__research.html">operations_research</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00052">cp_model.h:52</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_a02b89136ac6040e03a762f9588bbb38f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#a02b89136ac6040e03a762f9588bbb38f">operations_research::sat::BoolVar::MutableProto</a></div><div class="ttdeci">IntegerVariableProto * MutableProto() const</div><div class="ttdoc">Returns the mutable underlying protobuf object (useful for model edition).</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00098">cp_model.h:98</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_a41087c5f2f732f7a2f336b45b952f199"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a41087c5f2f732f7a2f336b45b952f199">operations_research::sat::IntervalVar::Name</a></div><div class="ttdeci">std::string Name() const</div><div class="ttdoc">Returns the name of the interval (or the empty std::string if not set).</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CircuitConstraint_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CircuitConstraint.html">operations_research::sat::CircuitConstraint</a></div><div class="ttdoc">Specialized circuit constraint.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00440">cp_model.h:440</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_acb6bbd3a68fe3281780b6bc74dcb3716"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#acb6bbd3a68fe3281780b6bc74dcb3716">operations_research::sat::LinearExpr::AddVar</a></div><div class="ttdeci">void AddVar(IntVar var)</div><div class="ttdoc">Adds a single integer variable to the linear expression.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_af6e22d55cdb0a5a5dda6e70f4d339f85"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#af6e22d55cdb0a5a5dda6e70f4d339f85">operations_research::sat::CpModelBuilder::AddNoOverlap</a></div><div class="ttdeci">Constraint AddNoOverlap(absl::Span&lt; const IntervalVar &gt; vars)</div><div class="ttdoc">Adds a no-overlap constraint that ensures that all present intervals do not overlap in time.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_a79da7cf24c71242159d1e57cb3680530"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a79da7cf24c71242159d1e57cb3680530">operations_research::sat::IntVar::operator!=</a></div><div class="ttdeci">bool operator!=(const IntVar &amp;other) const</div><div class="ttdoc">Difference test with anpther IntVar.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00163">cp_model.h:163</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html">operations_research::sat::IntVar</a></div><div class="ttdoc">An integer variable.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00144">cp_model.h:144</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelProto_html_a9b3e1bc8b76ea7d2614fd7ec2b066039"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelProto.html#a9b3e1bc8b76ea7d2614fd7ec2b066039">operations_research::sat::CpModelProto::mutable_constraints</a></div><div class="ttdeci">::operations_research::sat::ConstraintProto * mutable_constraints(int index)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07328">cp_model.pb.h:7328</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a38c2cb81b84bc79c5ecba6d9b3a74358"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a38c2cb81b84bc79c5ecba6d9b3a74358">operations_research::sat::CpModelBuilder::AddMinEquality</a></div><div class="ttdeci">Constraint AddMinEquality(IntVar target, absl::Span&lt; const IntVar &gt; vars)</div><div class="ttdoc">Adds target == min(vars).</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_abc65bca287dcaf1b40050c24f3a8a917"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#abc65bca287dcaf1b40050c24f3a8a917">operations_research::sat::IntervalVar::IntervalVar</a></div><div class="ttdeci">IntervalVar()</div><div class="ttdoc">Default ctor.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelProto_html_afce66afa8ae7776a449bba7313ea3559"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelProto.html#afce66afa8ae7776a449bba7313ea3559">operations_research::sat::CpModelProto::constraints</a></div><div class="ttdeci">const ::operations_research::sat::ConstraintProto &amp; constraints(int index) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07337">cp_model.pb.h:7337</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_a31c7f110218898a51c24fbd17b42f621"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#a31c7f110218898a51c24fbd17b42f621">operations_research::sat::LinearExpr::AddConstant</a></div><div class="ttdeci">LinearExpr &amp; AddConstant(int64 value)</div><div class="ttdoc">Adds a constant value to the linear expression.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_abc2055b6d2662a7570f6c975a3226aef"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#abc2055b6d2662a7570f6c975a3226aef">operations_research::sat::IntervalVar::MutableProto</a></div><div class="ttdeci">IntervalConstraintProto * MutableProto() const</div><div class="ttdoc">Returns the mutable underlying protobuf object (useful for model edition).</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00361">cp_model.h:361</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1ConstraintProto_html_a2ec4b0b15e694caaaa842243694c51f5"><div class="ttname"><a href="classoperations__research_1_1sat_1_1ConstraintProto.html#a2ec4b0b15e694caaaa842243694c51f5">operations_research::sat::ConstraintProto::interval</a></div><div class="ttdeci">const ::operations_research::sat::IntervalConstraintProto &amp; interval() const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l06763">cp_model.pb.h:6763</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a7eaa53689ca6adc2a83db42dfb81e2ed"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a7eaa53689ca6adc2a83db42dfb81e2ed">operations_research::sat::CpModelBuilder::AddCumulative</a></div><div class="ttdeci">CumulativeConstraint AddCumulative(IntVar capacity)</div><div class="ttdoc">The cumulative constraint.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_a5eacbc3ce694a75ad57598990c511635"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a5eacbc3ce694a75ad57598990c511635">operations_research::sat::IntVar::operator==</a></div><div class="ttdeci">bool operator==(const IntVar &amp;other) const</div><div class="ttdoc">Equality test with another IntVar.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00158">cp_model.h:158</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_a764be64f3029f8b8e23511061d8de355"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a764be64f3029f8b8e23511061d8de355">operations_research::sat::IntervalVar::DebugString</a></div><div class="ttdeci">std::string DebugString() const</div><div class="ttdoc">Returns a debug std::string.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CircuitConstraint_html_ac64dffddebc8b332ee6a4db064c426d2"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CircuitConstraint.html#ac64dffddebc8b332ee6a4db064c426d2">operations_research::sat::CircuitConstraint::AddArc</a></div><div class="ttdeci">void AddArc(int tail, int head, BoolVar literal)</div><div class="ttdoc">Add an arc to the circuit.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelProto_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelProto.html">operations_research::sat::CpModelProto</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l04084">cp_model.pb.h:4084</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_acc9c643fff37dd8f960fb0a6d67803f6"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#acc9c643fff37dd8f960fb0a6d67803f6">operations_research::sat::CpModelBuilder::AddProductEquality</a></div><div class="ttdeci">Constraint AddProductEquality(IntVar target, absl::Span&lt; const IntVar &gt; vars)</div><div class="ttdoc">Adds target == prod(vars).</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1AutomatonConstraint_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1AutomatonConstraint.html">operations_research::sat::AutomatonConstraint</a></div><div class="ttdoc">Specialized automaton constraint.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00511">cp_model.h:511</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a9c73529fc4e296344e3a8abcf6043ac0"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a9c73529fc4e296344e3a8abcf6043ac0">operations_research::sat::CpModelBuilder::AddImplication</a></div><div class="ttdeci">Constraint AddImplication(BoolVar a, BoolVar b)</div><div class="ttdoc">Adds a =&gt; b.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00599">cp_model.h:599</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_a811ab20e65e9e2a3062c4f367ecccbfb"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#a811ab20e65e9e2a3062c4f367ecccbfb">operations_research::sat::LinearExpr::BooleanScalProd</a></div><div class="ttdeci">static LinearExpr BooleanScalProd(absl::Span&lt; const BoolVar &gt; vars, absl::Span&lt; const int64 &gt; coeffs)</div><div class="ttdoc">Constructs the scalar product of Booleans and coefficients.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a580af67c82c83176a2938fb24b3b0c98"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a580af67c82c83176a2938fb24b3b0c98">operations_research::sat::CpModelBuilder::NewBoolVar</a></div><div class="ttdeci">BoolVar NewBoolVar()</div><div class="ttdoc">Creates a Boolean variable.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_a8b419aa8e100f7d6dc404b1e591443ce"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a8b419aa8e100f7d6dc404b1e591443ce">operations_research::sat::IntervalVar::WithName</a></div><div class="ttdeci">IntervalVar WithName(const std::string &amp;name)</div><div class="ttdoc">Sets the name of the variable.</div></div>
2019-06-13 15:51:12 +02:00
</div><!-- fragment --></div><!-- contents -->
2019-08-07 18:01:08 -07:00
</div>
2019-06-13 15:51:12 +02:00
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>