Files
ortools-clone/docs/cpp/preprocessor_8h_source.html
2020-09-02 09:43:05 +02:00

1379 lines
345 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.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OR-Tools: preprocessor.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.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<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');
/* @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('preprocessor_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">preprocessor.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="preprocessor_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// Copyright 2010-2018 Google LLC</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// you may not use this file except in compliance with the License.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// limitations under the License.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// This file contains the presolving code for a LinearProgram.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">// A classical reference is:</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">// E. D. Andersen, K. D. Andersen, &quot;Presolving in linear programming.&quot;,</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment">// Mathematical Programming 71 (1995) 221-245.</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; </div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#ifndef OR_TOOLS_GLOP_PREPROCESSOR_H_</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#define OR_TOOLS_GLOP_PREPROCESSOR_H_</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="parameters_8pb_8h.html">ortools/glop/parameters.pb.h</a>&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="revised__simplex_8h.html">ortools/glop/revised_simplex.h</a>&quot;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="lp__data_8h.html">ortools/lp_data/lp_data.h</a>&quot;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="lp__types_8h.html">ortools/lp_data/lp_types.h</a>&quot;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="matrix__scaler_8h.html">ortools/lp_data/matrix_scaler.h</a>&quot;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceoperations__research.html">operations_research</a> {</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">namespace </span>glop {</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="comment">// Preprocessor</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="comment">// This is the base class for preprocessors.</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="comment">// TODO(user): On most preprocessors, calling Run() more than once will not work</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="comment">// as expected. Fix? or document and crash in debug if this happens.</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1Preprocessor.html"> 42</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a3611ef0bc3b3adfa06432f2659c535f7">Preprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>);</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1Preprocessor.html#a6b4ccb0765e5c806055c67a4b49bc06d"> 45</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a6b4ccb0765e5c806055c67a4b49bc06d">Preprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1Preprocessor.html#ac43676b866796cb46849e6f083bd0d75"> 46</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#ac43676b866796cb46849e6f083bd0d75">operator=</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a5c1cfa0469b831e367e8f9b6b463b5ae">~Preprocessor</a>();</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">// Runs the preprocessor by modifying the given linear program. Returns true</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="comment">// if a postsolve step will be needed (i.e. RecoverSolution() is not the</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="comment">// identity function). Also updates status_ to something different from</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="comment">// ProblemStatus::INIT if the problem was solved (including bad statuses</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="comment">// like ProblemStatus::ABNORMAL, ProblemStatus::INFEASIBLE, etc.).</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1Preprocessor.html#ad5506f89d8d92d8a43fd7bab2d8e882d"> 54</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#ad5506f89d8d92d8a43fd7bab2d8e882d">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) = 0;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="comment">// Stores the optimal solution of the linear program that was passed to</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="comment">// Run(). The given solution needs to be set to the optimal solution of the</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="comment">// linear program &quot;modified&quot; by Run().</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1Preprocessor.html#a2fc3007a33b30506a1761e17e6df963a"> 59</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a2fc3007a33b30506a1761e17e6df963a">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="comment">// Returns the status of the preprocessor.</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="comment">// A status different from ProblemStatus::INIT means that the problem is</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="comment">// solved and there is not need to call subsequent preprocessors.</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1Preprocessor.html#a2c776397337c7b38bcdb8e2b57653a6a"> 64</a></span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#ae8a885303349cb7807c7c87b405bc0c9">ProblemStatus</a> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a2c776397337c7b38bcdb8e2b57653a6a">status</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a6ef36d55945fd761fbefac971b818a29">status_</a>; }</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="comment">// Some preprocessors only need minimal changes when used with integer</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="comment">// variables in a MIP context. Setting this to true allows to consider integer</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="comment">// variables as integer in these preprocessors.</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="comment">//</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="comment">// Not all preprocessors handle integer variables correctly, calling this</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="comment">// function on them will cause a LOG(FATAL).</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1Preprocessor.html#a9d48fb6037dc9624d7c7e646732661a0"> 72</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a9d48fb6037dc9624d7c7e646732661a0">UseInMipContext</a>() { <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a3ad0a2aeb2c7f12fb9d3439a480ffbde">in_mip_context_</a> = <span class="keyword">true</span>; }</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1Preprocessor.html#ad99bfbfbdeb3354d3694aecd7fda6deb"> 74</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#ad99bfbfbdeb3354d3694aecd7fda6deb">SetTimeLimit</a>(<a class="code" href="classoperations__research_1_1TimeLimit.html">TimeLimit</a>* <a class="code" href="cp__model__solver_8cc.html#ac3cf9db02b23ea1455b5ae6955d03e47">time_limit</a>) { <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a67ee68ae6c97419ab4ebb6af8264e7d2">time_limit_</a> = <a class="code" href="cp__model__solver_8cc.html#ac3cf9db02b23ea1455b5ae6955d03e47">time_limit</a>; }</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="comment">// Returns true if a is less than b (or slighlty greater than b with a given</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="comment">// tolerance).</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1Preprocessor.html#aeb01b3abaf68cfdcad5c90c9068c1570"> 79</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#aeb01b3abaf68cfdcad5c90c9068c1570">IsSmallerWithinFeasibilityTolerance</a>(<a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> <a class="code" href="constraint__solver_2table_8cc.html#af730895c6c6ef6e03caaf6251192dfd2">a</a>, <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> <a class="code" href="constraint__solver_2table_8cc.html#a344010e26426d6a13411648d988bc9b6">b</a>)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="code" href="namespaceoperations__research.html#a096ed4f933f943ccb8859e0dc08b06ca">return ::operations_research::IsSmallerWithinTolerance</a>(</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <a class="code" href="constraint__solver_2table_8cc.html#af730895c6c6ef6e03caaf6251192dfd2">a</a>, <a class="code" href="constraint__solver_2table_8cc.html#a344010e26426d6a13411648d988bc9b6">b</a>, <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a4044f1ba691c532a1aa362b77258489d">parameters_</a>.solution_feasibility_tolerance());</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"><a class="line" href="classoperations__research_1_1glop_1_1Preprocessor.html#a322abc0882049744dd1169a3d9e176e5"> 83</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a322abc0882049744dd1169a3d9e176e5">IsSmallerWithinPreprocessorZeroTolerance</a>(<a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> <a class="code" href="constraint__solver_2table_8cc.html#af730895c6c6ef6e03caaf6251192dfd2">a</a>,</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> <a class="code" href="constraint__solver_2table_8cc.html#a344010e26426d6a13411648d988bc9b6">b</a>)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="comment">// TODO(user): use an absolute tolerance here to be even more defensive?</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <a class="code" href="namespaceoperations__research.html#a096ed4f933f943ccb8859e0dc08b06ca">return ::operations_research::IsSmallerWithinTolerance</a>(</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <a class="code" href="constraint__solver_2table_8cc.html#af730895c6c6ef6e03caaf6251192dfd2">a</a>, <a class="code" href="constraint__solver_2table_8cc.html#a344010e26426d6a13411648d988bc9b6">b</a>, <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a4044f1ba691c532a1aa362b77258489d">parameters_</a>.preprocessor_zero_tolerance());</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; </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1Preprocessor.html#a6ef36d55945fd761fbefac971b818a29"> 90</a></span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#ae8a885303349cb7807c7c87b405bc0c9">ProblemStatus</a> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a6ef36d55945fd761fbefac971b818a29">status_</a>;</div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1Preprocessor.html#a4044f1ba691c532a1aa362b77258489d"> 91</a></span>&#160; <span class="keyword">const</span> GlopParameters&amp; <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a4044f1ba691c532a1aa362b77258489d">parameters_</a>;</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1Preprocessor.html#a3ad0a2aeb2c7f12fb9d3439a480ffbde"> 92</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a3ad0a2aeb2c7f12fb9d3439a480ffbde">in_mip_context_</a>;</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1Preprocessor.html#a93f31881bac44307228eb78314f12a40"> 93</a></span>&#160; std::unique_ptr&lt;TimeLimit&gt; <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a93f31881bac44307228eb78314f12a40">infinite_time_limit_</a>;</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1Preprocessor.html#a67ee68ae6c97419ab4ebb6af8264e7d2"> 94</a></span>&#160; <a class="code" href="classoperations__research_1_1TimeLimit.html">TimeLimit</a>* <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a67ee68ae6c97419ab4ebb6af8264e7d2">time_limit_</a>;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;};</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="comment">// MainLpPreprocessor</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="comment">// This is the main LP preprocessor responsible for calling all the other</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="comment">// preprocessors in this file, possibly more than once.</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html"> 102</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html">MainLpPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#a587c82f55540532c54c0af3c0d374253"> 104</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#a587c82f55540532c54c0af3c0d374253">MainLpPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#a50733f69a2c2de517a366dcdb17394c7"> 106</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#a50733f69a2c2de517a366dcdb17394c7">MainLpPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html">MainLpPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#a51681234d1581189740df34ad653157e"> 107</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html">MainLpPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#a51681234d1581189740df34ad653157e">operator=</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html">MainLpPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#aa8dce6d72ac62ee626815cdc4df4b078"> 108</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#aa8dce6d72ac62ee626815cdc4df4b078">~MainLpPreprocessor</a>()<span class="keyword"> override </span>{}</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#a465d7f4ac3a848d3ef84108d427b8de4">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="comment">// Runs the given preprocessor and push it on preprocessors_ for the postsolve</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="comment">// step when needed.</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keywordtype">void</span> RunAndPushIfRelevant(std::unique_ptr&lt;Preprocessor&gt; preprocessor,</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keyword">const</span> std::string&amp; <a class="code" href="default__search_8cc.html#ac673bc430bdc3fdaa09f7becf98ef267">name</a>, <a class="code" href="classoperations__research_1_1TimeLimit.html">TimeLimit</a>* <a class="code" href="cp__model__solver_8cc.html#ac3cf9db02b23ea1455b5ae6955d03e47">time_limit</a>,</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp);</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; </div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="comment">// Stack of preprocessors currently applied to the lp that needs postsolve.</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="comment">//</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="comment">// TODO(user): This is mutable so that the preprocessor can be freed as soon</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="comment">// as their RecoverSolution() is called. Make RecoverSolution() non-const or</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="comment">// remove this optimization?</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keyword">mutable</span> std::vector&lt;std::unique_ptr&lt;Preprocessor&gt;&gt; preprocessors_;</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="comment">// Initial dimension of the lp given to Run(), for displaying purpose.</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; EntryIndex initial_num_entries_;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; RowIndex initial_num_rows_;</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; ColIndex initial_num_cols_;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;};</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;<span class="comment">// ColumnDeletionHelper</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;<span class="comment">// Help preprocessors deal with column deletion.</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html"> 137</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html">ColumnDeletionHelper</a> {</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a575d2041247c879f7173bb3a555ba958"> 139</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a575d2041247c879f7173bb3a555ba958">ColumnDeletionHelper</a>() {}</div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a0dd90a930eb56b652fa3e46c732a348c"> 140</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a0dd90a930eb56b652fa3e46c732a348c">ColumnDeletionHelper</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html">ColumnDeletionHelper</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#afb08edad3e062957b1f7421ef53c8df6"> 141</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html">ColumnDeletionHelper</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#afb08edad3e062957b1f7421ef53c8df6">operator=</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html">ColumnDeletionHelper</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="comment">// Remember the given column as &quot;deleted&quot; so that it can later be restored</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="comment">// by RestoreDeletedColumns(). Optionally, the caller may indicate the</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="comment">// value and status of the corresponding variable so that it is automatically</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="comment">// restored; if they don&#39;t then the restored value and status will be junk</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="comment">// and must be set by the caller.</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="comment">//</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="comment">// The actual deletion is done by LinearProgram::DeleteColumns().</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a46b7ed2e9e3a3d5dc9a024801e1baaf7">MarkColumnForDeletion</a>(ColIndex <a class="code" href="markowitz_8cc.html#aa9d6c98fdf8d89b0e2321fda02adc82c">col</a>);</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a43d852970601d1a979844a0aae79ed3d">MarkColumnForDeletionWithState</a>(ColIndex <a class="code" href="markowitz_8cc.html#aa9d6c98fdf8d89b0e2321fda02adc82c">col</a>, <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> <a class="code" href="demon__profiler_8cc.html#a21edc7ca4cc5802c8779d68556bc09cf">value</a>,</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a1ac488f3db89f6d16a85c56f3243290c">VariableStatus</a> status);</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="comment">// From a solution omitting the deleted column, expands it and inserts the</span></div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="comment">// deleted columns. If values and statuses for the corresponding variables</span></div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="comment">// were saved, they&#39;ll be restored.</span></div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#ab73f53154d99b3cd13dae72fd418985d">RestoreDeletedColumns</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; </div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="comment">// Returns whether or not the given column is marked for deletion.</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a1fbdcd623d96ea5e73d664ce0c6bd002"> 160</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a1fbdcd623d96ea5e73d664ce0c6bd002">IsColumnMarked</a>(ColIndex <a class="code" href="markowitz_8cc.html#aa9d6c98fdf8d89b0e2321fda02adc82c">col</a>)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordflow">return</span> <a class="code" href="markowitz_8cc.html#aa9d6c98fdf8d89b0e2321fda02adc82c">col</a> &lt; is_column_deleted_.<a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html#a967a5c081ad4195a30c78dc2c0bcabf5">size</a>() &amp;&amp; is_column_deleted_[<a class="code" href="markowitz_8cc.html#aa9d6c98fdf8d89b0e2321fda02adc82c">col</a>];</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; }</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; </div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="comment">// Returns a Boolean vector of the column to be deleted.</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a6afccf8c0c7105ba45b8d7bd47830239"> 165</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseBooleanRow</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a6afccf8c0c7105ba45b8d7bd47830239">GetMarkedColumns</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> is_column_deleted_; }</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; </div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <span class="comment">// Returns true if no columns have been marked for deletion.</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a8e12342fc420701fbffd97025421575a"> 168</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a8e12342fc420701fbffd97025421575a">IsEmpty</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> is_column_deleted_.<a class="code" href="classgtl_1_1ITIVector.html#a644718bb2fb240de962dc3c9a1fdf0dc">empty</a>(); }</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; </div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="comment">// Restores the class to its initial state.</span></div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#aa71d36872f416feaa853788a7a7a7ef8">Clear</a>();</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; </div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="comment">// Returns the value that will be restored by</span></div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="comment">// RestoreDeletedColumnInSolution(). Note that only the marked position value</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="comment">// make sense.</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#abf42c94e770b44d463ca3d13cda889c6"> 176</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#abf42c94e770b44d463ca3d13cda889c6">GetStoredValue</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> stored_value_; }</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; </div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseBooleanRow</a> is_column_deleted_;</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; </div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="comment">// Note that this vector has the same size as is_column_deleted_ and that</span></div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="comment">// the value of the variable corresponding to a deleted column col is stored</span></div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="comment">// at position col. Values of columns not deleted are not used. We use this</span></div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="comment">// data structure so columns can be deleted in any order if needed.</span></div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a> stored_value_;</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">VariableStatusRow</a> stored_status_;</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;};</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; </div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;<span class="comment">// RowDeletionHelper</span></div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;<span class="comment">// Help preprocessors deal with row deletion.</span></div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html"> 193</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html">RowDeletionHelper</a> {</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a4a10ecf24a0ec229f93e3de2613081e4"> 195</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a4a10ecf24a0ec229f93e3de2613081e4">RowDeletionHelper</a>() {}</div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#afe1060bf67b21f038023bd029c2b6e5c"> 196</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#afe1060bf67b21f038023bd029c2b6e5c">RowDeletionHelper</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html">RowDeletionHelper</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a81e842468f08be1aa4a253e5f7cdfcfa"> 197</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html">RowDeletionHelper</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a81e842468f08be1aa4a253e5f7cdfcfa">operator=</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html">RowDeletionHelper</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; </div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <span class="comment">// Returns true if no rows have been marked for deletion.</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a8e12342fc420701fbffd97025421575a"> 200</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a8e12342fc420701fbffd97025421575a">IsEmpty</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> is_row_deleted_.<a class="code" href="classgtl_1_1ITIVector.html#a644718bb2fb240de962dc3c9a1fdf0dc">empty</a>(); }</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; </div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="comment">// Restores the class to its initial state.</span></div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#aa71d36872f416feaa853788a7a7a7ef8">Clear</a>();</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; </div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="comment">// Adds a deleted row to the helper.</span></div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a2087c8376c03c247099a989f2990e6e8">MarkRowForDeletion</a>(RowIndex <a class="code" href="markowitz_8cc.html#aea35f36ba98d5bbd8d033382f50c9e52">row</a>);</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; </div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="comment">// If the given row was marked for deletion, unmark it.</span></div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a2e33d930193e16f06f3c4d0309ff62c2">UnmarkRow</a>(RowIndex <a class="code" href="markowitz_8cc.html#aea35f36ba98d5bbd8d033382f50c9e52">row</a>);</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; </div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="comment">// Returns a Boolean vector of the row to be deleted.</span></div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseBooleanColumn</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a4dda252e2b65e3aa074c002daf6f86b8">GetMarkedRows</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; </div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <span class="comment">// Returns whether or not the given row is marked for deletion.</span></div>
<div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a8b572400ae17e537ba55eb01667dd5c7"> 215</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a8b572400ae17e537ba55eb01667dd5c7">IsRowMarked</a>(RowIndex <a class="code" href="markowitz_8cc.html#aea35f36ba98d5bbd8d033382f50c9e52">row</a>)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <span class="keywordflow">return</span> <a class="code" href="markowitz_8cc.html#aea35f36ba98d5bbd8d033382f50c9e52">row</a> &lt; is_row_deleted_.<a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html#a967a5c081ad4195a30c78dc2c0bcabf5">size</a>() &amp;&amp; is_row_deleted_[<a class="code" href="markowitz_8cc.html#aea35f36ba98d5bbd8d033382f50c9e52">row</a>];</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; }</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; </div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="comment">// From a solution without the deleted rows, expand it by restoring</span></div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <span class="comment">// the deleted rows to a VariableStatus::BASIC status with 0.0 value.</span></div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <span class="comment">// This latter value is important, many preprocessors rely on it.</span></div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a43e3b399f53b38b75171071c9d730c5b">RestoreDeletedRows</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; </div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseBooleanColumn</a> is_row_deleted_;</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;};</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; </div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;<span class="comment">// EmptyColumnPreprocessor</span></div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160;<span class="comment">// Removes the empty columns from the problem.</span></div>
<div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html"> 232</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html">EmptyColumnPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#a22ea86eb03c66e95abbe101fdafd2b62"> 234</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#a22ea86eb03c66e95abbe101fdafd2b62">EmptyColumnPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#aa7e7cab45ded21e21b5f8f0c0193de77"> 236</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#aa7e7cab45ded21e21b5f8f0c0193de77">EmptyColumnPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html">EmptyColumnPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#a1c376c19b70138a17b1e5fa662ddc377"> 237</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html">EmptyColumnPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#a1c376c19b70138a17b1e5fa662ddc377">operator=</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html">EmptyColumnPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#a562dd5bea364681f5958eddb768f86d1"> 238</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#a562dd5bea364681f5958eddb768f86d1">~EmptyColumnPreprocessor</a>() final {}</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; </div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html">ColumnDeletionHelper</a> column_deletion_helper_;</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;};</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; </div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160;<span class="comment">// ProportionalColumnPreprocessor</span></div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;<span class="comment">// Removes the proportional columns from the problem when possible. Two columns</span></div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160;<span class="comment">// are proportional if one is a non-zero scalar multiple of the other.</span></div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;<span class="comment">// Note that in the linear programming literature, two proportional columns are</span></div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;<span class="comment">// usually called duplicates. The notion is the same once the problem has been</span></div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;<span class="comment">// scaled. However, during presolve the columns can&#39;t be assumed to be scaled,</span></div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;<span class="comment">// so it makes sense to use the more general notion of proportional columns.</span></div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html"> 256</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html">ProportionalColumnPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a5280327b91fbaa8a919c34747f3d6a5d"> 258</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a5280327b91fbaa8a919c34747f3d6a5d">ProportionalColumnPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a24c86de28d8ae31530fd5940c6491e42"> 260</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a24c86de28d8ae31530fd5940c6491e42">ProportionalColumnPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html">ProportionalColumnPreprocessor</a>&amp;) =</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a904b95a81c87a6affd7db7d5f6b1f4d7"> 262</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html">ProportionalColumnPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a904b95a81c87a6affd7db7d5f6b1f4d7">operator=</a>(</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html">ProportionalColumnPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#ac6b053d9b35c88e8b78ce1e63f85a8fb"> 264</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#ac6b053d9b35c88e8b78ce1e63f85a8fb">~ProportionalColumnPreprocessor</a>() final {}</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a9b05a9f964815a4f53a54ae02613fc8e"> 267</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a9b05a9f964815a4f53a54ae02613fc8e">UseInMipContext</a>() final { LOG(FATAL) &lt;&lt; <span class="stringliteral">&quot;Not implemented.&quot;</span>; }</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; </div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <span class="comment">// Postsolve information about proportional columns with the same scaled cost</span></div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <span class="comment">// that were merged during presolve.</span></div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; </div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <span class="comment">// The proportionality factor of each column. If two columns are proportional</span></div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <span class="comment">// with factor p1 and p2 then p1 times the first column is the same as p2</span></div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <span class="comment">// times the second column.</span></div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a> column_factors_;</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; </div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="comment">// If merged_columns_[col] != kInvalidCol, then column col has been merged</span></div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; <span class="comment">// into the column merged_columns_[col].</span></div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">ColMapping</a> merged_columns_;</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; </div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <span class="comment">// The old and new variable bounds.</span></div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a> lower_bounds_;</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a> upper_bounds_;</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a> new_lower_bounds_;</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a> new_upper_bounds_;</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; </div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html">ColumnDeletionHelper</a> column_deletion_helper_;</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160;};</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; </div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160;<span class="comment">// ProportionalRowPreprocessor</span></div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160;<span class="comment">// Removes the proportional rows from the problem.</span></div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;<span class="comment">// The linear programming literature also calls such rows duplicates, see the</span></div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;<span class="comment">// same remark above for columns in ProportionalColumnPreprocessor.</span></div>
<div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html"> 297</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html">ProportionalRowPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#a6854c2df62a5131f3266b9f789809df0"> 299</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#a6854c2df62a5131f3266b9f789809df0">ProportionalRowPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#aa72278988e697a29a8dcae9c0dc69ed4"> 301</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#aa72278988e697a29a8dcae9c0dc69ed4">ProportionalRowPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html">ProportionalRowPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#ac811cbfc335ae97f79555b97e617400f"> 302</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html">ProportionalRowPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#ac811cbfc335ae97f79555b97e617400f">operator=</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html">ProportionalRowPreprocessor</a>&amp;) =</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00304"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#a522e62f02c6b806d9235d9b0acd3f8ed"> 304</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#a522e62f02c6b806d9235d9b0acd3f8ed">~ProportionalRowPreprocessor</a>() final {}</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; </div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <span class="comment">// Informations about proportional rows, only filled for such rows.</span></div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseColumn</a> row_factors_;</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">RowMapping</a> upper_bound_sources_;</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">RowMapping</a> lower_bound_sources_;</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; </div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; <span class="keywordtype">bool</span> lp_is_maximization_problem_;</div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html">RowDeletionHelper</a> row_deletion_helper_;</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160;};</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; </div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160;<span class="comment">// SingletonPreprocessor</span></div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160;<span class="comment">// Removes as many singleton rows and singleton columns as possible from the</span></div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160;<span class="comment">// problem. Note that not all types of singleton columns can be removed. See the</span></div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160;<span class="comment">// comments below on the SingletonPreprocessor functions for more details.</span></div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160;<span class="comment">// TODO(user): Generalize the design used in this preprocessor to a general</span></div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160;<span class="comment">// &quot;propagation&quot; framework in order to apply as many reductions as possible in</span></div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160;<span class="comment">// an efficient manner.</span></div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; </div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160;<span class="comment">// Holds a triplet (row, col, coefficient).</span></div>
<div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="structoperations__research_1_1glop_1_1MatrixEntry.html"> 330</a></span>&#160;<span class="keyword">struct </span>MatrixEntry {</div>
<div class="line"><a name="l00331"></a><span class="lineno"><a class="line" href="structoperations__research_1_1glop_1_1MatrixEntry.html#a9ed70be231bc7c63b1958f4aade2c443"> 331</a></span>&#160; <a class="code" href="structoperations__research_1_1glop_1_1MatrixEntry.html#a9ed70be231bc7c63b1958f4aade2c443">MatrixEntry</a>(RowIndex _row, ColIndex _col, <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> _coeff)</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; : <a class="code" href="markowitz_8cc.html#aea35f36ba98d5bbd8d033382f50c9e52">row</a>(_row), <a class="code" href="markowitz_8cc.html#aa9d6c98fdf8d89b0e2321fda02adc82c">col</a>(_col), <a class="code" href="structoperations__research_1_1glop_1_1MatrixEntry.html#a1473614b2ace570d3ebaccb2b04149e4">coeff</a>(_coeff) {}</div>
<div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="structoperations__research_1_1glop_1_1MatrixEntry.html#aea35f36ba98d5bbd8d033382f50c9e52"> 333</a></span>&#160; RowIndex <a class="code" href="structoperations__research_1_1glop_1_1MatrixEntry.html#aea35f36ba98d5bbd8d033382f50c9e52">row</a>;</div>
<div class="line"><a name="l00334"></a><span class="lineno"><a class="line" href="structoperations__research_1_1glop_1_1MatrixEntry.html#aa9d6c98fdf8d89b0e2321fda02adc82c"> 334</a></span>&#160; ColIndex <a class="code" href="structoperations__research_1_1glop_1_1MatrixEntry.html#aa9d6c98fdf8d89b0e2321fda02adc82c">col</a>;</div>
<div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="structoperations__research_1_1glop_1_1MatrixEntry.html#a1473614b2ace570d3ebaccb2b04149e4"> 335</a></span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> <a class="code" href="structoperations__research_1_1glop_1_1MatrixEntry.html#a1473614b2ace570d3ebaccb2b04149e4">coeff</a>;</div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160;};</div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; </div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160;<span class="comment">// Stores the information needed to undo a singleton row/column deletion.</span></div>
<div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonUndo.html"> 339</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1SingletonUndo.html">SingletonUndo</a> {</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; <span class="comment">// The type of a given operation.</span></div>
<div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047"> 342</a></span>&#160; <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047a25c2ad27a05323ecadd63096cde29538"> 343</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047a25c2ad27a05323ecadd63096cde29538">ZERO_COST_SINGLETON_COLUMN</a>,</div>
<div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047a003bca6275374734c52d66fb1a9ea10c"> 344</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047a003bca6275374734c52d66fb1a9ea10c">SINGLETON_ROW</a>,</div>
<div class="line"><a name="l00345"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047a723392e031e932ce6773d9ba469ccfa9"> 345</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047a723392e031e932ce6773d9ba469ccfa9">SINGLETON_COLUMN_IN_EQUALITY</a>,</div>
<div class="line"><a name="l00346"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047a629106ec8d53390d18c3f330156486ec"> 346</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047a629106ec8d53390d18c3f330156486ec">MAKE_CONSTRAINT_AN_EQUALITY</a>,</div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; } <a class="code" href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047">OperationType</a>;</div>
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; </div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; <span class="comment">// Stores the information, which together with the field deleted_columns_ and</span></div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; <span class="comment">// deleted_rows_ of SingletonPreprocessor, are needed to undo an operation</span></div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160; <span class="comment">// with the given type. Note that all the arguments must refer to the linear</span></div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160; <span class="comment">// program BEFORE the operation is applied.</span></div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SingletonUndo.html#a91238ea5ce3d56a927b2fa4b68b3e9aa">SingletonUndo</a>(<a class="code" href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047">OperationType</a> type, <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>&amp; lp, MatrixEntry e,</div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#ad59b85e44037bd502a5d8bd3fe16c0f9">ConstraintStatus</a> status);</div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; </div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; <span class="comment">// Undo the operation saved in this class, taking into account the deleted</span></div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; <span class="comment">// columns and rows passed by the calling instance of SingletonPreprocessor.</span></div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; <span class="comment">// Note that the operations must be undone in the reverse order of the one</span></div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; <span class="comment">// in which they were applied.</span></div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1SingletonUndo.html#ab55c02f6db7b2044d8a1093ebd3dbf2f">Undo</a>(<span class="keyword">const</span> GlopParameters&amp; <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>,</div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrix.html">SparseMatrix</a>&amp; deleted_columns,</div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrix.html">SparseMatrix</a>&amp; deleted_rows, <a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160; </div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160; <span class="comment">// Actual undo functions for each OperationType.</span></div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; <span class="comment">// Undo() just calls the correct one.</span></div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; <span class="keywordtype">void</span> SingletonRowUndo(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrix.html">SparseMatrix</a>&amp; deleted_columns,</div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; <a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; <span class="keywordtype">void</span> ZeroCostSingletonColumnUndo(<span class="keyword">const</span> GlopParameters&amp; <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>,</div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrix.html">SparseMatrix</a>&amp; deleted_rows,</div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160; <a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160; <span class="keywordtype">void</span> SingletonColumnInEqualityUndo(<span class="keyword">const</span> GlopParameters&amp; <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>,</div>
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrix.html">SparseMatrix</a>&amp; deleted_rows,</div>
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160; <a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160; <span class="keywordtype">void</span> MakeConstraintAnEqualityUndo(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160; </div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160; <span class="comment">// All the information needed during undo.</span></div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047">OperationType</a> type_;</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160; <span class="keywordtype">bool</span> is_maximization_;</div>
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160; MatrixEntry e_;</div>
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> cost_;</div>
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; </div>
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160; <span class="comment">// TODO(user): regroup the pair (lower bound, upper bound) in a bound class?</span></div>
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> variable_lower_bound_;</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> variable_upper_bound_;</div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> constraint_lower_bound_;</div>
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> constraint_upper_bound_;</div>
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; </div>
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160; <span class="comment">// This in only used with MAKE_CONSTRAINT_AN_EQUALITY undo.</span></div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160; <span class="comment">// TODO(user): Clean that up using many Undo classes and virtual functions.</span></div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#ad59b85e44037bd502a5d8bd3fe16c0f9">ConstraintStatus</a> constraint_status_;</div>
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160;};</div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160; </div>
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160;<span class="comment">// Deletes as many singleton rows or singleton columns as possible. Note that</span></div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160;<span class="comment">// each time we delete a row or a column, new singletons may be created.</span></div>
<div class="line"><a name="l00396"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html"> 396</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html">SingletonPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00398"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#a89e21398ea3e86419e3ec9fd1d886d9b"> 398</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#a89e21398ea3e86419e3ec9fd1d886d9b">SingletonPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00400"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#a176565a9e09ccee68a0d2a2ab963a472"> 400</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#a176565a9e09ccee68a0d2a2ab963a472">SingletonPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html">SingletonPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00401"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#ae676da4e2e0fbfa1a6aaac64b7ecb106"> 401</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html">SingletonPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#ae676da4e2e0fbfa1a6aaac64b7ecb106">operator=</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html">SingletonPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00402"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#a524a9fdcebb48f78937a46b0072c8b4f"> 402</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#a524a9fdcebb48f78937a46b0072c8b4f">~SingletonPreprocessor</a>() final {}</div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160; </div>
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160; <span class="comment">// Returns the MatrixEntry of the given singleton row or column, taking into</span></div>
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160; <span class="comment">// account the rows and columns that were already deleted.</span></div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160; MatrixEntry GetSingletonColumnMatrixEntry(ColIndex <a class="code" href="markowitz_8cc.html#aa9d6c98fdf8d89b0e2321fda02adc82c">col</a>,</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrix.html">SparseMatrix</a>&amp; matrix);</div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160; MatrixEntry GetSingletonRowMatrixEntry(RowIndex <a class="code" href="markowitz_8cc.html#aea35f36ba98d5bbd8d033382f50c9e52">row</a>,</div>
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrix.html">SparseMatrix</a>&amp; matrix_transpose);</div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160; </div>
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>&#160; <span class="comment">// A singleton row can always be removed by changing the corresponding</span></div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160; <span class="comment">// variable bounds to take into account the bounds on this singleton row.</span></div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160; <span class="keywordtype">void</span> DeleteSingletonRow(MatrixEntry e, <a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp);</div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160; </div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160; <span class="comment">// Internal operation when removing a zero-cost singleton column corresponding</span></div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>&#160; <span class="comment">// to the given entry. This modifies the constraint bounds to take into acount</span></div>
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>&#160; <span class="comment">// the bounds of the corresponding variable.</span></div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160; <span class="keywordtype">void</span> UpdateConstraintBoundsWithVariableBounds(MatrixEntry e,</div>
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp);</div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160; </div>
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>&#160; <span class="comment">// A singleton column with a cost of zero can always be removed by changing</span></div>
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>&#160; <span class="comment">// the corresponding constraint bounds to take into acount the bound of this</span></div>
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>&#160; <span class="comment">// singleton column.</span></div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>&#160; <span class="keywordtype">void</span> DeleteZeroCostSingletonColumn(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrix.html">SparseMatrix</a>&amp; matrix_transpose,</div>
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>&#160; MatrixEntry e, <a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp);</div>
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>&#160; </div>
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>&#160; <span class="comment">// Returns true if the constraint associated to the given singleton column was</span></div>
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160; <span class="comment">// an equality or could be made one:</span></div>
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; <span class="comment">// If a singleton variable is free in a direction that improves the cost, then</span></div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160; <span class="comment">// we can always move it as much as possible in this direction. Only the</span></div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160; <span class="comment">// constraint will stop us, making it an equality. If the constraint doesn&#39;t</span></div>
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>&#160; <span class="comment">// stop us, then the program is unbounded (provided that there is a feasible</span></div>
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160; <span class="comment">// solution).</span></div>
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160; <span class="comment">//</span></div>
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>&#160; <span class="comment">// Note that this operation does not need any &quot;undo&quot; during the post-solve. At</span></div>
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160; <span class="comment">// optimality, the dual value on the constraint row will be of the correct</span></div>
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>&#160; <span class="comment">// sign, and relaxing the constraint bound will not impact the dual</span></div>
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>&#160; <span class="comment">// feasibility of the solution.</span></div>
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>&#160; <span class="comment">//</span></div>
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>&#160; <span class="comment">// TODO(user): this operation can be generalized to columns with just one</span></div>
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160; <span class="comment">// blocking constraint. Investigate how to use this. The &#39;reverse&#39; can</span></div>
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>&#160; <span class="comment">// probably also be done, relaxing a constraint that is blocking a</span></div>
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>&#160; <span class="comment">// unconstrained variable.</span></div>
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span>&#160; <span class="keywordtype">bool</span> MakeConstraintAnEqualityIfPossible(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrix.html">SparseMatrix</a>&amp; matrix_transpose,</div>
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span>&#160; MatrixEntry e, <a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp);</div>
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160; </div>
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>&#160; <span class="comment">// If a singleton column appears in an equality, we can remove its cost by</span></div>
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160; <span class="comment">// changing the other variables cost using the constraint. We can then delete</span></div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160; <span class="comment">// the column like in DeleteZeroCostSingletonColumn().</span></div>
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160; <span class="keywordtype">void</span> DeleteSingletonColumnInEquality(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrix.html">SparseMatrix</a>&amp; matrix_transpose,</div>
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160; MatrixEntry e, <a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp);</div>
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160; </div>
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html">ColumnDeletionHelper</a> column_deletion_helper_;</div>
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html">RowDeletionHelper</a> row_deletion_helper_;</div>
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>&#160; std::vector&lt;SingletonUndo&gt; undo_stack_;</div>
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>&#160; </div>
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>&#160; <span class="comment">// This is used as a &quot;cache&quot; by MakeConstraintAnEqualityIfPossible() to avoid</span></div>
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>&#160; <span class="comment">// scanning more than once each row. See the code to see how this is used.</span></div>
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>&#160; <a class="code" href="classgtl_1_1ITIVector.html">gtl::ITIVector&lt;RowIndex, bool&gt;</a> row_sum_is_cached_;</div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>&#160; <a class="code" href="classgtl_1_1ITIVector.html">gtl::ITIVector&lt;RowIndex, SumWithNegativeInfiniteAndOneMissing&gt;</a> row_lb_sum_;</div>
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>&#160; <a class="code" href="classgtl_1_1ITIVector.html">gtl::ITIVector&lt;RowIndex, SumWithPositiveInfiniteAndOneMissing&gt;</a> row_ub_sum_;</div>
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>&#160; </div>
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>&#160; <span class="comment">// The columns that are deleted by this preprocessor.</span></div>
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrix.html">SparseMatrix</a> deleted_columns_;</div>
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>&#160; <span class="comment">// The transpose of the rows that are deleted by this preprocessor.</span></div>
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>&#160; <span class="comment">// TODO(user): implement a RowMajorSparseMatrix class to simplify the code.</span></div>
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrix.html">SparseMatrix</a> deleted_rows_;</div>
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span>&#160;};</div>
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>&#160; </div>
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span>&#160;<span class="comment">// FixedVariablePreprocessor</span></div>
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160;<span class="comment">// Removes the fixed variables from the problem.</span></div>
<div class="line"><a name="l00477"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html"> 477</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html">FixedVariablePreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00479"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#ae0bf56eb47306d84be8265b1192744c1"> 479</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#ae0bf56eb47306d84be8265b1192744c1">FixedVariablePreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00481"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#a132b473031437bdf30739066e648c8b2"> 481</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#a132b473031437bdf30739066e648c8b2">FixedVariablePreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html">FixedVariablePreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00482"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#a5167b6664abcc5a0117acda29e0381ab"> 482</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html">FixedVariablePreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#a5167b6664abcc5a0117acda29e0381ab">operator=</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html">FixedVariablePreprocessor</a>&amp;) =</div>
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span>&#160; <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00484"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#a52863badcb27ddf95c5fb621d21c31ac"> 484</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#a52863badcb27ddf95c5fb621d21c31ac">~FixedVariablePreprocessor</a>() final {}</div>
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span>&#160; </div>
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html">ColumnDeletionHelper</a> column_deletion_helper_;</div>
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160;};</div>
<div class="line"><a name="l00491"></a><span class="lineno"> 491</span>&#160; </div>
<div class="line"><a name="l00492"></a><span class="lineno"> 492</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span>&#160;<span class="comment">// ForcingAndImpliedFreeConstraintPreprocessor</span></div>
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160;<span class="comment">// This preprocessor computes for each constraint row the bounds that are</span></div>
<div class="line"><a name="l00496"></a><span class="lineno"> 496</span>&#160;<span class="comment">// implied by the variable bounds and applies one of the following reductions:</span></div>
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00498"></a><span class="lineno"> 498</span>&#160;<span class="comment">// * If the intersection of the implied bounds and the current constraint bounds</span></div>
<div class="line"><a name="l00499"></a><span class="lineno"> 499</span>&#160;<span class="comment">// is empty (modulo some tolerance), the problem is INFEASIBLE.</span></div>
<div class="line"><a name="l00500"></a><span class="lineno"> 500</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00501"></a><span class="lineno"> 501</span>&#160;<span class="comment">// * If the intersection of the implied bounds and the current constraint bounds</span></div>
<div class="line"><a name="l00502"></a><span class="lineno"> 502</span>&#160;<span class="comment">// is a singleton (modulo some tolerance), then the constraint is said to be</span></div>
<div class="line"><a name="l00503"></a><span class="lineno"> 503</span>&#160;<span class="comment">// forcing and all the variables that appear in it can be fixed to one of their</span></div>
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span>&#160;<span class="comment">// bounds. All these columns and the constraint row is removed.</span></div>
<div class="line"><a name="l00505"></a><span class="lineno"> 505</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00506"></a><span class="lineno"> 506</span>&#160;<span class="comment">// * If the implied bounds are included inside the current constraint bounds</span></div>
<div class="line"><a name="l00507"></a><span class="lineno"> 507</span>&#160;<span class="comment">// (modulo some tolerance) then the constraint is said to be redundant or</span></div>
<div class="line"><a name="l00508"></a><span class="lineno"> 508</span>&#160;<span class="comment">// implied free. Its bounds are relaxed and the constraint will be removed</span></div>
<div class="line"><a name="l00509"></a><span class="lineno"> 509</span>&#160;<span class="comment">// later by the FreeConstraintPreprocessor.</span></div>
<div class="line"><a name="l00510"></a><span class="lineno"> 510</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00511"></a><span class="lineno"> 511</span>&#160;<span class="comment">// * Otherwise, wo do nothing.</span></div>
<div class="line"><a name="l00512"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html"> 512</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html">ForcingAndImpliedFreeConstraintPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00513"></a><span class="lineno"> 513</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00514"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#a0563f77c80dd8025bf3b115a1b8b7b4d"> 514</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#a0563f77c80dd8025bf3b115a1b8b7b4d">ForcingAndImpliedFreeConstraintPreprocessor</a>(</div>
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span>&#160; <span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00516"></a><span class="lineno"> 516</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00517"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#a4f3e9492cd4c4a04365e9a194e5764a2"> 517</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#a4f3e9492cd4c4a04365e9a194e5764a2">ForcingAndImpliedFreeConstraintPreprocessor</a>(</div>
<div class="line"><a name="l00518"></a><span class="lineno"> 518</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html">ForcingAndImpliedFreeConstraintPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00519"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#ac0c8e96fc5c1a456eb7b2379ef8b3e45"> 519</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html">ForcingAndImpliedFreeConstraintPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#ac0c8e96fc5c1a456eb7b2379ef8b3e45">operator=</a>(</div>
<div class="line"><a name="l00520"></a><span class="lineno"> 520</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html">ForcingAndImpliedFreeConstraintPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00521"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#aefcf813e4a7861524ee6ae8cbf2580c1"> 521</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#aefcf813e4a7861524ee6ae8cbf2580c1">~ForcingAndImpliedFreeConstraintPreprocessor</a>() final {}</div>
<div class="line"><a name="l00522"></a><span class="lineno"> 522</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00523"></a><span class="lineno"> 523</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00524"></a><span class="lineno"> 524</span>&#160; </div>
<div class="line"><a name="l00525"></a><span class="lineno"> 525</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00526"></a><span class="lineno"> 526</span>&#160; <span class="keywordtype">bool</span> lp_is_maximization_problem_;</div>
<div class="line"><a name="l00527"></a><span class="lineno"> 527</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrix.html">SparseMatrix</a> deleted_columns_;</div>
<div class="line"><a name="l00528"></a><span class="lineno"> 528</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a> costs_;</div>
<div class="line"><a name="l00529"></a><span class="lineno"> 529</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseBooleanColumn</a> is_forcing_up_;</div>
<div class="line"><a name="l00530"></a><span class="lineno"> 530</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html">ColumnDeletionHelper</a> column_deletion_helper_;</div>
<div class="line"><a name="l00531"></a><span class="lineno"> 531</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html">RowDeletionHelper</a> row_deletion_helper_;</div>
<div class="line"><a name="l00532"></a><span class="lineno"> 532</span>&#160;};</div>
<div class="line"><a name="l00533"></a><span class="lineno"> 533</span>&#160; </div>
<div class="line"><a name="l00534"></a><span class="lineno"> 534</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00535"></a><span class="lineno"> 535</span>&#160;<span class="comment">// ImpliedFreePreprocessor</span></div>
<div class="line"><a name="l00536"></a><span class="lineno"> 536</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00537"></a><span class="lineno"> 537</span>&#160;<span class="comment">// It is possible to compute &quot;implied&quot; bounds on a variable from the bounds of</span></div>
<div class="line"><a name="l00538"></a><span class="lineno"> 538</span>&#160;<span class="comment">// all the other variables and the constraints in which this variable take</span></div>
<div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160;<span class="comment">// place. If such &quot;implied&quot; bounds are inside the variable bounds, then the</span></div>
<div class="line"><a name="l00540"></a><span class="lineno"> 540</span>&#160;<span class="comment">// variable bounds can be relaxed and the variable is said to be &quot;implied free&quot;.</span></div>
<div class="line"><a name="l00541"></a><span class="lineno"> 541</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00542"></a><span class="lineno"> 542</span>&#160;<span class="comment">// This preprocessor detects the implied free variables and make as many as</span></div>
<div class="line"><a name="l00543"></a><span class="lineno"> 543</span>&#160;<span class="comment">// possible free with a priority towards low-degree columns. This transformation</span></div>
<div class="line"><a name="l00544"></a><span class="lineno"> 544</span>&#160;<span class="comment">// will make the simplex algorithm more efficient later, but will also make it</span></div>
<div class="line"><a name="l00545"></a><span class="lineno"> 545</span>&#160;<span class="comment">// possible to reduce the problem by applying subsequent transformations:</span></div>
<div class="line"><a name="l00546"></a><span class="lineno"> 546</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00547"></a><span class="lineno"> 547</span>&#160;<span class="comment">// * The SingletonPreprocessor already deals with implied free singleton</span></div>
<div class="line"><a name="l00548"></a><span class="lineno"> 548</span>&#160;<span class="comment">// variables and removes the columns and the rows in which they appear.</span></div>
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00550"></a><span class="lineno"> 550</span>&#160;<span class="comment">// * Any multiple of the column of a free variable can be added to any other</span></div>
<div class="line"><a name="l00551"></a><span class="lineno"> 551</span>&#160;<span class="comment">// column without changing the linear program solution. This is the dual</span></div>
<div class="line"><a name="l00552"></a><span class="lineno"> 552</span>&#160;<span class="comment">// counterpart of the fact that any multiple of an equality row can be added to</span></div>
<div class="line"><a name="l00553"></a><span class="lineno"> 553</span>&#160;<span class="comment">// any row.</span></div>
<div class="line"><a name="l00554"></a><span class="lineno"> 554</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00555"></a><span class="lineno"> 555</span>&#160;<span class="comment">// TODO(user): Only process doubleton columns so we have more chance in the</span></div>
<div class="line"><a name="l00556"></a><span class="lineno"> 556</span>&#160;<span class="comment">// later passes to create more doubleton columns? Such columns lead to a smaller</span></div>
<div class="line"><a name="l00557"></a><span class="lineno"> 557</span>&#160;<span class="comment">// problem thanks to the DoubletonFreeColumnPreprocessor.</span></div>
<div class="line"><a name="l00558"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html"> 558</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html">ImpliedFreePreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00559"></a><span class="lineno"> 559</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00560"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#a728998b7c54333eef65561f76ac4ea8a"> 560</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#a728998b7c54333eef65561f76ac4ea8a">ImpliedFreePreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00561"></a><span class="lineno"> 561</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00562"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#a5e0ed7e1f3c5170815b419da38427cb9"> 562</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#a5e0ed7e1f3c5170815b419da38427cb9">ImpliedFreePreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html">ImpliedFreePreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00563"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#a187e7d2cfd40e7a9bad97f26b4f3532c"> 563</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html">ImpliedFreePreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#a187e7d2cfd40e7a9bad97f26b4f3532c">operator=</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html">ImpliedFreePreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00564"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#aba10f38c3ce6db88e79c75382feb2b94"> 564</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#aba10f38c3ce6db88e79c75382feb2b94">~ImpliedFreePreprocessor</a>() final {}</div>
<div class="line"><a name="l00565"></a><span class="lineno"> 565</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00566"></a><span class="lineno"> 566</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00567"></a><span class="lineno"> 567</span>&#160; </div>
<div class="line"><a name="l00568"></a><span class="lineno"> 568</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00569"></a><span class="lineno"> 569</span>&#160; <span class="comment">// This preprocessor adds fixed offsets to some variables. We remember those</span></div>
<div class="line"><a name="l00570"></a><span class="lineno"> 570</span>&#160; <span class="comment">// here to un-offset them in RecoverSolution().</span></div>
<div class="line"><a name="l00571"></a><span class="lineno"> 571</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a> variable_offsets_;</div>
<div class="line"><a name="l00572"></a><span class="lineno"> 572</span>&#160; </div>
<div class="line"><a name="l00573"></a><span class="lineno"> 573</span>&#160; <span class="comment">// This preprocessor causes some variables who would normally be</span></div>
<div class="line"><a name="l00574"></a><span class="lineno"> 574</span>&#160; <span class="comment">// AT_{LOWER,UPPER}_BOUND to be VariableStatus::FREE. We store the restore</span></div>
<div class="line"><a name="l00575"></a><span class="lineno"> 575</span>&#160; <span class="comment">// value of these variables; which will only be used (eg. restored) if the</span></div>
<div class="line"><a name="l00576"></a><span class="lineno"> 576</span>&#160; <span class="comment">// variable actually turns out to be VariableStatus::FREE.</span></div>
<div class="line"><a name="l00577"></a><span class="lineno"> 577</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">VariableStatusRow</a> postsolve_status_of_free_variables_;</div>
<div class="line"><a name="l00578"></a><span class="lineno"> 578</span>&#160;};</div>
<div class="line"><a name="l00579"></a><span class="lineno"> 579</span>&#160; </div>
<div class="line"><a name="l00580"></a><span class="lineno"> 580</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00581"></a><span class="lineno"> 581</span>&#160;<span class="comment">// DoubletonFreeColumnPreprocessor</span></div>
<div class="line"><a name="l00582"></a><span class="lineno"> 582</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00583"></a><span class="lineno"> 583</span>&#160;<span class="comment">// This preprocessor removes one of the two rows in which a doubleton column of</span></div>
<div class="line"><a name="l00584"></a><span class="lineno"> 584</span>&#160;<span class="comment">// a free variable appears. Since we can add any multiple of such a column to</span></div>
<div class="line"><a name="l00585"></a><span class="lineno"> 585</span>&#160;<span class="comment">// any other column, the way this works is that we can always remove all the</span></div>
<div class="line"><a name="l00586"></a><span class="lineno"> 586</span>&#160;<span class="comment">// entries on one row.</span></div>
<div class="line"><a name="l00587"></a><span class="lineno"> 587</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00588"></a><span class="lineno"> 588</span>&#160;<span class="comment">// Actually, we can remove all the entries except the one of the free column.</span></div>
<div class="line"><a name="l00589"></a><span class="lineno"> 589</span>&#160;<span class="comment">// But we will be left with a singleton row that we can delete in the same way</span></div>
<div class="line"><a name="l00590"></a><span class="lineno"> 590</span>&#160;<span class="comment">// as what is done in SingletonPreprocessor. That is by reporting the constraint</span></div>
<div class="line"><a name="l00591"></a><span class="lineno"> 591</span>&#160;<span class="comment">// bounds into the one of the originally free variable. After this operation,</span></div>
<div class="line"><a name="l00592"></a><span class="lineno"> 592</span>&#160;<span class="comment">// the doubleton free column will become a singleton and may or may not be</span></div>
<div class="line"><a name="l00593"></a><span class="lineno"> 593</span>&#160;<span class="comment">// removed later by the SingletonPreprocessor.</span></div>
<div class="line"><a name="l00594"></a><span class="lineno"> 594</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00595"></a><span class="lineno"> 595</span>&#160;<span class="comment">// Note that this preprocessor can be seen as the dual of the</span></div>
<div class="line"><a name="l00596"></a><span class="lineno"> 596</span>&#160;<span class="comment">// DoubletonEqualityRowPreprocessor since when taking the dual, an equality row</span></div>
<div class="line"><a name="l00597"></a><span class="lineno"> 597</span>&#160;<span class="comment">// becomes a free variable and vice versa.</span></div>
<div class="line"><a name="l00598"></a><span class="lineno"> 598</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00599"></a><span class="lineno"> 599</span>&#160;<span class="comment">// Note(user): As far as I know, this doubleton free column procedure is more</span></div>
<div class="line"><a name="l00600"></a><span class="lineno"> 600</span>&#160;<span class="comment">// general than what can be found in the research papers or in any of the linear</span></div>
<div class="line"><a name="l00601"></a><span class="lineno"> 601</span>&#160;<span class="comment">// solver open source codes as of July 2013. All of them only process such</span></div>
<div class="line"><a name="l00602"></a><span class="lineno"> 602</span>&#160;<span class="comment">// columns if one of the two rows is also an equality which is not actually</span></div>
<div class="line"><a name="l00603"></a><span class="lineno"> 603</span>&#160;<span class="comment">// required. Most probably, commercial solvers do use it though.</span></div>
<div class="line"><a name="l00604"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html"> 604</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html">DoubletonFreeColumnPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00605"></a><span class="lineno"> 605</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00606"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#ae23fb85f638884ef4a17fa8fdb2aa816"> 606</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#ae23fb85f638884ef4a17fa8fdb2aa816">DoubletonFreeColumnPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00607"></a><span class="lineno"> 607</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00608"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#ad61cb24b35e078099109377abf934825"> 608</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#ad61cb24b35e078099109377abf934825">DoubletonFreeColumnPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html">DoubletonFreeColumnPreprocessor</a>&amp;) =</div>
<div class="line"><a name="l00609"></a><span class="lineno"> 609</span>&#160; <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00610"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#af4809c8f27fba190507a1af9a05289bd"> 610</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html">DoubletonFreeColumnPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#af4809c8f27fba190507a1af9a05289bd">operator=</a>(</div>
<div class="line"><a name="l00611"></a><span class="lineno"> 611</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html">DoubletonFreeColumnPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00612"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#aafe5553d4d7b0927477cc855dce6e192"> 612</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#aafe5553d4d7b0927477cc855dce6e192">~DoubletonFreeColumnPreprocessor</a>() final {}</div>
<div class="line"><a name="l00613"></a><span class="lineno"> 613</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00614"></a><span class="lineno"> 614</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00615"></a><span class="lineno"> 615</span>&#160; </div>
<div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00617"></a><span class="lineno"> 617</span>&#160; <span class="keyword">enum</span> RowChoice {</div>
<div class="line"><a name="l00618"></a><span class="lineno"> 618</span>&#160; DELETED = 0,</div>
<div class="line"><a name="l00619"></a><span class="lineno"> 619</span>&#160; MODIFIED = 1,</div>
<div class="line"><a name="l00620"></a><span class="lineno"> 620</span>&#160; <span class="comment">// This is just a constant for the number of rows in a doubleton column.</span></div>
<div class="line"><a name="l00621"></a><span class="lineno"> 621</span>&#160; <span class="comment">// That is 2, one will be DELETED, the other MODIFIED.</span></div>
<div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160; NUM_ROWS = 2,</div>
<div class="line"><a name="l00623"></a><span class="lineno"> 623</span>&#160; };</div>
<div class="line"><a name="l00624"></a><span class="lineno"> 624</span>&#160; <span class="keyword">struct </span>RestoreInfo {</div>
<div class="line"><a name="l00625"></a><span class="lineno"> 625</span>&#160; <span class="comment">// The index of the original free doubleton column and its objective.</span></div>
<div class="line"><a name="l00626"></a><span class="lineno"> 626</span>&#160; ColIndex <a class="code" href="markowitz_8cc.html#aa9d6c98fdf8d89b0e2321fda02adc82c">col</a>;</div>
<div class="line"><a name="l00627"></a><span class="lineno"> 627</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> objective_coefficient;</div>
<div class="line"><a name="l00628"></a><span class="lineno"> 628</span>&#160; </div>
<div class="line"><a name="l00629"></a><span class="lineno"> 629</span>&#160; <span class="comment">// The row indices of the two involved rows and their coefficients on</span></div>
<div class="line"><a name="l00630"></a><span class="lineno"> 630</span>&#160; <span class="comment">// column col.</span></div>
<div class="line"><a name="l00631"></a><span class="lineno"> 631</span>&#160; RowIndex <a class="code" href="markowitz_8cc.html#aea35f36ba98d5bbd8d033382f50c9e52">row</a>[NUM_ROWS];</div>
<div class="line"><a name="l00632"></a><span class="lineno"> 632</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> coeff[NUM_ROWS];</div>
<div class="line"><a name="l00633"></a><span class="lineno"> 633</span>&#160; </div>
<div class="line"><a name="l00634"></a><span class="lineno"> 634</span>&#160; <span class="comment">// The deleted row as a column.</span></div>
<div class="line"><a name="l00635"></a><span class="lineno"> 635</span>&#160; SparseColumn deleted_row_as_column;</div>
<div class="line"><a name="l00636"></a><span class="lineno"> 636</span>&#160; };</div>
<div class="line"><a name="l00637"></a><span class="lineno"> 637</span>&#160; </div>
<div class="line"><a name="l00638"></a><span class="lineno"> 638</span>&#160; std::vector&lt;RestoreInfo&gt; restore_stack_;</div>
<div class="line"><a name="l00639"></a><span class="lineno"> 639</span>&#160; RowDeletionHelper row_deletion_helper_;</div>
<div class="line"><a name="l00640"></a><span class="lineno"> 640</span>&#160;};</div>
<div class="line"><a name="l00641"></a><span class="lineno"> 641</span>&#160; </div>
<div class="line"><a name="l00642"></a><span class="lineno"> 642</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00643"></a><span class="lineno"> 643</span>&#160;<span class="comment">// UnconstrainedVariablePreprocessor</span></div>
<div class="line"><a name="l00644"></a><span class="lineno"> 644</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00645"></a><span class="lineno"> 645</span>&#160;<span class="comment">// If for a given variable, none of the constraints block it in one direction</span></div>
<div class="line"><a name="l00646"></a><span class="lineno"> 646</span>&#160;<span class="comment">// and this direction improves the objective, then this variable can be fixed to</span></div>
<div class="line"><a name="l00647"></a><span class="lineno"> 647</span>&#160;<span class="comment">// its bound in this direction. If this bound is infinite and the variable cost</span></div>
<div class="line"><a name="l00648"></a><span class="lineno"> 648</span>&#160;<span class="comment">// is non-zero, then the problem is unbounded.</span></div>
<div class="line"><a name="l00649"></a><span class="lineno"> 649</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00650"></a><span class="lineno"> 650</span>&#160;<span class="comment">// More generally, by using the constraints and the variables that are unbounded</span></div>
<div class="line"><a name="l00651"></a><span class="lineno"> 651</span>&#160;<span class="comment">// on one side, one can derive bounds on the dual values. These can be</span></div>
<div class="line"><a name="l00652"></a><span class="lineno"> 652</span>&#160;<span class="comment">// translated into bounds on the reduced costs or the columns, which may force</span></div>
<div class="line"><a name="l00653"></a><span class="lineno"> 653</span>&#160;<span class="comment">// variables to their bounds. This is called forcing and dominated columns in</span></div>
<div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160;<span class="comment">// the Andersen &amp; Andersen paper.</span></div>
<div class="line"><a name="l00655"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html"> 655</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html">UnconstrainedVariablePreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00656"></a><span class="lineno"> 656</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00657"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#a5f60a2c75e1374d16ec98004cded4cab"> 657</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#a5f60a2c75e1374d16ec98004cded4cab">UnconstrainedVariablePreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00658"></a><span class="lineno"> 658</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00659"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#ab69e3351ef4395c724ee4da5838e129a"> 659</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#ab69e3351ef4395c724ee4da5838e129a">UnconstrainedVariablePreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html">UnconstrainedVariablePreprocessor</a>&amp;) =</div>
<div class="line"><a name="l00660"></a><span class="lineno"> 660</span>&#160; <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00661"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#a4287b8e9d3d7eb54bbd1a1e31650e1cb"> 661</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html">UnconstrainedVariablePreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#a4287b8e9d3d7eb54bbd1a1e31650e1cb">operator=</a>(</div>
<div class="line"><a name="l00662"></a><span class="lineno"> 662</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html">UnconstrainedVariablePreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00663"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#ad6ae0f6cc0bedcfc58aebad81eb60774"> 663</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#ad6ae0f6cc0bedcfc58aebad81eb60774">~UnconstrainedVariablePreprocessor</a>() final {}</div>
<div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00665"></a><span class="lineno"> 665</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00666"></a><span class="lineno"> 666</span>&#160; </div>
<div class="line"><a name="l00667"></a><span class="lineno"> 667</span>&#160; <span class="comment">// Removes the given variable and all the rows in which it appears: If a</span></div>
<div class="line"><a name="l00668"></a><span class="lineno"> 668</span>&#160; <span class="comment">// variable is unconstrained with a zero cost, then all the constraints in</span></div>
<div class="line"><a name="l00669"></a><span class="lineno"> 669</span>&#160; <span class="comment">// which it appears can be made free! More precisely, during postsolve, if</span></div>
<div class="line"><a name="l00670"></a><span class="lineno"> 670</span>&#160; <span class="comment">// such a variable is unconstrained towards +kInfinity, for any activity value</span></div>
<div class="line"><a name="l00671"></a><span class="lineno"> 671</span>&#160; <span class="comment">// of the involved constraints, an M exists such that for each value of the</span></div>
<div class="line"><a name="l00672"></a><span class="lineno"> 672</span>&#160; <span class="comment">// variable &gt;= M the problem will be feasible.</span></div>
<div class="line"><a name="l00673"></a><span class="lineno"> 673</span>&#160; <span class="comment">//</span></div>
<div class="line"><a name="l00674"></a><span class="lineno"> 674</span>&#160; <span class="comment">// The algorithm during postsolve is to find a feasible value for all such</span></div>
<div class="line"><a name="l00675"></a><span class="lineno"> 675</span>&#160; <span class="comment">// variables while trying to keep their magnitudes small (for better numerical</span></div>
<div class="line"><a name="l00676"></a><span class="lineno"> 676</span>&#160; <span class="comment">// behavior). target_bound should take only two possible values: +/-kInfinity.</span></div>
<div class="line"><a name="l00677"></a><span class="lineno"> 677</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#a16b556cc08c1f6802a387420e5d038f2">RemoveZeroCostUnconstrainedVariable</a>(ColIndex <a class="code" href="markowitz_8cc.html#aa9d6c98fdf8d89b0e2321fda02adc82c">col</a>,</div>
<div class="line"><a name="l00678"></a><span class="lineno"> 678</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> <a class="code" href="revised__simplex_8cc.html#ae985c429ef4bec190816ed836d6cf2c2">target_bound</a>,</div>
<div class="line"><a name="l00679"></a><span class="lineno"> 679</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp);</div>
<div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160; </div>
<div class="line"><a name="l00681"></a><span class="lineno"> 681</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00682"></a><span class="lineno"> 682</span>&#160; <span class="comment">// Lower/upper bounds on the feasible dual value. We use constraints and</span></div>
<div class="line"><a name="l00683"></a><span class="lineno"> 683</span>&#160; <span class="comment">// variables unbounded in one direction to derive these bounds. We use these</span></div>
<div class="line"><a name="l00684"></a><span class="lineno"> 684</span>&#160; <span class="comment">// bounds to compute bounds on the reduced costs of the problem variables.</span></div>
<div class="line"><a name="l00685"></a><span class="lineno"> 685</span>&#160; <span class="comment">// Note that any finite bounds on a reduced cost means that the variable</span></div>
<div class="line"><a name="l00686"></a><span class="lineno"> 686</span>&#160; <span class="comment">// (ignoring its domain) can move freely in one direction.</span></div>
<div class="line"><a name="l00687"></a><span class="lineno"> 687</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseColumn</a> dual_lb_;</div>
<div class="line"><a name="l00688"></a><span class="lineno"> 688</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseColumn</a> dual_ub_;</div>
<div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160; </div>
<div class="line"><a name="l00690"></a><span class="lineno"> 690</span>&#160; <span class="comment">// Indicates if a given column may have participated in the current lb/ub</span></div>
<div class="line"><a name="l00691"></a><span class="lineno"> 691</span>&#160; <span class="comment">// on the reduced cost of the same column.</span></div>
<div class="line"><a name="l00692"></a><span class="lineno"> 692</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseBooleanRow</a> may_have_participated_ub_;</div>
<div class="line"><a name="l00693"></a><span class="lineno"> 693</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseBooleanRow</a> may_have_participated_lb_;</div>
<div class="line"><a name="l00694"></a><span class="lineno"> 694</span>&#160; </div>
<div class="line"><a name="l00695"></a><span class="lineno"> 695</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html">ColumnDeletionHelper</a> column_deletion_helper_;</div>
<div class="line"><a name="l00696"></a><span class="lineno"> 696</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html">RowDeletionHelper</a> row_deletion_helper_;</div>
<div class="line"><a name="l00697"></a><span class="lineno"> 697</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseColumn</a> rhs_;</div>
<div class="line"><a name="l00698"></a><span class="lineno"> 698</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseColumn</a> activity_sign_correction_;</div>
<div class="line"><a name="l00699"></a><span class="lineno"> 699</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseBooleanRow</a> is_unbounded_;</div>
<div class="line"><a name="l00700"></a><span class="lineno"> 700</span>&#160; </div>
<div class="line"><a name="l00701"></a><span class="lineno"> 701</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrix.html">SparseMatrix</a> deleted_columns_;</div>
<div class="line"><a name="l00702"></a><span class="lineno"> 702</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrix.html">SparseMatrix</a> deleted_rows_as_column_;</div>
<div class="line"><a name="l00703"></a><span class="lineno"> 703</span>&#160;};</div>
<div class="line"><a name="l00704"></a><span class="lineno"> 704</span>&#160; </div>
<div class="line"><a name="l00705"></a><span class="lineno"> 705</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00706"></a><span class="lineno"> 706</span>&#160;<span class="comment">// FreeConstraintPreprocessor</span></div>
<div class="line"><a name="l00707"></a><span class="lineno"> 707</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00708"></a><span class="lineno"> 708</span>&#160;<span class="comment">// Removes the constraints with no bounds from the problem.</span></div>
<div class="line"><a name="l00709"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html"> 709</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html">FreeConstraintPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00710"></a><span class="lineno"> 710</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00711"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#ab874b8c3235f68add3d37eaecc64dfaa"> 711</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#ab874b8c3235f68add3d37eaecc64dfaa">FreeConstraintPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00712"></a><span class="lineno"> 712</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00713"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#a5f0397f910b3e47128bf9b52508e181a"> 713</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#a5f0397f910b3e47128bf9b52508e181a">FreeConstraintPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html">FreeConstraintPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00714"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#a43a2d7a5c73c6b9c4eeebd4c02e0933d"> 714</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html">FreeConstraintPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#a43a2d7a5c73c6b9c4eeebd4c02e0933d">operator=</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html">FreeConstraintPreprocessor</a>&amp;) =</div>
<div class="line"><a name="l00715"></a><span class="lineno"> 715</span>&#160; <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00716"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#ab1bfd0781f320be0a48e6697dd7d70cf"> 716</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#ab1bfd0781f320be0a48e6697dd7d70cf">~FreeConstraintPreprocessor</a>() final {}</div>
<div class="line"><a name="l00717"></a><span class="lineno"> 717</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00718"></a><span class="lineno"> 718</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00719"></a><span class="lineno"> 719</span>&#160; </div>
<div class="line"><a name="l00720"></a><span class="lineno"> 720</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00721"></a><span class="lineno"> 721</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html">RowDeletionHelper</a> row_deletion_helper_;</div>
<div class="line"><a name="l00722"></a><span class="lineno"> 722</span>&#160;};</div>
<div class="line"><a name="l00723"></a><span class="lineno"> 723</span>&#160; </div>
<div class="line"><a name="l00724"></a><span class="lineno"> 724</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00725"></a><span class="lineno"> 725</span>&#160;<span class="comment">// EmptyConstraintPreprocessor</span></div>
<div class="line"><a name="l00726"></a><span class="lineno"> 726</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00727"></a><span class="lineno"> 727</span>&#160;<span class="comment">// Removes the constraints with no coefficients from the problem.</span></div>
<div class="line"><a name="l00728"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html"> 728</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html">EmptyConstraintPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00729"></a><span class="lineno"> 729</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00730"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#ae4473cf2c6416433d296fb2f0de105ab"> 730</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#ae4473cf2c6416433d296fb2f0de105ab">EmptyConstraintPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00731"></a><span class="lineno"> 731</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00732"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#a788212a55171faff43a07b7207507a6f"> 732</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#a788212a55171faff43a07b7207507a6f">EmptyConstraintPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html">EmptyConstraintPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00733"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#ae4cddf9d2da4c9c8a9f0fb20f8a6a38b"> 733</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html">EmptyConstraintPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#ae4cddf9d2da4c9c8a9f0fb20f8a6a38b">operator=</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html">EmptyConstraintPreprocessor</a>&amp;) =</div>
<div class="line"><a name="l00734"></a><span class="lineno"> 734</span>&#160; <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00735"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#a4defef18f2b0b3bf00721584c7a40964"> 735</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#a4defef18f2b0b3bf00721584c7a40964">~EmptyConstraintPreprocessor</a>() final {}</div>
<div class="line"><a name="l00736"></a><span class="lineno"> 736</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00737"></a><span class="lineno"> 737</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00738"></a><span class="lineno"> 738</span>&#160; </div>
<div class="line"><a name="l00739"></a><span class="lineno"> 739</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00740"></a><span class="lineno"> 740</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1RowDeletionHelper.html">RowDeletionHelper</a> row_deletion_helper_;</div>
<div class="line"><a name="l00741"></a><span class="lineno"> 741</span>&#160;};</div>
<div class="line"><a name="l00742"></a><span class="lineno"> 742</span>&#160; </div>
<div class="line"><a name="l00743"></a><span class="lineno"> 743</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00744"></a><span class="lineno"> 744</span>&#160;<span class="comment">// RemoveNearZeroEntriesPreprocessor</span></div>
<div class="line"><a name="l00745"></a><span class="lineno"> 745</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00746"></a><span class="lineno"> 746</span>&#160;<span class="comment">// Removes matrix entries that have only a negligible impact on the solution.</span></div>
<div class="line"><a name="l00747"></a><span class="lineno"> 747</span>&#160;<span class="comment">// Using the variable bounds, we derive a maximum possible impact, and remove</span></div>
<div class="line"><a name="l00748"></a><span class="lineno"> 748</span>&#160;<span class="comment">// the entries whose impact is under a given tolerance.</span></div>
<div class="line"><a name="l00749"></a><span class="lineno"> 749</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00750"></a><span class="lineno"> 750</span>&#160;<span class="comment">// TODO(user): This preprocessor doesn&#39;t work well on badly scaled problems. In</span></div>
<div class="line"><a name="l00751"></a><span class="lineno"> 751</span>&#160;<span class="comment">// particular, it will set the objective to zero if all the objective</span></div>
<div class="line"><a name="l00752"></a><span class="lineno"> 752</span>&#160;<span class="comment">// coefficients are small! Run it after ScalingPreprocessor or fix the code.</span></div>
<div class="line"><a name="l00753"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html"> 753</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html">RemoveNearZeroEntriesPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00754"></a><span class="lineno"> 754</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00755"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#a8628b9c1aa7f6487d3d414f782e6958f"> 755</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#a8628b9c1aa7f6487d3d414f782e6958f">RemoveNearZeroEntriesPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00756"></a><span class="lineno"> 756</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00757"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#ae295a8645cb8114b3897b1d65ed1aaa1"> 757</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#ae295a8645cb8114b3897b1d65ed1aaa1">RemoveNearZeroEntriesPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html">RemoveNearZeroEntriesPreprocessor</a>&amp;) =</div>
<div class="line"><a name="l00758"></a><span class="lineno"> 758</span>&#160; <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00759"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#a247ca380a86ecd3a0d5402ca7d33acea"> 759</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html">RemoveNearZeroEntriesPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#a247ca380a86ecd3a0d5402ca7d33acea">operator=</a>(</div>
<div class="line"><a name="l00760"></a><span class="lineno"> 760</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html">RemoveNearZeroEntriesPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00761"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#aba19abb6cec9cfefeeef5c6bc6903e81"> 761</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#aba19abb6cec9cfefeeef5c6bc6903e81">~RemoveNearZeroEntriesPreprocessor</a>() final {}</div>
<div class="line"><a name="l00762"></a><span class="lineno"> 762</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00763"></a><span class="lineno"> 763</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00764"></a><span class="lineno"> 764</span>&#160; </div>
<div class="line"><a name="l00765"></a><span class="lineno"> 765</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00766"></a><span class="lineno"> 766</span>&#160;};</div>
<div class="line"><a name="l00767"></a><span class="lineno"> 767</span>&#160; </div>
<div class="line"><a name="l00768"></a><span class="lineno"> 768</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00769"></a><span class="lineno"> 769</span>&#160;<span class="comment">// SingletonColumnSignPreprocessor</span></div>
<div class="line"><a name="l00770"></a><span class="lineno"> 770</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00771"></a><span class="lineno"> 771</span>&#160;<span class="comment">// Make sure that the only coefficient of all singleton columns (i.e. column</span></div>
<div class="line"><a name="l00772"></a><span class="lineno"> 772</span>&#160;<span class="comment">// with only one entry) is positive. This is because this way the column will</span></div>
<div class="line"><a name="l00773"></a><span class="lineno"> 773</span>&#160;<span class="comment">// be transformed in an identity column by the scaling. This will lead to more</span></div>
<div class="line"><a name="l00774"></a><span class="lineno"> 774</span>&#160;<span class="comment">// efficient solve when this column is involved.</span></div>
<div class="line"><a name="l00775"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html"> 775</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html">SingletonColumnSignPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00776"></a><span class="lineno"> 776</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00777"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#aa21024dd4b3a5713947b0587e1817b90"> 777</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#aa21024dd4b3a5713947b0587e1817b90">SingletonColumnSignPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00778"></a><span class="lineno"> 778</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00779"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#af25470c518f04bd8f545df617bd7f467"> 779</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#af25470c518f04bd8f545df617bd7f467">SingletonColumnSignPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html">SingletonColumnSignPreprocessor</a>&amp;) =</div>
<div class="line"><a name="l00780"></a><span class="lineno"> 780</span>&#160; <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00781"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#a9e4034a5477b47e5855ef0b93656ea1f"> 781</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html">SingletonColumnSignPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#a9e4034a5477b47e5855ef0b93656ea1f">operator=</a>(</div>
<div class="line"><a name="l00782"></a><span class="lineno"> 782</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html">SingletonColumnSignPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00783"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#a398d2d8cb8808f6b8351d79c3982667b"> 783</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#a398d2d8cb8808f6b8351d79c3982667b">~SingletonColumnSignPreprocessor</a>() final {}</div>
<div class="line"><a name="l00784"></a><span class="lineno"> 784</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00785"></a><span class="lineno"> 785</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00786"></a><span class="lineno"> 786</span>&#160; </div>
<div class="line"><a name="l00787"></a><span class="lineno"> 787</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00788"></a><span class="lineno"> 788</span>&#160; std::vector&lt;ColIndex&gt; changed_columns_;</div>
<div class="line"><a name="l00789"></a><span class="lineno"> 789</span>&#160;};</div>
<div class="line"><a name="l00790"></a><span class="lineno"> 790</span>&#160; </div>
<div class="line"><a name="l00791"></a><span class="lineno"> 791</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00792"></a><span class="lineno"> 792</span>&#160;<span class="comment">// DoubletonEqualityRowPreprocessor</span></div>
<div class="line"><a name="l00793"></a><span class="lineno"> 793</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00794"></a><span class="lineno"> 794</span>&#160;<span class="comment">// Reduce equality constraints involving two variables (i.e. aX + bY = c),</span></div>
<div class="line"><a name="l00795"></a><span class="lineno"> 795</span>&#160;<span class="comment">// by substitution (and thus removal) of one of the variables by the other</span></div>
<div class="line"><a name="l00796"></a><span class="lineno"> 796</span>&#160;<span class="comment">// in all the constraints that it is involved in.</span></div>
<div class="line"><a name="l00797"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html"> 797</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html">DoubletonEqualityRowPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00798"></a><span class="lineno"> 798</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00799"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a6eb6d8e5410e7abf05020415574a1758"> 799</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a6eb6d8e5410e7abf05020415574a1758">DoubletonEqualityRowPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00800"></a><span class="lineno"> 800</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00801"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a412ff468086906fc7e74f474e9900dbf"> 801</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a412ff468086906fc7e74f474e9900dbf">DoubletonEqualityRowPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html">DoubletonEqualityRowPreprocessor</a>&amp;) =</div>
<div class="line"><a name="l00802"></a><span class="lineno"> 802</span>&#160; <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00803"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a71d97a88e4aa6d9bb51b0bb0f5a955bf"> 803</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html">DoubletonEqualityRowPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a71d97a88e4aa6d9bb51b0bb0f5a955bf">operator=</a>(</div>
<div class="line"><a name="l00804"></a><span class="lineno"> 804</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html">DoubletonEqualityRowPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00805"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a044b35f90977e8a419f26cfa5f4837b6"> 805</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a044b35f90977e8a419f26cfa5f4837b6">~DoubletonEqualityRowPreprocessor</a>() final {}</div>
<div class="line"><a name="l00806"></a><span class="lineno"> 806</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00807"></a><span class="lineno"> 807</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00808"></a><span class="lineno"> 808</span>&#160; </div>
<div class="line"><a name="l00809"></a><span class="lineno"> 809</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00810"></a><span class="lineno"> 810</span>&#160; <span class="keyword">enum</span> ColChoice {</div>
<div class="line"><a name="l00811"></a><span class="lineno"> 811</span>&#160; DELETED = 0,</div>
<div class="line"><a name="l00812"></a><span class="lineno"> 812</span>&#160; MODIFIED = 1,</div>
<div class="line"><a name="l00813"></a><span class="lineno"> 813</span>&#160; <span class="comment">// For for() loops iterating over the ColChoice values, and/or arrays.</span></div>
<div class="line"><a name="l00814"></a><span class="lineno"> 814</span>&#160; NUM_DOUBLETON_COLS = 2,</div>
<div class="line"><a name="l00815"></a><span class="lineno"> 815</span>&#160; };</div>
<div class="line"><a name="l00816"></a><span class="lineno"> 816</span>&#160; <span class="keyword">static</span> ColChoice OtherColChoice(ColChoice x) {</div>
<div class="line"><a name="l00817"></a><span class="lineno"> 817</span>&#160; <span class="keywordflow">return</span> x == DELETED ? MODIFIED : DELETED;</div>
<div class="line"><a name="l00818"></a><span class="lineno"> 818</span>&#160; }</div>
<div class="line"><a name="l00819"></a><span class="lineno"> 819</span>&#160; </div>
<div class="line"><a name="l00820"></a><span class="lineno"> 820</span>&#160; ColumnDeletionHelper column_deletion_helper_;</div>
<div class="line"><a name="l00821"></a><span class="lineno"> 821</span>&#160; RowDeletionHelper row_deletion_helper_;</div>
<div class="line"><a name="l00822"></a><span class="lineno"> 822</span>&#160; </div>
<div class="line"><a name="l00823"></a><span class="lineno"> 823</span>&#160; <span class="keyword">struct </span>RestoreInfo {</div>
<div class="line"><a name="l00824"></a><span class="lineno"> 824</span>&#160; <span class="comment">// The row index of the doubleton equality constraint, and its constant.</span></div>
<div class="line"><a name="l00825"></a><span class="lineno"> 825</span>&#160; RowIndex <a class="code" href="markowitz_8cc.html#aea35f36ba98d5bbd8d033382f50c9e52">row</a>;</div>
<div class="line"><a name="l00826"></a><span class="lineno"> 826</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> rhs; <span class="comment">// The constant c in the equality aX + bY = c.</span></div>
<div class="line"><a name="l00827"></a><span class="lineno"> 827</span>&#160; </div>
<div class="line"><a name="l00828"></a><span class="lineno"> 828</span>&#160; <span class="comment">// The indices and the data of the two columns that we touched, exactly</span></div>
<div class="line"><a name="l00829"></a><span class="lineno"> 829</span>&#160; <span class="comment">// as they were beforehand.</span></div>
<div class="line"><a name="l00830"></a><span class="lineno"> 830</span>&#160; ColIndex <a class="code" href="markowitz_8cc.html#aa9d6c98fdf8d89b0e2321fda02adc82c">col</a>[NUM_DOUBLETON_COLS];</div>
<div class="line"><a name="l00831"></a><span class="lineno"> 831</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> coeff[NUM_DOUBLETON_COLS];</div>
<div class="line"><a name="l00832"></a><span class="lineno"> 832</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> lb[NUM_DOUBLETON_COLS];</div>
<div class="line"><a name="l00833"></a><span class="lineno"> 833</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> ub[NUM_DOUBLETON_COLS];</div>
<div class="line"><a name="l00834"></a><span class="lineno"> 834</span>&#160; SparseColumn column[NUM_DOUBLETON_COLS];</div>
<div class="line"><a name="l00835"></a><span class="lineno"> 835</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> objective_coefficient[NUM_DOUBLETON_COLS];</div>
<div class="line"><a name="l00836"></a><span class="lineno"> 836</span>&#160; </div>
<div class="line"><a name="l00837"></a><span class="lineno"> 837</span>&#160; <span class="comment">// If the modified variable has status AT_[LOWER,UPPER]_BOUND, then we&#39;ll</span></div>
<div class="line"><a name="l00838"></a><span class="lineno"> 838</span>&#160; <span class="comment">// set one of the two original variables to one of its bounds, and set the</span></div>
<div class="line"><a name="l00839"></a><span class="lineno"> 839</span>&#160; <span class="comment">// other to VariableStatus::BASIC. We store this information (which variable</span></div>
<div class="line"><a name="l00840"></a><span class="lineno"> 840</span>&#160; <span class="comment">// will be set to one of its bounds, and which bound) for each possible</span></div>
<div class="line"><a name="l00841"></a><span class="lineno"> 841</span>&#160; <span class="comment">// outcome.</span></div>
<div class="line"><a name="l00842"></a><span class="lineno"><a class="line" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html"> 842</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html">ColChoiceAndStatus</a> {</div>
<div class="line"><a name="l00843"></a><span class="lineno"><a class="line" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#ad9a7a69580012bd79b5e46d39bddee80"> 843</a></span>&#160; ColChoice <a class="code" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#ad9a7a69580012bd79b5e46d39bddee80">col_choice</a>;</div>
<div class="line"><a name="l00844"></a><span class="lineno"><a class="line" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#ae01600784dc2a3768696f55aa374d093"> 844</a></span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a1ac488f3db89f6d16a85c56f3243290c">VariableStatus</a> <a class="code" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#ae01600784dc2a3768696f55aa374d093">status</a>;</div>
<div class="line"><a name="l00845"></a><span class="lineno"><a class="line" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#a7807b13123f03224c0435ad7d2bcdb11"> 845</a></span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> <a class="code" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#a7807b13123f03224c0435ad7d2bcdb11">value</a>;</div>
<div class="line"><a name="l00846"></a><span class="lineno"><a class="line" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#ad0ed117cd073020d1d613dca84241a69"> 846</a></span>&#160; <a class="code" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#ad0ed117cd073020d1d613dca84241a69">ColChoiceAndStatus</a>() : <a class="code" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#ad9a7a69580012bd79b5e46d39bddee80">col_choice</a>(), <a class="code" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#ae01600784dc2a3768696f55aa374d093">status</a>(), <a class="code" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#a7807b13123f03224c0435ad7d2bcdb11">value</a>(0.0) {}</div>
<div class="line"><a name="l00847"></a><span class="lineno"><a class="line" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#a6274c135cea53fc16e739a129cd3af6a"> 847</a></span>&#160; <a class="code" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#a6274c135cea53fc16e739a129cd3af6a">ColChoiceAndStatus</a>(ColChoice c, <a class="code" href="namespaceoperations__research_1_1glop.html#a1ac488f3db89f6d16a85c56f3243290c">VariableStatus</a> s, <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> v)</div>
<div class="line"><a name="l00848"></a><span class="lineno"> 848</span>&#160; : <a class="code" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#ad9a7a69580012bd79b5e46d39bddee80">col_choice</a>(c), <a class="code" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#ae01600784dc2a3768696f55aa374d093">status</a>(s), <a class="code" href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#a7807b13123f03224c0435ad7d2bcdb11">value</a>(v) {}</div>
<div class="line"><a name="l00849"></a><span class="lineno"> 849</span>&#160; };</div>
<div class="line"><a name="l00850"></a><span class="lineno"> 850</span>&#160; ColChoiceAndStatus bound_backtracking_at_lower_bound;</div>
<div class="line"><a name="l00851"></a><span class="lineno"> 851</span>&#160; ColChoiceAndStatus bound_backtracking_at_upper_bound;</div>
<div class="line"><a name="l00852"></a><span class="lineno"> 852</span>&#160; };</div>
<div class="line"><a name="l00853"></a><span class="lineno"> 853</span>&#160; <span class="keywordtype">void</span> SwapDeletedAndModifiedVariableRestoreInfo(RestoreInfo* r);</div>
<div class="line"><a name="l00854"></a><span class="lineno"> 854</span>&#160; </div>
<div class="line"><a name="l00855"></a><span class="lineno"> 855</span>&#160; std::vector&lt;RestoreInfo&gt; restore_stack_;</div>
<div class="line"><a name="l00856"></a><span class="lineno"> 856</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseColumn</a> saved_row_lower_bounds_;</div>
<div class="line"><a name="l00857"></a><span class="lineno"> 857</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseColumn</a> saved_row_upper_bounds_;</div>
<div class="line"><a name="l00858"></a><span class="lineno"> 858</span>&#160;};</div>
<div class="line"><a name="l00859"></a><span class="lineno"> 859</span>&#160; </div>
<div class="line"><a name="l00860"></a><span class="lineno"> 860</span>&#160;<span class="comment">// Because of numerical imprecision, a preprocessor like</span></div>
<div class="line"><a name="l00861"></a><span class="lineno"> 861</span>&#160;<span class="comment">// DoubletonEqualityRowPreprocessor can transform a constraint/variable domain</span></div>
<div class="line"><a name="l00862"></a><span class="lineno"> 862</span>&#160;<span class="comment">// like [1, 1+1e-7] to a fixed domain (for ex by multiplying the above domain by</span></div>
<div class="line"><a name="l00863"></a><span class="lineno"> 863</span>&#160;<span class="comment">// 1e9). This causes an issue because at postsolve, a FIXED_VALUE status now</span></div>
<div class="line"><a name="l00864"></a><span class="lineno"> 864</span>&#160;<span class="comment">// needs to be transformed to a AT_LOWER_BOUND/AT_UPPER_BOUND status. This is</span></div>
<div class="line"><a name="l00865"></a><span class="lineno"> 865</span>&#160;<span class="comment">// what this function is doing for the constraint statuses only.</span></div>
<div class="line"><a name="l00866"></a><span class="lineno"> 866</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00867"></a><span class="lineno"> 867</span>&#160;<span class="comment">// TODO(user): A better solution would simply be to get rid of the FIXED status</span></div>
<div class="line"><a name="l00868"></a><span class="lineno"> 868</span>&#160;<span class="comment">// altogether, it is better to simply use AT_LOWER_BOUND/AT_UPPER_BOUND</span></div>
<div class="line"><a name="l00869"></a><span class="lineno"> 869</span>&#160;<span class="comment">// depending on the constraining bound in the optimal solution. Note that we can</span></div>
<div class="line"><a name="l00870"></a><span class="lineno"> 870</span>&#160;<span class="comment">// always at the end transform any variable/constraint with a fixed domain to</span></div>
<div class="line"><a name="l00871"></a><span class="lineno"> 871</span>&#160;<span class="comment">// FIXED_VALUE if needed to keep the same external API.</span></div>
<div class="line"><a name="l00872"></a><span class="lineno"> 872</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespaceoperations__research_1_1glop.html#a58ffd8db96c399242dc718221bdc81ee">FixConstraintWithFixedStatuses</a>(<span class="keyword">const</span> <a class="code" href="namespaceoperations__research_1_1glop.html#ae5fa9e57c2d31b294195ed8a9e17bfac">DenseColumn</a>&amp; row_lower_bounds,</div>
<div class="line"><a name="l00873"></a><span class="lineno"> 873</span>&#160; <span class="keyword">const</span> <a class="code" href="namespaceoperations__research_1_1glop.html#ae5fa9e57c2d31b294195ed8a9e17bfac">DenseColumn</a>&amp; row_upper_bounds,</div>
<div class="line"><a name="l00874"></a><span class="lineno"> 874</span>&#160; ProblemSolution* solution);</div>
<div class="line"><a name="l00875"></a><span class="lineno"> 875</span>&#160; </div>
<div class="line"><a name="l00876"></a><span class="lineno"> 876</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00877"></a><span class="lineno"> 877</span>&#160;<span class="comment">// DualizerPreprocessor</span></div>
<div class="line"><a name="l00878"></a><span class="lineno"> 878</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00879"></a><span class="lineno"> 879</span>&#160;<span class="comment">// DualizerPreprocessor may change the given program to its dual depending</span></div>
<div class="line"><a name="l00880"></a><span class="lineno"> 880</span>&#160;<span class="comment">// on the value of the parameter solve_dual_problem.</span></div>
<div class="line"><a name="l00881"></a><span class="lineno"> 881</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00882"></a><span class="lineno"> 882</span>&#160;<span class="comment">// IMPORTANT: FreeConstraintPreprocessor() must be called first since this</span></div>
<div class="line"><a name="l00883"></a><span class="lineno"> 883</span>&#160;<span class="comment">// preprocessor does not deal correctly with free constraints.</span></div>
<div class="line"><a name="l00884"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html"> 884</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html">DualizerPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00885"></a><span class="lineno"> 885</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00886"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a9c59c896087a74a8f9c0837407d18b6d"> 886</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a9c59c896087a74a8f9c0837407d18b6d">DualizerPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00887"></a><span class="lineno"> 887</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00888"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a07231f88dc3272eaa21df55fc0a35c8c"> 888</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a07231f88dc3272eaa21df55fc0a35c8c">DualizerPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html">DualizerPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00889"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a6b7cec7e77dd95310161ebb894678b78"> 889</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html">DualizerPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a6b7cec7e77dd95310161ebb894678b78">operator=</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html">DualizerPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00890"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a554697daecb9b8f7198e6d30643dae7e"> 890</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a554697daecb9b8f7198e6d30643dae7e">~DualizerPreprocessor</a>() final {}</div>
<div class="line"><a name="l00891"></a><span class="lineno"> 891</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00892"></a><span class="lineno"> 892</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00893"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a9b05a9f964815a4f53a54ae02613fc8e"> 893</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a9b05a9f964815a4f53a54ae02613fc8e">UseInMipContext</a>() final {</div>
<div class="line"><a name="l00894"></a><span class="lineno"> 894</span>&#160; LOG(FATAL) &lt;&lt; <span class="stringliteral">&quot;In the presence of integer variables, &quot;</span></div>
<div class="line"><a name="l00895"></a><span class="lineno"> 895</span>&#160; &lt;&lt; <span class="stringliteral">&quot;there is no notion of a dual problem.&quot;</span>;</div>
<div class="line"><a name="l00896"></a><span class="lineno"> 896</span>&#160; }</div>
<div class="line"><a name="l00897"></a><span class="lineno"> 897</span>&#160; </div>
<div class="line"><a name="l00898"></a><span class="lineno"> 898</span>&#160; <span class="comment">// Convert the given problem status to the one of its dual.</span></div>
<div class="line"><a name="l00899"></a><span class="lineno"> 899</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#ae8a885303349cb7807c7c87b405bc0c9">ProblemStatus</a> <a class="code" href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a8b7014a72cd02aa5a12eca1942447c06">ChangeStatusToDualStatus</a>(<a class="code" href="namespaceoperations__research_1_1glop.html#ae8a885303349cb7807c7c87b405bc0c9">ProblemStatus</a> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html#a2c776397337c7b38bcdb8e2b57653a6a">status</a>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00900"></a><span class="lineno"> 900</span>&#160; </div>
<div class="line"><a name="l00901"></a><span class="lineno"> 901</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00902"></a><span class="lineno"> 902</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a> variable_lower_bounds_;</div>
<div class="line"><a name="l00903"></a><span class="lineno"> 903</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a> variable_upper_bounds_;</div>
<div class="line"><a name="l00904"></a><span class="lineno"> 904</span>&#160; </div>
<div class="line"><a name="l00905"></a><span class="lineno"> 905</span>&#160; RowIndex primal_num_rows_;</div>
<div class="line"><a name="l00906"></a><span class="lineno"> 906</span>&#160; ColIndex primal_num_cols_;</div>
<div class="line"><a name="l00907"></a><span class="lineno"> 907</span>&#160; <span class="keywordtype">bool</span> primal_is_maximization_problem_;</div>
<div class="line"><a name="l00908"></a><span class="lineno"> 908</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">RowToColMapping</a> duplicated_rows_;</div>
<div class="line"><a name="l00909"></a><span class="lineno"> 909</span>&#160; </div>
<div class="line"><a name="l00910"></a><span class="lineno"> 910</span>&#160; <span class="comment">// For postsolving the variable/constraint statuses.</span></div>
<div class="line"><a name="l00911"></a><span class="lineno"> 911</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">VariableStatusRow</a> dual_status_correspondence_;</div>
<div class="line"><a name="l00912"></a><span class="lineno"> 912</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">ColMapping</a> slack_or_surplus_mapping_;</div>
<div class="line"><a name="l00913"></a><span class="lineno"> 913</span>&#160;};</div>
<div class="line"><a name="l00914"></a><span class="lineno"> 914</span>&#160; </div>
<div class="line"><a name="l00915"></a><span class="lineno"> 915</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00916"></a><span class="lineno"> 916</span>&#160;<span class="comment">// ShiftVariableBoundsPreprocessor</span></div>
<div class="line"><a name="l00917"></a><span class="lineno"> 917</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00918"></a><span class="lineno"> 918</span>&#160;<span class="comment">// For each variable, inspects its bounds and &quot;shift&quot; them if necessary, so that</span></div>
<div class="line"><a name="l00919"></a><span class="lineno"> 919</span>&#160;<span class="comment">// its domain contains zero. A variable that was shifted will always have at</span></div>
<div class="line"><a name="l00920"></a><span class="lineno"> 920</span>&#160;<span class="comment">// least one of its bounds to zero. Doing it all at once allows to have a better</span></div>
<div class="line"><a name="l00921"></a><span class="lineno"> 921</span>&#160;<span class="comment">// precision when modifying the constraint bounds by using an accurate summation</span></div>
<div class="line"><a name="l00922"></a><span class="lineno"> 922</span>&#160;<span class="comment">// algorithm.</span></div>
<div class="line"><a name="l00923"></a><span class="lineno"> 923</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00924"></a><span class="lineno"> 924</span>&#160;<span class="comment">// Example:</span></div>
<div class="line"><a name="l00925"></a><span class="lineno"> 925</span>&#160;<span class="comment">// - A variable with bound [1e10, infinity] will be shifted to [0, infinity].</span></div>
<div class="line"><a name="l00926"></a><span class="lineno"> 926</span>&#160;<span class="comment">// - A variable with domain [-1e10, 1e10] will not be shifted. Note that</span></div>
<div class="line"><a name="l00927"></a><span class="lineno"> 927</span>&#160;<span class="comment">// compared to the first case, doing so here may introduce unecessary</span></div>
<div class="line"><a name="l00928"></a><span class="lineno"> 928</span>&#160;<span class="comment">// numerical errors if the variable value in the final solution is close to</span></div>
<div class="line"><a name="l00929"></a><span class="lineno"> 929</span>&#160;<span class="comment">// zero.</span></div>
<div class="line"><a name="l00930"></a><span class="lineno"> 930</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00931"></a><span class="lineno"> 931</span>&#160;<span class="comment">// The expected impact of this is:</span></div>
<div class="line"><a name="l00932"></a><span class="lineno"> 932</span>&#160;<span class="comment">// - Better behavior of the scaling.</span></div>
<div class="line"><a name="l00933"></a><span class="lineno"> 933</span>&#160;<span class="comment">// - Better precision and numerical accuracy of the simplex method.</span></div>
<div class="line"><a name="l00934"></a><span class="lineno"> 934</span>&#160;<span class="comment">// - Slightly improved speed (because adding a column with a variable value of</span></div>
<div class="line"><a name="l00935"></a><span class="lineno"> 935</span>&#160;<span class="comment">// zero takes no work later).</span></div>
<div class="line"><a name="l00936"></a><span class="lineno"> 936</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00937"></a><span class="lineno"> 937</span>&#160;<span class="comment">// TODO(user): Having for each variable one of their bounds at zero is a</span></div>
<div class="line"><a name="l00938"></a><span class="lineno"> 938</span>&#160;<span class="comment">// requirement for the DualizerPreprocessor and for the implied free column in</span></div>
<div class="line"><a name="l00939"></a><span class="lineno"> 939</span>&#160;<span class="comment">// the ImpliedFreePreprocessor. However, shifting a variable with a domain like</span></div>
<div class="line"><a name="l00940"></a><span class="lineno"> 940</span>&#160;<span class="comment">// [-1e10, 1e10] may introduce numerical issues. Relax the definition of</span></div>
<div class="line"><a name="l00941"></a><span class="lineno"> 941</span>&#160;<span class="comment">// a free variable so that only having a domain containing 0.0 is enough?</span></div>
<div class="line"><a name="l00942"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html"> 942</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html">ShiftVariableBoundsPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00943"></a><span class="lineno"> 943</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00944"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a406d05ad2a78cf24e2d4e5965a06d505"> 944</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a406d05ad2a78cf24e2d4e5965a06d505">ShiftVariableBoundsPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00945"></a><span class="lineno"> 945</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00946"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a758a0cc3350e456968ffc2ad759310a4"> 946</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a758a0cc3350e456968ffc2ad759310a4">ShiftVariableBoundsPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html">ShiftVariableBoundsPreprocessor</a>&amp;) =</div>
<div class="line"><a name="l00947"></a><span class="lineno"> 947</span>&#160; <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00948"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a15f85d23e509bb299b02e8fa056bbac7"> 948</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html">ShiftVariableBoundsPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a15f85d23e509bb299b02e8fa056bbac7">operator=</a>(</div>
<div class="line"><a name="l00949"></a><span class="lineno"> 949</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html">ShiftVariableBoundsPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00950"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a86bf9994227f110c24051481a660df47"> 950</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a86bf9994227f110c24051481a660df47">~ShiftVariableBoundsPreprocessor</a>() final {}</div>
<div class="line"><a name="l00951"></a><span class="lineno"> 951</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00952"></a><span class="lineno"> 952</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00953"></a><span class="lineno"> 953</span>&#160; </div>
<div class="line"><a name="l00954"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#ab9e4df4e1908a6b0436a52d6807834fc"> 954</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#ab9e4df4e1908a6b0436a52d6807834fc">offsets</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> offsets_; }</div>
<div class="line"><a name="l00955"></a><span class="lineno"> 955</span>&#160; </div>
<div class="line"><a name="l00956"></a><span class="lineno"> 956</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00957"></a><span class="lineno"> 957</span>&#160; <span class="comment">// Contains for each variable by how much its bounds where shifted during</span></div>
<div class="line"><a name="l00958"></a><span class="lineno"> 958</span>&#160; <span class="comment">// presolve. Note that the shift was negative (new bound = initial bound -</span></div>
<div class="line"><a name="l00959"></a><span class="lineno"> 959</span>&#160; <span class="comment">// offset).</span></div>
<div class="line"><a name="l00960"></a><span class="lineno"> 960</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a> offsets_;</div>
<div class="line"><a name="l00961"></a><span class="lineno"> 961</span>&#160; <span class="comment">// Contains the initial problem bounds. They are needed to get the perfect</span></div>
<div class="line"><a name="l00962"></a><span class="lineno"> 962</span>&#160; <span class="comment">// numerical accuracy for variables at their bound after postsolve.</span></div>
<div class="line"><a name="l00963"></a><span class="lineno"> 963</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a> variable_initial_lbs_;</div>
<div class="line"><a name="l00964"></a><span class="lineno"> 964</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a> variable_initial_ubs_;</div>
<div class="line"><a name="l00965"></a><span class="lineno"> 965</span>&#160;};</div>
<div class="line"><a name="l00966"></a><span class="lineno"> 966</span>&#160; </div>
<div class="line"><a name="l00967"></a><span class="lineno"> 967</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00968"></a><span class="lineno"> 968</span>&#160;<span class="comment">// ScalingPreprocessor</span></div>
<div class="line"><a name="l00969"></a><span class="lineno"> 969</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00970"></a><span class="lineno"> 970</span>&#160;<span class="comment">// Scales the SparseMatrix of the linear program using a SparseMatrixScaler.</span></div>
<div class="line"><a name="l00971"></a><span class="lineno"> 971</span>&#160;<span class="comment">// This is only applied if the parameter use_scaling is true.</span></div>
<div class="line"><a name="l00972"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html"> 972</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html">ScalingPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00973"></a><span class="lineno"> 973</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00974"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#aebdf58351cca09399f756ba8f298f8c0"> 974</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#aebdf58351cca09399f756ba8f298f8c0">ScalingPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00975"></a><span class="lineno"> 975</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00976"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#aa49fbb4d4a6a32f21c6daf2ca8ff5602"> 976</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#aa49fbb4d4a6a32f21c6daf2ca8ff5602">ScalingPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html">ScalingPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00977"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#a2bbe974a6b7492a3ab9fbe49d8a8fb05"> 977</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html">ScalingPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#a2bbe974a6b7492a3ab9fbe49d8a8fb05">operator=</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html">ScalingPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00978"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#ab162fd2aea3e591eb9cb56bba79c80f8"> 978</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#ab162fd2aea3e591eb9cb56bba79c80f8">~ScalingPreprocessor</a>() final {}</div>
<div class="line"><a name="l00979"></a><span class="lineno"> 979</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l00980"></a><span class="lineno"> 980</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l00981"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#a9b05a9f964815a4f53a54ae02613fc8e"> 981</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#a9b05a9f964815a4f53a54ae02613fc8e">UseInMipContext</a>() final { LOG(FATAL) &lt;&lt; <span class="stringliteral">&quot;Not implemented.&quot;</span>; }</div>
<div class="line"><a name="l00982"></a><span class="lineno"> 982</span>&#160; </div>
<div class="line"><a name="l00983"></a><span class="lineno"> 983</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00984"></a><span class="lineno"> 984</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a> variable_lower_bounds_;</div>
<div class="line"><a name="l00985"></a><span class="lineno"> 985</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1StrictITIVector.html">DenseRow</a> variable_upper_bounds_;</div>
<div class="line"><a name="l00986"></a><span class="lineno"> 986</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> cost_scaling_factor_;</div>
<div class="line"><a name="l00987"></a><span class="lineno"> 987</span>&#160; <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> bound_scaling_factor_;</div>
<div class="line"><a name="l00988"></a><span class="lineno"> 988</span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1SparseMatrixScaler.html">SparseMatrixScaler</a> scaler_;</div>
<div class="line"><a name="l00989"></a><span class="lineno"> 989</span>&#160;};</div>
<div class="line"><a name="l00990"></a><span class="lineno"> 990</span>&#160; </div>
<div class="line"><a name="l00991"></a><span class="lineno"> 991</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00992"></a><span class="lineno"> 992</span>&#160;<span class="comment">// ToMinimizationPreprocessor</span></div>
<div class="line"><a name="l00993"></a><span class="lineno"> 993</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l00994"></a><span class="lineno"> 994</span>&#160;<span class="comment">// Changes the problem from maximization to minimization (if applicable).</span></div>
<div class="line"><a name="l00995"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html"> 995</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html">ToMinimizationPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l00996"></a><span class="lineno"> 996</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00997"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#a6dca9e326011060bd1aa01dd84d8a568"> 997</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#a6dca9e326011060bd1aa01dd84d8a568">ToMinimizationPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l00998"></a><span class="lineno"> 998</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l00999"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#a5056758980b7b11782307a0805b6251e"> 999</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#a5056758980b7b11782307a0805b6251e">ToMinimizationPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html">ToMinimizationPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l01000"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#a4cc617907bad93dabcdc31d1b0f980f5"> 1000</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html">ToMinimizationPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#a4cc617907bad93dabcdc31d1b0f980f5">operator=</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html">ToMinimizationPreprocessor</a>&amp;) =</div>
<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160; <span class="keyword">delete</span>;</div>
<div class="line"><a name="l01002"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#ab1dcd2b65a67272de23ec63110fda3a4"> 1002</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#ab1dcd2b65a67272de23ec63110fda3a4">~ToMinimizationPreprocessor</a>() final {}</div>
<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>&#160;};</div>
<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>&#160; </div>
<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>&#160;<span class="comment">// AddSlackVariablesPreprocessor</span></div>
<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>&#160;<span class="comment">// --------------------------------------------------------</span></div>
<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>&#160;<span class="comment">// Transforms the linear program to the equation form</span></div>
<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160;<span class="comment">// min c.x, s.t. A.x = 0. This is done by:</span></div>
<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160;<span class="comment">// 1. Introducing slack variables for all constraints; all these variables are</span></div>
<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>&#160;<span class="comment">// introduced with coefficient 1.0, and their bounds are set to be negative</span></div>
<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>&#160;<span class="comment">// bounds of the corresponding constraint.</span></div>
<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>&#160;<span class="comment">// 2. Changing the bounds of all constraints to (0, 0) to make them an equality.</span></div>
<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160;<span class="comment">// As a consequence, the matrix of the linear program always has full row rank</span></div>
<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>&#160;<span class="comment">// after this preprocessor. Note that the slack variables are always added last,</span></div>
<div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>&#160;<span class="comment">// so that the rightmost square sub-matrix is always the identity matrix.</span></div>
<div class="line"><a name="l01020"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html"> 1020</a></span>&#160;<span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html">AddSlackVariablesPreprocessor</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a> {</div>
<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l01022"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#a590bbc619c0079ea174d76f13689170e"> 1022</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#a590bbc619c0079ea174d76f13689170e">AddSlackVariablesPreprocessor</a>(<span class="keyword">const</span> GlopParameters* <a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>)</div>
<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160; : <a class="code" href="classoperations__research_1_1glop_1_1Preprocessor.html">Preprocessor</a>(<a class="code" href="cp__model__fz__solver_8cc.html#a10a1eab179b472c030bdc2a2efef7219">parameters</a>) {}</div>
<div class="line"><a name="l01024"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#a2eb5ad9a24b4d3a0a2a364850e5b699a"> 1024</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#a2eb5ad9a24b4d3a0a2a364850e5b699a">AddSlackVariablesPreprocessor</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html">AddSlackVariablesPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l01025"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#a917c483aa488a9bf48322d9958288566"> 1025</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html">AddSlackVariablesPreprocessor</a>&amp; <a class="code" href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#a917c483aa488a9bf48322d9958288566">operator=</a>(</div>
<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>&#160; <span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html">AddSlackVariablesPreprocessor</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l01027"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#ad7a6089e6fb93d30141a0e3fdf059e8d"> 1027</a></span>&#160; <a class="code" href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#ad7a6089e6fb93d30141a0e3fdf059e8d">~AddSlackVariablesPreprocessor</a>() final {}</div>
<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#a5d398cb6297813f547da141848e70bbc">Run</a>(<a class="code" href="classoperations__research_1_1glop_1_1LinearProgram.html">LinearProgram</a>* lp) <span class="keyword">final</span>;</div>
<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">RecoverSolution</a>(<a class="code" href="structoperations__research_1_1glop_1_1ProblemSolution.html">ProblemSolution</a>* solution) <span class="keyword">const</span> <span class="keyword">final</span>;</div>
<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>&#160; </div>
<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>&#160; ColIndex first_slack_col_;</div>
<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>&#160;};</div>
<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>&#160; </div>
<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>&#160;} <span class="comment">// namespace glop</span></div>
<div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>&#160;} <span class="comment">// namespace operations_research</span></div>
<div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>&#160; </div>
<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>&#160;<span class="preprocessor">#endif // OR_TOOLS_GLOP_PREPROCESSOR_H_</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RowDeletionHelper_html_a81e842468f08be1aa4a253e5f7cdfcfa"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a81e842468f08be1aa4a253e5f7cdfcfa">operations_research::glop::RowDeletionHelper::operator=</a></div><div class="ttdeci">RowDeletionHelper &amp; operator=(const RowDeletionHelper &amp;)=delete</div></div>
<div class="ttc" id="astructoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus_html_ad0ed117cd073020d1d613dca84241a69"><div class="ttname"><a href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#ad0ed117cd073020d1d613dca84241a69">operations_research::glop::DoubletonEqualityRowPreprocessor::RestoreInfo::ColChoiceAndStatus::ColChoiceAndStatus</a></div><div class="ttdeci">ColChoiceAndStatus()</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00846">preprocessor.h:846</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ToMinimizationPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html">operations_research::glop::ToMinimizationPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00995">preprocessor.h:995</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ImpliedFreePreprocessor_html_a5e0ed7e1f3c5170815b419da38427cb9"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#a5e0ed7e1f3c5170815b419da38427cb9">operations_research::glop::ImpliedFreePreprocessor::ImpliedFreePreprocessor</a></div><div class="ttdeci">ImpliedFreePreprocessor(const ImpliedFreePreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RowDeletionHelper_html_a2e33d930193e16f06f3c4d0309ff62c2"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a2e33d930193e16f06f3c4d0309ff62c2">operations_research::glop::RowDeletionHelper::UnmarkRow</a></div><div class="ttdeci">void UnmarkRow(RowIndex row)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00248">preprocessor.cc:248</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ToMinimizationPreprocessor_html_a5056758980b7b11782307a0805b6251e"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#a5056758980b7b11782307a0805b6251e">operations_research::glop::ToMinimizationPreprocessor::ToMinimizationPreprocessor</a></div><div class="ttdeci">ToMinimizationPreprocessor(const ToMinimizationPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonUndo_html_a9a2c9c31d675b34f6ec35cc1ca89e047a25c2ad27a05323ecadd63096cde29538"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047a25c2ad27a05323ecadd63096cde29538">operations_research::glop::SingletonUndo::ZERO_COST_SINGLETON_COLUMN</a></div><div class="ttdeci">@ ZERO_COST_SINGLETON_COLUMN</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00343">preprocessor.h:343</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor_html_ad61cb24b35e078099109377abf934825"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#ad61cb24b35e078099109377abf934825">operations_research::glop::DoubletonFreeColumnPreprocessor::DoubletonFreeColumnPreprocessor</a></div><div class="ttdeci">DoubletonFreeColumnPreprocessor(const DoubletonFreeColumnPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor_html_ae295a8645cb8114b3897b1d65ed1aaa1"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#ae295a8645cb8114b3897b1d65ed1aaa1">operations_research::glop::RemoveNearZeroEntriesPreprocessor::RemoveNearZeroEntriesPreprocessor</a></div><div class="ttdeci">RemoveNearZeroEntriesPreprocessor(const RemoveNearZeroEntriesPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html">operations_research::glop::UnconstrainedVariablePreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00655">preprocessor.h:655</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ColumnDeletionHelper_html_ab73f53154d99b3cd13dae72fd418985d"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#ab73f53154d99b3cd13dae72fd418985d">operations_research::glop::ColumnDeletionHelper::RestoreDeletedColumns</a></div><div class="ttdeci">void RestoreDeletedColumns(ProblemSolution *solution) const</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00207">preprocessor.cc:207</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ProportionalColumnPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html">operations_research::glop::ProportionalColumnPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00256">preprocessor.h:256</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::DoubletonEqualityRowPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l02887">preprocessor.cc:2887</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html">operations_research::glop::SingletonPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00396">preprocessor.h:396</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DualizerPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::DualizerPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l03300">preprocessor.cc:3300</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1FixedVariablePreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::FixedVariablePreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l01033">preprocessor.cc:1033</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::ShiftVariableBoundsPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l03433">preprocessor.cc:3433</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1EmptyColumnPreprocessor_html_aa7e7cab45ded21e21b5f8f0c0193de77"><div class="ttname"><a href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#aa7e7cab45ded21e21b5f8f0c0193de77">operations_research::glop::EmptyColumnPreprocessor::EmptyColumnPreprocessor</a></div><div class="ttdeci">EmptyColumnPreprocessor(const EmptyColumnPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_ad5506f89d8d92d8a43fd7bab2d8e882d"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#ad5506f89d8d92d8a43fd7bab2d8e882d">operations_research::glop::Preprocessor::Run</a></div><div class="ttdeci">virtual bool Run(LinearProgram *lp)=0</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1FreeConstraintPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::FreeConstraintPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l02070">preprocessor.cc:2070</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1EmptyConstraintPreprocessor_html_ae4473cf2c6416433d296fb2f0de105ab"><div class="ttname"><a href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#ae4473cf2c6416433d296fb2f0de105ab">operations_research::glop::EmptyConstraintPreprocessor::EmptyConstraintPreprocessor</a></div><div class="ttdeci">EmptyConstraintPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00730">preprocessor.h:730</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_a93f31881bac44307228eb78314f12a40"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#a93f31881bac44307228eb78314f12a40">operations_research::glop::Preprocessor::infinite_time_limit_</a></div><div class="ttdeci">std::unique_ptr&lt; TimeLimit &gt; infinite_time_limit_</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00093">preprocessor.h:93</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor_html_af4809c8f27fba190507a1af9a05289bd"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#af4809c8f27fba190507a1af9a05289bd">operations_research::glop::DoubletonFreeColumnPreprocessor::operator=</a></div><div class="ttdeci">DoubletonFreeColumnPreprocessor &amp; operator=(const DoubletonFreeColumnPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1FixedVariablePreprocessor_html_a52863badcb27ddf95c5fb621d21c31ac"><div class="ttname"><a href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#a52863badcb27ddf95c5fb621d21c31ac">operations_research::glop::FixedVariablePreprocessor::~FixedVariablePreprocessor</a></div><div class="ttdeci">~FixedVariablePreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00484">preprocessor.h:484</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DualizerPreprocessor_html_a9c59c896087a74a8f9c0837407d18b6d"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a9c59c896087a74a8f9c0837407d18b6d">operations_research::glop::DualizerPreprocessor::DualizerPreprocessor</a></div><div class="ttdeci">DualizerPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00886">preprocessor.h:886</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonUndo_html_a9a2c9c31d675b34f6ec35cc1ca89e047a723392e031e932ce6773d9ba469ccfa9"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047a723392e031e932ce6773d9ba469ccfa9">operations_research::glop::SingletonUndo::SINGLETON_COLUMN_IN_EQUALITY</a></div><div class="ttdeci">@ SINGLETON_COLUMN_IN_EQUALITY</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00345">preprocessor.h:345</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor_html_a917c483aa488a9bf48322d9958288566"><div class="ttname"><a href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#a917c483aa488a9bf48322d9958288566">operations_research::glop::AddSlackVariablesPreprocessor::operator=</a></div><div class="ttdeci">AddSlackVariablesPreprocessor &amp; operator=(const AddSlackVariablesPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1StrictITIVector_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1StrictITIVector.html">operations_research::glop::StrictITIVector&lt; ColIndex, bool &gt;</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ColumnDeletionHelper_html_abf42c94e770b44d463ca3d13cda889c6"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#abf42c94e770b44d463ca3d13cda889c6">operations_research::glop::ColumnDeletionHelper::GetStoredValue</a></div><div class="ttdeci">const DenseRow &amp; GetStoredValue() const</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00176">preprocessor.h:176</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1MainLpPreprocessor_html_aa8dce6d72ac62ee626815cdc4df4b078"><div class="ttname"><a href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#aa8dce6d72ac62ee626815cdc4df4b078">operations_research::glop::MainLpPreprocessor::~MainLpPreprocessor</a></div><div class="ttdeci">~MainLpPreprocessor() override</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00108">preprocessor.h:108</a></div></div>
<div class="ttc" id="alp__data_8h_html"><div class="ttname"><a href="lp__data_8h.html">lp_data.h</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ProportionalColumnPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::ProportionalColumnPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00669">preprocessor.cc:669</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ImpliedFreePreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::ImpliedFreePreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l01504">preprocessor.cc:1504</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ProportionalColumnPreprocessor_html_a24c86de28d8ae31530fd5940c6491e42"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a24c86de28d8ae31530fd5940c6491e42">operations_research::glop::ProportionalColumnPreprocessor::ProportionalColumnPreprocessor</a></div><div class="ttdeci">ProportionalColumnPreprocessor(const ProportionalColumnPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1EmptyColumnPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::EmptyColumnPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00342">preprocessor.cc:342</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ProportionalRowPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html">operations_research::glop::ProportionalRowPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00297">preprocessor.h:297</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html">operations_research::glop::SingletonColumnSignPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00775">preprocessor.h:775</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_a67ee68ae6c97419ab4ebb6af8264e7d2"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#a67ee68ae6c97419ab4ebb6af8264e7d2">operations_research::glop::Preprocessor::time_limit_</a></div><div class="ttdeci">TimeLimit * time_limit_</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00094">preprocessor.h:94</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ColumnDeletionHelper_html_a575d2041247c879f7173bb3a555ba958"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a575d2041247c879f7173bb3a555ba958">operations_research::glop::ColumnDeletionHelper::ColumnDeletionHelper</a></div><div class="ttdeci">ColumnDeletionHelper()</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00139">preprocessor.h:139</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_html_a412ff468086906fc7e74f474e9900dbf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a412ff468086906fc7e74f474e9900dbf">operations_research::glop::DoubletonEqualityRowPreprocessor::DoubletonEqualityRowPreprocessor</a></div><div class="ttdeci">DoubletonEqualityRowPreprocessor(const DoubletonEqualityRowPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1FreeConstraintPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::FreeConstraintPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l02055">preprocessor.cc:2055</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1EmptyConstraintPreprocessor_html_ae4cddf9d2da4c9c8a9f0fb20f8a6a38b"><div class="ttname"><a href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#ae4cddf9d2da4c9c8a9f0fb20f8a6a38b">operations_research::glop::EmptyConstraintPreprocessor::operator=</a></div><div class="ttdeci">EmptyConstraintPreprocessor &amp; operator=(const EmptyConstraintPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ColumnDeletionHelper_html_a46b7ed2e9e3a3d5dc9a024801e1baaf7"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a46b7ed2e9e3a3d5dc9a024801e1baaf7">operations_research::glop::ColumnDeletionHelper::MarkColumnForDeletion</a></div><div class="ttdeci">void MarkColumnForDeletion(ColIndex col)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00190">preprocessor.cc:190</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SparseMatrix_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SparseMatrix.html">operations_research::glop::SparseMatrix</a></div><div class="ttdef"><b>Definition:</b> <a href="sparse_8h_source.html#l00061">sparse.h:61</a></div></div>
<div class="ttc" id="astructoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus_html_ad9a7a69580012bd79b5e46d39bddee80"><div class="ttname"><a href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#ad9a7a69580012bd79b5e46d39bddee80">operations_research::glop::DoubletonEqualityRowPreprocessor::RestoreInfo::ColChoiceAndStatus::col_choice</a></div><div class="ttdeci">ColChoice col_choice</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00843">preprocessor.h:843</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RowDeletionHelper_html_a2087c8376c03c247099a989f2990e6e8"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a2087c8376c03c247099a989f2990e6e8">operations_research::glop::RowDeletionHelper::MarkRowForDeletion</a></div><div class="ttdeci">void MarkRowForDeletion(RowIndex row)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00240">preprocessor.cc:240</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor_html_aba19abb6cec9cfefeeef5c6bc6903e81"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#aba19abb6cec9cfefeeef5c6bc6903e81">operations_research::glop::RemoveNearZeroEntriesPreprocessor::~RemoveNearZeroEntriesPreprocessor</a></div><div class="ttdeci">~RemoveNearZeroEntriesPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00761">preprocessor.h:761</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_aeb01b3abaf68cfdcad5c90c9068c1570"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#aeb01b3abaf68cfdcad5c90c9068c1570">operations_research::glop::Preprocessor::IsSmallerWithinFeasibilityTolerance</a></div><div class="ttdeci">bool IsSmallerWithinFeasibilityTolerance(Fractional a, Fractional b) const</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00079">preprocessor.h:79</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonPreprocessor_html_a524a9fdcebb48f78937a46b0072c8b4f"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#a524a9fdcebb48f78937a46b0072c8b4f">operations_research::glop::SingletonPreprocessor::~SingletonPreprocessor</a></div><div class="ttdeci">~SingletonPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00402">preprocessor.h:402</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ImpliedFreePreprocessor_html_aba10f38c3ce6db88e79c75382feb2b94"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#aba10f38c3ce6db88e79c75382feb2b94">operations_research::glop::ImpliedFreePreprocessor::~ImpliedFreePreprocessor</a></div><div class="ttdeci">~ImpliedFreePreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00564">preprocessor.h:564</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ProportionalRowPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::ProportionalRowPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00784">preprocessor.cc:784</a></div></div>
<div class="ttc" id="ademon__profiler_8cc_html_a21edc7ca4cc5802c8779d68556bc09cf"><div class="ttname"><a href="demon__profiler_8cc.html#a21edc7ca4cc5802c8779d68556bc09cf">value</a></div><div class="ttdeci">int64 value</div><div class="ttdef"><b>Definition:</b> <a href="demon__profiler_8cc_source.html#l00043">demon_profiler.cc:43</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_a4044f1ba691c532a1aa362b77258489d"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#a4044f1ba691c532a1aa362b77258489d">operations_research::glop::Preprocessor::parameters_</a></div><div class="ttdeci">const GlopParameters &amp; parameters_</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00091">preprocessor.h:91</a></div></div>
<div class="ttc" id="astructoperations__research_1_1glop_1_1ProblemSolution_html"><div class="ttname"><a href="structoperations__research_1_1glop_1_1ProblemSolution.html">operations_research::glop::ProblemSolution</a></div><div class="ttdef"><b>Definition:</b> <a href="lp__data_8h_source.html#l00647">lp_data.h:647</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1MainLpPreprocessor_html_a51681234d1581189740df34ad653157e"><div class="ttname"><a href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#a51681234d1581189740df34ad653157e">operations_research::glop::MainLpPreprocessor::operator=</a></div><div class="ttdeci">MainLpPreprocessor &amp; operator=(const MainLpPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ColumnDeletionHelper_html_a1fbdcd623d96ea5e73d664ce0c6bd002"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a1fbdcd623d96ea5e73d664ce0c6bd002">operations_research::glop::ColumnDeletionHelper::IsColumnMarked</a></div><div class="ttdeci">bool IsColumnMarked(ColIndex col) const</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00160">preprocessor.h:160</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_ad99bfbfbdeb3354d3694aecd7fda6deb"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#ad99bfbfbdeb3354d3694aecd7fda6deb">operations_research::glop::Preprocessor::SetTimeLimit</a></div><div class="ttdeci">void SetTimeLimit(TimeLimit *time_limit)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00074">preprocessor.h:74</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor_html_a0563f77c80dd8025bf3b115a1b8b7b4d"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#a0563f77c80dd8025bf3b115a1b8b7b4d">operations_research::glop::ForcingAndImpliedFreeConstraintPreprocessor::ForcingAndImpliedFreeConstraintPreprocessor</a></div><div class="ttdeci">ForcingAndImpliedFreeConstraintPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00514">preprocessor.h:514</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor_html_ad6ae0f6cc0bedcfc58aebad81eb60774"><div class="ttname"><a href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#ad6ae0f6cc0bedcfc58aebad81eb60774">operations_research::glop::UnconstrainedVariablePreprocessor::~UnconstrainedVariablePreprocessor</a></div><div class="ttdeci">~UnconstrainedVariablePreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00663">preprocessor.h:663</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="aclassoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor_html_af25470c518f04bd8f545df617bd7f467"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#af25470c518f04bd8f545df617bd7f467">operations_research::glop::SingletonColumnSignPreprocessor::SingletonColumnSignPreprocessor</a></div><div class="ttdeci">SingletonColumnSignPreprocessor(const SingletonColumnSignPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1EmptyColumnPreprocessor_html_a1c376c19b70138a17b1e5fa662ddc377"><div class="ttname"><a href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#a1c376c19b70138a17b1e5fa662ddc377">operations_research::glop::EmptyColumnPreprocessor::operator=</a></div><div class="ttdeci">EmptyColumnPreprocessor &amp; operator=(const EmptyColumnPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="anamespaceoperations__research_1_1glop_html_ad59b85e44037bd502a5d8bd3fe16c0f9"><div class="ttname"><a href="namespaceoperations__research_1_1glop.html#ad59b85e44037bd502a5d8bd3fe16c0f9">operations_research::glop::ConstraintStatus</a></div><div class="ttdeci">ConstraintStatus</div><div class="ttdef"><b>Definition:</b> <a href="lp__types_8h_source.html#l00227">lp_types.h:227</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonUndo_html_a9a2c9c31d675b34f6ec35cc1ca89e047a003bca6275374734c52d66fb1a9ea10c"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047a003bca6275374734c52d66fb1a9ea10c">operations_research::glop::SingletonUndo::SINGLETON_ROW</a></div><div class="ttdeci">@ SINGLETON_ROW</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00344">preprocessor.h:344</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor_html_ae23fb85f638884ef4a17fa8fdb2aa816"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#ae23fb85f638884ef4a17fa8fdb2aa816">operations_research::glop::DoubletonFreeColumnPreprocessor::DoubletonFreeColumnPreprocessor</a></div><div class="ttdeci">DoubletonFreeColumnPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00606">preprocessor.h:606</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_a6b4ccb0765e5c806055c67a4b49bc06d"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#a6b4ccb0765e5c806055c67a4b49bc06d">operations_research::glop::Preprocessor::Preprocessor</a></div><div class="ttdeci">Preprocessor(const Preprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor_html_aefcf813e4a7861524ee6ae8cbf2580c1"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#aefcf813e4a7861524ee6ae8cbf2580c1">operations_research::glop::ForcingAndImpliedFreeConstraintPreprocessor::~ForcingAndImpliedFreeConstraintPreprocessor</a></div><div class="ttdeci">~ForcingAndImpliedFreeConstraintPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00521">preprocessor.h:521</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1EmptyColumnPreprocessor_html_a562dd5bea364681f5958eddb768f86d1"><div class="ttname"><a href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#a562dd5bea364681f5958eddb768f86d1">operations_research::glop::EmptyColumnPreprocessor::~EmptyColumnPreprocessor</a></div><div class="ttdeci">~EmptyColumnPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00238">preprocessor.h:238</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1LinearProgram_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1LinearProgram.html">operations_research::glop::LinearProgram</a></div><div class="ttdef"><b>Definition:</b> <a href="lp__data_8h_source.html#l00055">lp_data.h:55</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html">operations_research::glop::DoubletonFreeColumnPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00604">preprocessor.h:604</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RowDeletionHelper_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RowDeletionHelper.html">operations_research::glop::RowDeletionHelper</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00193">preprocessor.h:193</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_a322abc0882049744dd1169a3d9e176e5"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#a322abc0882049744dd1169a3d9e176e5">operations_research::glop::Preprocessor::IsSmallerWithinPreprocessorZeroTolerance</a></div><div class="ttdeci">bool IsSmallerWithinPreprocessorZeroTolerance(Fractional a, Fractional b) const</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00083">preprocessor.h:83</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_a9d48fb6037dc9624d7c7e646732661a0"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#a9d48fb6037dc9624d7c7e646732661a0">operations_research::glop::Preprocessor::UseInMipContext</a></div><div class="ttdeci">virtual void UseInMipContext()</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00072">preprocessor.h:72</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1FreeConstraintPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html">operations_research::glop::FreeConstraintPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00709">preprocessor.h:709</a></div></div>
<div class="ttc" id="amatrix__scaler_8h_html"><div class="ttname"><a href="matrix__scaler_8h.html">matrix_scaler.h</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ScalingPreprocessor_html_a2bbe974a6b7492a3ab9fbe49d8a8fb05"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#a2bbe974a6b7492a3ab9fbe49d8a8fb05">operations_research::glop::ScalingPreprocessor::operator=</a></div><div class="ttdeci">ScalingPreprocessor &amp; operator=(const ScalingPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RowDeletionHelper_html_a43e3b399f53b38b75171071c9d730c5b"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a43e3b399f53b38b75171071c9d730c5b">operations_research::glop::RowDeletionHelper::RestoreDeletedRows</a></div><div class="ttdeci">void RestoreDeletedRows(ProblemSolution *solution) const</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00257">preprocessor.cc:257</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::UnconstrainedVariablePreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l01759">preprocessor.cc:1759</a></div></div>
<div class="ttc" id="aclassgtl_1_1ITIVector_html_a644718bb2fb240de962dc3c9a1fdf0dc"><div class="ttname"><a href="classgtl_1_1ITIVector.html#a644718bb2fb240de962dc3c9a1fdf0dc">gtl::ITIVector::empty</a></div><div class="ttdeci">bool empty() const</div><div class="ttdef"><b>Definition:</b> <a href="int__type__indexed__vector_8h_source.html#l00155">int_type_indexed_vector.h:155</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_html_a71d97a88e4aa6d9bb51b0bb0f5a955bf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a71d97a88e4aa6d9bb51b0bb0f5a955bf">operations_research::glop::DoubletonEqualityRowPreprocessor::operator=</a></div><div class="ttdeci">DoubletonEqualityRowPreprocessor &amp; operator=(const DoubletonEqualityRowPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonUndo_html_a9a2c9c31d675b34f6ec35cc1ca89e047a629106ec8d53390d18c3f330156486ec"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047a629106ec8d53390d18c3f330156486ec">operations_research::glop::SingletonUndo::MAKE_CONSTRAINT_AN_EQUALITY</a></div><div class="ttdeci">@ MAKE_CONSTRAINT_AN_EQUALITY</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00346">preprocessor.h:346</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ColumnDeletionHelper_html_a0dd90a930eb56b652fa3e46c732a348c"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a0dd90a930eb56b652fa3e46c732a348c">operations_research::glop::ColumnDeletionHelper::ColumnDeletionHelper</a></div><div class="ttdeci">ColumnDeletionHelper(const ColumnDeletionHelper &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ToMinimizationPreprocessor_html_ab1dcd2b65a67272de23ec63110fda3a4"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#ab1dcd2b65a67272de23ec63110fda3a4">operations_research::glop::ToMinimizationPreprocessor::~ToMinimizationPreprocessor</a></div><div class="ttdeci">~ToMinimizationPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l01002">preprocessor.h:1002</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ScalingPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::ScalingPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l03556">preprocessor.cc:3556</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RowDeletionHelper_html_a4dda252e2b65e3aa074c002daf6f86b8"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a4dda252e2b65e3aa074c002daf6f86b8">operations_research::glop::RowDeletionHelper::GetMarkedRows</a></div><div class="ttdeci">const DenseBooleanColumn &amp; GetMarkedRows() const</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00253">preprocessor.cc:253</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1FreeConstraintPreprocessor_html_a5f0397f910b3e47128bf9b52508e181a"><div class="ttname"><a href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#a5f0397f910b3e47128bf9b52508e181a">operations_research::glop::FreeConstraintPreprocessor::FreeConstraintPreprocessor</a></div><div class="ttdeci">FreeConstraintPreprocessor(const FreeConstraintPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="arevised__simplex_8h_html"><div class="ttname"><a href="revised__simplex_8h.html">revised_simplex.h</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ColumnDeletionHelper_html_aa71d36872f416feaa853788a7a7a7ef8"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#aa71d36872f416feaa853788a7a7a7ef8">operations_research::glop::ColumnDeletionHelper::Clear</a></div><div class="ttdeci">void Clear()</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00185">preprocessor.cc:185</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ProportionalColumnPreprocessor_html_a904b95a81c87a6affd7db7d5f6b1f4d7"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a904b95a81c87a6affd7db7d5f6b1f4d7">operations_research::glop::ProportionalColumnPreprocessor::operator=</a></div><div class="ttdeci">ProportionalColumnPreprocessor &amp; operator=(const ProportionalColumnPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="anamespaceoperations__research_1_1glop_html_a733947145e3e1631165b618b05c9ccb7"><div class="ttname"><a href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">operations_research::glop::Fractional</a></div><div class="ttdeci">double Fractional</div><div class="ttdef"><b>Definition:</b> <a href="lp__types_8h_source.html#l00077">lp_types.h:77</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1MainLpPreprocessor_html_a465d7f4ac3a848d3ef84108d427b8de4"><div class="ttname"><a href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#a465d7f4ac3a848d3ef84108d427b8de4">operations_research::glop::MainLpPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const override</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00173">preprocessor.cc:173</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::AddSlackVariablesPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l03629">preprocessor.cc:3629</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ScalingPreprocessor_html_a9b05a9f964815a4f53a54ae02613fc8e"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#a9b05a9f964815a4f53a54ae02613fc8e">operations_research::glop::ScalingPreprocessor::UseInMipContext</a></div><div class="ttdeci">void UseInMipContext() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00981">preprocessor.h:981</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor_html_a406d05ad2a78cf24e2d4e5965a06d505"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a406d05ad2a78cf24e2d4e5965a06d505">operations_research::glop::ShiftVariableBoundsPreprocessor::ShiftVariableBoundsPreprocessor</a></div><div class="ttdeci">ShiftVariableBoundsPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00944">preprocessor.h:944</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonUndo_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonUndo.html">operations_research::glop::SingletonUndo</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00339">preprocessor.h:339</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor_html_a15f85d23e509bb299b02e8fa056bbac7"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a15f85d23e509bb299b02e8fa056bbac7">operations_research::glop::ShiftVariableBoundsPreprocessor::operator=</a></div><div class="ttdeci">ShiftVariableBoundsPreprocessor &amp; operator=(const ShiftVariableBoundsPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::SingletonColumnSignPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l02867">preprocessor.cc:2867</a></div></div>
<div class="ttc" id="aconstraint__solver_2table_8cc_html_af730895c6c6ef6e03caaf6251192dfd2"><div class="ttname"><a href="constraint__solver_2table_8cc.html#af730895c6c6ef6e03caaf6251192dfd2">a</a></div><div class="ttdeci">int64 a</div><div class="ttdef"><b>Definition:</b> <a href="constraint__solver_2table_8cc_source.html#l00042">constraint_solver/table.cc:42</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1MainLpPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::MainLpPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00061">preprocessor.cc:61</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonPreprocessor_html_ae676da4e2e0fbfa1a6aaac64b7ecb106"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#ae676da4e2e0fbfa1a6aaac64b7ecb106">operations_research::glop::SingletonPreprocessor::operator=</a></div><div class="ttdeci">SingletonPreprocessor &amp; operator=(const SingletonPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ProportionalColumnPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::ProportionalColumnPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00440">preprocessor.cc:440</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1EmptyConstraintPreprocessor_html_a4defef18f2b0b3bf00721584c7a40964"><div class="ttname"><a href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#a4defef18f2b0b3bf00721584c7a40964">operations_research::glop::EmptyConstraintPreprocessor::~EmptyConstraintPreprocessor</a></div><div class="ttdeci">~EmptyConstraintPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00735">preprocessor.h:735</a></div></div>
<div class="ttc" id="arevised__simplex_8cc_html_ae985c429ef4bec190816ed836d6cf2c2"><div class="ttname"><a href="revised__simplex_8cc.html#ae985c429ef4bec190816ed836d6cf2c2">target_bound</a></div><div class="ttdeci">Fractional target_bound</div><div class="ttdef"><b>Definition:</b> <a href="revised__simplex_8cc_source.html#l01795">revised_simplex.cc:1795</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RowDeletionHelper_html_a8e12342fc420701fbffd97025421575a"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a8e12342fc420701fbffd97025421575a">operations_research::glop::RowDeletionHelper::IsEmpty</a></div><div class="ttdeci">bool IsEmpty() const</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00200">preprocessor.h:200</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::SingletonColumnSignPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l02839">preprocessor.cc:2839</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_a2c776397337c7b38bcdb8e2b57653a6a"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#a2c776397337c7b38bcdb8e2b57653a6a">operations_research::glop::Preprocessor::status</a></div><div class="ttdeci">ProblemStatus status() const</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00064">preprocessor.h:64</a></div></div>
<div class="ttc" id="acp__model__solver_8cc_html_ac3cf9db02b23ea1455b5ae6955d03e47"><div class="ttname"><a href="cp__model__solver_8cc.html#ac3cf9db02b23ea1455b5ae6955d03e47">time_limit</a></div><div class="ttdeci">SharedTimeLimit * time_limit</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__solver_8cc_source.html#l02025">cp_model_solver.cc:2025</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor_html_a16b556cc08c1f6802a387420e5d038f2"><div class="ttname"><a href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#a16b556cc08c1f6802a387420e5d038f2">operations_research::glop::UnconstrainedVariablePreprocessor::RemoveZeroCostUnconstrainedVariable</a></div><div class="ttdeci">void RemoveZeroCostUnconstrainedVariable(ColIndex col, Fractional target_bound, LinearProgram *lp)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l01712">preprocessor.cc:1712</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::DoubletonFreeColumnPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l01634">preprocessor.cc:1634</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor_html_a86bf9994227f110c24051481a660df47"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a86bf9994227f110c24051481a660df47">operations_research::glop::ShiftVariableBoundsPreprocessor::~ShiftVariableBoundsPreprocessor</a></div><div class="ttdeci">~ShiftVariableBoundsPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00950">preprocessor.h:950</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor_html_a4f3e9492cd4c4a04365e9a194e5764a2"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#a4f3e9492cd4c4a04365e9a194e5764a2">operations_research::glop::ForcingAndImpliedFreeConstraintPreprocessor::ForcingAndImpliedFreeConstraintPreprocessor</a></div><div class="ttdeci">ForcingAndImpliedFreeConstraintPreprocessor(const ForcingAndImpliedFreeConstraintPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_ac43676b866796cb46849e6f083bd0d75"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#ac43676b866796cb46849e6f083bd0d75">operations_research::glop::Preprocessor::operator=</a></div><div class="ttdeci">Preprocessor &amp; operator=(const Preprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1FixedVariablePreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::FixedVariablePreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l01055">preprocessor.cc:1055</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1EmptyColumnPreprocessor_html_a22ea86eb03c66e95abbe101fdafd2b62"><div class="ttname"><a href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#a22ea86eb03c66e95abbe101fdafd2b62">operations_research::glop::EmptyColumnPreprocessor::EmptyColumnPreprocessor</a></div><div class="ttdeci">EmptyColumnPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00234">preprocessor.h:234</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ProportionalColumnPreprocessor_html_ac6b053d9b35c88e8b78ce1e63f85a8fb"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#ac6b053d9b35c88e8b78ce1e63f85a8fb">operations_research::glop::ProportionalColumnPreprocessor::~ProportionalColumnPreprocessor</a></div><div class="ttdeci">~ProportionalColumnPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00264">preprocessor.h:264</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonUndo_html_a91238ea5ce3d56a927b2fa4b68b3e9aa"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonUndo.html#a91238ea5ce3d56a927b2fa4b68b3e9aa">operations_research::glop::SingletonUndo::SingletonUndo</a></div><div class="ttdeci">SingletonUndo(OperationType type, const LinearProgram &amp;lp, MatrixEntry e, ConstraintStatus status)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l02129">preprocessor.cc:2129</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1MainLpPreprocessor_html_a587c82f55540532c54c0af3c0d374253"><div class="ttname"><a href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#a587c82f55540532c54c0af3c0d374253">operations_research::glop::MainLpPreprocessor::MainLpPreprocessor</a></div><div class="ttdeci">MainLpPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00104">preprocessor.h:104</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1EmptyConstraintPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::EmptyConstraintPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l02081">preprocessor.cc:2081</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1TimeLimit_html"><div class="ttname"><a href="classoperations__research_1_1TimeLimit.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#l00105">time_limit.h:105</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor_html_a247ca380a86ecd3a0d5402ca7d33acea"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#a247ca380a86ecd3a0d5402ca7d33acea">operations_research::glop::RemoveNearZeroEntriesPreprocessor::operator=</a></div><div class="ttdeci">RemoveNearZeroEntriesPreprocessor &amp; operator=(const RemoveNearZeroEntriesPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html">operations_research::glop::ForcingAndImpliedFreeConstraintPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00512">preprocessor.h:512</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1StrictITIVector_html_a967a5c081ad4195a30c78dc2c0bcabf5"><div class="ttname"><a href="classoperations__research_1_1glop_1_1StrictITIVector.html#a967a5c081ad4195a30c78dc2c0bcabf5">operations_research::glop::StrictITIVector::size</a></div><div class="ttdeci">IntType size() const</div><div class="ttdef"><b>Definition:</b> <a href="lp__types_8h_source.html#l00276">lp_types.h:276</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ToMinimizationPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::ToMinimizationPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l03613">preprocessor.cc:3613</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonPreprocessor_html_a89e21398ea3e86419e3ec9fd1d886d9b"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#a89e21398ea3e86419e3ec9fd1d886d9b">operations_research::glop::SingletonPreprocessor::SingletonPreprocessor</a></div><div class="ttdeci">SingletonPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00398">preprocessor.h:398</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor_html_a758a0cc3350e456968ffc2ad759310a4"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a758a0cc3350e456968ffc2ad759310a4">operations_research::glop::ShiftVariableBoundsPreprocessor::ShiftVariableBoundsPreprocessor</a></div><div class="ttdeci">ShiftVariableBoundsPreprocessor(const ShiftVariableBoundsPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1MainLpPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html">operations_research::glop::MainLpPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00102">preprocessor.h:102</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1FreeConstraintPreprocessor_html_a43a2d7a5c73c6b9c4eeebd4c02e0933d"><div class="ttname"><a href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#a43a2d7a5c73c6b9c4eeebd4c02e0933d">operations_research::glop::FreeConstraintPreprocessor::operator=</a></div><div class="ttdeci">FreeConstraintPreprocessor &amp; operator=(const FreeConstraintPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_a5c1cfa0469b831e367e8f9b6b463b5ae"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#a5c1cfa0469b831e367e8f9b6b463b5ae">operations_research::glop::Preprocessor::~Preprocessor</a></div><div class="ttdeci">virtual ~Preprocessor()</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00051">preprocessor.cc:51</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DualizerPreprocessor_html_a6b7cec7e77dd95310161ebb894678b78"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a6b7cec7e77dd95310161ebb894678b78">operations_research::glop::DualizerPreprocessor::operator=</a></div><div class="ttdeci">DualizerPreprocessor &amp; operator=(const DualizerPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ImpliedFreePreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html">operations_research::glop::ImpliedFreePreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00558">preprocessor.h:558</a></div></div>
<div class="ttc" id="astructoperations__research_1_1glop_1_1MatrixEntry_html_aa9d6c98fdf8d89b0e2321fda02adc82c"><div class="ttname"><a href="structoperations__research_1_1glop_1_1MatrixEntry.html#aa9d6c98fdf8d89b0e2321fda02adc82c">operations_research::glop::MatrixEntry::col</a></div><div class="ttdeci">ColIndex col</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00334">preprocessor.h:334</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1FixedVariablePreprocessor_html_a132b473031437bdf30739066e648c8b2"><div class="ttname"><a href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#a132b473031437bdf30739066e648c8b2">operations_research::glop::FixedVariablePreprocessor::FixedVariablePreprocessor</a></div><div class="ttdeci">FixedVariablePreprocessor(const FixedVariablePreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ProportionalRowPreprocessor_html_ac811cbfc335ae97f79555b97e617400f"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#ac811cbfc335ae97f79555b97e617400f">operations_research::glop::ProportionalRowPreprocessor::operator=</a></div><div class="ttdeci">ProportionalRowPreprocessor &amp; operator=(const ProportionalRowPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ImpliedFreePreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::ImpliedFreePreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l01317">preprocessor.cc:1317</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::ForcingAndImpliedFreeConstraintPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l01066">preprocessor.cc:1066</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor_html_a4287b8e9d3d7eb54bbd1a1e31650e1cb"><div class="ttname"><a href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#a4287b8e9d3d7eb54bbd1a1e31650e1cb">operations_research::glop::UnconstrainedVariablePreprocessor::operator=</a></div><div class="ttdeci">UnconstrainedVariablePreprocessor &amp; operator=(const UnconstrainedVariablePreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ScalingPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::ScalingPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l03533">preprocessor.cc:3533</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor_html_a8628b9c1aa7f6487d3d414f782e6958f"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#a8628b9c1aa7f6487d3d414f782e6958f">operations_research::glop::RemoveNearZeroEntriesPreprocessor::RemoveNearZeroEntriesPreprocessor</a></div><div class="ttdeci">RemoveNearZeroEntriesPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00755">preprocessor.h:755</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor_html_a5f60a2c75e1374d16ec98004cded4cab"><div class="ttname"><a href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#a5f60a2c75e1374d16ec98004cded4cab">operations_research::glop::UnconstrainedVariablePreprocessor::UnconstrainedVariablePreprocessor</a></div><div class="ttdeci">UnconstrainedVariablePreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00657">preprocessor.h:657</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RowDeletionHelper_html_a4a10ecf24a0ec229f93e3de2613081e4"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a4a10ecf24a0ec229f93e3de2613081e4">operations_research::glop::RowDeletionHelper::RowDeletionHelper</a></div><div class="ttdeci">RowDeletionHelper()</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00195">preprocessor.h:195</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor_html_ac0c8e96fc5c1a456eb7b2379ef8b3e45"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#ac0c8e96fc5c1a456eb7b2379ef8b3e45">operations_research::glop::ForcingAndImpliedFreeConstraintPreprocessor::operator=</a></div><div class="ttdeci">ForcingAndImpliedFreeConstraintPreprocessor &amp; operator=(const ForcingAndImpliedFreeConstraintPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::ShiftVariableBoundsPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l03501">preprocessor.cc:3501</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ToMinimizationPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::ToMinimizationPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l03596">preprocessor.cc:3596</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::DoubletonEqualityRowPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l03067">preprocessor.cc:3067</a></div></div>
<div class="ttc" id="astructoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus_html"><div class="ttname"><a href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html">operations_research::glop::DoubletonEqualityRowPreprocessor::RestoreInfo::ColChoiceAndStatus</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00842">preprocessor.h:842</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ProportionalRowPreprocessor_html_a522e62f02c6b806d9235d9b0acd3f8ed"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#a522e62f02c6b806d9235d9b0acd3f8ed">operations_research::glop::ProportionalRowPreprocessor::~ProportionalRowPreprocessor</a></div><div class="ttdeci">~ProportionalRowPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00304">preprocessor.h:304</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::RemoveNearZeroEntriesPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l02832">preprocessor.cc:2832</a></div></div>
<div class="ttc" id="astructoperations__research_1_1glop_1_1MatrixEntry_html_a9ed70be231bc7c63b1958f4aade2c443"><div class="ttname"><a href="structoperations__research_1_1glop_1_1MatrixEntry.html#a9ed70be231bc7c63b1958f4aade2c443">operations_research::glop::MatrixEntry::MatrixEntry</a></div><div class="ttdeci">MatrixEntry(RowIndex _row, ColIndex _col, Fractional _coeff)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00331">preprocessor.h:331</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonPreprocessor_html_a176565a9e09ccee68a0d2a2ab963a472"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#a176565a9e09ccee68a0d2a2ab963a472">operations_research::glop::SingletonPreprocessor::SingletonPreprocessor</a></div><div class="ttdeci">SingletonPreprocessor(const SingletonPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonUndo_html_a9a2c9c31d675b34f6ec35cc1ca89e047"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonUndo.html#a9a2c9c31d675b34f6ec35cc1ca89e047">operations_research::glop::SingletonUndo::OperationType</a></div><div class="ttdeci">OperationType</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00342">preprocessor.h:342</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RowDeletionHelper_html_afe1060bf67b21f038023bd029c2b6e5c"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#afe1060bf67b21f038023bd029c2b6e5c">operations_research::glop::RowDeletionHelper::RowDeletionHelper</a></div><div class="ttdeci">RowDeletionHelper(const RowDeletionHelper &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1EmptyColumnPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::EmptyColumnPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00386">preprocessor.cc:386</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor_html_aafe5553d4d7b0927477cc855dce6e192"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#aafe5553d4d7b0927477cc855dce6e192">operations_research::glop::DoubletonFreeColumnPreprocessor::~DoubletonFreeColumnPreprocessor</a></div><div class="ttdeci">~DoubletonFreeColumnPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00612">preprocessor.h:612</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ColumnDeletionHelper_html_afb08edad3e062957b1f7421ef53c8df6"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#afb08edad3e062957b1f7421ef53c8df6">operations_research::glop::ColumnDeletionHelper::operator=</a></div><div class="ttdeci">ColumnDeletionHelper &amp; operator=(const ColumnDeletionHelper &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DualizerPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::DualizerPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l03184">preprocessor.cc:3184</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ProportionalColumnPreprocessor_html_a5280327b91fbaa8a919c34747f3d6a5d"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a5280327b91fbaa8a919c34747f3d6a5d">operations_research::glop::ProportionalColumnPreprocessor::ProportionalColumnPreprocessor</a></div><div class="ttdeci">ProportionalColumnPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00258">preprocessor.h:258</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_a3ad0a2aeb2c7f12fb9d3439a480ffbde"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#a3ad0a2aeb2c7f12fb9d3439a480ffbde">operations_research::glop::Preprocessor::in_mip_context_</a></div><div class="ttdeci">bool in_mip_context_</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00092">preprocessor.h:92</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_html_a6eb6d8e5410e7abf05020415574a1758"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a6eb6d8e5410e7abf05020415574a1758">operations_research::glop::DoubletonEqualityRowPreprocessor::DoubletonEqualityRowPreprocessor</a></div><div class="ttdeci">DoubletonEqualityRowPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00799">preprocessor.h:799</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DoubletonFreeColumnPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::DoubletonFreeColumnPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l01528">preprocessor.cc:1528</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor_html_ab69e3351ef4395c724ee4da5838e129a"><div class="ttname"><a href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#ab69e3351ef4395c724ee4da5838e129a">operations_research::glop::UnconstrainedVariablePreprocessor::UnconstrainedVariablePreprocessor</a></div><div class="ttdeci">UnconstrainedVariablePreprocessor(const UnconstrainedVariablePreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html">operations_research::glop::RemoveNearZeroEntriesPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00753">preprocessor.h:753</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ToMinimizationPreprocessor_html_a4cc617907bad93dabcdc31d1b0f980f5"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#a4cc617907bad93dabcdc31d1b0f980f5">operations_research::glop::ToMinimizationPreprocessor::operator=</a></div><div class="ttdeci">ToMinimizationPreprocessor &amp; operator=(const ToMinimizationPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonUndo_html_ab55c02f6db7b2044d8a1093ebd3dbf2f"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonUndo.html#ab55c02f6db7b2044d8a1093ebd3dbf2f">operations_research::glop::SingletonUndo::Undo</a></div><div class="ttdeci">void Undo(const GlopParameters &amp;parameters, const SparseMatrix &amp;deleted_columns, const SparseMatrix &amp;deleted_rows, ProblemSolution *solution) const</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l02141">preprocessor.cc:2141</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ScalingPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html">operations_research::glop::ScalingPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00972">preprocessor.h:972</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ScalingPreprocessor_html_aa49fbb4d4a6a32f21c6daf2ca8ff5602"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#aa49fbb4d4a6a32f21c6daf2ca8ff5602">operations_research::glop::ScalingPreprocessor::ScalingPreprocessor</a></div><div class="ttdeci">ScalingPreprocessor(const ScalingPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1EmptyColumnPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1EmptyColumnPreprocessor.html">operations_research::glop::EmptyColumnPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00232">preprocessor.h:232</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor_html_a9e4034a5477b47e5855ef0b93656ea1f"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#a9e4034a5477b47e5855ef0b93656ea1f">operations_research::glop::SingletonColumnSignPreprocessor::operator=</a></div><div class="ttdeci">SingletonColumnSignPreprocessor &amp; operator=(const SingletonColumnSignPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ProportionalRowPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::ProportionalRowPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00959">preprocessor.cc:959</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_html_a044b35f90977e8a419f26cfa5f4837b6"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html#a044b35f90977e8a419f26cfa5f4837b6">operations_research::glop::DoubletonEqualityRowPreprocessor::~DoubletonEqualityRowPreprocessor</a></div><div class="ttdeci">~DoubletonEqualityRowPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00805">preprocessor.h:805</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor_html_a590bbc619c0079ea174d76f13689170e"><div class="ttname"><a href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#a590bbc619c0079ea174d76f13689170e">operations_research::glop::AddSlackVariablesPreprocessor::AddSlackVariablesPreprocessor</a></div><div class="ttdeci">AddSlackVariablesPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l01022">preprocessor.h:1022</a></div></div>
<div class="ttc" id="astructoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus_html_a7807b13123f03224c0435ad7d2bcdb11"><div class="ttname"><a href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#a7807b13123f03224c0435ad7d2bcdb11">operations_research::glop::DoubletonEqualityRowPreprocessor::RestoreInfo::ColChoiceAndStatus::value</a></div><div class="ttdeci">Fractional value</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00845">preprocessor.h:845</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1EmptyConstraintPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html">operations_research::glop::EmptyConstraintPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00728">preprocessor.h:728</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ProportionalRowPreprocessor_html_aa72278988e697a29a8dcae9c0dc69ed4"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#aa72278988e697a29a8dcae9c0dc69ed4">operations_research::glop::ProportionalRowPreprocessor::ProportionalRowPreprocessor</a></div><div class="ttdeci">ProportionalRowPreprocessor(const ProportionalRowPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor_html_ad7a6089e6fb93d30141a0e3fdf059e8d"><div class="ttname"><a href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#ad7a6089e6fb93d30141a0e3fdf059e8d">operations_research::glop::AddSlackVariablesPreprocessor::~AddSlackVariablesPreprocessor</a></div><div class="ttdeci">~AddSlackVariablesPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l01027">preprocessor.h:1027</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ImpliedFreePreprocessor_html_a187e7d2cfd40e7a9bad97f26b4f3532c"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#a187e7d2cfd40e7a9bad97f26b4f3532c">operations_research::glop::ImpliedFreePreprocessor::operator=</a></div><div class="ttdeci">ImpliedFreePreprocessor &amp; operator=(const ImpliedFreePreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RowDeletionHelper_html_a8b572400ae17e537ba55eb01667dd5c7"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#a8b572400ae17e537ba55eb01667dd5c7">operations_research::glop::RowDeletionHelper::IsRowMarked</a></div><div class="ttdeci">bool IsRowMarked(RowIndex row) const</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00215">preprocessor.h:215</a></div></div>
<div class="ttc" id="amarkowitz_8cc_html_aa9d6c98fdf8d89b0e2321fda02adc82c"><div class="ttname"><a href="markowitz_8cc.html#aa9d6c98fdf8d89b0e2321fda02adc82c">col</a></div><div class="ttdeci">ColIndex col</div><div class="ttdef"><b>Definition:</b> <a href="markowitz_8cc_source.html#l00176">markowitz.cc:176</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ColumnDeletionHelper_html_a6afccf8c0c7105ba45b8d7bd47830239"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a6afccf8c0c7105ba45b8d7bd47830239">operations_research::glop::ColumnDeletionHelper::GetMarkedColumns</a></div><div class="ttdeci">const DenseBooleanRow &amp; GetMarkedColumns() const</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00165">preprocessor.h:165</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1glop_html_ae8a885303349cb7807c7c87b405bc0c9"><div class="ttname"><a href="namespaceoperations__research_1_1glop.html#ae8a885303349cb7807c7c87b405bc0c9">operations_research::glop::ProblemStatus</a></div><div class="ttdeci">ProblemStatus</div><div class="ttdef"><b>Definition:</b> <a href="lp__types_8h_source.html#l00101">lp_types.h:101</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ProportionalColumnPreprocessor_html_a9b05a9f964815a4f53a54ae02613fc8e"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ProportionalColumnPreprocessor.html#a9b05a9f964815a4f53a54ae02613fc8e">operations_research::glop::ProportionalColumnPreprocessor::UseInMipContext</a></div><div class="ttdeci">void UseInMipContext() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00267">preprocessor.h:267</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1EmptyConstraintPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::EmptyConstraintPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l02118">preprocessor.cc:2118</a></div></div>
<div class="ttc" id="amarkowitz_8cc_html_aea35f36ba98d5bbd8d033382f50c9e52"><div class="ttname"><a href="markowitz_8cc.html#aea35f36ba98d5bbd8d033382f50c9e52">row</a></div><div class="ttdeci">RowIndex row</div><div class="ttdef"><b>Definition:</b> <a href="markowitz_8cc_source.html#l00175">markowitz.cc:175</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html">operations_research::glop::AddSlackVariablesPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l01020">preprocessor.h:1020</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1glop_html_ae5fa9e57c2d31b294195ed8a9e17bfac"><div class="ttname"><a href="namespaceoperations__research_1_1glop.html#ae5fa9e57c2d31b294195ed8a9e17bfac">operations_research::glop::DenseColumn</a></div><div class="ttdeci">StrictITIVector&lt; RowIndex, Fractional &gt; DenseColumn</div><div class="ttdef"><b>Definition:</b> <a href="lp__types_8h_source.html#l00328">lp_types.h:328</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ColumnDeletionHelper_html_a8e12342fc420701fbffd97025421575a"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a8e12342fc420701fbffd97025421575a">operations_research::glop::ColumnDeletionHelper::IsEmpty</a></div><div class="ttdeci">bool IsEmpty() const</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00168">preprocessor.h:168</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor_html_a2eb5ad9a24b4d3a0a2a364850e5b699a"><div class="ttname"><a href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#a2eb5ad9a24b4d3a0a2a364850e5b699a">operations_research::glop::AddSlackVariablesPreprocessor::AddSlackVariablesPreprocessor</a></div><div class="ttdeci">AddSlackVariablesPreprocessor(const AddSlackVariablesPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::SingletonPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l02639">preprocessor.cc:2639</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1FixedVariablePreprocessor_html_a5167b6664abcc5a0117acda29e0381ab"><div class="ttname"><a href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#a5167b6664abcc5a0117acda29e0381ab">operations_research::glop::FixedVariablePreprocessor::operator=</a></div><div class="ttdeci">FixedVariablePreprocessor &amp; operator=(const FixedVariablePreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor_html_aa21024dd4b3a5713947b0587e1817b90"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#aa21024dd4b3a5713947b0587e1817b90">operations_research::glop::SingletonColumnSignPreprocessor::SingletonColumnSignPreprocessor</a></div><div class="ttdeci">SingletonColumnSignPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00777">preprocessor.h:777</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RowDeletionHelper_html_aa71d36872f416feaa853788a7a7a7ef8"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RowDeletionHelper.html#aa71d36872f416feaa853788a7a7a7ef8">operations_research::glop::RowDeletionHelper::Clear</a></div><div class="ttdeci">void Clear()</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00238">preprocessor.cc:238</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ForcingAndImpliedFreeConstraintPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::ForcingAndImpliedFreeConstraintPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l01232">preprocessor.cc:1232</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor_html_a398d2d8cb8808f6b8351d79c3982667b"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonColumnSignPreprocessor.html#a398d2d8cb8808f6b8351d79c3982667b">operations_research::glop::SingletonColumnSignPreprocessor::~SingletonColumnSignPreprocessor</a></div><div class="ttdeci">~SingletonColumnSignPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00783">preprocessor.h:783</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1UnconstrainedVariablePreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::UnconstrainedVariablePreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l01987">preprocessor.cc:1987</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor_html_ab9e4df4e1908a6b0436a52d6807834fc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html#ab9e4df4e1908a6b0436a52d6807834fc">operations_research::glop::ShiftVariableBoundsPreprocessor::offsets</a></div><div class="ttdeci">const DenseRow &amp; offsets() const</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00954">preprocessor.h:954</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SparseMatrixScaler_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SparseMatrixScaler.html">operations_research::glop::SparseMatrixScaler</a></div><div class="ttdef"><b>Definition:</b> <a href="matrix__scaler_8h_source.html#l00079">matrix_scaler.h:79</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DualizerPreprocessor_html_a554697daecb9b8f7198e6d30643dae7e"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a554697daecb9b8f7198e6d30643dae7e">operations_research::glop::DualizerPreprocessor::~DualizerPreprocessor</a></div><div class="ttdeci">~DualizerPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00890">preprocessor.h:890</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1FixedVariablePreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html">operations_research::glop::FixedVariablePreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00477">preprocessor.h:477</a></div></div>
<div class="ttc" id="aconstraint__solver_2table_8cc_html_a344010e26426d6a13411648d988bc9b6"><div class="ttname"><a href="constraint__solver_2table_8cc.html#a344010e26426d6a13411648d988bc9b6">b</a></div><div class="ttdeci">int64 b</div><div class="ttdef"><b>Definition:</b> <a href="constraint__solver_2table_8cc_source.html#l00043">constraint_solver/table.cc:43</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DualizerPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html">operations_research::glop::DualizerPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00884">preprocessor.h:884</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ToMinimizationPreprocessor_html_a6dca9e326011060bd1aa01dd84d8a568"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ToMinimizationPreprocessor.html#a6dca9e326011060bd1aa01dd84d8a568">operations_research::glop::ToMinimizationPreprocessor::ToMinimizationPreprocessor</a></div><div class="ttdeci">ToMinimizationPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00997">preprocessor.h:997</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DualizerPreprocessor_html_a9b05a9f964815a4f53a54ae02613fc8e"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a9b05a9f964815a4f53a54ae02613fc8e">operations_research::glop::DualizerPreprocessor::UseInMipContext</a></div><div class="ttdeci">void UseInMipContext() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00893">preprocessor.h:893</a></div></div>
<div class="ttc" id="aclassgtl_1_1ITIVector_html"><div class="ttname"><a href="classgtl_1_1ITIVector.html">gtl::ITIVector&lt; RowIndex, bool &gt;</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ShiftVariableBoundsPreprocessor.html">operations_research::glop::ShiftVariableBoundsPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00942">preprocessor.h:942</a></div></div>
<div class="ttc" id="astructoperations__research_1_1glop_1_1MatrixEntry_html_a1473614b2ace570d3ebaccb2b04149e4"><div class="ttname"><a href="structoperations__research_1_1glop_1_1MatrixEntry.html#a1473614b2ace570d3ebaccb2b04149e4">operations_research::glop::MatrixEntry::coeff</a></div><div class="ttdeci">Fractional coeff</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00335">preprocessor.h:335</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor.html">operations_research::glop::DoubletonEqualityRowPreprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00797">preprocessor.h:797</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DualizerPreprocessor_html_a07231f88dc3272eaa21df55fc0a35c8c"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a07231f88dc3272eaa21df55fc0a35c8c">operations_research::glop::DualizerPreprocessor::DualizerPreprocessor</a></div><div class="ttdeci">DualizerPreprocessor(const DualizerPreprocessor &amp;)=delete</div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1SingletonPreprocessor_html_a6ac5e2bce2fe4745f79d716c6ed14dcf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1SingletonPreprocessor.html#a6ac5e2bce2fe4745f79d716c6ed14dcf">operations_research::glop::SingletonPreprocessor::RecoverSolution</a></div><div class="ttdeci">void RecoverSolution(ProblemSolution *solution) const final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l02712">preprocessor.cc:2712</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1glop_html_a58ffd8db96c399242dc718221bdc81ee"><div class="ttname"><a href="namespaceoperations__research_1_1glop.html#a58ffd8db96c399242dc718221bdc81ee">operations_research::glop::FixConstraintWithFixedStatuses</a></div><div class="ttdeci">void FixConstraintWithFixedStatuses(const DenseColumn &amp;row_lower_bounds, const DenseColumn &amp;row_upper_bounds, ProblemSolution *solution)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l03147">preprocessor.cc:3147</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ImpliedFreePreprocessor_html_a728998b7c54333eef65561f76ac4ea8a"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ImpliedFreePreprocessor.html#a728998b7c54333eef65561f76ac4ea8a">operations_research::glop::ImpliedFreePreprocessor::ImpliedFreePreprocessor</a></div><div class="ttdeci">ImpliedFreePreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00560">preprocessor.h:560</a></div></div>
<div class="ttc" id="anamespaceoperations__research_1_1glop_html_a1ac488f3db89f6d16a85c56f3243290c"><div class="ttname"><a href="namespaceoperations__research_1_1glop.html#a1ac488f3db89f6d16a85c56f3243290c">operations_research::glop::VariableStatus</a></div><div class="ttdeci">VariableStatus</div><div class="ttdef"><b>Definition:</b> <a href="lp__types_8h_source.html#l00196">lp_types.h:196</a></div></div>
<div class="ttc" id="astructoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus_html_ae01600784dc2a3768696f55aa374d093"><div class="ttname"><a href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#ae01600784dc2a3768696f55aa374d093">operations_research::glop::DoubletonEqualityRowPreprocessor::RestoreInfo::ColChoiceAndStatus::status</a></div><div class="ttdeci">VariableStatus status</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00844">preprocessor.h:844</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_a3611ef0bc3b3adfa06432f2659c535f7"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#a3611ef0bc3b3adfa06432f2659c535f7">operations_research::glop::Preprocessor::Preprocessor</a></div><div class="ttdeci">Preprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00045">preprocessor.cc:45</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ScalingPreprocessor_html_aebdf58351cca09399f756ba8f298f8c0"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#aebdf58351cca09399f756ba8f298f8c0">operations_research::glop::ScalingPreprocessor::ScalingPreprocessor</a></div><div class="ttdeci">ScalingPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00974">preprocessor.h:974</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_a2fc3007a33b30506a1761e17e6df963a"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#a2fc3007a33b30506a1761e17e6df963a">operations_research::glop::Preprocessor::RecoverSolution</a></div><div class="ttdeci">virtual void RecoverSolution(ProblemSolution *solution) const =0</div></div>
<div class="ttc" id="alp__types_8h_html"><div class="ttname"><a href="lp__types_8h.html">lp_types.h</a></div></div>
<div class="ttc" id="astructoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus_html_a6274c135cea53fc16e739a129cd3af6a"><div class="ttname"><a href="structoperations__research_1_1glop_1_1DoubletonEqualityRowPreprocessor_1_1RestoreInfo_1_1ColChoiceAndStatus.html#a6274c135cea53fc16e739a129cd3af6a">operations_research::glop::DoubletonEqualityRowPreprocessor::RestoreInfo::ColChoiceAndStatus::ColChoiceAndStatus</a></div><div class="ttdeci">ColChoiceAndStatus(ColChoice c, VariableStatus s, Fractional v)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00847">preprocessor.h:847</a></div></div>
<div class="ttc" id="anamespaceoperations__research_html_a096ed4f933f943ccb8859e0dc08b06ca"><div class="ttname"><a href="namespaceoperations__research.html#a096ed4f933f943ccb8859e0dc08b06ca">operations_research::IsSmallerWithinTolerance</a></div><div class="ttdeci">bool IsSmallerWithinTolerance(FloatType x, FloatType y, FloatType tolerance)</div><div class="ttdef"><b>Definition:</b> <a href="fp__utils_8h_source.html#l00152">fp_utils.h:152</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1AddSlackVariablesPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::AddSlackVariablesPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l03620">preprocessor.cc:3620</a></div></div>
<div class="ttc" id="astructoperations__research_1_1glop_1_1MatrixEntry_html_aea35f36ba98d5bbd8d033382f50c9e52"><div class="ttname"><a href="structoperations__research_1_1glop_1_1MatrixEntry.html#aea35f36ba98d5bbd8d033382f50c9e52">operations_research::glop::MatrixEntry::row</a></div><div class="ttdeci">RowIndex row</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00333">preprocessor.h:333</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ColumnDeletionHelper_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html">operations_research::glop::ColumnDeletionHelper</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00137">preprocessor.h:137</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html">operations_research::glop::Preprocessor</a></div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00042">preprocessor.h:42</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1FreeConstraintPreprocessor_html_ab1bfd0781f320be0a48e6697dd7d70cf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#ab1bfd0781f320be0a48e6697dd7d70cf">operations_research::glop::FreeConstraintPreprocessor::~FreeConstraintPreprocessor</a></div><div class="ttdeci">~FreeConstraintPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00716">preprocessor.h:716</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1EmptyConstraintPreprocessor_html_a788212a55171faff43a07b7207507a6f"><div class="ttname"><a href="classoperations__research_1_1glop_1_1EmptyConstraintPreprocessor.html#a788212a55171faff43a07b7207507a6f">operations_research::glop::EmptyConstraintPreprocessor::EmptyConstraintPreprocessor</a></div><div class="ttdeci">EmptyConstraintPreprocessor(const EmptyConstraintPreprocessor &amp;)=delete</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#l00107">cp_model_fz_solver.cc:107</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor_html_a5d398cb6297813f547da141848e70bbc"><div class="ttname"><a href="classoperations__research_1_1glop_1_1RemoveNearZeroEntriesPreprocessor.html#a5d398cb6297813f547da141848e70bbc">operations_research::glop::RemoveNearZeroEntriesPreprocessor::Run</a></div><div class="ttdeci">bool Run(LinearProgram *lp) final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l02765">preprocessor.cc:2765</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1MainLpPreprocessor_html_a50733f69a2c2de517a366dcdb17394c7"><div class="ttname"><a href="classoperations__research_1_1glop_1_1MainLpPreprocessor.html#a50733f69a2c2de517a366dcdb17394c7">operations_research::glop::MainLpPreprocessor::MainLpPreprocessor</a></div><div class="ttdeci">MainLpPreprocessor(const MainLpPreprocessor &amp;)=delete</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#l00807">default_search.cc:807</a></div></div>
<div class="ttc" id="aparameters_8pb_8h_html"><div class="ttname"><a href="parameters_8pb_8h.html">parameters.pb.h</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1FixedVariablePreprocessor_html_ae0bf56eb47306d84be8265b1192744c1"><div class="ttname"><a href="classoperations__research_1_1glop_1_1FixedVariablePreprocessor.html#ae0bf56eb47306d84be8265b1192744c1">operations_research::glop::FixedVariablePreprocessor::FixedVariablePreprocessor</a></div><div class="ttdeci">FixedVariablePreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00479">preprocessor.h:479</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ProportionalRowPreprocessor_html_a6854c2df62a5131f3266b9f789809df0"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ProportionalRowPreprocessor.html#a6854c2df62a5131f3266b9f789809df0">operations_research::glop::ProportionalRowPreprocessor::ProportionalRowPreprocessor</a></div><div class="ttdeci">ProportionalRowPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00299">preprocessor.h:299</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1FreeConstraintPreprocessor_html_ab874b8c3235f68add3d37eaecc64dfaa"><div class="ttname"><a href="classoperations__research_1_1glop_1_1FreeConstraintPreprocessor.html#ab874b8c3235f68add3d37eaecc64dfaa">operations_research::glop::FreeConstraintPreprocessor::FreeConstraintPreprocessor</a></div><div class="ttdeci">FreeConstraintPreprocessor(const GlopParameters *parameters)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00711">preprocessor.h:711</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ColumnDeletionHelper_html_a43d852970601d1a979844a0aae79ed3d"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ColumnDeletionHelper.html#a43d852970601d1a979844a0aae79ed3d">operations_research::glop::ColumnDeletionHelper::MarkColumnForDeletionWithState</a></div><div class="ttdeci">void MarkColumnForDeletionWithState(ColIndex col, Fractional value, VariableStatus status)</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l00194">preprocessor.cc:194</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1DualizerPreprocessor_html_a8b7014a72cd02aa5a12eca1942447c06"><div class="ttname"><a href="classoperations__research_1_1glop_1_1DualizerPreprocessor.html#a8b7014a72cd02aa5a12eca1942447c06">operations_research::glop::DualizerPreprocessor::ChangeStatusToDualStatus</a></div><div class="ttdeci">ProblemStatus ChangeStatusToDualStatus(ProblemStatus status) const</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8cc_source.html#l03409">preprocessor.cc:3409</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1ScalingPreprocessor_html_ab162fd2aea3e591eb9cb56bba79c80f8"><div class="ttname"><a href="classoperations__research_1_1glop_1_1ScalingPreprocessor.html#ab162fd2aea3e591eb9cb56bba79c80f8">operations_research::glop::ScalingPreprocessor::~ScalingPreprocessor</a></div><div class="ttdeci">~ScalingPreprocessor() final</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00978">preprocessor.h:978</a></div></div>
<div class="ttc" id="aclassoperations__research_1_1glop_1_1Preprocessor_html_a6ef36d55945fd761fbefac971b818a29"><div class="ttname"><a href="classoperations__research_1_1glop_1_1Preprocessor.html#a6ef36d55945fd761fbefac971b818a29">operations_research::glop::Preprocessor::status_</a></div><div class="ttdeci">ProblemStatus status_</div><div class="ttdef"><b>Definition:</b> <a href="preprocessor_8h_source.html#l00090">preprocessor.h:90</a></div></div>
<!-- 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_747248fa8ec2ebcb4d8ad85ced34db0b.html">glop</a></li><li class="navelem"><a class="el" href="preprocessor_8h.html">preprocessor.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.8.18 </li>
</ul>
</div>
</body>
</html>