Files
ortools-clone/docs/cpp/rins_8h_source.html
2021-02-26 14:48:18 +01:00

225 lines
33 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.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OR-Tools: rins.h 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">8.2</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('rins_8h_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">rins.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="rins_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="preprocessor">#ifndef OR_TOOLS_SAT_RINS_H_</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#define OR_TOOLS_SAT_RINS_H_</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;absl/container/flat_hash_map.h&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;absl/random/bit_gen_ref.h&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;absl/synchronization/mutex.h&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;absl/types/optional.h&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="integer_8h.html">ortools/sat/integer.h</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="linear__programming__constraint_8h.html">ortools/sat/linear_programming_constraint.h</a>&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="sat_2model_8h.html">ortools/sat/model.h</a>&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="synchronization_8h.html">ortools/sat/synchronization.h</a>&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceoperations__research.html">operations_research</a> {</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">namespace </span>sat {</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="comment">// Links IntegerVariable with model variable and its lp constraint if any.</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="structoperations__research_1_1sat_1_1_l_p_variable.html"> 32</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structoperations__research_1_1sat_1_1_l_p_variable.html">LPVariable</a> {</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="structoperations__research_1_1sat_1_1_l_p_variable.html#a01a42b857686c53cf1ebeefb36cd5489"> 33</a></span>&#160; IntegerVariable <a class="code" href="structoperations__research_1_1sat_1_1_l_p_variable.html#a01a42b857686c53cf1ebeefb36cd5489">positive_var</a> = <a class="code" href="namespaceoperations__research_1_1sat.html#a5bd8c44473618b7eafd33ba978db2f06">kNoIntegerVariable</a>;</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structoperations__research_1_1sat_1_1_l_p_variable.html#a7518b32b2f5df90266eed4eb019978aa"> 34</a></span>&#160; <a class="code" href="classoperations__research_1_1sat_1_1_linear_programming_constraint.html">LinearProgrammingConstraint</a>* <a class="code" href="structoperations__research_1_1sat_1_1_l_p_variable.html#a7518b32b2f5df90266eed4eb019978aa">lp</a> = <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="structoperations__research_1_1sat_1_1_l_p_variable.html#adc575a03707a4c35760fbf928c56bce4"> 35</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structoperations__research_1_1sat_1_1_l_p_variable.html#adc575a03707a4c35760fbf928c56bce4">model_var</a>;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structoperations__research_1_1sat_1_1_l_p_variable.html#a397eca8a7167adcb2c5f817f5f670a7e"> 37</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structoperations__research_1_1sat_1_1_l_p_variable.html#a397eca8a7167adcb2c5f817f5f670a7e">operator==</a>(<span class="keyword">const</span> <a class="code" href="structoperations__research_1_1sat_1_1_l_p_variable.html">LPVariable</a> other)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keywordflow">return</span> (<a class="code" href="structoperations__research_1_1sat_1_1_l_p_variable.html#a01a42b857686c53cf1ebeefb36cd5489">positive_var</a> == other.<a class="code" href="structoperations__research_1_1sat_1_1_l_p_variable.html#a01a42b857686c53cf1ebeefb36cd5489">positive_var</a> &amp;&amp; <a class="code" href="structoperations__research_1_1sat_1_1_l_p_variable.html#a7518b32b2f5df90266eed4eb019978aa">lp</a> == other.<a class="code" href="structoperations__research_1_1sat_1_1_l_p_variable.html#a7518b32b2f5df90266eed4eb019978aa">lp</a> &amp;&amp;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <a class="code" href="structoperations__research_1_1sat_1_1_l_p_variable.html#adc575a03707a4c35760fbf928c56bce4">model_var</a> == other.<a class="code" href="structoperations__research_1_1sat_1_1_l_p_variable.html#adc575a03707a4c35760fbf928c56bce4">model_var</a>);</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; }</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;};</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="comment">// This is used to &quot;cache&quot; in the model the set of relevant LPVariable.</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structoperations__research_1_1sat_1_1_l_p_variables.html"> 44</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structoperations__research_1_1sat_1_1_l_p_variables.html">LPVariables</a> {</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structoperations__research_1_1sat_1_1_l_p_variables.html#ab88d70cae33b85232837b45dff51d540"> 45</a></span>&#160; std::vector&lt;LPVariable&gt; <a class="code" href="structoperations__research_1_1sat_1_1_l_p_variables.html#ab88d70cae33b85232837b45dff51d540">vars</a>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structoperations__research_1_1sat_1_1_l_p_variables.html#a447afafb8a4808a09575e76700a60f78"> 46</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structoperations__research_1_1sat_1_1_l_p_variables.html#a447afafb8a4808a09575e76700a60f78">model_vars_size</a> = 0;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;};</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="comment">// A RINS Neighborhood is actually just a generic neighborhood where the domain</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="comment">// of some variable have been reduced (fixed or restricted in [lb, ub]).</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="comment">// Important: It might be possible that the value of the variables here are</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="comment">// outside the domains of these variables! This happens for RENS type of</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="comment">// neighborhood in the presence of holes in the domains because the LP</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="comment">// relaxation ignore those.</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structoperations__research_1_1sat_1_1_r_i_n_s_neighborhood.html"> 56</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structoperations__research_1_1sat_1_1_r_i_n_s_neighborhood.html">RINSNeighborhood</a> {</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="comment">// A variable will appear only once and not in both vectors.</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structoperations__research_1_1sat_1_1_r_i_n_s_neighborhood.html#aaa53a8080fbfdbd1250127d79dc81313"> 58</a></span>&#160; std::vector&lt;std::pair&lt;<span class="comment">/*model_var*/</span> int, <span class="comment">/*value*/</span> <a class="code" href="integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a">int64</a>&gt;&gt; <a class="code" href="structoperations__research_1_1sat_1_1_r_i_n_s_neighborhood.html#aaa53a8080fbfdbd1250127d79dc81313">fixed_vars</a>;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; std::vector&lt;std::pair&lt;<span class="comment">/*model_var*/</span> int, <span class="comment">/*domain*/</span> std::pair&lt;int64, int64&gt;&gt;&gt;</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structoperations__research_1_1sat_1_1_r_i_n_s_neighborhood.html#a4630143a69a0e326a38901f8ba54ae45"> 60</a></span>&#160; <a class="code" href="structoperations__research_1_1sat_1_1_r_i_n_s_neighborhood.html#a4630143a69a0e326a38901f8ba54ae45">reduced_domain_vars</a>;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;};</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="comment">// Helper method to create a RINS neighborhood by fixing variables with same</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="comment">// values in relaxation solution and the current best solution in the</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="comment">// response_manager. Prioritizes repositories in following order to get a</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="comment">// relaxation solution.</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="comment">// 1. incomplete_solutions</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="comment">// 2. lp_solutions</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="comment">// 3. relaxation_solutions</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="comment">// If response_manager is not provided, this generates a RENS neighborhood by</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="comment">// ignoring the solutions and using the relaxation values. The domain of the</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="comment">// variables are reduced to integer values around relaxation values. If the</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="comment">// relaxation value is integer, then we fix the domain of the variable to that</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="comment">// value.</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<a class="code" href="structoperations__research_1_1sat_1_1_r_i_n_s_neighborhood.html">RINSNeighborhood</a> <a class="code" href="namespaceoperations__research_1_1sat.html#aeef49408603258c45118e0ca3394442c">GetRINSNeighborhood</a>(</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1sat_1_1_shared_response_manager.html">SharedResponseManager</a>* response_manager,</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1sat_1_1_shared_relaxation_solution_repository.html">SharedRelaxationSolutionRepository</a>* <a class="code" href="cp__model__solver_8cc.html#a2a2278bd1fb787198e496b7d443a05e8">relaxation_solutions</a>,</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1sat_1_1_shared_l_p_solution_repository.html">SharedLPSolutionRepository</a>* <a class="code" href="cp__model__solver_8cc.html#a5c52f4ef9698913ed16c67a4a6cec606">lp_solutions</a>,</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="code" href="classoperations__research_1_1sat_1_1_shared_incomplete_solution_manager.html">SharedIncompleteSolutionManager</a>* <a class="code" href="cp__model__solver_8cc.html#a6bc4d701f71d498e82a3d45adde9a2e4">incomplete_solutions</a>,</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; absl::BitGenRef random);</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="comment">// Adds the current LP solution to the pool.</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespaceoperations__research_1_1sat.html#a334bf93d91912354ff5d0f161a64c273">RecordLPRelaxationValues</a>(<a class="code" href="classoperations__research_1_1sat_1_1_model.html">Model</a>* <a class="code" href="gurobi__interface_8cc.html#a0728f23c9a47655d38e0bf1a2f200bcf">model</a>);</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;} <span class="comment">// namespace sat</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;} <span class="comment">// namespace operations_research</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; </div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// OR_TOOLS_SAT_RINS_H_</span></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_linear_programming_constraint_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_programming_constraint.html">operations_research::sat::LinearProgrammingConstraint</a></div><div class="ttdef"><b>Definition:</b> <a href="linear__programming__constraint_8h_source.html#l00128">linear_programming_constraint.h:129</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_model_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_model.html">operations_research::sat::Model</a></div><div class="ttdoc">Class that owns everything related to a particular optimization model.</div><div class="ttdef"><b>Definition:</b> <a href="sat_2model_8h_source.html#l00038">sat/model.h:38</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_shared_incomplete_solution_manager_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_shared_incomplete_solution_manager.html">operations_research::sat::SharedIncompleteSolutionManager</a></div><div class="ttdef"><b>Definition:</b> <a href="synchronization_8h_source.html#l00151">synchronization.h:151</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_shared_l_p_solution_repository_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_shared_l_p_solution_repository.html">operations_research::sat::SharedLPSolutionRepository</a></div><div class="ttdef"><b>Definition:</b> <a href="synchronization_8h_source.html#l00135">synchronization.h:135</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_shared_relaxation_solution_repository_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_shared_relaxation_solution_repository.html">operations_research::sat::SharedRelaxationSolutionRepository</a></div><div class="ttdef"><b>Definition:</b> <a href="synchronization_8h_source.html#l00126">synchronization.h:127</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1sat_1_1_shared_response_manager_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_shared_response_manager.html">operations_research::sat::SharedResponseManager</a></div><div class="ttdef"><b>Definition:</b> <a href="synchronization_8h_source.html#l00166">synchronization.h:166</a></div></div>
<div class="ttc" id="acp__model__solver_8cc_html_a2a2278bd1fb787198e496b7d443a05e8"><div class="ttname"><a href="cp__model__solver_8cc.html#a2a2278bd1fb787198e496b7d443a05e8">relaxation_solutions</a></div><div class="ttdeci">SharedRelaxationSolutionRepository * relaxation_solutions</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__solver_8cc_source.html#l02119">cp_model_solver.cc:2119</a></div></div>
<div class="ttc" id="acp__model__solver_8cc_html_a5c52f4ef9698913ed16c67a4a6cec606"><div class="ttname"><a href="cp__model__solver_8cc.html#a5c52f4ef9698913ed16c67a4a6cec606">lp_solutions</a></div><div class="ttdeci">SharedLPSolutionRepository * lp_solutions</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__solver_8cc_source.html#l02120">cp_model_solver.cc:2120</a></div></div>
<div class="ttc" id="acp__model__solver_8cc_html_a6bc4d701f71d498e82a3d45adde9a2e4"><div class="ttname"><a href="cp__model__solver_8cc.html#a6bc4d701f71d498e82a3d45adde9a2e4">incomplete_solutions</a></div><div class="ttdeci">SharedIncompleteSolutionManager * incomplete_solutions</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__solver_8cc_source.html#l02121">cp_model_solver.cc:2121</a></div></div>
<div class="ttc" id="agurobi__interface_8cc_html_a0728f23c9a47655d38e0bf1a2f200bcf"><div class="ttname"><a href="gurobi__interface_8cc.html#a0728f23c9a47655d38e0bf1a2f200bcf">model</a></div><div class="ttdeci">GRBmodel * model</div><div class="ttdef"><b>Definition:</b> <a href="gurobi__interface_8cc_source.html#l00272">gurobi_interface.cc:272</a></div></div>
<div class="ttc" id="ainteger_8h_html"><div class="ttname"><a href="integer_8h.html">integer.h</a></div></div>
<div class="ttc" id="aintegral__types_8h_html_a7cde0074dfd288f2d70c0e035dacb28a"><div class="ttname"><a href="integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a">int64</a></div><div class="ttdeci">int64_t int64</div><div class="ttdef"><b>Definition:</b> <a href="integral__types_8h_source.html#l00034">integral_types.h:34</a></div></div>
<div class="ttc" id="alinear__programming__constraint_8h_html"><div class="ttname"><a href="linear__programming__constraint_8h.html">linear_programming_constraint.h</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1sat_html_a334bf93d91912354ff5d0f161a64c273"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a334bf93d91912354ff5d0f161a64c273">operations_research::sat::RecordLPRelaxationValues</a></div><div class="ttdeci">void RecordLPRelaxationValues(Model *model)</div><div class="ttdef"><b>Definition:</b> <a href="rins_8cc_source.html#l00025">rins.cc:25</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1sat_html_a5bd8c44473618b7eafd33ba978db2f06"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a5bd8c44473618b7eafd33ba978db2f06">operations_research::sat::kNoIntegerVariable</a></div><div class="ttdeci">const IntegerVariable kNoIntegerVariable(-1)</div></div>
<div class="ttc" id="anamespaceoperations__research_1_1sat_html_aeef49408603258c45118e0ca3394442c"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#aeef49408603258c45118e0ca3394442c">operations_research::sat::GetRINSNeighborhood</a></div><div class="ttdeci">RINSNeighborhood GetRINSNeighborhood(const SharedResponseManager *response_manager, const SharedRelaxationSolutionRepository *relaxation_solutions, const SharedLPSolutionRepository *lp_solutions, SharedIncompleteSolutionManager *incomplete_solutions, absl::BitGenRef random)</div><div class="ttdef"><b>Definition:</b> <a href="rins_8cc_source.html#l00099">rins.cc:99</a></div></div>
<div class="ttc" id="anamespaceoperations__research_html"><div class="ttname"><a href="namespaceoperations__research.html">operations_research</a></div><div class="ttdoc">The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...</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="asat_2model_8h_html"><div class="ttname"><a href="sat_2model_8h.html">model.h</a></div></div>
<div class="ttc" id="astructoperations__research_1_1sat_1_1_l_p_variable_html"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_l_p_variable.html">operations_research::sat::LPVariable</a></div><div class="ttdef"><b>Definition:</b> <a href="rins_8h_source.html#l00032">rins.h:32</a></div></div>
<div class="ttc" id="astructoperations__research_1_1sat_1_1_l_p_variable_html_a01a42b857686c53cf1ebeefb36cd5489"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_l_p_variable.html#a01a42b857686c53cf1ebeefb36cd5489">operations_research::sat::LPVariable::positive_var</a></div><div class="ttdeci">IntegerVariable positive_var</div><div class="ttdef"><b>Definition:</b> <a href="rins_8h_source.html#l00033">rins.h:33</a></div></div>
<div class="ttc" id="astructoperations__research_1_1sat_1_1_l_p_variable_html_a397eca8a7167adcb2c5f817f5f670a7e"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_l_p_variable.html#a397eca8a7167adcb2c5f817f5f670a7e">operations_research::sat::LPVariable::operator==</a></div><div class="ttdeci">bool operator==(const LPVariable other) const</div><div class="ttdef"><b>Definition:</b> <a href="rins_8h_source.html#l00037">rins.h:37</a></div></div>
<div class="ttc" id="astructoperations__research_1_1sat_1_1_l_p_variable_html_a7518b32b2f5df90266eed4eb019978aa"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_l_p_variable.html#a7518b32b2f5df90266eed4eb019978aa">operations_research::sat::LPVariable::lp</a></div><div class="ttdeci">LinearProgrammingConstraint * lp</div><div class="ttdef"><b>Definition:</b> <a href="rins_8h_source.html#l00034">rins.h:34</a></div></div>
<div class="ttc" id="astructoperations__research_1_1sat_1_1_l_p_variable_html_adc575a03707a4c35760fbf928c56bce4"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_l_p_variable.html#adc575a03707a4c35760fbf928c56bce4">operations_research::sat::LPVariable::model_var</a></div><div class="ttdeci">int model_var</div><div class="ttdef"><b>Definition:</b> <a href="rins_8h_source.html#l00035">rins.h:35</a></div></div>
<div class="ttc" id="astructoperations__research_1_1sat_1_1_l_p_variables_html"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_l_p_variables.html">operations_research::sat::LPVariables</a></div><div class="ttdef"><b>Definition:</b> <a href="rins_8h_source.html#l00044">rins.h:44</a></div></div>
<div class="ttc" id="astructoperations__research_1_1sat_1_1_l_p_variables_html_a447afafb8a4808a09575e76700a60f78"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_l_p_variables.html#a447afafb8a4808a09575e76700a60f78">operations_research::sat::LPVariables::model_vars_size</a></div><div class="ttdeci">int model_vars_size</div><div class="ttdef"><b>Definition:</b> <a href="rins_8h_source.html#l00046">rins.h:46</a></div></div>
<div class="ttc" id="astructoperations__research_1_1sat_1_1_l_p_variables_html_ab88d70cae33b85232837b45dff51d540"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_l_p_variables.html#ab88d70cae33b85232837b45dff51d540">operations_research::sat::LPVariables::vars</a></div><div class="ttdeci">std::vector&lt; LPVariable &gt; vars</div><div class="ttdef"><b>Definition:</b> <a href="rins_8h_source.html#l00045">rins.h:45</a></div></div>
<div class="ttc" id="astructoperations__research_1_1sat_1_1_r_i_n_s_neighborhood_html"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_r_i_n_s_neighborhood.html">operations_research::sat::RINSNeighborhood</a></div><div class="ttdef"><b>Definition:</b> <a href="rins_8h_source.html#l00056">rins.h:56</a></div></div>
<div class="ttc" id="astructoperations__research_1_1sat_1_1_r_i_n_s_neighborhood_html_a4630143a69a0e326a38901f8ba54ae45"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_r_i_n_s_neighborhood.html#a4630143a69a0e326a38901f8ba54ae45">operations_research::sat::RINSNeighborhood::reduced_domain_vars</a></div><div class="ttdeci">std::vector&lt; std::pair&lt; int, std::pair&lt; int64, int64 &gt; &gt; &gt; reduced_domain_vars</div><div class="ttdef"><b>Definition:</b> <a href="rins_8h_source.html#l00060">rins.h:60</a></div></div>
<div class="ttc" id="astructoperations__research_1_1sat_1_1_r_i_n_s_neighborhood_html_aaa53a8080fbfdbd1250127d79dc81313"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_r_i_n_s_neighborhood.html#aaa53a8080fbfdbd1250127d79dc81313">operations_research::sat::RINSNeighborhood::fixed_vars</a></div><div class="ttdeci">std::vector&lt; std::pair&lt; int, int64 &gt; &gt; fixed_vars</div><div class="ttdef"><b>Definition:</b> <a href="rins_8h_source.html#l00058">rins.h:58</a></div></div>
<div class="ttc" id="asynchronization_8h_html"><div class="ttname"><a href="synchronization_8h.html">synchronization.h</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_dddac007a45022d9da6ea1dee012c3b9.html">sat</a></li><li class="navelem"><a class="el" href="rins_8h.html">rins.h</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.1 </li>
</ul>
</div>
</body>
</html>