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

206 lines
205 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-06-29 18:18:08 +02:00
<span id="sfml">OR-Tools 7.2</span>
2019-06-13 15:51:12 +02:00
</div>
</div>
2019-06-29 18:18:08 +02:00
<link rel="icon" href="https://developers.google.com/optimization/images/orLogo.png">
2019-06-13 15:51:12 +02:00
<div id="content">
<!-- Generated by Doxygen 1.8.15 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<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>
</div><!-- top -->
2019-07-12 13:25:23 -07:00
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('cp__model_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
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-07-12 13:13:30 -07: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="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// This file implements a wrapper around the CP-SAT model proto.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment">// Here is a minimal example that shows how to create a model, solve it, and</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">// print out the solution.</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment">// CpModelBuilder cp_model;</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment">// Domain all_animals(0, 20);</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment">// IntVar rabbits = cp_model.NewIntVar(all_animals).WithName(&quot;rabbits&quot;);</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment">// IntVar pheasants = cp_model.NewIntVar(all_animals).WithName(&quot;pheasants&quot;);</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment">// cp_model.AddEquality(LinearExpr::Sum({rabbits, pheasants}), 20);</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment">// cp_model.AddEquality(LinearExpr::ScalProd({rabbits, pheasants}, {4, 2}), 56);</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</s
2019-06-13 15:51:12 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_acf4c5429ec08207e147b65bd1330ba92"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#acf4c5429ec08207e147b65bd1330ba92">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_1CpModelBuilder_html_a0887a2fe4518bde7bbde18f592b6243f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a0887a2fe4518bde7bbde18f592b6243f">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_1CpModelBuilder_html_ae8bd984917b305dc49abae6c19b69ea3"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#ae8bd984917b305dc49abae6c19b69ea3">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="classoperations__research_1_1sat_1_1CpModelBuilder_html_a3559ac1f9f840b2d5637f1d26cd18f0b"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a3559ac1f9f840b2d5637f1d26cd18f0b">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_1AutomatonConstraint_html_a4fa8634eeba27c91397c58105ff50eb7"><div class="ttname"><a href="classoperations__research_1_1sat_1_1AutomatonConstraint.html#a4fa8634eeba27c91397c58105ff50eb7">operations_research::sat::AutomatonConstraint::AddTransition</a></div><div class="ttdeci">void AddTransition(int tail, int head, int64 transition_label)</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_afb7fdd0dab72ba28030fb6d03ce5c32f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#afb7fdd0dab72ba28030fb6d03ce5c32f">operations_research::sat::BoolVar::operator==</a></div><div class="ttdeci">bool operator==(const BoolVar &amp;other) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00071">cp_model.h:71</a></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_1Constraint_html_a9401ab195650160402df5b61f8ac9bda"><div class="ttname"><a href="classoperations__research_1_1sat_1_1Constraint.html#a9401ab195650160402df5b61f8ac9bda">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_1LinearExpr_html_af5805ba35a6efa9460c5d8eab8301172"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#af5805ba35a6efa9460c5d8eab8301172">operations_research::sat::LinearExpr::variables</a></div><div class="ttdeci">const std::vector&lt; IntVar &gt; &amp; variables() const</div><div class="ttdoc">Useful for testing.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00246">cp_model.h:246</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1Constraint_html_aa0b277df64333f670b66c8d5295b8250"><div class="ttname"><a href="classoperations__research_1_1sat_1_1Constraint.html#aa0b277df64333f670b66c8d5295b8250">operations_research::sat::Constraint::Proto</a></div><div class="ttdeci">const ConstraintProto &amp; Proto() const</div><div class="ttdoc">Useful for testing.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00367">cp_model.h:367</a></div></div>
2019-06-20 23:08:48 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1IntegerVariableProto_html_a5ae2400b8a1bbf76d789a2dfd6dcfcee"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntegerVariableProto.html#a5ae2400b8a1bbf76d789a2dfd6dcfcee">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#l04475">cp_model.pb.h:4475</a></div></div>
2019-06-13 15:51:12 +02:00
<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_1CumulativeConstraint_html_aded0689c7c92b1a7739758150131b531"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CumulativeConstraint.html#aded0689c7c92b1a7739758150131b531">operations_research::sat::CumulativeConstraint::AddDemand</a></div><div class="ttdeci">void AddDemand(IntervalVar interval, IntVar demand)</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1ReservoirConstraint_html_aad9028f0c33c7d4799891b9f742148b6"><div class="ttname"><a href="classoperations__research_1_1sat_1_1ReservoirConstraint.html#aad9028f0c33c7d4799891b9f742148b6">operations_research::sat::ReservoirConstraint::AddOptionalEvent</a></div><div class="ttdeci">void AddOptionalEvent(IntVar time, int64 demand, BoolVar is_active)</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a43ca3f9c073ea5078c1abd3bb0c563d4"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a43ca3f9c073ea5078c1abd3bb0c563d4">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#l00507">cp_model.h:507</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1Constraint_html_acaa17b2fbfd62f6845329ae944835654"><div class="ttname"><a href="classoperations__research_1_1sat_1_1Constraint.html#acaa17b2fbfd62f6845329ae944835654">operations_research::sat::Constraint::MutableProto</a></div><div class="ttdeci">ConstraintProto * MutableProto() const</div><div class="ttdoc">Useful for model edition.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00370">cp_model.h:370</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1NoOverlap2DConstraint_html_a7e76dae6971e2f38651b7eb8411ebe63"><div class="ttname"><a href="classoperations__research_1_1sat_1_1NoOverlap2DConstraint.html#a7e76dae6971e2f38651b7eb8411ebe63">operations_research::sat::NoOverlap2DConstraint::AddRectangle</a></div><div class="ttdeci">void AddRectangle(IntervalVar x_coordinate, IntervalVar y_coordinate)</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a562a899753d60f28ae87ecb93e96b797"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a562a899753d60f28ae87ecb93e96b797">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="classoperations__research_1_1sat_1_1IntervalVar_html_a106c293c6b0cac8589bc6b5b4ff0446c"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a106c293c6b0cac8589bc6b5b4ff0446c">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_1Constraint_html_a9a6b9b664d4d0d56e8c0d14c8ad3bad9"><div class="ttname"><a href="classoperations__research_1_1sat_1_1Constraint.html#a9a6b9b664d4d0d56e8c0d14c8ad3bad9">operations_research::sat::Constraint::Constraint</a></div><div class="ttdeci">Constraint(ConstraintProto *proto)</div></div>
2019-06-20 23:08:48 +02:00
<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#l00249">cp_model.pb.h:249</a></div></div>
2019-06-13 15:51:12 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a967f11af5e1cfb143514e09925628be5"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a967f11af5e1cfb143514e09925628be5">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_a6228ce653636516ab2b2f760aa61a57e"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a6228ce653636516ab2b2f760aa61a57e">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="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_abd73201c6fbc455ca4783ff99ca2eed1"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#abd73201c6fbc455ca4783ff99ca2eed1">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"><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#l00473">cp_model.h:473</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_ac86513192443e57e505b8e8c9ffb77f2"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#ac86513192443e57e505b8e8c9ffb77f2">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="classoperations__research_1_1sat_1_1IntervalVar_html_a4d10907c6da83ee20c29312f1064361f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a4d10907c6da83ee20c29312f1064361f">operations_research::sat::IntervalVar::MutableProto</a></div><div class="ttdeci">IntervalConstraintProto * MutableProto() const</div><div class="ttdoc">Useful for model edition.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00314">cp_model.h:314</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a0c391768bc423a43875a7867ee247a4b"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a0c391768bc423a43875a7867ee247a4b">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 enforces that if 'variables[i]' is assigned a value 'j', then inverse_variables...</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#l00411">cp_model.h:411</a></div></div>
<div class="ttc" id="model_8h_html"><div class="ttname"><a href="model_8h.html">model.h</a></div></div>
2019-06-20 23:08:48 +02:00
<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#l02862">cp_model.pb.h:2862</a></div></div>
2019-06-13 15:51:12 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_a47cdd55b99ca5d29b194f54b14889819"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a47cdd55b99ca5d29b194f54b14889819">operations_research::sat::IntVar::IntVar</a></div><div class="ttdeci">IntVar()</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a791f54d4afefc05d6462fa9a9f1f304d"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a791f54d4afefc05d6462fa9a9f1f304d">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#l00686">cp_model.h:686</a></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#l00208">cp_model.h:208</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_a050775df6d69660af8f78d577fd327cc"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#a050775df6d69660af8f78d577fd327cc">operations_research::sat::LinearExpr::constant</a></div><div class="ttdeci">int64 constant() const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00248">cp_model.h:248</a></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_1CpModelBuilder_html_a4d0cfb231f4bed2420d0aff928f3a980"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a4d0cfb231f4bed2420d0aff928f3a980">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="classoperations__research_1_1sat_1_1LinearExpr_html_a74026647307b38916135e8c3dad3421f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#a74026647307b38916135e8c3dad3421f">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_1CpModelBuilder_html_ad5ec615a9107ebcb8a7516bb3ccfbcd2"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#ad5ec615a9107ebcb8a7516bb3ccfbcd2">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_a3088d984ab4874140f7c367dc457ac0f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a3088d984ab4874140f7c367dc457ac0f">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_a8fc4a0c717f985687d63a586dba04641"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a8fc4a0c717f985687d63a586dba04641">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_1CpModelBuilder_html_a9a53531099bebddbf54dd15418817326"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a9a53531099bebddbf54dd15418817326">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_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">Returns the value of a Boolean literal (a Boolean variable or its negation) in a solver response.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a902eb5d208511f7da9cdd9cde9a79c45"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a902eb5d208511f7da9cdd9cde9a79c45">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_1CpModelBuilder_html_a6620906cabb980393d9433df9a7f7b70"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a6620906cabb980393d9433df9a7f7b70">operations_research::sat::CpModelBuilder::AddCumulative</a></div><div class="ttdeci">CumulativeConstraint AddCumulative(IntVar capacity)</div><div class="ttdoc">The cumulative constraint ensures that for any integer point, the sum of the demands of the intervals...</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_adffb8e57735762a6f321279f2e60ae65"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#adffb8e57735762a6f321279f2e60ae65">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_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#l00275">cp_model.h:275</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_a34c3fc0d93697326a7e398cd45b1374d"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a34c3fc0d93697326a7e398cd45b1374d">operations_research::sat::IntervalVar::Proto</a></div><div class="ttdeci">const IntervalConstraintProto &amp; Proto() const</div><div class="ttdoc">Useful for testing.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00309">cp_model.h:309</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_a5f1761c6d2c5f7908f5f92bb16b91de9"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a5f1761c6d2c5f7908f5f92bb16b91de9">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_1BoolVar_html_a1963637fcd9bfe8f9bd85a0971c0270d"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#a1963637fcd9bfe8f9bd85a0971c0270d">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_1ReservoirConstraint_html_aff0e9a5c156c176def60cf2985919bd6"><div class="ttname"><a href="classoperations__research_1_1sat_1_1ReservoirConstraint.html#aff0e9a5c156c176def60cf2985919bd6">operations_research::sat::ReservoirConstraint::AddEvent</a></div><div class="ttdeci">void AddEvent(IntVar time, int64 demand)</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a7a718730caef4f258e1cbbb2e3e3b452"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a7a718730caef4f258e1cbbb2e3e3b452">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_1IntervalVar_html_aa5cc77b54d51bda6a6c8e30907b9a917"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#aa5cc77b54d51bda6a6c8e30907b9a917">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>
2019-06-20 23:08:48 +02:00
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a20ead57ac0739497ea66f0c21b23b529"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a20ead57ac0739497ea66f0c21b23b529">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>
2019-06-13 15:51:12 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a4e1c85e161ee8e50f2f2162cd7294d03"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a4e1c85e161ee8e50f2f2162cd7294d03">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="classoperations__research_1_1sat_1_1Constraint_html_a9d74c3d77f601020ab87700745f830ad"><div class="ttname"><a href="classoperations__research_1_1sat_1_1Constraint.html#a9d74c3d77f601020ab87700745f830ad">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#l00377">cp_model.h:377</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a99c82eca478306942b3aed3372b38384"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a99c82eca478306942b3aed3372b38384">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="classoperations__research_1_1sat_1_1IntervalVar_html_ac591e644d995d2520e859ee639695754"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#ac591e644d995d2520e859ee639695754">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#l00319">cp_model.h:319</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#l00456">cp_model.h:456</a></div></div>
2019-06-20 23:08:48 +02:00
<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#l00805">cp_model.pb.h:805</a></div></div>
2019-06-13 15:51:12 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_ae62c3c0da3b623e5e43530c08f7bf379"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#ae62c3c0da3b623e5e43530c08f7bf379">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_ada1b4fad9b4f017f9009ce3761123a8b"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#ada1b4fad9b4f017f9009ce3761123a8b">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>
2019-06-20 23:08:48 +02:00
<div class="ttc" id="namespaceoperations__research_1_1sat_html_ac0ca8810a97bcc1b3d45269a33fd4f0c"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#ac0ca8810a97bcc1b3d45269a33fd4f0c">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_1CpModelProto_html_aef37b42d42f179a384a7cf514c58ba5f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelProto.html#aef37b42d42f179a384a7cf514c58ba5f">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#l07258">cp_model.pb.h:7258</a></div></div>
2019-06-13 15:51:12 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_aa1eae45130c127fe6cac9805736216ef"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#aa1eae45130c127fe6cac9805736216ef">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_a605cc0b904f4d9b2de5fffbf6fa40c68"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a605cc0b904f4d9b2de5fffbf6fa40c68">operations_research::sat::CpModelBuilder::AddAllDifferent</a></div><div class="ttdeci">Constraint AddAllDifferent(absl::Span&lt; const IntVar &gt; vars)</div><div class="ttdoc">this constraint forces all variables to have different values.</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#l00059">cp_model.h:59</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a05b1310e7cfde91fbdc10798a84a2345"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a05b1310e7cfde91fbdc10798a84a2345">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>
2019-06-20 23:08:48 +02:00
<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#l01115">cp_model.pb.h:1115</a></div></div>
2019-06-13 15:51:12 +02:00
<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#l00397">cp_model.h:397</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_1BoolVar_html_a8467b4b5dffef99ffb96ef6b9b4a4097"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#a8467b4b5dffef99ffb96ef6b9b4a4097">operations_research::sat::BoolVar::BoolVar</a></div><div class="ttdeci">BoolVar()</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_a6e9d4868f30b80fa5c37ac8991726110"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#a6e9d4868f30b80fa5c37ac8991726110">operations_research::sat::BoolVar::operator!=</a></div><div class="ttdeci">bool operator!=(const BoolVar &amp;other) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00075">cp_model.h:75</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_a6816a7260a80aa691b7cc1e748323d21"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a6816a7260a80aa691b7cc1e748323d21">operations_research::sat::IntervalVar::operator!=</a></div><div class="ttdeci">bool operator!=(const IntervalVar &amp;other) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00302">cp_model.h:302</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_ac93a7c7467278afb9eac2bb4a8dec6d3"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#ac93a7c7467278afb9eac2bb4a8dec6d3">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_a8e1b64644f124be491431bbae9d5d843"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a8e1b64644f124be491431bbae9d5d843">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#l00684">cp_model.h:684</a></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_a7cf9ff9df25ff433286b4f5bda41f990"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a7cf9ff9df25ff433286b4f5bda41f990">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_1IntervalVar_html_af90bf96ccc72778be5ebd9668e10d842"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#af90bf96ccc72778be5ebd9668e10d842">operations_research::sat::IntervalVar::DebugString</a></div><div class="ttdeci">std::string DebugString() const</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1Constraint_html_aeaf30f4ee7d141e68905f1ac2432b937"><div class="ttname"><a href="classoperations__research_1_1sat_1_1Constraint.html#aeaf30f4ee7d141e68905f1ac2432b937">operations_research::sat::Constraint::Name</a></div><div class="ttdeci">const std::string &amp; Name() const</div></div>
2019-06-20 23:08:48 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelProto_html_a16b8cc58fa3e670712e9cfe342e61be9"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelProto.html#a16b8cc58fa3e670712e9cfe342e61be9">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#l07219">cp_model.pb.h:7219</a></div></div>
2019-06-13 15:51:12 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_a824aadc0688ab57929ae744b1f1a7a26"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a824aadc0688ab57929ae744b1f1a7a26">operations_research::sat::IntVar::operator!=</a></div><div class="ttdeci">bool operator!=(const IntVar &amp;other) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00140">cp_model.h:140</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#l00442">cp_model.h:442</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_a34a66e31983270cb695c271d0b869ab3"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a34a66e31983270cb695c271d0b869ab3">operations_research::sat::IntervalVar::operator==</a></div><div class="ttdeci">bool operator==(const IntervalVar &amp;other) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00298">cp_model.h:298</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_aa8460c813c17ec5b7a137739c448bb98"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#aa8460c813c17ec5b7a137739c448bb98">operations_research::sat::IntVar::Name</a></div><div class="ttdeci">const std::string &amp; Name() const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00134">cp_model.h:134</a></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#l00340">cp_model.h:340</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_adac551c8b80fc7bdd7b30779fd20a4ea"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#adac551c8b80fc7bdd7b30779fd20a4ea">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_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="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">Returns the value of a Boolean literal (a Boolean variable or its negation) in a solver response.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a18d2ca2be01dd3e67893f4e1dbe4af43"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a18d2ca2be01dd3e67893f4e1dbe4af43">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="sat__parameters_8pb_8h_html"><div class="ttname"><a href="sat__parameters_8pb_8h.html">sat_parameters.pb.h</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_1BoolVar_html_abcebeff89abbdb6b0b812616f1517f25"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#abcebeff89abbdb6b0b812616f1517f25">operations_research::sat::BoolVar::Name</a></div><div class="ttdeci">const std::string &amp; Name() const</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_1BoolVar_html_afb03d8ed70e426b0f7b83c76fce3c68f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#afb03d8ed70e426b0f7b83c76fce3c68f">operations_research::sat::BoolVar::DebugString</a></div><div class="ttdeci">std::string DebugString() const</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a991b6a2a16def3962ccc5727004638db"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a991b6a2a16def3962ccc5727004638db">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_1CpModelBuilder_html_a7d05d91ffdd70f16ad170e25fd47e200"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a7d05d91ffdd70f16ad170e25fd47e200">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_1LinearExpr_html_a3b49fe9924ad61a609f65f4a7bc4c861"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#a3b49fe9924ad61a609f65f4a7bc4c861">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="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_1BoolVar_html_a379713d334c199eeb834c338385293ba"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#a379713d334c199eeb834c338385293ba">operations_research::sat::BoolVar::Proto</a></div><div class="ttdeci">const IntegerVariableProto &amp; Proto() const</div><div class="ttdoc">Useful for testing.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00082">cp_model.h:82</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a0faf578c69fe9ae80ee0ea9f671dc5e7"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a0faf578c69fe9ae80ee0ea9f671dc5e7">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_1LinearExpr_html_aa8bfd52517f0e1ca2a9adef474f1ff0c"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#aa8bfd52517f0e1ca2a9adef474f1ff0c">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_1Domain_html"><div class="ttname"><a href="classoperations__research_1_1Domain.html">operations_research::Domain</a></div><div class="ttdoc">We call &quot;domain&quot; any subset of Int64 = [kint64min, kint64max].</div><div class="ttdef"><b>Definition:</b> <a href="sorted__interval__list_8h_source.html#l00070">sorted_interval_list.h:70</a></div></div>
2019-06-13 15:51:12 +02:00
<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_a48f98ff3c12aecf540170647a72ce860"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a48f98ff3c12aecf540170647a72ce860">operations_research::sat::IntervalVar::Name</a></div><div class="ttdeci">std::string Name() const</div></div>
2019-06-20 23:08:48 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelProto_html_ad81813da437a67ae5f1a28b8fe290614"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelProto.html#ad81813da437a67ae5f1a28b8fe290614">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#l07249">cp_model.pb.h:7249</a></div></div>
2019-06-13 15:51:12 +02:00
<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_1IntervalVar_html_a9decc39f3f2079f78cdebd974972bc0f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a9decc39f3f2079f78cdebd974972bc0f">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_1CpModelBuilder_html_a4b3320604b4344b5bea17c5fae1ed7ce"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a4b3320604b4344b5bea17c5fae1ed7ce">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#l00687">cp_model.h:687</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_abed3c016b025d92058b1c29ddeef9341"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#abed3c016b025d92058b1c29ddeef9341">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_1TableConstraint_html_a90017a38e8ac8eaf4644bdce5e5e1420"><div class="ttname"><a href="classoperations__research_1_1sat_1_1TableConstraint.html#a90017a38e8ac8eaf4644bdce5e5e1420">operations_research::sat::TableConstraint::AddTuple</a></div><div class="ttdeci">void AddTuple(absl::Span&lt; const int64 &gt; tuple)</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_ae7e96dfb8ae534a787632d78711f9a44"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#ae7e96dfb8ae534a787632d78711f9a44">operations_research::sat::BoolVar::MutableProto</a></div><div class="ttdeci">IntegerVariableProto * MutableProto() const</div><div class="ttdoc">Useful for model edition.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00087">cp_model.h:87</a></div></div>
2019-06-20 23:08:48 +02:00
<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#l04189">cp_model.pb.h:4189</a></div></div>
2019-06-13 15:51:12 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a5738c98c07c2e0ec747877eb3813a134"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a5738c98c07c2e0ec747877eb3813a134">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 takes a list of variables (of size n), an initial state, a set of final state...</div></div>
<div class="ttc" id="namespaceoperations__research_html"><div class="ttname"><a href="namespaceoperations__research.html">operations_research</a></div><div class="ttdoc">Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in c...</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00048">cp_model.h:48</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a10d61bc6bc9584cadfc0b87537ada9eb"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a10d61bc6bc9584cadfc0b87537ada9eb">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_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#l00383">cp_model.h:383</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#l00124">cp_model.h:124</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntervalVar_html_a1b7333dffeb56f1cffe35973cab19dd1"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntervalVar.html#a1b7333dffeb56f1cffe35973cab19dd1">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-20 23:08:48 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1ConstraintProto_html_a86f1152bd1888743f98a99b789d3295b"><div class="ttname"><a href="classoperations__research_1_1sat_1_1ConstraintProto.html#a86f1152bd1888743f98a99b789d3295b">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#l06685">cp_model.pb.h:6685</a></div></div>
2019-06-13 15:51:12 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_a27d52277902e0d08306697a43863b5e8"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#a27d52277902e0d08306697a43863b5e8">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#l00093">cp_model.h:93</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_aac78f1c00b73fbad7bd6577181f537fb"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#aac78f1c00b73fbad7bd6577181f537fb">operations_research::sat::IntVar::DebugString</a></div><div class="ttdeci">std::string DebugString() const</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_a426492195e6cdd88354def292ffa112f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a426492195e6cdd88354def292ffa112f">operations_research::sat::IntVar::Proto</a></div><div class="ttdeci">const IntegerVariableProto &amp; Proto() const</div><div class="ttdoc">Useful for testing.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00147">cp_model.h:147</a></div></div>
2019-06-20 23:08:48 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelProto_html_ab0dda4e799f065179f785ede9a0a2540"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelProto.html#ab0dda4e799f065179f785ede9a0a2540">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#l07228">cp_model.pb.h:7228</a></div></div>
2019-06-13 15:51:12 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a89c4590eaf404f0ef3b80d4ce584fbda"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a89c4590eaf404f0ef3b80d4ce584fbda">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 constraint than ensures that all present intervals do not overlap in time.</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1IntVar_html_a68349a30f6936d8f5a3d00d342ec5f3a"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a68349a30f6936d8f5a3d00d342ec5f3a">operations_research::sat::IntVar::MutableProto</a></div><div class="ttdeci">IntegerVariableProto * MutableProto() const</div><div class="ttdoc">Useful for model edition.</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00152">cp_model.h:152</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a001974a3f1f5e9d791ae10cd435f07cf"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a001974a3f1f5e9d791ae10cd435f07cf">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_ad941d4f0156fc746c4ed12790bce7af7"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#ad941d4f0156fc746c4ed12790bce7af7">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="classoperations__research_1_1sat_1_1CpModelBuilder_html_a4f1c8c11f9f840728e5c037249192b8f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a4f1c8c11f9f840728e5c037249192b8f">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_1IntVar_html_a23d836e740ab297549905c5fa8539ba5"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#a23d836e740ab297549905c5fa8539ba5">operations_research::sat::IntVar::operator==</a></div><div class="ttdeci">bool operator==(const IntVar &amp;other) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00136">cp_model.h:136</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_ab33a810593c0a9f585133edcb22deb55"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#ab33a810593c0a9f585133edcb22deb55">operations_research::sat::LinearExpr::LinearExpr</a></div><div class="ttdeci">LinearExpr()</div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1LinearExpr_html_a0a6ff6ac94b7e556ff06df6f8211182f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#a0a6ff6ac94b7e556ff06df6f8211182f">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>
2019-06-20 23:08:48 +02:00
<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#l03997">cp_model.pb.h:3997</a></div></div>
2019-06-13 15:51:12 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1CircuitConstraint_html_a9ee6aa474b9e4c2bcf8fab717079704d"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CircuitConstraint.html#a9ee6aa474b9e4c2bcf8fab717079704d">operations_research::sat::CircuitConstraint::AddArc</a></div><div class="ttdeci">void AddArc(int tail, int head, BoolVar literal)</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#l00428">cp_model.h:428</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_aa64c33dd1487bf4f0d575edf33ef2dc9"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#aa64c33dd1487bf4f0d575edf33ef2dc9">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_1LinearExpr_html_afb9c31fb1176a9ba22d4b82fa285a5c7"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#afb9c31fb1176a9ba22d4b82fa285a5c7">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_1LinearExpr_html_a6f0e8040bcb0ee633efd0862c660cbf4"><div class="ttname"><a href="classoperations__research_1_1sat_1_1LinearExpr.html#a6f0e8040bcb0ee633efd0862c660cbf4">operations_research::sat::LinearExpr::coefficients</a></div><div class="ttdeci">const std::vector&lt; int64 &gt; &amp; coefficients() const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8h_source.html#l00247">cp_model.h:247</a></div></div>
2019-06-20 23:08:48 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1ConstraintProto_html_ade0baf9bbe5b09d470ab30ae8b730cc4"><div class="ttname"><a href="classoperations__research_1_1sat_1_1ConstraintProto.html#ade0baf9bbe5b09d470ab30ae8b730cc4">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#l06679">cp_model.pb.h:6679</a></div></div>
2019-06-13 15:51:12 +02:00
<div class="ttc" id="classoperations__research_1_1sat_1_1CpModelBuilder_html_a6dc655a67c5213fcefb82a213dac5e2c"><div class="ttname"><a href="classoperations__research_1_1sat_1_1CpModelBuilder.html#a6dc655a67c5213fcefb82a213dac5e2c">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="classoperations__research_1_1sat_1_1Constraint_html_a9052e9e1dd8248433909b5542f314add"><div class="ttname"><a href="classoperations__research_1_1sat_1_1Constraint.html#a9052e9e1dd8248433909b5542f314add">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_1IntVar_html_ade91cda36a02fffbd115f1ec65746af1"><div class="ttname"><a href="classoperations__research_1_1sat_1_1IntVar.html#ade91cda36a02fffbd115f1ec65746af1">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#l00157">cp_model.h:157</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1BoolVar_html_ac5a3346c2302559c71bd9cd1e989edf9"><div class="ttname"><a href="classoperations__research_1_1sat_1_1BoolVar.html#ac5a3346c2302559c71bd9cd1e989edf9">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#l00069">cp_model.h:69</a></div></div>
</div><!-- fragment --></div><!-- contents -->
2019-07-12 13:25:23 -07:00
</div><!-- doc-content -->
2019-06-13 15:51:12 +02:00
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>