docs
Alinson S. Xavier 5 years ago
parent 6d2e82f6b9
commit b0b80a94dd

@ -269,5 +269,5 @@
<!--
MkDocs version : 1.0.4
Build Date UTC : 2020-08-29 22:52:03
Build Date UTC : 2020-08-29 23:08:22
-->

File diff suppressed because one or more lines are too long

Binary file not shown.

@ -151,15 +151,9 @@
<h1 id="usage">Usage</h1>
<h3 id="installation">Installation</h3>
<p>MIPLearn is mainly written in Python, with some components written in Julia. For this
reason, both Python 3.6+ and Julia 1.3+ are required. A mixed-integer solver is also required, and
its Python bindings must be properly installed. Supported solvers are CPLEX and
Gurobi. Optimization problems currently need to be specified in the Pyomo modeling language.
A JuMP interface to the package is currently under development.</p>
<p>To install MIPLearn, run the following commands: </p>
<pre><code class="bash">git clone https://github.com/ANL-CEEESA/MIPLearn.git
cd MIPLearn
make install
<p>In these docs, we describe the Python/Pyomo version of the package, although a <a href="https://github.com/ANL-CEEESA/MIPLearn.jl">Julia/JuMP version</a> is also available. A mixed-integer solver is also required and its Python bindings must be properly installed. Supported solvers are currently CPLEX and Gurobi.</p>
<p>To install MIPLearn, run: </p>
<pre><code class="bash">pip3 install miplearn
</code></pre>
<p>After installation, the package <code>miplearn</code> should become available to Python. It can be imported
@ -167,10 +161,6 @@ as follows:</p>
<pre><code class="python">import miplearn
</code></pre>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>To install MIPLearn in another Python environment, switch to that environment before running <code>make install</code>. To install the package in development mode, run <code>make develop</code> instead.</p>
</div>
<h3 id="using-learningsolver">Using <code>LearningSolver</code></h3>
<p>The main class provided by this package is <code>LearningSolver</code>, a learning-enhanced MIP solver which uses information from previously solved instances to accelerate the solution of new instances. The following example shows its basic usage:</p>
<pre><code class="python">from miplearn import LearningSolver

Loading…
Cancel
Save