<ahref="MPVariable_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="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> * Version 4.0.1</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_1MPVariable_html_a019749328da42c4814af71d3e3b647ad"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#a019749328da42c4814af71d3e3b647ad">com.google.ortools.linearsolver.MPVariable.index</a></div><divclass="ttdeci">int index()</div><divclass="ttdoc">Returns the index of the variable in the MPSolver::variables_.</div><divclass="ttdef"><b>Definition:</b><ahref="MPVariable_8java_source.html#l00072">MPVariable.java:72</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#l00707">MPSolver.java:707</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_aeddf6e61849e64cda2d1d58291133c21"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#aeddf6e61849e64cda2d1d58291133c21">com.google.ortools.linearsolver.MPVariable.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="MPVariable_8java_source.html#l00107">MPVariable.java:107</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_a4a1d3e9decf2f73184960fc6b470a170"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#a4a1d3e9decf2f73184960fc6b470a170">com.google.ortools.linearsolver.MPVariable.reducedCost</a></div><divclass="ttdeci">double reducedCost()</div><divclass="ttdoc">Advanced usage: returns the reduced cost of the variable in the current solution (only available for...</div><divclass="ttdef"><b>Definition:</b><ahref="MPVariable_8java_source.html#l00115">MPVariable.java:115</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_afc33432267b4d13352c17882456f17b7"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#afc33432267b4d13352c17882456f17b7">com.google.ortools.linearsolver.MPVariable.solutionValue</a></div><divclass="ttdeci">double solutionValue()</div><divclass="ttdoc">Returns the value of the variable in the current solution.</div><divclass="ttdef"><b>Definition:</b><ahref="MPVariable_8java_source.html#l00065">MPVariable.java:65</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_afa2149aced9d90555f788dfc81c23d15"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#afa2149aced9d90555f788dfc81c23d15">com.google.ortools.linearsolver.MPVariable.name</a></div><divclass="ttdeci">String name()</div><divclass="ttdoc">Returns the name of the variable.</div><divclass="ttdef"><b>Definition:</b><ahref="MPVariable_8java_source.html#l00047">MPVariable.java:47</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_a68fffc459264c22ae1c6ef0774f06036"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#a68fffc459264c22ae1c6ef0774f06036">com.google.ortools.linearsolver.MPVariable.ub</a></div><divclass="ttdeci">double ub()</div><divclass="ttdoc">Returns the upper bound.</div><divclass="ttdef"><b>Definition:</b><ahref="MPVariable_8java_source.html#l00086">MPVariable.java:86</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_a3fbb21f4f71d698cba995ab3d4a7b672"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#a3fbb21f4f71d698cba995ab3d4a7b672">com.google.ortools.linearsolver.MPVariable.setInteger</a></div><divclass="ttdeci">void setInteger(boolean integer)</div><divclass="ttdoc">Sets the integrality requirement of the variable.</div><divclass="ttdef"><b>Definition:</b><ahref="MPVariable_8java_source.html#l00054">MPVariable.java:54</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_adfc2cdd9cf50a1831abbfa80ac1d02c8"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#adfc2cdd9cf50a1831abbfa80ac1d02c8">com.google.ortools.linearsolver.MPVariable.lb</a></div><divclass="ttdeci">double lb()</div><divclass="ttdoc">Returns the lower bound.</div><divclass="ttdef"><b>Definition:</b><ahref="MPVariable_8java_source.html#l00079">MPVariable.java:79</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_ab92843a20b6487f6d4f270b60e2af719"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#ab92843a20b6487f6d4f270b60e2af719">com.google.ortools.linearsolver.MPVariable.basisStatus</a></div><divclass="ttdeci">MPSolver.BasisStatus basisStatus()</div><divclass="ttdoc">Advanced usage: returns the basis status of the variable in the current solution (only available for...</div><divclass="ttdef"><b>Definition:</b><ahref="MPVariable_8java_source.html#l00125">MPVariable.java:125</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_a9f70bea621443367cfb9c8ebe2a0166a"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#a9f70bea621443367cfb9c8ebe2a0166a">com.google.ortools.linearsolver.MPVariable.setLb</a></div><divclass="ttdeci">void setLb(double lb)</div><divclass="ttdoc">Sets the lower bound.</div><divclass="ttdef"><b>Definition:</b><ahref="MPVariable_8java_source.html#l00093">MPVariable.java:93</a></div></div>
<divclass="ttc"id="aclasscom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_ac42e9173b5c99b1a6b9aab16e79088e4"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#ac42e9173b5c99b1a6b9aab16e79088e4">com.google.ortools.linearsolver.MPVariable.setUb</a></div><divclass="ttdeci">void setUb(double ub)</div><divclass="ttdoc">Sets the upper bound.</div><divclass="ttdef"><b>Definition:</b><ahref="MPVariable_8java_source.html#l00100">MPVariable.java:100</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="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>