Files
ortools-clone/docs/cpp/complete__optimizer_8cc_source.html
Laurent Perron 5615fe9c61 regenerate docs
2022-01-17 21:42:14 +01:00

327 lines
67 KiB
HTML

<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OR-Tools: complete_optimizer.cc Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="styleSheet.tmp.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="orLogo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OR-Tools
&#160;<span id="projectnumber">9.2</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('complete__optimizer_8cc_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle"><div class="title">complete_optimizer.cc</div></div>
</div><!--header-->
<div class="contents">
<a href="complete__optimizer_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">// Copyright 2010-2021 Google LLC</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment">// you may not use this file except in compliance with the License.</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment">// You may obtain a copy of the License at</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment">//</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment">//</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment">// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment">// See the License for the specific language governing permissions and</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment">// limitations under the License.</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include &quot;<a class="code" href="complete__optimizer_8h.html">ortools/bop/complete_optimizer.h</a>&quot;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#include &lt;cstdint&gt;</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include &quot;<a class="code" href="bop__util_8h.html">ortools/bop/bop_util.h</a>&quot;</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#include &quot;<a class="code" href="boolean__problem_8h.html">ortools/sat/boolean_problem.h</a>&quot;</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceoperations__research.html">operations_research</a> {</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="keyword">namespace </span>bop {</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="classoperations__research_1_1bop_1_1_sat_core_based_optimizer.html#aeffc35852c293ffd40548c5a768c01cf"> 24</a></span><a class="code hl_function" href="classoperations__research_1_1bop_1_1_sat_core_based_optimizer.html#aeffc35852c293ffd40548c5a768c01cf">SatCoreBasedOptimizer::SatCoreBasedOptimizer</a>(<span class="keyword">const</span> std::string&amp; <a class="code hl_variable" href="default__search_8cc.html#ac673bc430bdc3fdaa09f7becf98ef267">name</a>)</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> : <a class="code hl_class" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html">BopOptimizerBase</a>(<a class="code hl_variable" href="default__search_8cc.html#ac673bc430bdc3fdaa09f7becf98ef267">name</a>),</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> state_update_stamp_(<a class="code hl_class" href="classoperations__research_1_1bop_1_1_problem_state.html">ProblemState</a>::kInitialStampValue),</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> initialized_(false),</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> assumptions_already_added_(false) {</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> <span class="comment">// This is in term of number of variables not at their minimal value.</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> lower_bound_ = <a class="code hl_typedef" href="namespaceoperations__research_1_1math__opt.html#ab61209db5b13f0d424da009e414298fc">sat::Coefficient</a>(0);</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> upper_bound_ = <a class="code hl_function" href="namespaceoperations__research_1_1sat.html#afd482f2c4b9533b4d1f7379a578e9b18">sat::kCoefficientMax</a>;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span>}</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="classoperations__research_1_1bop_1_1_sat_core_based_optimizer.html#a07b11a8080040c4fb7cf9d098992468e"> 34</a></span><a class="code hl_function" href="classoperations__research_1_1bop_1_1_sat_core_based_optimizer.html#a07b11a8080040c4fb7cf9d098992468e">SatCoreBasedOptimizer::~SatCoreBasedOptimizer</a>() {}</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><a class="code hl_enumeration" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">BopOptimizerBase::Status</a> SatCoreBasedOptimizer::SynchronizeIfNeeded(</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">const</span> <a class="code hl_class" href="classoperations__research_1_1bop_1_1_problem_state.html">ProblemState</a>&amp; problem_state) {</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <span class="keywordflow">if</span> (state_update_stamp_ == problem_state.<a class="code hl_function" href="classoperations__research_1_1bop_1_1_problem_state.html#ac3f005f004bb2c049e3ee884c16dfeac">update_stamp</a>()) {</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba49959dd441dcda75d6898cf2c68fb374">BopOptimizerBase::CONTINUE</a>;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> }</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> state_update_stamp_ = problem_state.<a class="code hl_function" href="classoperations__research_1_1bop_1_1_problem_state.html#ac3f005f004bb2c049e3ee884c16dfeac">update_stamp</a>();</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="comment">// Note that if the solver is not empty, this only load the newly learned</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="comment">// information.</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">const</span> <a class="code hl_enumeration" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">BopOptimizerBase::Status</a> <a class="code hl_variable" href="g__gurobi_8cc.html#a2237393c7ae7ad7344c9885066d5ab6d">status</a> =</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <a class="code hl_function" href="namespaceoperations__research_1_1bop.html#a2c3c1538ecc101963e5c92ff9bfb33bb">LoadStateProblemToSatSolver</a>(problem_state, &amp;solver_);</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="g__gurobi_8cc.html#a2237393c7ae7ad7344c9885066d5ab6d">status</a> != <a class="code hl_enumvalue" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba49959dd441dcda75d6898cf2c68fb374">BopOptimizerBase::CONTINUE</a>) <span class="keywordflow">return</span> <a class="code hl_variable" href="g__gurobi_8cc.html#a2237393c7ae7ad7344c9885066d5ab6d">status</a>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <span class="keywordflow">if</span> (!initialized_) {</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="comment">// Initialize the algorithm.</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> nodes_ = <a class="code hl_function" href="namespaceoperations__research_1_1sat.html#aea70549adb843d22d06bef763a0960c8">sat::CreateInitialEncodingNodes</a>(</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> problem_state.<a class="code hl_function" href="classoperations__research_1_1bop_1_1_problem_state.html#a831918c2aa4802563301addc46efd0eb">original_problem</a>().<a class="code hl_function" href="classoperations__research_1_1sat_1_1_linear_boolean_problem.html#a9fd8f81a798fd34a843b007c10e40d6b">objective</a>(), &amp;offset_, &amp;repository_);</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> initialized_ = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="comment">// This is used by the &quot;stratified&quot; approach.</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> stratified_lower_bound_ = <a class="code hl_typedef" href="namespaceoperations__research_1_1math__opt.html#ab61209db5b13f0d424da009e414298fc">sat::Coefficient</a>(0);</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="keywordflow">for</span> (<a class="code hl_class" href="classoperations__research_1_1sat_1_1_encoding_node.html">sat::EncodingNode</a>* n : nodes_) {</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> stratified_lower_bound_ = <a class="code hl_variable" href="alldiff__cst_8cc.html#a26e6db9bcc64b584051ecc28171ed11f">std::max</a>(stratified_lower_bound_, n-&gt;weight());</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> }</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> }</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="comment">// Extract the new upper bound.</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="keywordflow">if</span> (problem_state.<a class="code hl_function" href="classoperations__research_1_1bop_1_1_problem_state.html#a1dfd4f5167c21a9a872f09f566817f27">solution</a>().<a class="code hl_function" href="classoperations__research_1_1bop_1_1_bop_solution.html#a894d87c5fddfc463c3ca3c779ba7f997">IsFeasible</a>()) {</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> upper_bound_ = problem_state.<a class="code hl_function" href="classoperations__research_1_1bop_1_1_problem_state.html#a1dfd4f5167c21a9a872f09f566817f27">solution</a>().<a class="code hl_function" href="classoperations__research_1_1bop_1_1_bop_solution.html#a9f0494e519e93f67f62ba4b76fde1c56">GetCost</a>() + offset_;</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> }</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba49959dd441dcda75d6898cf2c68fb374">BopOptimizerBase::CONTINUE</a>;</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span>}</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span><a class="code hl_enumeration" href="classoperations__research_1_1sat_1_1_sat_solver.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">sat::SatSolver::Status</a> SatCoreBasedOptimizer::SolveWithAssumptions() {</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <span class="keyword">const</span> std::vector&lt;sat::Literal&gt; assumptions =</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <a class="code hl_function" href="namespaceoperations__research_1_1sat.html#a3c7b9fb850d243d90ea59790db13a676">sat::ReduceNodesAndExtractAssumptions</a>(upper_bound_,</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> stratified_lower_bound_,</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> &amp;lower_bound_, &amp;nodes_, &amp;solver_);</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <span class="keywordflow">return</span> solver_.<a class="code hl_function" href="classoperations__research_1_1sat_1_1_sat_solver.html#a2abca6db0c780a4482d1ac9eb6365057">ResetAndSolveWithGivenAssumptions</a>(assumptions);</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span>}</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span><span class="comment">// Only run this if there is an objective.</span></div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="classoperations__research_1_1bop_1_1_sat_core_based_optimizer.html#a333c05e80843ee46f4428d3e6482b17e"> 78</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="classoperations__research_1_1bop_1_1_sat_core_based_optimizer.html#a333c05e80843ee46f4428d3e6482b17e">SatCoreBasedOptimizer::ShouldBeRun</a>(</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <span class="keyword">const</span> <a class="code hl_class" href="classoperations__research_1_1bop_1_1_problem_state.html">ProblemState</a>&amp; problem_state)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <span class="keywordflow">return</span> problem_state.<a class="code hl_function" href="classoperations__research_1_1bop_1_1_problem_state.html#a831918c2aa4802563301addc46efd0eb">original_problem</a>().<a class="code hl_function" href="classoperations__research_1_1sat_1_1_linear_boolean_problem.html#a9fd8f81a798fd34a843b007c10e40d6b">objective</a>().<a class="code hl_function" href="classoperations__research_1_1sat_1_1_linear_objective.html#a72d41feda9a93c11089d3d99d6270999">literals_size</a>() &gt; 0;</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span>}</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="classoperations__research_1_1bop_1_1_sat_core_based_optimizer.html#a8330ac820f311aab1b9c2c8057cc2c3f"> 83</a></span><a class="code hl_enumeration" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">BopOptimizerBase::Status</a> <a class="code hl_function" href="classoperations__research_1_1bop_1_1_sat_core_based_optimizer.html#a8330ac820f311aab1b9c2c8057cc2c3f">SatCoreBasedOptimizer::Optimize</a>(</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="keyword">const</span> <a class="code hl_class" href="classoperations__research_1_1bop_1_1_bop_parameters.html">BopParameters</a>&amp; <a class="code hl_variable" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>, <span class="keyword">const</span> <a class="code hl_class" href="classoperations__research_1_1bop_1_1_problem_state.html">ProblemState</a>&amp; problem_state,</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <a class="code hl_struct" href="structoperations__research_1_1bop_1_1_learned_info.html">LearnedInfo</a>* learned_info, <a class="code hl_class" href="classoperations__research_1_1_time_limit.html">TimeLimit</a>* <a class="code hl_variable" href="cp__model__solver_8cc.html#aec8af5c1be4e1b6d4330e1161028de21">time_limit</a>) {</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <a class="code hl_define" href="stats_8h.html#a9995704aaaf45fc21e08c847551a8d04">SCOPED_TIME_STAT</a>(&amp;<a class="code hl_variable" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a7c6fc06ca542eed0ff0b6ed4b1ecbcda">stats_</a>);</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <a class="code hl_define" href="base_2logging_8h.html#a3e1cfef60e774a81f30eaddf26a3a274">CHECK</a>(learned_info != <span class="keyword">nullptr</span>);</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <a class="code hl_define" href="base_2logging_8h.html#a3e1cfef60e774a81f30eaddf26a3a274">CHECK</a>(<a class="code hl_variable" href="cp__model__solver_8cc.html#aec8af5c1be4e1b6d4330e1161028de21">time_limit</a> != <span class="keyword">nullptr</span>);</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> learned_info-&gt;<a class="code hl_function" href="structoperations__research_1_1bop_1_1_learned_info.html#aa71d36872f416feaa853788a7a7a7ef8">Clear</a>();</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keyword">const</span> <a class="code hl_enumeration" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">BopOptimizerBase::Status</a> sync_status =</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> SynchronizeIfNeeded(problem_state);</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keywordflow">if</span> (sync_status != <a class="code hl_enumvalue" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba49959dd441dcda75d6898cf2c68fb374">BopOptimizerBase::CONTINUE</a>) {</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="keywordflow">return</span> sync_status;</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> }</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> </div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> int64_t conflict_limit = <a class="code hl_variable" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>.max_number_of_conflicts_in_random_lns();</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keywordtype">double</span> deterministic_time_at_last_sync = solver_.<a class="code hl_function" href="classoperations__research_1_1sat_1_1_sat_solver.html#ae525d235b02bcfc962d845e28f5f0125">deterministic_time</a>();</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keywordflow">while</span> (!<a class="code hl_variable" href="cp__model__solver_8cc.html#aec8af5c1be4e1b6d4330e1161028de21">time_limit</a>-&gt;LimitReached()) {</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <a class="code hl_class" href="classoperations__research_1_1sat_1_1_sat_parameters.html">sat::SatParameters</a> sat_params = solver_.<a class="code hl_function" href="classoperations__research_1_1sat_1_1_sat_solver.html#a1a5e26554d014197de9434d2c39e07e9">parameters</a>();</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> sat_params.<a class="code hl_function" href="classoperations__research_1_1sat_1_1_sat_parameters.html#ad7217afa0f5bd97642d0d2291068c7f9">set_max_time_in_seconds</a>(<a class="code hl_variable" href="cp__model__solver_8cc.html#aec8af5c1be4e1b6d4330e1161028de21">time_limit</a>-&gt;GetTimeLeft());</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> sat_params.<a class="code hl_function" href="classoperations__research_1_1sat_1_1_sat_parameters.html#a89082aa97657e1720a8c241a4afb4de8">set_max_deterministic_time</a>(</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <a class="code hl_variable" href="cp__model__solver_8cc.html#aec8af5c1be4e1b6d4330e1161028de21">time_limit</a>-&gt;GetDeterministicTimeLeft());</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> sat_params.<a class="code hl_function" href="classoperations__research_1_1sat_1_1_sat_parameters.html#a9aac0ce39590a9563381df585761fcf1">set_random_seed</a>(<a class="code hl_variable" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>.random_seed());</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> sat_params.<a class="code hl_function" href="classoperations__research_1_1sat_1_1_sat_parameters.html#a87719e3f2c171ed57950b2ca35efc00c">set_max_number_of_conflicts</a>(conflict_limit);</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> solver_.<a class="code hl_function" href="classoperations__research_1_1sat_1_1_sat_solver.html#a9d584b84d7b882a6017b072b33475172">SetParameters</a>(sat_params);</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <span class="keyword">const</span> int64_t old_num_conflicts = solver_.<a class="code hl_function" href="classoperations__research_1_1sat_1_1_sat_solver.html#acace892b69b55e3ee219e2893f34ef8f">num_failures</a>();</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <span class="keyword">const</span> <a class="code hl_enumeration" href="classoperations__research_1_1sat_1_1_sat_solver.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">sat::SatSolver::Status</a> sat_status =</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> assumptions_already_added_ ? solver_.<a class="code hl_function" href="classoperations__research_1_1sat_1_1_sat_solver.html#a2b006481369eb4f4cb7f3037dfdd8404">Solve</a>() : SolveWithAssumptions();</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <a class="code hl_variable" href="cp__model__solver_8cc.html#aec8af5c1be4e1b6d4330e1161028de21">time_limit</a>-&gt;AdvanceDeterministicTime(solver_.<a class="code hl_function" href="classoperations__research_1_1sat_1_1_sat_solver.html#ae525d235b02bcfc962d845e28f5f0125">deterministic_time</a>() -</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> deterministic_time_at_last_sync);</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> deterministic_time_at_last_sync = solver_.<a class="code hl_function" href="classoperations__research_1_1sat_1_1_sat_solver.html#ae525d235b02bcfc962d845e28f5f0125">deterministic_time</a>();</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> assumptions_already_added_ = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> conflict_limit -= solver_.<a class="code hl_function" href="classoperations__research_1_1sat_1_1_sat_solver.html#acace892b69b55e3ee219e2893f34ef8f">num_failures</a>() - old_num_conflicts;</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> learned_info-&gt;<a class="code hl_variable" href="structoperations__research_1_1bop_1_1_learned_info.html#a8e4368b4553131cf24b49b9de6e6189f">lower_bound</a> = lower_bound_.value() - offset_.value();</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> </div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <span class="comment">// This is possible because we over-constrain the objective.</span></div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="keywordflow">if</span> (sat_status == <a class="code hl_enumvalue" href="classoperations__research_1_1sat_1_1_sat_solver.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba2884fa43446c0cbc9c7a9b74d41d7483">sat::SatSolver::INFEASIBLE</a>) {</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <span class="keywordflow">return</span> problem_state.<a class="code hl_function" href="classoperations__research_1_1bop_1_1_problem_state.html#a1dfd4f5167c21a9a872f09f566817f27">solution</a>().<a class="code hl_function" href="classoperations__research_1_1bop_1_1_bop_solution.html#a894d87c5fddfc463c3ca3c779ba7f997">IsFeasible</a>()</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> ? <a class="code hl_enumvalue" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae276c6d6c33441e7bc41f349a9ba39e2">BopOptimizerBase::OPTIMAL_SOLUTION_FOUND</a></div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> : <a class="code hl_enumvalue" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba2884fa43446c0cbc9c7a9b74d41d7483">BopOptimizerBase::INFEASIBLE</a>;</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> }</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <a class="code hl_function" href="namespaceoperations__research_1_1bop.html#a717f3da5a33db3ffe67861f8731b254a">ExtractLearnedInfoFromSatSolver</a>(&amp;solver_, learned_info);</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <span class="keywordflow">if</span> (sat_status == <a class="code hl_enumvalue" href="classoperations__research_1_1sat_1_1_sat_solver.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba72c2402449caa8f3edc8aa0a3816baed">sat::SatSolver::LIMIT_REACHED</a> || conflict_limit &lt; 0) {</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba49959dd441dcda75d6898cf2c68fb374">BopOptimizerBase::CONTINUE</a>;</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> }</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> <span class="keywordflow">if</span> (sat_status == <a class="code hl_enumvalue" href="classoperations__research_1_1sat_1_1_sat_solver.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba03f919221217f95d21a593a7120165e1">sat::SatSolver::FEASIBLE</a>) {</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> stratified_lower_bound_ =</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <a class="code hl_function" href="namespaceoperations__research_1_1sat.html#ad6c9cfad7e2fa7ae1bbff31720394436">MaxNodeWeightSmallerThan</a>(nodes_, stratified_lower_bound_);</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> </div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <span class="comment">// We found a better solution!</span></div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <a class="code hl_function" href="namespaceoperations__research_1_1bop.html#a49c2b7c159260e338438fc2e167a0c3d">SatAssignmentToBopSolution</a>(solver_.<a class="code hl_function" href="classoperations__research_1_1sat_1_1_sat_solver.html#a4793952607a98dfddfbcc17abfabbb4b">Assignment</a>(), &amp;learned_info-&gt;<a class="code hl_variable" href="structoperations__research_1_1bop_1_1_learned_info.html#aa055411f4c53125132922079d33e535f">solution</a>);</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <span class="keywordflow">if</span> (stratified_lower_bound_ &gt; 0) {</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> assumptions_already_added_ = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba22ebbfba03095f407fb90f5a363a384b">BopOptimizerBase::SOLUTION_FOUND</a>;</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> }</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae276c6d6c33441e7bc41f349a9ba39e2">BopOptimizerBase::OPTIMAL_SOLUTION_FOUND</a>;</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> }</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> </div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <span class="comment">// The interesting case: we have a core.</span></div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <span class="comment">// TODO(user): Check that this cannot fail because of the conflict limit.</span></div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> std::vector&lt;sat::Literal&gt; core = solver_.<a class="code hl_function" href="classoperations__research_1_1sat_1_1_sat_solver.html#acfbfa9df611cb625ff79785c05784580">GetLastIncompatibleDecisions</a>();</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> <a class="code hl_function" href="namespaceoperations__research_1_1sat.html#a6fb8349259fa849de0789a4ec58a8492">sat::MinimizeCore</a>(&amp;solver_, &amp;core);</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> </div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> <span class="keyword">const</span> <a class="code hl_typedef" href="namespaceoperations__research_1_1math__opt.html#ab61209db5b13f0d424da009e414298fc">sat::Coefficient</a> min_weight = <a class="code hl_function" href="namespaceoperations__research_1_1sat.html#a1c9d74b9b207b6e5513334dd135a00a9">sat::ComputeCoreMinWeight</a>(nodes_, core);</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <a class="code hl_function" href="namespaceoperations__research_1_1sat.html#ab87119f7f6691eca8af4c552828fc4c4">sat::ProcessCore</a>(core, min_weight, &amp;repository_, &amp;nodes_, &amp;solver_);</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> assumptions_already_added_ = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> }</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba49959dd441dcda75d6898cf2c68fb374">BopOptimizerBase::CONTINUE</a>;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span>}</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> </div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span>} <span class="comment">// namespace bop</span></div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span>} <span class="comment">// namespace operations_research</span></div>
<div class="ttc" id="aalldiff__cst_8cc_html_a26e6db9bcc64b584051ecc28171ed11f"><div class="ttname"><a href="alldiff__cst_8cc.html#a26e6db9bcc64b584051ecc28171ed11f">max</a></div><div class="ttdeci">int64_t max</div><div class="ttdef"><b>Definition:</b> <a href="alldiff__cst_8cc_source.html#l00140">alldiff_cst.cc:140</a></div></div>
<div class="ttc" id="abase_2logging_8h_html_a3e1cfef60e774a81f30eaddf26a3a274"><div class="ttname"><a href="base_2logging_8h.html#a3e1cfef60e774a81f30eaddf26a3a274">CHECK</a></div><div class="ttdeci">#define CHECK(condition)</div><div class="ttdef"><b>Definition:</b> <a href="base_2logging_8h_source.html#l00495">base/logging.h:495</a></div></div>
<div class="ttc" id="aboolean__problem_8h_html"><div class="ttname"><a href="boolean__problem_8h.html">boolean_problem.h</a></div></div>
<div class="ttc" id="abop__util_8h_html"><div class="ttname"><a href="bop__util_8h.html">bop_util.h</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1_time_limit_html"><div class="ttname"><a href="classoperations__research_1_1_time_limit.html">operations_research::TimeLimit</a></div><div class="ttdoc">A simple class to enforce both an elapsed time limit and a deterministic time limit in the same threa...</div><div class="ttdef"><b>Definition:</b> <a href="time__limit_8h_source.html#l00106">time_limit.h:106</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_bop_optimizer_base_html"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html">operations_research::bop::BopOptimizerBase</a></div><div class="ttdef"><b>Definition:</b> <a href="bop__base_8h_source.html#l00043">bop_base.h:43</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_bop_optimizer_base_html_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">operations_research::bop::BopOptimizerBase::Status</a></div><div class="ttdeci">Status</div><div class="ttdef"><b>Definition:</b> <a href="bop__base_8h_source.html#l00064">bop_base.h:64</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_bop_optimizer_base_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba22ebbfba03095f407fb90f5a363a384b"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba22ebbfba03095f407fb90f5a363a384b">operations_research::bop::BopOptimizerBase::SOLUTION_FOUND</a></div><div class="ttdeci">@ SOLUTION_FOUND</div><div class="ttdef"><b>Definition:</b> <a href="bop__base_8h_source.html#l00066">bop_base.h:66</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_bop_optimizer_base_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba2884fa43446c0cbc9c7a9b74d41d7483"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba2884fa43446c0cbc9c7a9b74d41d7483">operations_research::bop::BopOptimizerBase::INFEASIBLE</a></div><div class="ttdeci">@ INFEASIBLE</div><div class="ttdef"><b>Definition:</b> <a href="bop__base_8h_source.html#l00067">bop_base.h:67</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_bop_optimizer_base_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba49959dd441dcda75d6898cf2c68fb374"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba49959dd441dcda75d6898cf2c68fb374">operations_research::bop::BopOptimizerBase::CONTINUE</a></div><div class="ttdeci">@ CONTINUE</div><div class="ttdef"><b>Definition:</b> <a href="bop__base_8h_source.html#l00079">bop_base.h:79</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_bop_optimizer_base_html_a67a0db04d321a74b7e7fcfd3f1a3f70bae276c6d6c33441e7bc41f349a9ba39e2"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae276c6d6c33441e7bc41f349a9ba39e2">operations_research::bop::BopOptimizerBase::OPTIMAL_SOLUTION_FOUND</a></div><div class="ttdeci">@ OPTIMAL_SOLUTION_FOUND</div><div class="ttdef"><b>Definition:</b> <a href="bop__base_8h_source.html#l00065">bop_base.h:65</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_bop_optimizer_base_html_a7c6fc06ca542eed0ff0b6ed4b1ecbcda"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_bop_optimizer_base.html#a7c6fc06ca542eed0ff0b6ed4b1ecbcda">operations_research::bop::BopOptimizerBase::stats_</a></div><div class="ttdeci">StatsGroup stats_</div><div class="ttdef"><b>Definition:</b> <a href="bop__base_8h_source.html#l00103">bop_base.h:103</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_bop_parameters_html"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_bop_parameters.html">operations_research::bop::BopParameters</a></div><div class="ttdef"><b>Definition:</b> <a href="bop__parameters_8pb_8h_source.html#l00516">bop_parameters.pb.h:517</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_bop_solution_html_a894d87c5fddfc463c3ca3c779ba7f997"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_bop_solution.html#a894d87c5fddfc463c3ca3c779ba7f997">operations_research::bop::BopSolution::IsFeasible</a></div><div class="ttdeci">bool IsFeasible() const</div><div class="ttdef"><b>Definition:</b> <a href="bop__solution_8h_source.html#l00072">bop_solution.h:72</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_bop_solution_html_a9f0494e519e93f67f62ba4b76fde1c56"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_bop_solution.html#a9f0494e519e93f67f62ba4b76fde1c56">operations_research::bop::BopSolution::GetCost</a></div><div class="ttdeci">int64_t GetCost() const</div><div class="ttdef"><b>Definition:</b> <a href="bop__solution_8h_source.html#l00053">bop_solution.h:53</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_problem_state_html"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_problem_state.html">operations_research::bop::ProblemState</a></div><div class="ttdef"><b>Definition:</b> <a href="bop__base_8h_source.html#l00114">bop_base.h:114</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_problem_state_html_a1dfd4f5167c21a9a872f09f566817f27"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_problem_state.html#a1dfd4f5167c21a9a872f09f566817f27">operations_research::bop::ProblemState::solution</a></div><div class="ttdeci">const BopSolution &amp; solution() const</div><div class="ttdef"><b>Definition:</b> <a href="bop__base_8h_source.html#l00196">bop_base.h:196</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_problem_state_html_a831918c2aa4802563301addc46efd0eb"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_problem_state.html#a831918c2aa4802563301addc46efd0eb">operations_research::bop::ProblemState::original_problem</a></div><div class="ttdeci">const sat::LinearBooleanProblem &amp; original_problem() const</div><div class="ttdef"><b>Definition:</b> <a href="bop__base_8h_source.html#l00201">bop_base.h:201</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_problem_state_html_ac3f005f004bb2c049e3ee884c16dfeac"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_problem_state.html#ac3f005f004bb2c049e3ee884c16dfeac">operations_research::bop::ProblemState::update_stamp</a></div><div class="ttdeci">int64_t update_stamp() const</div><div class="ttdef"><b>Definition:</b> <a href="bop__base_8h_source.html#l00156">bop_base.h:156</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_sat_core_based_optimizer_html_a07b11a8080040c4fb7cf9d098992468e"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_sat_core_based_optimizer.html#a07b11a8080040c4fb7cf9d098992468e">operations_research::bop::SatCoreBasedOptimizer::~SatCoreBasedOptimizer</a></div><div class="ttdeci">~SatCoreBasedOptimizer() override</div><div class="ttdef"><b>Definition:</b> <a href="complete__optimizer_8cc_source.html#l00034">complete_optimizer.cc:34</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_sat_core_based_optimizer_html_a333c05e80843ee46f4428d3e6482b17e"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_sat_core_based_optimizer.html#a333c05e80843ee46f4428d3e6482b17e">operations_research::bop::SatCoreBasedOptimizer::ShouldBeRun</a></div><div class="ttdeci">bool ShouldBeRun(const ProblemState &amp;problem_state) const override</div><div class="ttdef"><b>Definition:</b> <a href="complete__optimizer_8cc_source.html#l00078">complete_optimizer.cc:78</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_sat_core_based_optimizer_html_a8330ac820f311aab1b9c2c8057cc2c3f"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_sat_core_based_optimizer.html#a8330ac820f311aab1b9c2c8057cc2c3f">operations_research::bop::SatCoreBasedOptimizer::Optimize</a></div><div class="ttdeci">Status Optimize(const BopParameters &amp;parameters, const ProblemState &amp;problem_state, LearnedInfo *learned_info, TimeLimit *time_limit) override</div><div class="ttdef"><b>Definition:</b> <a href="complete__optimizer_8cc_source.html#l00083">complete_optimizer.cc:83</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1bop_1_1_sat_core_based_optimizer_html_aeffc35852c293ffd40548c5a768c01cf"><div class="ttname"><a href="classoperations__research_1_1bop_1_1_sat_core_based_optimizer.html#aeffc35852c293ffd40548c5a768c01cf">operations_research::bop::SatCoreBasedOptimizer::SatCoreBasedOptimizer</a></div><div class="ttdeci">SatCoreBasedOptimizer(const std::string &amp;name)</div><div class="ttdef"><b>Definition:</b> <a href="complete__optimizer_8cc_source.html#l00024">complete_optimizer.cc:24</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_encoding_node_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_encoding_node.html">operations_research::sat::EncodingNode</a></div><div class="ttdef"><b>Definition:</b> <a href="encoding_8h_source.html#l00054">encoding.h:54</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_linear_boolean_problem_html_a9fd8f81a798fd34a843b007c10e40d6b"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_boolean_problem.html#a9fd8f81a798fd34a843b007c10e40d6b">operations_research::sat::LinearBooleanProblem::objective</a></div><div class="ttdeci">const ::operations_research::sat::LinearObjective &amp; objective() const</div><div class="ttdef"><b>Definition:</b> <a href="boolean__problem_8pb_8h_source.html#l01582">boolean_problem.pb.h:1582</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_linear_objective_html_a72d41feda9a93c11089d3d99d6270999"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_objective.html#a72d41feda9a93c11089d3d99d6270999">operations_research::sat::LinearObjective::literals_size</a></div><div class="ttdeci">int literals_size() const</div><div class="ttdef"><b>Definition:</b> <a href="boolean__problem_8pb_8h_source.html#l01226">boolean_problem.pb.h:1226</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_parameters_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_parameters.html">operations_research::sat::SatParameters</a></div><div class="ttdef"><b>Definition:</b> <a href="sat__parameters_8pb_8h_source.html#l00347">sat_parameters.pb.h:348</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_parameters_html_a87719e3f2c171ed57950b2ca35efc00c"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_parameters.html#a87719e3f2c171ed57950b2ca35efc00c">operations_research::sat::SatParameters::set_max_number_of_conflicts</a></div><div class="ttdeci">void set_max_number_of_conflicts(int64_t value)</div><div class="ttdef"><b>Definition:</b> <a href="sat__parameters_8pb_8h_source.html#l04766">sat_parameters.pb.h:4766</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_parameters_html_a89082aa97657e1720a8c241a4afb4de8"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_parameters.html#a89082aa97657e1720a8c241a4afb4de8">operations_research::sat::SatParameters::set_max_deterministic_time</a></div><div class="ttdeci">void set_max_deterministic_time(double value)</div><div class="ttdef"><b>Definition:</b> <a href="sat__parameters_8pb_8h_source.html#l04738">sat_parameters.pb.h:4738</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_parameters_html_a9aac0ce39590a9563381df585761fcf1"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_parameters.html#a9aac0ce39590a9563381df585761fcf1">operations_research::sat::SatParameters::set_random_seed</a></div><div class="ttdeci">void set_random_seed(int32_t value)</div><div class="ttdef"><b>Definition:</b> <a href="sat__parameters_8pb_8h_source.html#l04906">sat_parameters.pb.h:4906</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_parameters_html_ad7217afa0f5bd97642d0d2291068c7f9"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_parameters.html#ad7217afa0f5bd97642d0d2291068c7f9">operations_research::sat::SatParameters::set_max_time_in_seconds</a></div><div class="ttdeci">void set_max_time_in_seconds(double value)</div><div class="ttdef"><b>Definition:</b> <a href="sat__parameters_8pb_8h_source.html#l04710">sat_parameters.pb.h:4710</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_solver_html_a1a5e26554d014197de9434d2c39e07e9"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_solver.html#a1a5e26554d014197de9434d2c39e07e9">operations_research::sat::SatSolver::parameters</a></div><div class="ttdeci">const SatParameters &amp; parameters() const</div><div class="ttdef"><b>Definition:</b> <a href="sat__solver_8cc_source.html#l00111">sat_solver.cc:111</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_solver_html_a2abca6db0c780a4482d1ac9eb6365057"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_solver.html#a2abca6db0c780a4482d1ac9eb6365057">operations_research::sat::SatSolver::ResetAndSolveWithGivenAssumptions</a></div><div class="ttdeci">Status ResetAndSolveWithGivenAssumptions(const std::vector&lt; Literal &gt; &amp;assumptions)</div><div class="ttdef"><b>Definition:</b> <a href="sat__solver_8cc_source.html#l00948">sat_solver.cc:948</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_solver_html_a2b006481369eb4f4cb7f3037dfdd8404"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_solver.html#a2b006481369eb4f4cb7f3037dfdd8404">operations_research::sat::SatSolver::Solve</a></div><div class="ttdeci">Status Solve()</div><div class="ttdef"><b>Definition:</b> <a href="sat__solver_8cc_source.html#l00973">sat_solver.cc:973</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_solver_html_a4793952607a98dfddfbcc17abfabbb4b"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_solver.html#a4793952607a98dfddfbcc17abfabbb4b">operations_research::sat::SatSolver::Assignment</a></div><div class="ttdeci">const VariablesAssignment &amp; Assignment() const</div><div class="ttdef"><b>Definition:</b> <a href="sat__solver_8h_source.html#l00363">sat_solver.h:363</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_solver_html_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_solver.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">operations_research::sat::SatSolver::Status</a></div><div class="ttdeci">Status</div><div class="ttdef"><b>Definition:</b> <a href="sat__solver_8h_source.html#l00181">sat_solver.h:181</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_solver_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba03f919221217f95d21a593a7120165e1"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_solver.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba03f919221217f95d21a593a7120165e1">operations_research::sat::SatSolver::FEASIBLE</a></div><div class="ttdeci">@ FEASIBLE</div><div class="ttdef"><b>Definition:</b> <a href="sat__solver_8h_source.html#l00184">sat_solver.h:184</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_solver_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba2884fa43446c0cbc9c7a9b74d41d7483"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_solver.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba2884fa43446c0cbc9c7a9b74d41d7483">operations_research::sat::SatSolver::INFEASIBLE</a></div><div class="ttdeci">@ INFEASIBLE</div><div class="ttdef"><b>Definition:</b> <a href="sat__solver_8h_source.html#l00183">sat_solver.h:183</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_solver_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba72c2402449caa8f3edc8aa0a3816baed"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_solver.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba72c2402449caa8f3edc8aa0a3816baed">operations_research::sat::SatSolver::LIMIT_REACHED</a></div><div class="ttdeci">@ LIMIT_REACHED</div><div class="ttdef"><b>Definition:</b> <a href="sat__solver_8h_source.html#l00185">sat_solver.h:185</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_solver_html_a9d584b84d7b882a6017b072b33475172"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_solver.html#a9d584b84d7b882a6017b072b33475172">operations_research::sat::SatSolver::SetParameters</a></div><div class="ttdeci">void SetParameters(const SatParameters &amp;parameters)</div><div class="ttdef"><b>Definition:</b> <a href="sat__solver_8cc_source.html#l00116">sat_solver.cc:116</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_solver_html_acace892b69b55e3ee219e2893f34ef8f"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_solver.html#acace892b69b55e3ee219e2893f34ef8f">operations_research::sat::SatSolver::num_failures</a></div><div class="ttdeci">int64_t num_failures() const</div><div class="ttdef"><b>Definition:</b> <a href="sat__solver_8cc_source.html#l00085">sat_solver.cc:85</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_solver_html_acfbfa9df611cb625ff79785c05784580"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_solver.html#acfbfa9df611cb625ff79785c05784580">operations_research::sat::SatSolver::GetLastIncompatibleDecisions</a></div><div class="ttdeci">std::vector&lt; Literal &gt; GetLastIncompatibleDecisions()</div><div class="ttdef"><b>Definition:</b> <a href="sat__solver_8cc_source.html#l01273">sat_solver.cc:1273</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_sat_solver_html_ae525d235b02bcfc962d845e28f5f0125"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_sat_solver.html#ae525d235b02bcfc962d845e28f5f0125">operations_research::sat::SatSolver::deterministic_time</a></div><div class="ttdeci">double deterministic_time() const</div><div class="ttdef"><b>Definition:</b> <a href="sat__solver_8cc_source.html#l00093">sat_solver.cc:93</a></div></div>
<div class="ttc" id="acomplete__optimizer_8h_html"><div class="ttname"><a href="complete__optimizer_8h.html">complete_optimizer.h</a></div></div>
<div class="ttc" id="acp__model__fz__solver_8cc_html_a10a1eab179b472c030bdc2a2efef7219"><div class="ttname"><a href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a></div><div class="ttdeci">SatParameters parameters</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__fz__solver_8cc_source.html#l00120">cp_model_fz_solver.cc:120</a></div></div>
<div class="ttc" id="acp__model__solver_8cc_html_aec8af5c1be4e1b6d4330e1161028de21"><div class="ttname"><a href="cp__model__solver_8cc.html#aec8af5c1be4e1b6d4330e1161028de21">time_limit</a></div><div class="ttdeci">ModelSharedTimeLimit * time_limit</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__solver_8cc_source.html#l01951">cp_model_solver.cc:1951</a></div></div>
<div class="ttc" id="adefault__search_8cc_html_ac673bc430bdc3fdaa09f7becf98ef267"><div class="ttname"><a href="default__search_8cc.html#ac673bc430bdc3fdaa09f7becf98ef267">name</a></div><div class="ttdeci">const std::string name</div><div class="ttdef"><b>Definition:</b> <a href="default__search_8cc_source.html#l00813">default_search.cc:813</a></div></div>
<div class="ttc" id="ag__gurobi_8cc_html_a2237393c7ae7ad7344c9885066d5ab6d"><div class="ttname"><a href="g__gurobi_8cc.html#a2237393c7ae7ad7344c9885066d5ab6d">status</a></div><div class="ttdeci">absl::Status status</div><div class="ttdef"><b>Definition:</b> <a href="g__gurobi_8cc_source.html#l00035">g_gurobi.cc:35</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1bop_html_a2c3c1538ecc101963e5c92ff9bfb33bb"><div class="ttname"><a href="namespaceoperations__research_1_1bop.html#a2c3c1538ecc101963e5c92ff9bfb33bb">operations_research::bop::LoadStateProblemToSatSolver</a></div><div class="ttdeci">BopOptimizerBase::Status LoadStateProblemToSatSolver(const ProblemState &amp;problem_state, sat::SatSolver *sat_solver)</div><div class="ttdef"><b>Definition:</b> <a href="bop__util_8cc_source.html#l00088">bop_util.cc:88</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1bop_html_a49c2b7c159260e338438fc2e167a0c3d"><div class="ttname"><a href="namespaceoperations__research_1_1bop.html#a49c2b7c159260e338438fc2e167a0c3d">operations_research::bop::SatAssignmentToBopSolution</a></div><div class="ttdeci">void SatAssignmentToBopSolution(const sat::VariablesAssignment &amp;assignment, BopSolution *solution)</div><div class="ttdef"><b>Definition:</b> <a href="bop__util_8cc_source.html#l00122">bop_util.cc:122</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1bop_html_a717f3da5a33db3ffe67861f8731b254a"><div class="ttname"><a href="namespaceoperations__research_1_1bop.html#a717f3da5a33db3ffe67861f8731b254a">operations_research::bop::ExtractLearnedInfoFromSatSolver</a></div><div class="ttdeci">void ExtractLearnedInfoFromSatSolver(sat::SatSolver *solver, LearnedInfo *info)</div><div class="ttdef"><b>Definition:</b> <a href="bop__util_8cc_source.html#l00099">bop_util.cc:99</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1math__opt_html_ab61209db5b13f0d424da009e414298fc"><div class="ttname"><a href="namespaceoperations__research_1_1math__opt.html#ab61209db5b13f0d424da009e414298fc">operations_research::math_opt::Coefficient</a></div><div class="ttdeci">std::tuple&lt; int64_t, int64_t, const double &gt; Coefficient</div><div class="ttdef"><b>Definition:</b> <a href="sparse__collection__matchers_8h_source.html#l00061">sparse_collection_matchers.h:61</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1sat_html_a1c9d74b9b207b6e5513334dd135a00a9"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a1c9d74b9b207b6e5513334dd135a00a9">operations_research::sat::ComputeCoreMinWeight</a></div><div class="ttdeci">Coefficient ComputeCoreMinWeight(const std::vector&lt; EncodingNode * &gt; &amp;nodes, const std::vector&lt; Literal &gt; &amp;core)</div><div class="ttdef"><b>Definition:</b> <a href="encoding_8cc_source.html#l00419">encoding.cc:419</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1sat_html_a3c7b9fb850d243d90ea59790db13a676"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a3c7b9fb850d243d90ea59790db13a676">operations_research::sat::ReduceNodesAndExtractAssumptions</a></div><div class="ttdeci">std::vector&lt; Literal &gt; ReduceNodesAndExtractAssumptions(Coefficient upper_bound, Coefficient stratified_lower_bound, Coefficient *lower_bound, std::vector&lt; EncodingNode * &gt; *nodes, SatSolver *solver)</div><div class="ttdef"><b>Definition:</b> <a href="encoding_8cc_source.html#l00367">encoding.cc:367</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1sat_html_a6fb8349259fa849de0789a4ec58a8492"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a6fb8349259fa849de0789a4ec58a8492">operations_research::sat::MinimizeCore</a></div><div class="ttdeci">void MinimizeCore(SatSolver *solver, std::vector&lt; Literal &gt; *core)</div><div class="ttdef"><b>Definition:</b> <a href="sat__solver_8cc_source.html#l02553">sat_solver.cc:2553</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1sat_html_ab87119f7f6691eca8af4c552828fc4c4"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#ab87119f7f6691eca8af4c552828fc4c4">operations_research::sat::ProcessCore</a></div><div class="ttdeci">void ProcessCore(const std::vector&lt; Literal &gt; &amp;core, Coefficient min_weight, std::deque&lt; EncodingNode &gt; *repository, std::vector&lt; EncodingNode * &gt; *nodes, SatSolver *solver)</div><div class="ttdef"><b>Definition:</b> <a href="encoding_8cc_source.html#l00446">encoding.cc:446</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1sat_html_ad6c9cfad7e2fa7ae1bbff31720394436"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#ad6c9cfad7e2fa7ae1bbff31720394436">operations_research::sat::MaxNodeWeightSmallerThan</a></div><div class="ttdeci">Coefficient MaxNodeWeightSmallerThan(const std::vector&lt; EncodingNode * &gt; &amp;nodes, Coefficient upper_bound)</div><div class="ttdef"><b>Definition:</b> <a href="encoding_8cc_source.html#l00434">encoding.cc:434</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1sat_html_aea70549adb843d22d06bef763a0960c8"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#aea70549adb843d22d06bef763a0960c8">operations_research::sat::CreateInitialEncodingNodes</a></div><div class="ttdeci">std::vector&lt; EncodingNode * &gt; CreateInitialEncodingNodes(const std::vector&lt; Literal &gt; &amp;literals, const std::vector&lt; Coefficient &gt; &amp;coeffs, Coefficient *offset, std::deque&lt; EncodingNode &gt; *repository)</div><div class="ttdef"><b>Definition:</b> <a href="encoding_8cc_source.html#l00303">encoding.cc:303</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1sat_html_afd482f2c4b9533b4d1f7379a578e9b18"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#afd482f2c4b9533b4d1f7379a578e9b18">operations_research::sat::kCoefficientMax</a></div><div class="ttdeci">const Coefficient kCoefficientMax(std::numeric_limits&lt; Coefficient::ValueType &gt;::max())</div></div>
<div class="ttc" id="anamespaceoperations__research_html"><div class="ttname"><a href="namespaceoperations__research.html">operations_research</a></div><div class="ttdoc">Collection of objects used to extend the Constraint Solver library.</div><div class="ttdef"><b>Definition:</b> <a href="dense__doubly__linked__list_8h_source.html#l00021">dense_doubly_linked_list.h:21</a></div></div>
<div class="ttc" id="astats_8h_html_a9995704aaaf45fc21e08c847551a8d04"><div class="ttname"><a href="stats_8h.html#a9995704aaaf45fc21e08c847551a8d04">SCOPED_TIME_STAT</a></div><div class="ttdeci">#define SCOPED_TIME_STAT(stats)</div><div class="ttdef"><b>Definition:</b> <a href="stats_8h_source.html#l00438">stats.h:438</a></div></div>
<div class="ttc" id="astructoperations__research_1_1bop_1_1_learned_info_html"><div class="ttname"><a href="structoperations__research_1_1bop_1_1_learned_info.html">operations_research::bop::LearnedInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="bop__base_8h_source.html#l00248">bop_base.h:248</a></div></div>
<div class="ttc" id="astructoperations__research_1_1bop_1_1_learned_info_html_a8e4368b4553131cf24b49b9de6e6189f"><div class="ttname"><a href="structoperations__research_1_1bop_1_1_learned_info.html#a8e4368b4553131cf24b49b9de6e6189f">operations_research::bop::LearnedInfo::lower_bound</a></div><div class="ttdeci">int64_t lower_bound</div><div class="ttdef"><b>Definition:</b> <a href="bop__base_8h_source.html#l00272">bop_base.h:272</a></div></div>
<div class="ttc" id="astructoperations__research_1_1bop_1_1_learned_info_html_aa055411f4c53125132922079d33e535f"><div class="ttname"><a href="structoperations__research_1_1bop_1_1_learned_info.html#aa055411f4c53125132922079d33e535f">operations_research::bop::LearnedInfo::solution</a></div><div class="ttdeci">BopSolution solution</div><div class="ttdef"><b>Definition:</b> <a href="bop__base_8h_source.html#l00269">bop_base.h:269</a></div></div>
<div class="ttc" id="astructoperations__research_1_1bop_1_1_learned_info_html_aa71d36872f416feaa853788a7a7a7ef8"><div class="ttname"><a href="structoperations__research_1_1bop_1_1_learned_info.html#aa71d36872f416feaa853788a7a7a7ef8">operations_research::bop::LearnedInfo::Clear</a></div><div class="ttdeci">void Clear()</div><div class="ttdef"><b>Definition:</b> <a href="bop__base_8h_source.html#l00258">bop_base.h:258</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.18-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_a7cc1eeded8f693d0da6c729bc88c45a.html">ortools</a></li><li class="navelem"><a class="el" href="dir_749f8352630e023f1ab8040461e5d795.html">bop</a></li><li class="navelem"><a class="el" href="complete__optimizer_8cc.html">complete_optimizer.cc</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.9.3 </li>
</ul>
</div>
</body>
</html>