<ahref="MPConstraint_8java.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/* ----------------------------------------------------------------------------</span></div>
<divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> * This file was automatically generated by SWIG (http://www.swig.org).</span></div>
<divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment"> * Do not make changes to this file unless you know what you are doing--modify</span></div>
<divclass="line"><aname="l00006"></a><spanclass="lineno"> 6</span> <spanclass="comment"> * the SWIG interface file instead.</span></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html">com.google.ortools.linearsolver.MPConstraint</a></div><divclass="ttdoc">The class for constraints of a Mathematical Programming (MP) model.</div><divclass="ttdef"><b>Definition:</b><ahref="MPConstraint_8java_source.html#l00018">MPConstraint.java:18</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_a019749328da42c4814af71d3e3b647ad"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a019749328da42c4814af71d3e3b647ad">com.google.ortools.linearsolver.MPConstraint.index</a></div><divclass="ttdeci">int index()</div><divclass="ttdoc">Returns the index of the constraint in the MPSolver::constraints_.</div><divclass="ttdef"><b>Definition:</b><ahref="MPConstraint_8java_source.html#l00133">MPConstraint.java:133</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_a1bf9f1dc3db20737a1d30ad170b018ba"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a1bf9f1dc3db20737a1d30ad170b018ba">com.google.ortools.linearsolver.MPConstraint.getCoefficient</a></div><divclass="ttdeci">double getCoefficient(MPVariable var)</div><divclass="ttdoc">Gets the coefficient of a given variable on the constraint (which is 0 if the variable does not appe...</div><divclass="ttdef"><b>Definition:</b><ahref="MPConstraint_8java_source.html#l00067">MPConstraint.java:67</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_a68fffc459264c22ae1c6ef0774f06036"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a68fffc459264c22ae1c6ef0774f06036">com.google.ortools.linearsolver.MPConstraint.ub</a></div><divclass="ttdeci">double ub()</div><divclass="ttdoc">Returns the upper bound.</div><divclass="ttdef"><b>Definition:</b><ahref="MPConstraint_8java_source.html#l00081">MPConstraint.java:81</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_a7ebbe7c8fd2df3c8ace0e427aea69f9d"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a7ebbe7c8fd2df3c8ace0e427aea69f9d">com.google.ortools.linearsolver.MPConstraint.setCoefficient</a></div><divclass="ttdeci">void setCoefficient(MPVariable var, double coeff)</div><divclass="ttdoc">Sets the coefficient of the variable on the constraint.</div><divclass="ttdef"><b>Definition:</b><ahref="MPConstraint_8java_source.html#l00059">MPConstraint.java:59</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_a9f70bea621443367cfb9c8ebe2a0166a"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#a9f70bea621443367cfb9c8ebe2a0166a">com.google.ortools.linearsolver.MPConstraint.setLb</a></div><divclass="ttdeci">void setLb(double lb)</div><divclass="ttdoc">Sets the lower bound.</div><divclass="ttdef"><b>Definition:</b><ahref="MPConstraint_8java_source.html#l00088">MPConstraint.java:88</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_aa93740b16b636898fa47615e3767a426"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#aa93740b16b636898fa47615e3767a426">com.google.ortools.linearsolver.MPConstraint.isLazy</a></div><divclass="ttdeci">boolean isLazy()</div><divclass="ttdoc">Advanced usage: returns true if the constraint is "lazy" (see below).</div><divclass="ttdef"><b>Definition:</b><ahref="MPConstraint_8java_source.html#l00109">MPConstraint.java:109</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_ab92843a20b6487f6d4f270b60e2af719"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#ab92843a20b6487f6d4f270b60e2af719">com.google.ortools.linearsolver.MPConstraint.basisStatus</a></div><divclass="ttdeci">MPSolver.BasisStatus basisStatus()</div><divclass="ttdoc">Advanced usage: returns the basis status of the constraint.</div><divclass="ttdef"><b>Definition:</b><ahref="MPConstraint_8java_source.html#l00157">MPConstraint.java:157</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_ac42e9173b5c99b1a6b9aab16e79088e4"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#ac42e9173b5c99b1a6b9aab16e79088e4">com.google.ortools.linearsolver.MPConstraint.setUb</a></div><divclass="ttdeci">void setUb(double ub)</div><divclass="ttdoc">Sets the upper bound.</div><divclass="ttdef"><b>Definition:</b><ahref="MPConstraint_8java_source.html#l00095">MPConstraint.java:95</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_ad32d4827b8a9cf3849766b37ebabb334"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#ad32d4827b8a9cf3849766b37ebabb334">com.google.ortools.linearsolver.MPConstraint.dualValue</a></div><divclass="ttdeci">double dualValue()</div><divclass="ttdoc">Advanced usage: returns the dual value of the constraint in the current solution (only available for...</div><divclass="ttdef"><b>Definition:</b><ahref="MPConstraint_8java_source.html#l00141">MPConstraint.java:141</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_adfc2cdd9cf50a1831abbfa80ac1d02c8"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#adfc2cdd9cf50a1831abbfa80ac1d02c8">com.google.ortools.linearsolver.MPConstraint.lb</a></div><divclass="ttdeci">double lb()</div><divclass="ttdoc">Returns the lower bound.</div><divclass="ttdef"><b>Definition:</b><ahref="MPConstraint_8java_source.html#l00074">MPConstraint.java:74</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_aeddf6e61849e64cda2d1d58291133c21"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#aeddf6e61849e64cda2d1d58291133c21">com.google.ortools.linearsolver.MPConstraint.setBounds</a></div><divclass="ttdeci">void setBounds(double lb, double ub)</div><divclass="ttdoc">Sets both the lower and upper bounds.</div><divclass="ttdef"><b>Definition:</b><ahref="MPConstraint_8java_source.html#l00102">MPConstraint.java:102</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint_html_afa2149aced9d90555f788dfc81c23d15"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPConstraint.html#afa2149aced9d90555f788dfc81c23d15">com.google.ortools.linearsolver.MPConstraint.name</a></div><divclass="ttdeci">String name()</div><divclass="ttdoc">Returns the name of the constraint.</div><divclass="ttdef"><b>Definition:</b><ahref="MPConstraint_8java_source.html#l00049">MPConstraint.java:49</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html">com.google.ortools.linearsolver.MPSolver</a></div><divclass="ttdoc">This mathematical programming (MP) solver class is the main class though which users build and solve...</div><divclass="ttdef"><b>Definition:</b><ahref="MPSolver_8java_source.html#l00017">MPSolver.java:17</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html">com.google.ortools.linearsolver.MPVariable</a></div><divclass="ttdoc">The class for variables of a Mathematical Programming (MP) model.</div><divclass="ttdef"><b>Definition:</b><ahref="MPVariable_8java_source.html#l00016">MPVariable.java:16</a></div></div>
<divclass="ttc"id="aenumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1BasisStatus_html"><divclass="ttname"><ahref="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1BasisStatus.html">com.google.ortools.linearsolver.MPSolver.BasisStatus</a></div><divclass="ttdoc">Advanced usage: possible basis status values for a variable and the slack variable of a linear const...</div><divclass="ttdef"><b>Definition:</b><ahref="MPSolver_8java_source.html#l00727">MPSolver.java:727</a></div></div>