Skip to content

Commit 17f9a75

Browse files
authored
Merge pull request #3619 from mrmundt/solver-docs
Add Solver Information Table to Getting Started
2 parents 339d1e7 + 0cf0304 commit 17f9a75

File tree

2 files changed

+85
-0
lines changed

2 files changed

+85
-0
lines changed

doc/OnlineDocs/getting_started/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ Getting Started
55
:maxdepth: 2
66

77
installation.rst
8+
solvers.rst
89
pyomo_overview/index.rst
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
.. -*- mode: rst -*-
2+
3+
Using Solvers with Pyomo
4+
========================
5+
6+
Pyomo supports modeling and scripting but does not install a solver automatically.
7+
For numerous reasons (including stability and managing intermittent dependency
8+
conflicts), Pyomo does not bundle solvers or have strict dependencies on any
9+
third-party solvers. The table below lists a subset of the solvers compatible with Pyomo that can be installed using ``pip`` or ``conda``. It includes
10+
both commercial and open-source solvers -- users are responsible for understanding
11+
the license requirements for their desired solver.
12+
13+
.. |br| raw:: html
14+
15+
<br />
16+
17+
..
18+
NOTE the use of Unicode nonbreaking spaces (xA0) and hyphens (x2011)
19+
in the PIP and CONDA command lines so that the commands render
20+
sensibly
21+
22+
.. list-table:: Available Solvers through ``pip`` and ``conda``
23+
:header-rows: 1
24+
25+
* - Solver
26+
- Pip
27+
- Conda
28+
- License |br| Docs
29+
* - cplex
30+
- ``pip install cplex``
31+
- ``conda install ‑c ibmdecisionoptimization \    cplex``
32+
- `License <https://www.ibm.com/products/ilog-cplex-optimization-studio/pricing>`__
33+
`Docs <https://www.ibm.com/docs/en/icos/latest?topic=cplex-installing>`__
34+
* - CPoptimizer
35+
- ``pip install cplex \    docplex``
36+
- ``conda install ‑c ibmdecisionoptimization \    cplex docplex``
37+
- `License <https://github.com/IBMDecisionOptimization/docplex-doc/blob/master/LICENSE.txt>`__
38+
`Docs <https://ibmdecisionoptimization.github.io/docplex-doc/getting_started_python.html>`__
39+
* - cyipopt
40+
- ``pip install cyipopt``
41+
- ``conda install ‑c conda‑forge cyipopt``
42+
- `License <https://cyipopt.readthedocs.io/en/stable/#copyright>`__
43+
`Docs <https://cyipopt.readthedocs.io/en/stable/install.html>`__
44+
* - glpk
45+
- N/A
46+
- ``conda install ‑c conda‑forge glpk``
47+
- `License <https://www.gnu.org/licenses/licenses.html>`__
48+
`Docs <https://www.gnu.org/software/glpk/>`__
49+
* - Gurobi
50+
- ``pip install gurobipy``
51+
- ``conda install ‑c gurobi gurobi``
52+
- `License <https://www.gurobi.com/solutions/licensing/>`__
53+
`Docs <https://support.gurobi.com/hc/en-us/articles/360044290292-How-do-I-install-Gurobi-for-Python>`__
54+
* - HiGHS
55+
- ``pip install highspy``
56+
- ``conda install ‑c conda‑forge highspy``
57+
- `License <https://github.com/ERGO-Code/HiGHS/blob/master/LICENSE.txt>`__
58+
`Docs <https://ergo-code.github.io/HiGHS/dev/interfaces/python/>`__
59+
* - MAiNGO
60+
- ``pip install maingopy``
61+
- N/A
62+
- `License <https://git.rwth-aachen.de/avt-svt/public/maingo/-/blob/master/LICENSE>`__
63+
`Docs <https://avt-svt.pages.rwth-aachen.de/public/maingo/install.html>`__
64+
* - PyMUMPS
65+
- ``pip install pymumps``
66+
- ``conda install ‑c conda‑forge pymumps``
67+
- `License <https://github.com/PyMumps/pymumps/blob/master/COPYING>`__
68+
`Docs <https://github.com/pymumps/pymumps>`__
69+
* - SCIP
70+
- N/A
71+
- ``conda install ‑c conda‑forge scip``
72+
- `License <https://www.scipopt.org/scip/doc/html/LICENSE.php>`__
73+
`Docs <https://www.scipopt.org/index.php#download>`__
74+
* - XPRESS
75+
- ``pip install xpress``
76+
- ``conda install ‑c fico‑xpress xpress``
77+
- `License <https://www.fico.com/en/fico-xpress-trial-and-licensing-options>`__
78+
`Docs <https://www.fico.com/fico-xpress-optimization/docs/latest/solver/optimizer/python/HTML/chIntro.html?scroll=secInstall>`__
79+
80+
.. note::
81+
82+
We compiled this table of solvers to help you get started, but we encourage
83+
you to consult the official documentation of your desired solver for the most
84+
up-to-date and detailed information.

0 commit comments

Comments
 (0)