Files
ortools-clone/docs/java/MPSolver_8java_source.html

186 lines
148 KiB
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2019-06-13 02:45:44 +02:00
<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"/>-->
2019-06-20 23:19:36 +02:00
<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">
2019-08-07 18:01:08 -07:00
<span id="sfml">OR-Tools 7.3</span>
</div>
</div>
2019-06-26 12:16:47 +02:00
<link rel="icon" href="https://developers.google.com/optimization/images/orLogo.png">
2019-08-07 18:01:08 -07:00
<div id="content" style="width: 100%; overflow: hidden;">
<div style="margin-left: 15px; margin-top: 5px; float: left; color: #145A32;">
<h2>Reference</h2>
<h3>C++</h3>
<ul>
<li><a href="../cpp_algorithms/annotated.html">Algorithms</a></li>
<li><a href="../cpp_graph/annotated.html">Graph</a></li>
<li><a href="../cpp_routing/annotated.html">Routing</a></li>
<li><a href="../cpp_linear/annotated.html">Linear solver</a></li>
<li><a href="../cpp_sat/annotated.html">CP-SAT</a></li>
</ul>
<h3>Python</h3>
<ul>
<li><a href="../python/ortools/sat/python/cp_model.html">CP-SAT</a></li>
<li><a href="../python/ortools/util/sorted_interval_list.html">Domain</a></li>
<li><a href="../python/ortools/graph/pywrapgraph.html">Graph</a></li>
<li><a href="../python/ortools/algorithms/pywrapknapsack_solver.html">Knapsack solver</a></li>
<li><a href="../python/ortools/linear_solver/pywraplp.html">Linear solver</a></li>
<li><a href="../python/ortools/constraint_solver/pywrapcp.html">Routing</a></li>
</ul>
<h3 id="dotnet-documentation">DotNET</h3>
<ul>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1Sat.html">CP-SAT</a></li>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1Graph.html">Graph</a></li>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1Algorithms.html">Knapsack solver</a></li>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1LinearSolver.html">Linear solver</a></li>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1ConstraintSolver.html">Routing</a></li>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1Util.html">Util</a></li>
</ul>
<h3 id="java-documentation">Java Documentation</h3>
<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">
2019-08-07 18:01:08 -07:00
<div align="center">
<h1 style="color: #145A32;">Java Reference</h1>
</div>
2019-06-13 02:45:44 +02:00
<!-- Generated by Doxygen 1.8.15 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
2019-07-15 17:42:24 -07:00
<li class="current"><a href="files.html"><span>Files</span></a></li>
2019-06-13 02:45:44 +02:00
</ul>
</div>
2019-08-07 18:01:08 -07:00
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
</ul>
</div>
2019-06-13 02:45:44 +02:00
<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">MPSolver.java</div> </div>
</div><!--header-->
<div class="contents">
2019-08-07 18:01:08 -07:00
<a href="MPSolver_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="l00017"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html"> 17</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_1MPSolver.html">MPSolver</a> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; <span class="keyword">private</span> <span class="keyword">transient</span> <span class="keywordtype">long</span> swigCPtr;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="keyword">protected</span> <span class="keyword">transient</span> <span class="keywordtype">boolean</span> swigCMemOwn;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ab9e57daf02277055f3ef63b78291df01"> 21</a></span>&#160; <span class="keyword">protected</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ab9e57daf02277055f3ef63b78291df01">MPSolver</a>(<span class="keywordtype">long</span> cPtr, <span class="keywordtype">boolean</span> cMemoryOwn) {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; swigCMemOwn = cMemoryOwn;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; swigCPtr = cPtr;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; }</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; <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_1MPSolver.html">MPSolver</a> obj) {</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keywordflow">return</span> (obj == <span class="keyword">null</span>) ? 0 : obj.swigCPtr;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a89a6020997e989695ac274e32293600e"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a89a6020997e989695ac274e32293600e">com.google.ortools.linearsolver.MPSolver.exportModelToProto</a></div><div class="ttdeci">com.google.ortools.linearsolver.MPModelProto exportModelToProto()</div><div class="ttdoc">Export the loaded model to proto and returns it.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00435">MPSolver.java:435</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_ac8bb3912a3ce86b15842e79d0b421204"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ac8bb3912a3ce86b15842e79d0b421204">com.google.ortools.linearsolver.MPSolver.clear</a></div><div class="ttdeci">void clear()</div><div class="ttdoc">Clears the objective (including the optimization direction), all variables and constraints.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00112">MPSolver.java:112</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1OptimizationProblemType_html_ab43b8ea551128c58807e93b368cf5547"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1OptimizationProblemType.html#ab43b8ea551128c58807e93b368cf5547">com.google.ortools.linearsolver.MPSolver.OptimizationProblemType.swigValue</a></div><div class="ttdeci">final int swigValue()</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00591">MPSolver.java:591</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_af72edced823bf4930979484879f592e3"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#af72edced823bf4930979484879f592e3">com.google.ortools.linearsolver.MPSolver.lookupConstraintOrNull</a></div><div class="ttdeci">MPConstraint lookupConstraintOrNull(String constraint_name)</div><div class="ttdoc">Looks up a constraint by name, and returns nullptr if it does not exist.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00200">MPSolver.java:200</a></div></div>
2019-07-15 14:27:40 -07:00
<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>
2019-08-07 18:01:08 -07:00
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_aa3f051ba337b2c775a91a3adb08dfdc9"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#aa3f051ba337b2c775a91a3adb08dfdc9">com.google.ortools.linearsolver.MPSolver.constraints</a></div><div class="ttdeci">MPConstraint [] constraints()</div><div class="ttdoc">Returns the array of constraints handled by the MPSolver.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00189">MPSolver.java:189</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a90cffe34affa69de7e6630c313efb590"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a90cffe34affa69de7e6630c313efb590">com.google.ortools.linearsolver.MPSolver.makeBoolVarArray</a></div><div class="ttdeci">MPVariable [] makeBoolVarArray(int count)</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00084">MPSolver.java:84</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPModelExportOptions_html"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPModelExportOptions.html">com.google.ortools.linearsolver.MPModelExportOptions</a></div><div class="ttdoc">Export options.</div><div class="ttdef"><b>Definition:</b> <a href="MPModelExportOptions_8java_source.html#l00016">MPModelExportOptions.java:16</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_abce01aaaced7eb90d83cf08cef212211"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#abce01aaaced7eb90d83cf08cef212211">com.google.ortools.linearsolver.MPSolver.suppressOutput</a></div><div class="ttdeci">void suppressOutput()</div><div class="ttdoc">Suppresses solver logging.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00364">MPSolver.java:364</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1OptimizationProblemType_html_a11aec32d1889c3412380e3e2eb3f774b"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1OptimizationProblemType.html#a11aec32d1889c3412380e3e2eb3f774b">com.google.ortools.linearsolver.MPSolver.OptimizationProblemType.GLOP_LINEAR_PROGRAMMING</a></div><div class="ttdeci">GLOP_LINEAR_PROGRAMMING</div><div class="ttdoc">Linear Programming solver using GLOP (Recommended solver).</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00581">MPSolver.java:581</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus_html_aee63afd8e00624110f50a0063ebadef9"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus.html#aee63afd8e00624110f50a0063ebadef9">com.google.ortools.linearsolver.MPSolver.ResultStatus.ABNORMAL</a></div><div class="ttdeci">ABNORMAL</div><div class="ttdoc">abnormal, i.e., error of some kind.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00655">MPSolver.java:655</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_af2c9e169ed7f8e217e6faf0edc788a1e"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#af2c9e169ed7f8e217e6faf0edc788a1e">com.google.ortools.linearsolver.MPSolver.solveWithProto</a></div><div class="ttdeci">static com.google.ortools.linearsolver.MPSolutionResponse solveWithProto(com.google.ortools.linearsolver.MPModelRequest model_request)</div><div class="ttdoc">Solves the given model proto and returns a response proto.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00502">MPSolver.java:502</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a500e7ffbda64531939490ef7c9578d15"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a500e7ffbda64531939490ef7c9578d15">com.google.ortools.linearsolver.MPSolver.exportModelAsLpFormat</a></div><div class="ttdeci">String exportModelAsLpFormat(MPModelExportOptions options)</div><div class="ttdoc">Export the loaded model in LP format.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00518">MPSolver.java:518</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a751dbf8b47d66f985da829ba52f0cec8"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a751dbf8b47d66f985da829ba52f0cec8">com.google.ortools.linearsolver.MPSolver.makeIntVarArray</a></div><div class="ttdeci">MPVariable [] makeIntVarArray(int count, double lb, double ub)</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00076">MPSolver.java:76</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionResponse_html_acc78a14325374b37d612021dd73ddf48"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionResponse.html#acc78a14325374b37d612021dd73ddf48">com.google.ortools.linearsolver.MPSolutionResponse.parseFrom</a></div><div class="ttdeci">static com.google.ortools.linearsolver.MPSolutionResponse parseFrom(java.nio.ByteBuffer data)</div><div class="ttdef"><b>Definition:</b> <a href="MPSolutionResponse_8java_source.html#l00670">MPSolutionResponse.java:670</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a036e958befd6b580149e8a85ae64db2f"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a036e958befd6b580149e8a85ae64db2f">com.google.ortools.linearsolver.MPSolver.makeIntVarArray</a></div><div class="ttdeci">MPVariable [] makeIntVarArray(int count, double lb, double ub, String var_name)</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00080">MPSolver.java:80</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus_html"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus.html">com.google.ortools.linearsolver.MPSolver.ResultStatus</a></div><div class="ttdoc">The status of solving the problem.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00635">MPSolver.java:635</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1OptimizationProblemType_html_aa603d0869f9d538cec53dbd5f07e75c0"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1OptimizationProblemType.html#aa603d0869f9d538cec53dbd5f07e75c0">com.google.ortools.linearsolver.MPSolver.OptimizationProblemType.BOP_INTEGER_PROGRAMMING</a></div><div class="ttdeci">BOP_INTEGER_PROGRAMMING</div><div class="ttdoc">Linear Boolean Programming Solver.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00589">MPSolver.java:589</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_aab85a4d37821f9c248ce02b5d397b793"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#aab85a4d37821f9c248ce02b5d397b793">com.google.ortools.linearsolver.MPSolver.makeConstraint</a></div><div class="ttdeci">MPConstraint makeConstraint(double lb, double ub)</div><div class="ttdoc">Creates a linear constraint with given bounds.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00213">MPSolver.java:213</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus_html_a515210fc5878ae0a323cc202d5f2d90d"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus.html#a515210fc5878ae0a323cc202d5f2d90d">com.google.ortools.linearsolver.MPSolver.ResultStatus.UNBOUNDED</a></div><div class="ttdeci">UNBOUNDED</div><div class="ttdoc">proven unbounded.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00651">MPSolver.java:651</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1BasisStatus_html_ab43b8ea551128c58807e93b368cf5547"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1BasisStatus.html#ab43b8ea551128c58807e93b368cf5547">com.google.ortools.linearsolver.MPSolver.BasisStatus.swigValue</a></div><div class="ttdeci">final int swigValue()</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00710">MPSolver.java:710</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_ae8751480dcb947b64e1aa495ce32e41a"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ae8751480dcb947b64e1aa495ce32e41a">com.google.ortools.linearsolver.MPSolver.exportModelAsMpsFormat</a></div><div class="ttdeci">String exportModelAsMpsFormat(MPModelExportOptions options)</div><div class="ttdoc">Export the loaded model in MPS format.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00532">MPSolver.java:532</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_aad6fcee48d594f2c10c84787332b25c7"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#aad6fcee48d594f2c10c84787332b25c7">com.google.ortools.linearsolver.MPSolver.iterations</a></div><div class="ttdeci">long iterations()</div><div class="ttdoc">Returns the number of simplex iterations.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00371">MPSolver.java:371</a></div></div>
2019-07-04 15:11:35 +02:00
<div class="ttc" id="namespacecom_html"><div class="ttname"><a href="namespacecom.html">com</a></div></div>
2019-08-07 18:01:08 -07:00
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus_html_ab43b8ea551128c58807e93b368cf5547"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus.html#ab43b8ea551128c58807e93b368cf5547">com.google.ortools.linearsolver.MPSolver.ResultStatus.swigValue</a></div><div class="ttdeci">final int swigValue()</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00661">MPSolver.java:661</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_afa1dd9d9836702c74f8d44e2bcde3390"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#afa1dd9d9836702c74f8d44e2bcde3390">com.google.ortools.linearsolver.MPSolver.variables</a></div><div class="ttdeci">MPVariable [] variables()</div><div class="ttdoc">Returns the array of variables handled by the MPSolver.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00127">MPSolver.java:127</a></div></div>
2019-07-15 14:27:40 -07:00
<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>
2019-08-07 18:01:08 -07:00
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a3990fcacd8a960d4bec455ec9476bcdc"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a3990fcacd8a960d4bec455ec9476bcdc">com.google.ortools.linearsolver.MPSolver.nodes</a></div><div class="ttdeci">long nodes()</div><div class="ttdoc">Returns the number of branch-and-bound nodes evaluated during the solve.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00380">MPSolver.java:380</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus_html_a72ec11c9b2688addae061fba37f312a2"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus.html#a72ec11c9b2688addae061fba37f312a2">com.google.ortools.linearsolver.MPSolver.ResultStatus.OPTIMAL</a></div><div class="ttdeci">OPTIMAL</div><div class="ttdoc">optimal.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00639">MPSolver.java:639</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_ae8812dddb6912b92a029702a2d4e550b"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ae8812dddb6912b92a029702a2d4e550b">com.google.ortools.linearsolver.MPSolver.makeBoolVarArray</a></div><div class="ttdeci">MPVariable [] makeBoolVarArray(int count, String var_name)</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00088">MPSolver.java:88</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a3ebb968238bcc45c20bea2c0fbc887f5"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a3ebb968238bcc45c20bea2c0fbc887f5">com.google.ortools.linearsolver.MPSolver.solve</a></div><div class="ttdeci">MPSolver.ResultStatus solve()</div><div class="ttdoc">Solves the problem using default parameter values.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00253">MPSolver.java:253</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a8dbae4fb2b8ed9fbcc10fe03591be66f"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a8dbae4fb2b8ed9fbcc10fe03591be66f">com.google.ortools.linearsolver.MPSolver.SetStartingLpBasis</a></div><div class="ttdeci">void SetStartingLpBasis(SWIGTYPE_p_std__vectorT_operations_research__MPSolver__BasisStatus_t variable_statuses, SWIGTYPE_p_std__vectorT_operations_research__MPSolver__BasisStatus_t constraint_statuses)</div><div class="ttdoc">Advanced usage: Incrementality.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00341">MPSolver.java:341</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a91003648895a33c8bf65121bee2a812b"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a91003648895a33c8bf65121bee2a812b">com.google.ortools.linearsolver.MPSolver.enableOutput</a></div><div class="ttdeci">void enableOutput()</div><div class="ttdoc">Enables solver logging.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00357">MPSolver.java:357</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a71333b4ef2e0f6cbc6f50cca0e6c15d3"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a71333b4ef2e0f6cbc6f50cca0e6c15d3">com.google.ortools.linearsolver.MPSolver.numConstraints</a></div><div class="ttdeci">int numConstraints()</div><div class="ttdoc">Returns the number of constraints.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00180">MPSolver.java:180</a></div></div>
2019-07-04 15:11:35 +02:00
<div class="ttc" id="namespacecom_1_1google_1_1ortools_1_1linearsolver_html"><div class="ttname"><a href="namespacecom_1_1google_1_1ortools_1_1linearsolver.html">com.google.ortools.linearsolver</a></div><div class="ttdef"><b>Definition:</b> <a href="LinearSolver_8java_source.html#l00004">LinearSolver.java:4</a></div></div>
2019-08-07 18:01:08 -07:00
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_ab42b9ff3770c218f3189db51a8f5dd2b"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ab42b9ff3770c218f3189db51a8f5dd2b">com.google.ortools.linearsolver.MPSolver.makeVarArray</a></div><div class="ttdeci">MPVariable [] makeVarArray(int count, double lb, double ub, boolean integer, String var_name)</div><div class="ttdoc">Creates and returns an array of named variables.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00059">MPSolver.java:59</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a47e10e45b746b31e25c78bf390e14790"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a47e10e45b746b31e25c78bf390e14790">com.google.ortools.linearsolver.MPSolver.makeConstraint</a></div><div class="ttdeci">MPConstraint makeConstraint(String name)</div><div class="ttdoc">Creates a named constraint with -infinity and +infinity bounds.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00237">MPSolver.java:237</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_ad1e317ed7fa36b2d41985d7bdb893666"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ad1e317ed7fa36b2d41985d7bdb893666">com.google.ortools.linearsolver.MPSolver.setSolverSpecificParametersAsString</a></div><div class="ttdeci">boolean setSolverSpecificParametersAsString(String parameters)</div><div class="ttdoc">Advanced usage: pass solver specific parameters in text format.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00326">MPSolver.java:326</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPModelProto_html_a2e0c32bf548387240e2a5cf1dc8a3b1f"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPModelProto.html#a2e0c32bf548387240e2a5cf1dc8a3b1f">com.google.ortools.linearsolver.MPModelProto.parseFrom</a></div><div class="ttdeci">static com.google.ortools.linearsolver.MPModelProto parseFrom(java.nio.ByteBuffer data)</div><div class="ttdef"><b>Definition:</b> <a href="MPModelProto_8java_source.html#l00709">MPModelProto.java:709</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a878b295dd5b9f1679ec76630447b8b31"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a878b295dd5b9f1679ec76630447b8b31">com.google.ortools.linearsolver.MPSolver.solve</a></div><div class="ttdeci">MPSolver.ResultStatus solve(MPSolverParameters param)</div><div class="ttdoc">Solves the problem using the specified parameter values.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00260">MPSolver.java:260</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a983d8cdb8b5ef5438053238de9ed71f6"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a983d8cdb8b5ef5438053238de9ed71f6">com.google.ortools.linearsolver.MPSolver.setTimeLimit</a></div><div class="ttdeci">void setTimeLimit(long time_limit_milliseconds)</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00412">MPSolver.java:412</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a858416939ac339d379f286ed87d6f345"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a858416939ac339d379f286ed87d6f345">com.google.ortools.linearsolver.MPSolver.lookupVariableOrNull</a></div><div class="ttdeci">MPVariable lookupVariableOrNull(String var_name)</div><div class="ttdoc">Looks up a variable by name, and returns nullptr if it does not exist.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00136">MPSolver.java:136</a></div></div>
2019-07-15 14:27:40 -07:00
<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>
2019-07-04 15:11:35 +02:00
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionResponse_html"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolutionResponse.html">com.google.ortools.linearsolver.MPSolutionResponse</a></div><div class="ttdoc">Protobuf type.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolutionResponse_8java_source.html#l00009">MPSolutionResponse.java:9</a></div></div>
2019-08-07 18:01:08 -07:00
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a0f7c2b49c111ab17877cc7d718b6c20e"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a0f7c2b49c111ab17877cc7d718b6c20e">com.google.ortools.linearsolver.MPSolver.loadModelFromProtoWithUniqueNamesOrDie</a></div><div class="ttdeci">String loadModelFromProtoWithUniqueNamesOrDie(com.google.ortools.linearsolver.MPModelProto input_model)</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00428">MPSolver.java:428</a></div></div>
2019-07-04 15:11:35 +02:00
<div class="ttc" id="namespacecom_1_1google_1_1ortools_html"><div class="ttname"><a href="namespacecom_1_1google_1_1ortools.html">com.google.ortools</a></div></div>
2019-08-07 18:01:08 -07:00
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_ac89cdcf982beee233e96203188d851eb"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ac89cdcf982beee233e96203188d851eb">com.google.ortools.linearsolver.MPSolver.loadSolutionFromProto</a></div><div class="ttdeci">boolean loadSolutionFromProto(com.google.ortools.linearsolver.MPSolutionResponse response)</div><div class="ttdoc">Load a solution encoded in a protocol buffer onto this solver for easy access via the MPSolver inter...</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00495">MPSolver.java:495</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_ad71fc00e4a770660255707580d5c1821"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ad71fc00e4a770660255707580d5c1821">com.google.ortools.linearsolver.MPSolver.wallTime</a></div><div class="ttdeci">long wallTime()</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00416">MPSolver.java:416</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1BasisStatus_html_ac0d4febe38d08d05f4957f7af56e839e"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1BasisStatus.html#ac0d4febe38d08d05f4957f7af56e839e">com.google.ortools.linearsolver.MPSolver.BasisStatus.FREE</a></div><div class="ttdeci">FREE</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00704">MPSolver.java:704</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1OptimizationProblemType_html"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1OptimizationProblemType.html">com.google.ortools.linearsolver.MPSolver.OptimizationProblemType</a></div><div class="ttdoc">The type of problems (LP or MIP) that will be solved and the underlying solver (GLOP,...</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00573">MPSolver.java:573</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="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a60eef28d40cd81c74f9f41086378340c"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a60eef28d40cd81c74f9f41086378340c">com.google.ortools.linearsolver.MPSolver.makeIntVar</a></div><div class="ttdeci">MPVariable makeIntVar(double lb, double ub, String name)</div><div class="ttdoc">Creates an integer variable.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00164">MPSolver.java:164</a></div></div>
2019-07-15 14:27:40 -07:00
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolverParameters_html"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolverParameters.html">com.google.ortools.linearsolver.MPSolverParameters</a></div><div class="ttdoc">This class stores parameter settings for LP and MIP solvers.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolverParameters_8java_source.html#l00039">MPSolverParameters.java:39</a></div></div>
2019-08-07 18:01:08 -07:00
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_ac96c90731dc487418a53850a0fa2788b"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ac96c90731dc487418a53850a0fa2788b">com.google.ortools.linearsolver.MPSolver.makeConstraint</a></div><div class="ttdeci">MPConstraint makeConstraint()</div><div class="ttdoc">Creates a constraint with -infinity and +infinity bounds.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00221">MPSolver.java:221</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_1MPSolver_html_ab9e57daf02277055f3ef63b78291df01"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ab9e57daf02277055f3ef63b78291df01">com.google.ortools.linearsolver.MPSolver.MPSolver</a></div><div class="ttdeci">MPSolver(long cPtr, boolean cMemoryOwn)</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00021">MPSolver.java:21</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_ada4ffe18f924cb90dc9adacf44a3bcf6"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ada4ffe18f924cb90dc9adacf44a3bcf6">com.google.ortools.linearsolver.MPSolver.exportModelAsLpFormat</a></div><div class="ttdeci">String exportModelAsLpFormat()</div><div class="ttdoc">Export the loaded model in LP format.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00525">MPSolver.java:525</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_ad20897c5c8bd47f5d4005989bead0e55"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ad20897c5c8bd47f5d4005989bead0e55">com.google.ortools.linearsolver.MPSolver.reset</a></div><div class="ttdeci">void reset()</div><div class="ttdoc">Advanced usage: resets extracted model to solve from scratch.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00304">MPSolver.java:304</a></div></div>
2019-07-04 15:11:35 +02:00
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPModelProto_html"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPModelProto.html">com.google.ortools.linearsolver.MPModelProto</a></div><div class="ttdef"><b>Definition:</b> <a href="MPModelProto_8java_source.html#l00013">MPModelProto.java:13</a></div></div>
2019-08-07 18:01:08 -07:00
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a2826e7f852cf21955f65b3f4edccbd1a"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a2826e7f852cf21955f65b3f4edccbd1a">com.google.ortools.linearsolver.MPSolver.createSolutionResponseProto</a></div><div class="ttdeci">com.google.ortools.linearsolver.MPSolutionResponse createSolutionResponseProto()</div><div class="ttdoc">Fills the solution found to a response proto and returns it.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00451">MPSolver.java:451</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1OptimizationProblemType_html_a7182ac4f8f53fcad4258873e7cf038ea"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1OptimizationProblemType.html#a7182ac4f8f53fcad4258873e7cf038ea">com.google.ortools.linearsolver.MPSolver.OptimizationProblemType.CLP_LINEAR_PROGRAMMING</a></div><div class="ttdeci">CLP_LINEAR_PROGRAMMING</div><div class="ttdoc">Linear Programming solver using Coin CBC.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00577">MPSolver.java:577</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus_html_a26fb079c6094690875fa5702c53f75d7"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus.html#a26fb079c6094690875fa5702c53f75d7">com.google.ortools.linearsolver.MPSolver.ResultStatus.NOT_SOLVED</a></div><div class="ttdeci">NOT_SOLVED</div><div class="ttdoc">not been solved yet.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00659">MPSolver.java:659</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a01d1141a64d0ea2d4c70049139a39489"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a01d1141a64d0ea2d4c70049139a39489">com.google.ortools.linearsolver.MPSolver.makeVarArray</a></div><div class="ttdeci">MPVariable [] makeVarArray(int count, double lb, double ub, boolean integer)</div><div class="ttdoc">Creates and returns an array of variables.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00048">MPSolver.java:48</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a5c03fb8e1cc0a1ae5979896c7bc69adf"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a5c03fb8e1cc0a1ae5979896c7bc69adf">com.google.ortools.linearsolver.MPSolver.makeBoolVar</a></div><div class="ttdeci">MPVariable makeBoolVar(String name)</div><div class="ttdoc">Creates a boolean variable.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00172">MPSolver.java:172</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a27141fba0c3cdcdbb9e9269c01c1e7e9"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a27141fba0c3cdcdbb9e9269c01c1e7e9">com.google.ortools.linearsolver.MPSolver.computeExactConditionNumber</a></div><div class="ttdeci">double computeExactConditionNumber()</div><div class="ttdoc">Advanced usage: computes the exact condition number of the current scaled basis: L1norm(B) * L1norm(...</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00408">MPSolver.java:408</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a6f36efb369c74e51a57da1187fb808ca"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a6f36efb369c74e51a57da1187fb808ca">com.google.ortools.linearsolver.MPSolver.verifySolution</a></div><div class="ttdeci">boolean verifySolution(double tolerance, boolean log_errors)</div><div class="ttdoc">Advanced usage: Verifies the correctness of the solution.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00292">MPSolver.java:292</a></div></div>
2019-07-15 14:27:40 -07:00
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective_html"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPObjective.html">com.google.ortools.linearsolver.MPObjective</a></div><div class="ttdoc">A class to express a linear objective.</div><div class="ttdef"><b>Definition:</b> <a href="MPObjective_8java_source.html#l00016">MPObjective.java:16</a></div></div>
2019-08-07 18:01:08 -07:00
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_ac1aa23439b5ff7d9d848bc069a0ce7b2"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ac1aa23439b5ff7d9d848bc069a0ce7b2">com.google.ortools.linearsolver.MPSolver.setHint</a></div><div class="ttdeci">void setHint(MPVariable[] variables, double[] values)</div><div class="ttdoc">Sets a hint for solution.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00556">MPSolver.java:556</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a0937b6374d066c8aaaaf854945b0071a"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a0937b6374d066c8aaaaf854945b0071a">com.google.ortools.linearsolver.MPSolver.numVariables</a></div><div class="ttdeci">int numVariables()</div><div class="ttdoc">Returns the number of variables.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00119">MPSolver.java:119</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a6afb82b104046e5ea4b2605eec2baa7f"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a6afb82b104046e5ea4b2605eec2baa7f">com.google.ortools.linearsolver.MPSolver.makeNumVarArray</a></div><div class="ttdeci">MPVariable [] makeNumVarArray(int count, double lb, double ub, String var_name)</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00072">MPSolver.java:72</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1OptimizationProblemType_html_aa225e8017f327e6ac8faa72e69a8cd7a"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1OptimizationProblemType.html#aa225e8017f327e6ac8faa72e69a8cd7a">com.google.ortools.linearsolver.MPSolver.OptimizationProblemType.swigToEnum</a></div><div class="ttdeci">static OptimizationProblemType swigToEnum(int swigValue)</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00595">MPSolver.java:595</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_ad8a05ca67ec3a0975ae3879685017c8e"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ad8a05ca67ec3a0975ae3879685017c8e">com.google.ortools.linearsolver.MPSolver.loadModelFromProto</a></div><div class="ttdeci">String loadModelFromProto(com.google.ortools.linearsolver.MPModelProto input_model)</div><div class="ttdoc">Loads a model and returns the error message, which will be empty iff the model is valid.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00424">MPSolver.java:424</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a82184e0f0aff709cbbe18de9eb417071"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a82184e0f0aff709cbbe18de9eb417071">com.google.ortools.linearsolver.MPSolver.objective</a></div><div class="ttdeci">MPObjective objective()</div><div class="ttdoc">Returns the mutable objective object.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00245">MPSolver.java:245</a></div></div>
2019-07-04 15:11:35 +02:00
<div class="ttc" id="namespacecom_1_1google_html"><div class="ttname"><a href="namespacecom_1_1google.html">com.google</a></div></div>
2019-08-07 18:01:08 -07:00
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a4ffae5e1180f2d4fde1a8e8e1f8acbef"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a4ffae5e1180f2d4fde1a8e8e1f8acbef">com.google.ortools.linearsolver.MPSolver.exportModelAsMpsFormat</a></div><div class="ttdeci">String exportModelAsMpsFormat()</div><div class="ttdoc">Export the loaded model in MPS format.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00539">MPSolver.java:539</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a7f0ebcc2193d614fc9f0d0534c803178"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a7f0ebcc2193d614fc9f0d0534c803178">com.google.ortools.linearsolver.MPSolver.makeVar</a></div><div class="ttdeci">MPVariable makeVar(double lb, double ub, boolean integer, String name)</div><div class="ttdoc">Creates a variable with the given bounds, integrality requirement and name.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00148">MPSolver.java:148</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a9628ace349d1e0c433919468615648ff"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a9628ace349d1e0c433919468615648ff">com.google.ortools.linearsolver.MPSolver.MPSolver</a></div><div class="ttdeci">MPSolver(String name, MPSolver.OptimizationProblemType problem_type)</div><div class="ttdoc">Create a solver with the given name and underlying solver backend.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00095">MPSolver.java:95</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_ac824e10d554bc452d97976679e423b9a"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ac824e10d554bc452d97976679e423b9a">com.google.ortools.linearsolver.MPSolver.computeConstraintActivities</a></div><div class="ttdeci">double [] computeConstraintActivities()</div><div class="ttdoc">Advanced usage: compute the &quot;activities&quot; of all constraints, which are the sums of their linear term...</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00270">MPSolver.java:270</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_ad15b3a0de6d2cbf9e119bf69ea6c1a43"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ad15b3a0de6d2cbf9e119bf69ea6c1a43">com.google.ortools.linearsolver.MPSolver.setNumThreads</a></div><div class="ttdeci">boolean setNumThreads(int num_theads)</div><div class="ttdoc">Sets the number of threads to be used by the solver.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00563">MPSolver.java:563</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a570bab240648e2d7f176f139d6630b55"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a570bab240648e2d7f176f139d6630b55">com.google.ortools.linearsolver.MPSolver.makeConstraint</a></div><div class="ttdeci">MPConstraint makeConstraint(double lb, double ub, String name)</div><div class="ttdoc">Creates a named constraint with given bounds.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00229">MPSolver.java:229</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a9655632a7a05d89fc1562459b26d7955"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a9655632a7a05d89fc1562459b26d7955">com.google.ortools.linearsolver.MPSolver.infinity</a></div><div class="ttdeci">static double infinity()</div><div class="ttdoc">Infinity.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00350">MPSolver.java:350</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_ae0bf2f8026a136d8cabecd3c94c00ead"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#ae0bf2f8026a136d8cabecd3c94c00ead">com.google.ortools.linearsolver.MPSolver.makeNumVarArray</a></div><div class="ttdeci">MPVariable [] makeNumVarArray(int count, double lb, double ub)</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00068">MPSolver.java:68</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus_html_ac11f432794feea2c0ceb24c1c66b51bf"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus.html#ac11f432794feea2c0ceb24c1c66b51bf">com.google.ortools.linearsolver.MPSolver.ResultStatus.INFEASIBLE</a></div><div class="ttdeci">INFEASIBLE</div><div class="ttdoc">proven infeasible.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00647">MPSolver.java:647</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a33fdf33c42f69cf4934d35990609c325"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a33fdf33c42f69cf4934d35990609c325">com.google.ortools.linearsolver.MPSolver.interruptSolve</a></div><div class="ttdeci">boolean interruptSolve()</div><div class="ttdoc">Interrupts the Solve() execution to terminate processing if possible.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00316">MPSolver.java:316</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1OptimizationProblemType_html_afbe3ba964a2abee34bf86ad788787aeb"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1OptimizationProblemType.html#afbe3ba964a2abee34bf86ad788787aeb">com.google.ortools.linearsolver.MPSolver.OptimizationProblemType.CBC_MIXED_INTEGER_PROGRAMMING</a></div><div class="ttdeci">CBC_MIXED_INTEGER_PROGRAMMING</div><div class="ttdoc">Mixed integer Programming Solver using Coin CBC.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00585">MPSolver.java:585</a></div></div>
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus_html_a357b630f192244c465dae90266a0463b"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_1_1ResultStatus.html#a357b630f192244c465dae90266a0463b">com.google.ortools.linearsolver.MPSolver.ResultStatus.FEASIBLE</a></div><div class="ttdeci">FEASIBLE</div><div class="ttdoc">feasible, or stopped by limit.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00643">MPSolver.java:643</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_a578663951935567719114bc0b29a944d"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#a578663951935567719114bc0b29a944d">com.google.ortools.linearsolver.MPSolver.makeNumVar</a></div><div class="ttdeci">MPVariable makeNumVar(double lb, double ub, String name)</div><div class="ttdoc">Creates a continuous variable.</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00156">MPSolver.java:156</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPModelRequest_html"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPModelRequest.html">com.google.ortools.linearsolver.MPModelRequest</a></div><div class="ttdef"><b>Definition:</b> <a href="MPModelRequest_8java_source.html#l00013">MPModelRequest.java:13</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver_html_aca2d13f49b09b05ffd7bac6300a7ef44"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1linearsolver_1_1MPSolver.html#aca2d13f49b09b05ffd7bac6300a7ef44">com.google.ortools.linearsolver.MPSolver.supportsProblemType</a></div><div class="ttdeci">static boolean supportsProblemType(MPSolver.OptimizationProblemType problem_type)</div><div class="ttdoc">Whether the given problem type is supported (this will depend on the targets that you linked).</div><div class="ttdef"><b>Definition:</b> <a href="MPSolver_8java_source.html#l00103">MPSolver.java:103</a></div></div>
2019-06-13 02:45:44 +02:00
</div><!-- fragment --></div><!-- contents -->
2019-08-07 18:01:08 -07:00
</div>
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
2019-06-13 02:45:44 +02:00
</html>