<divclass="ttc"id="classcom_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="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective_html_a974975dc92e0805cc99a2760bd6782d7"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective.html#a974975dc92e0805cc99a2760bd6782d7">com.google.ortools.linearsolver.MPObjective.setMaximization</a></div><divclass="ttdeci">void setMaximization()</div><divclass="ttdoc">Sets the optimization direction to maximize.</div><divclass="ttdef"><b>Definition:</b><ahref="MPObjective_8java_source.html#l00102">MPObjective.java:102</a></div></div>
<divclass="ttc"id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective_html_a5cef7009a8683d7f73b1a57ad9899ca4"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective.html#a5cef7009a8683d7f73b1a57ad9899ca4">com.google.ortools.linearsolver.MPObjective.bestBound</a></div><divclass="ttdeci">double bestBound()</div><divclass="ttdoc">Returns the best objective bound.</div><divclass="ttdef"><b>Definition:</b><ahref="MPObjective_8java_source.html#l00141">MPObjective.java:141</a></div></div>
<divclass="ttc"id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective_html_ac31c6476f5245a29797b466f9ed1964f"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective.html#ac31c6476f5245a29797b466f9ed1964f">com.google.ortools.linearsolver.MPObjective.offset</a></div><divclass="ttdeci">double offset()</div><divclass="ttdoc">Gets the constant term in the objective.</div><divclass="ttdef"><b>Definition:</b><ahref="MPObjective_8java_source.html#l00081">MPObjective.java:81</a></div></div>
<divclass="ttc"id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective_html_ab4a51dccf73d20f951f830f7cd350d3a"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective.html#ab4a51dccf73d20f951f830f7cd350d3a">com.google.ortools.linearsolver.MPObjective.setOffset</a></div><divclass="ttdeci">void setOffset(double value)</div><divclass="ttdoc">Sets the constant term in the objective.</div><divclass="ttdef"><b>Definition:</b><ahref="MPObjective_8java_source.html#l00074">MPObjective.java:74</a></div></div>
<divclass="ttc"id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective_html_aff4b9d09a98d9ec2a538c6b10d0eacac"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective.html#aff4b9d09a98d9ec2a538c6b10d0eacac">com.google.ortools.linearsolver.MPObjective.clear</a></div><divclass="ttdeci">void clear()</div><divclass="ttdoc">Clears the offset, all variables and coefficients, and the optimization direction.</div><divclass="ttdef"><b>Definition:</b><ahref="MPObjective_8java_source.html#l00048">MPObjective.java:48</a></div></div>
<divclass="ttc"id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective_html_a327372f68d75289337ee2c318b6eab7d"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective.html#a327372f68d75289337ee2c318b6eab7d">com.google.ortools.linearsolver.MPObjective.setCoefficient</a></div><divclass="ttdeci">void setCoefficient(MPVariable var, double coeff)</div><divclass="ttdoc">Sets the coefficient of the variable in the objective.</div><divclass="ttdef"><b>Definition:</b><ahref="MPObjective_8java_source.html#l00058">MPObjective.java:58</a></div></div>
<divclass="ttc"id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective_html_a741c258a6eb7b5f2c19d3ce33035d2cd"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective.html#a741c258a6eb7b5f2c19d3ce33035d2cd">com.google.ortools.linearsolver.MPObjective.setMinimization</a></div><divclass="ttdeci">void setMinimization()</div><divclass="ttdoc">Sets the optimization direction to minimize.</div><divclass="ttdef"><b>Definition:</b><ahref="MPObjective_8java_source.html#l00095">MPObjective.java:95</a></div></div>
<divclass="ttc"id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective_html_ab76b530b1a0c16757497e66878d174e7"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective.html#ab76b530b1a0c16757497e66878d174e7">com.google.ortools.linearsolver.MPObjective.minimization</a></div><divclass="ttdeci">boolean minimization()</div><divclass="ttdoc">Is the optimization direction set to minimize?</div><divclass="ttdef"><b>Definition:</b><ahref="MPObjective_8java_source.html#l00116">MPObjective.java:116</a></div></div>
<divclass="ttc"id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective_html_ad94745cecae2857144eff69562be27c0"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective.html#ad94745cecae2857144eff69562be27c0">com.google.ortools.linearsolver.MPObjective.value</a></div><divclass="ttdeci">double value()</div><divclass="ttdoc">Returns the objective value of the best solution found so far.</div><divclass="ttdef"><b>Definition:</b><ahref="MPObjective_8java_source.html#l00131">MPObjective.java:131</a></div></div>
<divclass="ttc"id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective_html_aae8b301ed251f4a6580bc285003a3f9b"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective.html#aae8b301ed251f4a6580bc285003a3f9b">com.google.ortools.linearsolver.MPObjective.getCoefficient</a></div><divclass="ttdeci">double getCoefficient(MPVariable var)</div><divclass="ttdoc">Gets the coefficient of a given variable in the objective It returns 0 if the variable does not ap...</div><divclass="ttdef"><b>Definition:</b><ahref="MPObjective_8java_source.html#l00067">MPObjective.java:67</a></div></div>
<divclass="ttc"id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective_html"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective.html">com.google.ortools.linearsolver.MPObjective</a></div><divclass="ttdoc">A class to express a linear objective.</div><divclass="ttdef"><b>Definition:</b><ahref="MPObjective_8java_source.html#l00016">MPObjective.java:16</a></div></div>
<divclass="ttc"id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective_html_ac7fdd58fe7b77691c33c01bfdf9dbc09"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective.html#ac7fdd58fe7b77691c33c01bfdf9dbc09">com.google.ortools.linearsolver.MPObjective.setOptimizationDirection</a></div><divclass="ttdeci">void setOptimizationDirection(boolean maximize)</div><divclass="ttdoc">Sets the optimization direction (maximize: true or minimize: false).</div><divclass="ttdef"><b>Definition:</b><ahref="MPObjective_8java_source.html#l00088">MPObjective.java:88</a></div></div>
<divclass="ttc"id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective_html_a85baa9643b26baeaafc8f46703db3eda"><divclass="ttname"><ahref="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective.html#a85baa9643b26baeaafc8f46703db3eda">com.google.ortools.linearsolver.MPObjective.maximization</a></div><divclass="ttdeci">boolean maximization()</div><divclass="ttdoc">Is the optimization direction set to maximize?</div><divclass="ttdef"><b>Definition:</b><ahref="MPObjective_8java_source.html#l00109">MPObjective.java:109</a></div></div>