<p>In these docs, we describe the Python/Pyomo version of the package, although a <ahref="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><codeclass="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><codeclass="python">import miplearn
</code></pre>
<divclass="admonition note">
<pclass="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>
<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>