Files
ortools-clone/docs/java/MPConstraint_8java_source.html
Laurent Perron f36ea62bbc new doc
2019-08-12 23:15:11 -07:00

80 lines
32 KiB
HTML

<!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">
<span id="sfml">Google OR-Tools 7.3</span>
</div>
</div>
<div id="content" style="width: 100%; overflow: hidden;">
<div style="margin-left: 15px; margin-top: 5px; float: left; color: #145A32;">
<h2>Java Reference</h2>
<ul>
<li><a href="../java/namespacecom_1_1google_1_1ortools_1_1sat.html">CP-SAT</a></li>
<li><a href="../java/namespacecom_1_1google_1_1ortools_1_1graph.html">Graph</a></li>
<li><a href="../java/namespacecom_1_1google_1_1ortools_1_1algorithms.html">Knapsack solver</a></li>
<li><a href="../java/namespacecom_1_1google_1_1ortools_1_1linearsolver.html">Linear solver</a></li>
<li><a href="../java/namespacecom_1_1google_1_1ortools_1_1constraintsolver.html">Routing</a></li>
<li><a href="../java/namespacecom_1_1google_1_1ortools_1_1util.html">Util</a></li>
</ul>
</div>
<div id="content">
<div align="center">
<h1 style="color: #145A32;">Java Reference</h1>
</div>
<!-- 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_82da1734a9cb0f1cf40dbd95c2117ce5.html">com</a></li><li class="navelem"><a class="el" href="dir_1713cbfcde5229f242ac28be432e77c9.html">google</a></li><li class="navelem"><a class="el" href="dir_06c320066273db25e45ae140036401c9.html">ortools</a></li><li class="navelem"><a class="el" href="dir_4f0d63c348f97e5defc3c6fccd9ab57f.html">linearsolver</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">MPConstraint.java</div> </div>
</div><!--header-->
<div class="contents">
<a href="MPConstraint_8java.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"> * This file was automatically generated by SWIG (http://www.swig.org).</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * Version 4.0.0</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</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="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * the SWIG interface file instead.</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;</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="keyword">package </span>com.google.ortools.linearsolver;</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">import</span> java.lang.reflect.*;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html"> 18</a></span>&#160;<span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html">MPConstraint</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="keyword">private</span> <span class="keyword">transient</span> <span class="keywordtype">long</span> swigCPtr;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="keyword">protected</span> <span class="keyword">transient</span> <span class="keywordtype">boolean</span> swigCMemOwn;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#aa9fb6b25e62d6971f62cd3e33e4d8f94"> 22</a></span>&#160; <span class="keyword">protected</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#aa9fb6b25e62d6971f62cd3e33e4d8f94">MPConstraint</a>(<span class="keywordtype">long</span> cPtr, <span class="keywordtype">boolean</span> cMemoryOwn) {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; swigCMemOwn = cMemoryOwn;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; swigCPtr = cPtr;</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;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keyword">protected</span> <span class="keyword">static</span> <span class="keywordtype">long</span> getCPtr(<a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html">MPConstraint</a> obj) {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <span class="keywordflow">return</span> (obj == <span class="keyword">null</span>) ? 0 : obj.swigCPtr;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; }</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; @SuppressWarnings(<span class="stringliteral">&quot;deprecation&quot;</span>)</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; protected <span class="keywordtype">void</span> finalize() {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keyword">delete</span>();</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;</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a155da317e33b817886120f10038c12cf"> 36</a></span>&#160; <span class="keyword">public</span> <span class="keyword">synchronized</span> <span class="keywordtype">void</span> <span class="keyword">delete</span>() {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keywordflow">if</span> (swigCPtr != 0) {</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keywordflow">if</span> (swigCMemOwn) {</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; swigCMemOwn = <span class="keyword">false</span>;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; main_research_linear_solverJNI.delete_MPConstraint(swigCPtr);</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; }</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; swigCPtr = 0;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; }</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; }</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#afa2149aced9d90555f788dfc81c23d15"> 49</a></span>&#160; <span class="keyword">public</span> String <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#afa2149aced9d90555f788dfc81c23d15">name</a>() {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keywordflow">return</span> main_research_linear_solverJNI.MPConstraint_name(swigCPtr, <span class="keyword">this</span>);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; }</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a7ebbe7c8fd2df3c8ace0e427aea69f9d"> 59</a></span>&#160; <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a7ebbe7c8fd2df3c8ace0e427aea69f9d">setCoefficient</a>(<a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html">MPVariable</a> var, <span class="keywordtype">double</span> coeff) {</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; main_research_linear_solverJNI.MPConstraint_setCoefficient(swigCPtr, <span class="keyword">this</span>, <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html">MPVariable</a>.getCPtr(var), var, coeff);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; }</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a1bf9f1dc3db20737a1d30ad170b018ba"> 67</a></span>&#160; <span class="keyword">public</span> <span class="keywordtype">double</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a1bf9f1dc3db20737a1d30ad170b018ba">getCoefficient</a>(<a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html">MPVariable</a> var) {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordflow">return</span> main_research_linear_solverJNI.MPConstraint_getCoefficient(swigCPtr, <span class="keyword">this</span>, <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html">MPVariable</a>.getCPtr(var), var);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; }</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#adfc2cdd9cf50a1831abbfa80ac1d02c8"> 74</a></span>&#160; <span class="keyword">public</span> <span class="keywordtype">double</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#adfc2cdd9cf50a1831abbfa80ac1d02c8">lb</a>() {</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keywordflow">return</span> main_research_linear_solverJNI.MPConstraint_lb(swigCPtr, <span class="keyword">this</span>);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; }</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a68fffc459264c22ae1c6ef0774f06036"> 81</a></span>&#160; <span class="keyword">public</span> <span class="keywordtype">double</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a68fffc459264c22ae1c6ef0774f06036">ub</a>() {</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keywordflow">return</span> main_research_linear_solverJNI.MPConstraint_ub(swigCPtr, <span class="keyword">this</span>);</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; }</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a9f70bea621443367cfb9c8ebe2a0166a"> 88</a></span>&#160; <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a9f70bea621443367cfb9c8ebe2a0166a">setLb</a>(<span class="keywordtype">double</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#adfc2cdd9cf50a1831abbfa80ac1d02c8">lb</a>) {</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; main_research_linear_solverJNI.MPConstraint_setLb(swigCPtr, <span class="keyword">this</span>, <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#adfc2cdd9cf50a1831abbfa80ac1d02c8">lb</a>);</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; }</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#ac42e9173b5c99b1a6b9aab16e79088e4"> 95</a></span>&#160; <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#ac42e9173b5c99b1a6b9aab16e79088e4">setUb</a>(<span class="keywordtype">double</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a68fffc459264c22ae1c6ef0774f06036">ub</a>) {</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; main_research_linear_solverJNI.MPConstraint_setUb(swigCPtr, <span class="keyword">this</span>, <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a68fffc459264c22ae1c6ef0774f06036">ub</a>);</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; }</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#aeddf6e61849e64cda2d1d58291133c21"> 102</a></span>&#160; <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#aeddf6e61849e64cda2d1d58291133c21">setBounds</a>(<span class="keywordtype">double</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#adfc2cdd9cf50a1831abbfa80ac1d02c8">lb</a>, <span class="keywordtype">double</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a68fffc459264c22ae1c6ef0774f06036">ub</a>) {</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; main_research_linear_solverJNI.MPConstraint_setBounds(swigCPtr, <span class="keyword">this</span>, <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#adfc2cdd9cf50a1831abbfa80ac1d02c8">lb</a>, <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a68fffc459264c22ae1c6ef0774f06036">ub</a>);</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; }</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#aa93740b16b636898fa47615e3767a426"> 109</a></span>&#160; <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#aa93740b16b636898fa47615e3767a426">isLazy</a>() {</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keywordflow">return</span> main_research_linear_solverJNI.MPConstraint_isLazy(swigCPtr, <span class="keyword">this</span>);</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; }</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a0a3d355c9ed3e08808c6309a0f47e72f"> 126</a></span>&#160; <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a0a3d355c9ed3e08808c6309a0f47e72f">setIsLazy</a>(<span class="keywordtype">boolean</span> laziness) {</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; main_research_linear_solverJNI.MPConstraint_setIsLazy(swigCPtr, <span class="keyword">this</span>, laziness);</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; }</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a019749328da42c4814af71d3e3b647ad"> 133</a></span>&#160; <span class="keyword">public</span> <span class="keywordtype">int</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a019749328da42c4814af71d3e3b647ad">index</a>() {</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keywordflow">return</span> main_research_linear_solverJNI.MPConstraint_index(swigCPtr, <span class="keyword">this</span>);</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; }</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#ad32d4827b8a9cf3849766b37ebabb334"> 141</a></span>&#160; <span class="keyword">public</span> <span class="keywordtype">double</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#ad32d4827b8a9cf3849766b37ebabb334">dualValue</a>() {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="keywordflow">return</span> main_research_linear_solverJNI.MPConstraint_dualValue(swigCPtr, <span class="keyword">this</span>);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; }</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#ab92843a20b6487f6d4f270b60e2af719"> 157</a></span>&#160; <span class="keyword">public</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html">MPSolver</a>.<a class="code" href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1BasisStatus.html">BasisStatus</a> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#ab92843a20b6487f6d4f270b60e2af719">basisStatus</a>() {</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html">MPSolver</a>.<a class="code" href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1BasisStatus.html">BasisStatus</a>.<a class="code" href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1BasisStatus.html#a422b60af4a323ca47bab1c40f420969b">swigToEnum</a>(main_research_linear_solverJNI.MPConstraint_basisStatus(swigCPtr, <span class="keyword">this</span>));</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; }</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;}</div><div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_ad32d4827b8a9cf3849766b37ebabb334"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#ad32d4827b8a9cf3849766b37ebabb334">com.google.ortools.linearsolver.MPConstraint.dualValue</a></div><div class="ttdeci">double dualValue()</div><div class="ttdoc">Advanced usage: returns the dual value of the constraint in the current solution (only available for...</div><div class="ttdef"><b>Definition:</b> <a href="MPConstraint_8java_source.html#l00141">MPConstraint.java:141</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_adfc2cdd9cf50a1831abbfa80ac1d02c8"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#adfc2cdd9cf50a1831abbfa80ac1d02c8">com.google.ortools.linearsolver.MPConstraint.lb</a></div><div class="ttdeci">double lb()</div><div class="ttdoc">Returns the lower bound.</div><div class="ttdef"><b>Definition:</b> <a href="MPConstraint_8java_source.html#l00074">MPConstraint.java:74</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html">com.google.ortools.linearsolver.MPVariable</a></div><div class="ttdoc">The class for variables of a Mathematical Programming (MP) model.</div><div class="ttdef"><b>Definition:</b> <a href="MPVariable_8java_source.html#l00016">MPVariable.java:16</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_afa2149aced9d90555f788dfc81c23d15"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#afa2149aced9d90555f788dfc81c23d15">com.google.ortools.linearsolver.MPConstraint.name</a></div><div class="ttdeci">String name()</div><div class="ttdoc">Returns the name of the constraint.</div><div class="ttdef"><b>Definition:</b> <a href="MPConstraint_8java_source.html#l00049">MPConstraint.java:49</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html">com.google.ortools.linearsolver.MPConstraint</a></div><div class="ttdoc">The class for constraints of a Mathematical Programming (MP) model.</div><div class="ttdef"><b>Definition:</b> <a href="MPConstraint_8java_source.html#l00018">MPConstraint.java:18</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_ac42e9173b5c99b1a6b9aab16e79088e4"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#ac42e9173b5c99b1a6b9aab16e79088e4">com.google.ortools.linearsolver.MPConstraint.setUb</a></div><div class="ttdeci">void setUb(double ub)</div><div class="ttdoc">Sets the upper bound.</div><div class="ttdef"><b>Definition:</b> <a href="MPConstraint_8java_source.html#l00095">MPConstraint.java:95</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_aa9fb6b25e62d6971f62cd3e33e4d8f94"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#aa9fb6b25e62d6971f62cd3e33e4d8f94">com.google.ortools.linearsolver.MPConstraint.MPConstraint</a></div><div class="ttdeci">MPConstraint(long cPtr, boolean cMemoryOwn)</div><div class="ttdef"><b>Definition:</b> <a href="MPConstraint_8java_source.html#l00022">MPConstraint.java:22</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_a68fffc459264c22ae1c6ef0774f06036"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a68fffc459264c22ae1c6ef0774f06036">com.google.ortools.linearsolver.MPConstraint.ub</a></div><div class="ttdeci">double ub()</div><div class="ttdoc">Returns the upper bound.</div><div class="ttdef"><b>Definition:</b> <a href="MPConstraint_8java_source.html#l00081">MPConstraint.java:81</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html">com.google.ortools.linearsolver.MPSolver</a></div><div class="ttdoc">This mathematical programming (MP) solver class is the main class though which users build and solve...</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00017">MPSolver.java:17</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1BasisStatus_html"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1BasisStatus.html">com.google.ortools.linearsolver.MPSolver.BasisStatus</a></div><div class="ttdoc">Advanced usage: possible basis status values for a variable and the slack variable of a linear const...</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00703">MPSolver.java:703</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1BasisStatus_html_a422b60af4a323ca47bab1c40f420969b"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1BasisStatus.html#a422b60af4a323ca47bab1c40f420969b">com.google.ortools.linearsolver.MPSolver.BasisStatus.swigToEnum</a></div><div class="ttdeci">static BasisStatus swigToEnum(int swigValue)</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00714">MPSolver.java:714</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_a019749328da42c4814af71d3e3b647ad"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a019749328da42c4814af71d3e3b647ad">com.google.ortools.linearsolver.MPConstraint.index</a></div><div class="ttdeci">int index()</div><div class="ttdoc">Returns the index of the constraint in the MPSolver::constraints_.</div><div class="ttdef"><b>Definition:</b> <a href="MPConstraint_8java_source.html#l00133">MPConstraint.java:133</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_a9f70bea621443367cfb9c8ebe2a0166a"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a9f70bea621443367cfb9c8ebe2a0166a">com.google.ortools.linearsolver.MPConstraint.setLb</a></div><div class="ttdeci">void setLb(double lb)</div><div class="ttdoc">Sets the lower bound.</div><div class="ttdef"><b>Definition:</b> <a href="MPConstraint_8java_source.html#l00088">MPConstraint.java:88</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_a1bf9f1dc3db20737a1d30ad170b018ba"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a1bf9f1dc3db20737a1d30ad170b018ba">com.google.ortools.linearsolver.MPConstraint.getCoefficient</a></div><div class="ttdeci">double getCoefficient(MPVariable var)</div><div class="ttdoc">Gets the coefficient of a given variable on the constraint (which is 0 if the variable does not appe...</div><div class="ttdef"><b>Definition:</b> <a href="MPConstraint_8java_source.html#l00067">MPConstraint.java:67</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_a7ebbe7c8fd2df3c8ace0e427aea69f9d"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a7ebbe7c8fd2df3c8ace0e427aea69f9d">com.google.ortools.linearsolver.MPConstraint.setCoefficient</a></div><div class="ttdeci">void setCoefficient(MPVariable var, double coeff)</div><div class="ttdoc">Sets the coefficient of the variable on the constraint.</div><div class="ttdef"><b>Definition:</b> <a href="MPConstraint_8java_source.html#l00059">MPConstraint.java:59</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_aa93740b16b636898fa47615e3767a426"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#aa93740b16b636898fa47615e3767a426">com.google.ortools.linearsolver.MPConstraint.isLazy</a></div><div class="ttdeci">boolean isLazy()</div><div class="ttdoc">Advanced usage: returns true if the constraint is &quot;lazy&quot; (see below).</div><div class="ttdef"><b>Definition:</b> <a href="MPConstraint_8java_source.html#l00109">MPConstraint.java:109</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_aeddf6e61849e64cda2d1d58291133c21"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#aeddf6e61849e64cda2d1d58291133c21">com.google.ortools.linearsolver.MPConstraint.setBounds</a></div><div class="ttdeci">void setBounds(double lb, double ub)</div><div class="ttdoc">Sets both the lower and upper bounds.</div><div class="ttdef"><b>Definition:</b> <a href="MPConstraint_8java_source.html#l00102">MPConstraint.java:102</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_ab92843a20b6487f6d4f270b60e2af719"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#ab92843a20b6487f6d4f270b60e2af719">com.google.ortools.linearsolver.MPConstraint.basisStatus</a></div><div class="ttdeci">MPSolver.BasisStatus basisStatus()</div><div class="ttdoc">Advanced usage: returns the basis status of the constraint.</div><div class="ttdef"><b>Definition:</b> <a href="MPConstraint_8java_source.html#l00157">MPConstraint.java:157</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_a0a3d355c9ed3e08808c6309a0f47e72f"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a0a3d355c9ed3e08808c6309a0f47e72f">com.google.ortools.linearsolver.MPConstraint.setIsLazy</a></div><div class="ttdeci">void setIsLazy(boolean laziness)</div><div class="ttdoc">Advanced usage: sets the constraint &quot;laziness&quot;.</div><div class="ttdef"><b>Definition:</b> <a href="MPConstraint_8java_source.html#l00126">MPConstraint.java:126</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div>
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>