Files
ortools-clone/docs/dotnet/SatHelper_8cs_source.html

87 lines
42 KiB
HTML
Raw Normal View History

<!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"/>-->
<link rel="stylesheet" type="text/css" href="ortools.css" title="default" media="screen,print" />
<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-09-12 09:22:44 +02:00
<span id="sfml">Google OR-Tools 7.4</span>
</div>
</div>
2019-08-07 18:01:08 -07:00
<div id="content" style="width: 100%; overflow: hidden;">
<div style="margin-left: 15px; margin-top: 5px; float: left; color: #145A32;">
2019-08-12 09:16:03 -07:00
<h2>DotNet Reference</h2>
2019-08-07 18:01:08 -07:00
<ul>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1Sat.html">CP-SAT</a></li>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1Graph.html">Graph</a></li>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1Algorithms.html">Knapsack solver</a></li>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1LinearSolver.html">Linear solver</a></li>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1ConstraintSolver.html">Routing</a></li>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1Util.html">Util</a></li>
</ul>
</div>
<div id="content">
2019-08-07 18:01:08 -07:00
<div align="center">
<h1 style="color: #145A32;">DotNet Reference</h1>
</div>
2019-09-12 09:22:44 +02:00
<!-- Generated by Doxygen 1.8.15 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_a7cc1eeded8f693d0da6c729bc88c45a.html">ortools</a></li><li class="navelem"><a class="el" href="dir_b2c6d49957bf5d0c7726edb4b829cd4d.html">gen</a></li><li class="navelem"><a class="el" href="dir_dd9e6105f85b4b8d1432afc92516bdf4.html">ortools</a></li><li class="navelem"><a class="el" href="dir_c5b0fe70900e54a4a94ebb062342b0c6.html">sat</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">SatHelper.cs</div> </div>
</div><!--header-->
<div class="contents">
2019-09-12 09:22:44 +02:00
<a href="SatHelper_8cs.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">//------------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// &lt;auto-generated /&gt;</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// This file was automatically generated by SWIG (http://www.swig.org).</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// Version 4.0.1</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// Do not make changes to this file unless you know what you are doing--modify</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">// the SWIG interface file instead.</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">//------------------------------------------------------------------------------</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceGoogle_1_1OrTools_1_1Sat.html">Google.OrTools.Sat</a> {</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="keyword">using</span> System;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">using</span> System.Runtime.<a class="code" href="namespaceSystem_1_1Runtime_1_1InteropServices.html">InteropServices</a>;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="keyword">using</span> System.Collections;</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"><a class="line" href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html"> 17</a></span>&#160;<span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html">SatHelper</a> : global::System.IDisposable {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; <span class="keyword">private</span> global::System.Runtime.InteropServices.HandleRef swigCPtr;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#abc050282310ee35f8b4bac77b6103375"> 19</a></span>&#160; <span class="keyword">protected</span> <span class="keywordtype">bool</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#abc050282310ee35f8b4bac77b6103375">swigCMemOwn</a>;</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="keyword">internal</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#aa215fbd4cc216960941dcedd7370fc61">SatHelper</a>(global::System.IntPtr cPtr, <span class="keywordtype">bool</span> cMemoryOwn) {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#abc050282310ee35f8b4bac77b6103375">swigCMemOwn</a> = cMemoryOwn;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; swigCPtr = <s
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_a957f70f331c34e513cb17f681c5262da"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a957f70f331c34e513cb17f681c5262da">Google.OrTools.Sat.SatHelper.SolverResponseStats</a></div><div class="ttdeci">static string SolverResponseStats(Google.OrTools.Sat.CpSolverResponse response)</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00116">SatHelper.cs:116</a></div></div>
<div class="ttc" id="namespaceSystem_1_1Runtime_1_1InteropServices_html"><div class="ttname"><a href="namespaceSystem_1_1Runtime_1_1InteropServices.html">InteropServices</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ProtoHelper_html_aa5923ce66c8b2878cf2dc1c77a96d581"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ProtoHelper.html#aa5923ce66c8b2878cf2dc1c77a96d581">Google.OrTools.ProtoHelper.ProtoToByteArray</a></div><div class="ttdeci">static byte [] ProtoToByteArray(IMessage message)</div><div class="ttdef"><b>Definition:</b> <a href="ProtoHelper_8cs_source.html#l00021">ProtoHelper.cs:21</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ProtoHelper_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ProtoHelper.html">Google.OrTools.ProtoHelper</a></div><div class="ttdef"><b>Definition:</b> <a href="ProtoHelper_8cs_source.html#l00019">ProtoHelper.cs:19</a></div></div>
<div class="ttc" id="namespaceGoogle_html"><div class="ttname"><a href="namespaceGoogle.html">Google</a></div><div class="ttdef"><b>Definition:</b> <a href="Constraint_8cs_source.html#l00011">Constraint.cs:11</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_a26bb829d39212de333c89e2d3753b2b7"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a26bb829d39212de333c89e2d3753b2b7">Google.OrTools.Sat.SatHelper.SolveWithStringParametersAndSolutionCallback</a></div><div class="ttdeci">static Google.OrTools.Sat.CpSolverResponse SolveWithStringParametersAndSolutionCallback(Google.OrTools.Sat.CpModelProto model_proto, string parameters, SolutionCallback callback)</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00091">SatHelper.cs:91</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE_html_a4269650b34721164dbdc5b1bda09245e"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE.html#a4269650b34721164dbdc5b1bda09245e">Google.OrTools.Sat.operations_research_satPINVOKE.SatHelper_SolverResponseStats</a></div><div class="ttdeci">static string SatHelper_SolverResponseStats(int response_size, byte[] jarg1)</div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_a8ad4348ef0f9969025bab397e7e27e26"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a8ad4348ef0f9969025bab397e7e27e26">Google.OrTools.Sat.SatHelper.Dispose</a></div><div class="ttdeci">virtual void Dispose(bool disposing)</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00039">SatHelper.cs:39</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE_html_aa5fb71ecd5700da37ac2774efeb0de3b"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE.html#aa5fb71ecd5700da37ac2774efeb0de3b">Google.OrTools.Sat.operations_research_satPINVOKE.delete_SatHelper</a></div><div class="ttdeci">static void delete_SatHelper(global::System.Runtime.InteropServices.HandleRef jarg1)</div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE_html_a1a0fd54e128376e4f64e6caaa7ff943f"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE.html#a1a0fd54e128376e4f64e6caaa7ff943f">Google.OrTools.Sat.operations_research_satPINVOKE.SatHelper_ValidateModel</a></div><div class="ttdeci">static string SatHelper_ValidateModel(int model_proto_size, byte[] jarg1)</div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_a85b3e080a08a4262b7225b0352e5c9f1"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a85b3e080a08a4262b7225b0352e5c9f1">Google.OrTools.Sat.SatHelper.ValidateModel</a></div><div class="ttdeci">static string ValidateModel(Google.OrTools.Sat.CpModelProto model_proto)</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00121">SatHelper.cs:121</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_abc050282310ee35f8b4bac77b6103375"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#abc050282310ee35f8b4bac77b6103375">Google.OrTools.Sat.SatHelper.swigCMemOwn</a></div><div class="ttdeci">bool swigCMemOwn</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00019">SatHelper.cs:19</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE_html_ad6332d640994cad14534f37dcd75e331"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE.html#ad6332d640994cad14534f37dcd75e331">Google.OrTools.Sat.operations_research_satPINVOKE.SatHelper_ModelStats</a></div><div class="ttdeci">static string SatHelper_ModelStats(int model_proto_size, byte[] jarg1)</div></div>
<div class="ttc" id="namespaceGoogle_1_1OrTools_html"><div class="ttname"><a href="namespaceGoogle_1_1OrTools.html">Google.OrTools</a></div><div class="ttdef"><b>Definition:</b> <a href="Constraint_8cs_source.html#l00011">Constraint.cs:11</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_aa215fbd4cc216960941dcedd7370fc61"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#aa215fbd4cc216960941dcedd7370fc61">Google.OrTools.Sat.SatHelper.SatHelper</a></div><div class="ttdeci">SatHelper()</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00126">SatHelper.cs:126</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE_html_aa5e1890edea41ed56431c0a4085c01d8"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE.html#aa5e1890edea41ed56431c0a4085c01d8">Google.OrTools.Sat.operations_research_satPINVOKE.SatHelper_SolveWithStringParametersAndSolutionCallback</a></div><div class="ttdeci">static System.IntPtr SatHelper_SolveWithStringParametersAndSolutionCallback(int model_proto_size, byte[] jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)</div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SolutionCallback_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SolutionCallback.html">Google.OrTools.Sat.SolutionCallback</a></div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8cs_source.html#l00017">SolutionCallback.cs:17</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE.html">Google.OrTools.Sat.operations_research_satPINVOKE</a></div><div class="ttdef"><b>Definition:</b> <a href="operations__research__satPINVOKE_8cs_source.html#l00013">operations_research_satPINVOKE.cs:13</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html">Google.OrTools.Sat.SatHelper</a></div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00017">SatHelper.cs:17</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_a6b14172ff7df3912d5eaba3b9cca94bc"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a6b14172ff7df3912d5eaba3b9cca94bc">Google.OrTools.Sat.SatHelper.SolveWithStringParameters</a></div><div class="ttdeci">static Google.OrTools.Sat.CpSolverResponse SolveWithStringParameters(Google.OrTools.Sat.CpModelProto model_proto, string parameters)</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00071">SatHelper.cs:71</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_aadde3d053f50ca4c30c759c034fd6146"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#aadde3d053f50ca4c30c759c034fd6146">Google.OrTools.Sat.SatHelper.ModelStats</a></div><div class="ttdeci">static string ModelStats(Google.OrTools.Sat.CpModelProto model_proto)</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00111">SatHelper.cs:111</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_a6e2d745cdb7a7b983f861ed6a9a541a7"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a6e2d745cdb7a7b983f861ed6a9a541a7">Google.OrTools.Sat.SatHelper.Dispose</a></div><div class="ttdeci">void Dispose()</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00034">SatHelper.cs:34</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_a8b6ecba7723b1cfde5c13a15423f96fa"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a8b6ecba7723b1cfde5c13a15423f96fa">Google.OrTools.Sat.SatHelper.Solve</a></div><div class="ttdeci">static Google.OrTools.Sat.CpSolverResponse Solve(Google.OrTools.Sat.CpModelProto model_proto)</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00051">SatHelper.cs:51</a></div></div>
<div class="ttc" id="namespaceGoogle_1_1OrTools_1_1Sat_html"><div class="ttname"><a href="namespaceGoogle_1_1OrTools_1_1Sat.html">Google.OrTools.Sat</a></div><div class="ttdef"><b>Definition:</b> <a href="operations__research__sat_8cs_source.html#l00011">operations_research_sat.cs:11</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE_html_a241762b39021ecc3dcba19fd6c0b42b8"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE.html#a241762b39021ecc3dcba19fd6c0b42b8">Google.OrTools.Sat.operations_research_satPINVOKE.SatHelper_Solve</a></div><div class="ttdeci">static System.IntPtr SatHelper_Solve(int model_proto_size, byte[] jarg1)</div></div>
</div><!-- fragment --></div><!-- contents -->
2019-08-07 18:01:08 -07:00
</div>
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>