<divclass="ttc"id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_ad435a3621ef7493b59b507d42f7bae5d"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#ad435a3621ef7493b59b507d42f7bae5d">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="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_aa6f8444c479bc98d6693f4f438a11317"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#aa6f8444c479bc98d6693f4f438a11317">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="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_ab0c516392721a19d6b3713adc55a843b"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#ab0c516392721a19d6b3713adc55a843b">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="classcom_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="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_ae2de472f757d3e124143dfd7cee4f0eb"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#ae2de472f757d3e124143dfd7cee4f0eb">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="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_abd406be5e65f37771effe20d9203e6f8"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#abd406be5e65f37771effe20d9203e6f8">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="enumcom_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#l00692">MPSolver.java:692</a></div></div>
<divclass="ttc"id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_adc2cf97513e2e664fc5938f5952fc5b2"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#adc2cf97513e2e664fc5938f5952fc5b2">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="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_aebc206265b26cf9e84abbef64d404478"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#aebc206265b26cf9e84abbef64d404478">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="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_a2c3a8277b887c85254c93e0b24b8f9ff"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#a2c3a8277b887c85254c93e0b24b8f9ff">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="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_ab091ee09e26b1628f2836cf5889f1a8f"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#ab091ee09e26b1628f2836cf5889f1a8f">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="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_a4b4757b272c53389235599422d06bf1e"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#a4b4757b272c53389235599422d06bf1e">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="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable_html_ae8cb4fcf1369df1579217adee2da4f4f"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPVariable.html#ae8cb4fcf1369df1579217adee2da4f4f">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>