Files
ortools-clone/docs/cpp_linear/model__exporter_8h_source.html

71 lines
23 KiB
HTML
Raw Normal View History

2019-06-13 15:51:12 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>OR-Tools</title>
<meta http-equiv="Content-Type" content="text/html;"/>
<meta charset="utf-8"/>
<!--<link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>-->
2019-06-20 23:08:48 +02:00
<link rel="stylesheet" type="text/css" href="ortools.css" title="default" media="screen,print" />
2019-06-13 15:51:12 +02:00
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
</head>
<body>
<div id="banner-container">
<div id="banner">
2019-06-29 18:18:08 +02:00
<span id="sfml">OR-Tools 7.2</span>
2019-06-13 15:51:12 +02:00
</div>
</div>
2019-06-29 18:18:08 +02:00
<link rel="icon" href="https://developers.google.com/optimization/images/orLogo.png">
2019-06-13 15:51:12 +02:00
<div id="content">
<!-- Generated by Doxygen 1.8.15 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
2019-07-15 17:42:24 -07:00
<li class="current"><a href="files.html"><span>Files</span></a></li>
2019-06-13 15:51:12 +02:00
</ul>
</div>
</div><!-- top -->
2019-07-12 13:25:23 -07:00
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('model__exporter_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
2019-06-13 15:51:12 +02:00
<div class="header">
<div class="headertitle">
<div class="title">model_exporter.h</div> </div>
</div><!--header-->
<div class="contents">
2019-07-15 14:27:40 -07:00
<a href="model__exporter_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// Copyright 2010-2018 Google LLC</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// you may not use this file except in compliance with the License.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// You may obtain a copy of the License at</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#ifndef OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#define OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;absl/strings/str_format.h&quot;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;ortools/base/hash.h&quot;</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;ortools/base/macros.h&quot;</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;ortools/base/statusor.h&quot;</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="linear__solver_8pb_8h.html">ortools/linear_solver/linear_solver.pb.h</a>&quot;</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="keyword">namespace </span><a class="code" href="namespaceoperations__research.html">operations_research</a> {</div><div class="
2019-06-13 15:51:12 +02:00
<div class="ttc" id="structoperations__research_1_1MPModelExportOptions_html_a86112c3c11136b95424b6c60627d91b1"><div class="ttname"><a href="structoperations__research_1_1MPModelExportOptions.html#a86112c3c11136b95424b6c60627d91b1">operations_research::MPModelExportOptions::MPModelExportOptions</a></div><div class="ttdeci">MPModelExportOptions()</div><div class="ttdef"><b>Definition:</b> <a href="model__exporter_8h_source.html#l00029">model_exporter.h:29</a></div></div>
2019-07-15 14:27:40 -07:00
<div class="ttc" id="structoperations__research_1_1MPModelExportOptions_html_a7b8fcb7a9d972c70ccb83d34bfd9e207"><div class="ttname"><a href="structoperations__research_1_1MPModelExportOptions.html#a7b8fcb7a9d972c70ccb83d34bfd9e207">operations_research::MPModelExportOptions::log_invalid_names</a></div><div class="ttdeci">bool log_invalid_names</div><div class="ttdef"><b>Definition:</b> <a href="model__exporter_8h_source.html#l00034">model_exporter.h:34</a></div></div>
<div class="ttc" id="structoperations__research_1_1MPModelExportOptions_html_a5e95cfdaa41bc1970763fbb1910286ac"><div class="ttname"><a href="structoperations__research_1_1MPModelExportOptions.html#a5e95cfdaa41bc1970763fbb1910286ac">operations_research::MPModelExportOptions::show_unused_variables</a></div><div class="ttdeci">bool show_unused_variables</div><div class="ttdef"><b>Definition:</b> <a href="model__exporter_8h_source.html#l00038">model_exporter.h:38</a></div></div>
<div class="ttc" id="namespaceoperations__research_html_aef684073daca7460490db8d881f886e0"><div class="ttname"><a href="namespaceoperations__research.html#aef684073daca7460490db8d881f886e0">operations_research::ExportModelAsMpsFormat</a></div><div class="ttdeci">util::StatusOr&lt; std::string &gt; ExportModelAsMpsFormat(const MPModelProto &amp;model, const MPModelExportOptions &amp;options=MPModelExportOptions())</div></div>
<div class="ttc" id="structoperations__research_1_1MPModelExportOptions_html_af2188b57edde3fa11b664af741cd4d18"><div class="ttname"><a href="structoperations__research_1_1MPModelExportOptions.html#af2188b57edde3fa11b664af741cd4d18">operations_research::MPModelExportOptions::max_line_length</a></div><div class="ttdeci">int max_line_length</div><div class="ttdef"><b>Definition:</b> <a href="model__exporter_8h_source.html#l00041">model_exporter.h:41</a></div></div>
2019-06-13 15:51:12 +02:00
<div class="ttc" id="linear__solver_8pb_8h_html"><div class="ttname"><a href="linear__solver_8pb_8h.html">linear_solver.pb.h</a></div></div>
2019-07-15 17:55:13 -07:00
<div class="ttc" id="namespaceoperations__research_html"><div class="ttname"><a href="namespaceoperations__research.html">operations_research</a></div><div class="ttdef"><b>Definition:</b> <a href="linear__expr_8h_source.html#l00080">linear_expr.h:80</a></div></div>
2019-07-15 14:27:40 -07:00
<div class="ttc" id="classoperations__research_1_1MPModelProto_html"><div class="ttname"><a href="classoperations__research_1_1MPModelProto.html">operations_research::MPModelProto</a></div><div class="ttdef"><b>Definition:</b> <a href="linear__solver_8pb_8h_source.html#l01278">linear_solver.pb.h:1278</a></div></div>
<div class="ttc" id="structoperations__research_1_1MPModelExportOptions_html_af22a80b78769d34299cdc7c39549bb3b"><div class="ttname"><a href="structoperations__research_1_1MPModelExportOptions.html#af22a80b78769d34299cdc7c39549bb3b">operations_research::MPModelExportOptions::obfuscate</a></div><div class="ttdeci">bool obfuscate</div><div class="ttdef"><b>Definition:</b> <a href="model__exporter_8h_source.html#l00032">model_exporter.h:32</a></div></div>
<div class="ttc" id="namespaceoperations__research_html_a689d3552f87e89456c0c9a43847c964a"><div class="ttname"><a href="namespaceoperations__research.html#a689d3552f87e89456c0c9a43847c964a">operations_research::ExportModelAsLpFormat</a></div><div class="ttdeci">util::StatusOr&lt; std::string &gt; ExportModelAsLpFormat(const MPModelProto &amp;model, const MPModelExportOptions &amp;options=MPModelExportOptions())</div></div>
2019-06-13 15:51:12 +02:00
</div><!-- fragment --></div><!-- contents -->
2019-07-12 13:25:23 -07:00
</div><!-- doc-content -->
2019-06-13 15:51:12 +02:00
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>