.. -*- mode: rst -*- Using Solvers with Pyomo ======================== Pyomo supports modeling and scripting but does not install a solver automatically. For numerous reasons (including stability and managing intermittent dependency conflicts), Pyomo does not bundle solvers or have strict dependencies on any 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 both commercial and open-source solvers -- users are responsible for understanding the license requirements for their desired solver. .. |br| raw:: html
.. NOTE the use of Unicode nonbreaking spaces (xA0) and hyphens (x2011) in the PIP and CONDA command lines so that the commands render sensibly .. list-table:: Available Solvers through ``pip`` and ``conda`` :header-rows: 1 * - Solver - Pip - Conda - License |br| Docs * - cplex - ``pip install cplex`` - ``conda install ‑c \ ibmdecisionoptimization cplex`` - `License `__ `Docs `__ * - CPoptimizer - ``pip install cplex docplex`` - ``conda install ‑c \ ibmdecisionoptimization \ cplex docplex`` - `License `__ `Docs `__ * - cuOpt - CUDA-version dependent; see the official `documentation `__. - CUDA-version dependent; see the official `documentation `__. - `License `__ `Docs `__ * - cyipopt - ``pip install cyipopt`` - ``conda install ‑c conda‑forge cyipopt`` - `License `__ `Docs `__ * - glpk - N/A - ``conda install ‑c conda‑forge glpk`` - `License `__ `Docs `__ * - Gurobi - ``pip install gurobipy`` - ``conda install ‑c gurobi gurobi`` - `License `__ `Docs `__ * - HiGHS - ``pip install highspy`` - ``conda install ‑c conda‑forge highspy`` - `License `__ `Docs `__ * - KNITRO - ``pip install knitro`` - N/A - `License `__ `Docs `__ * - MAiNGO - ``pip install maingopy`` - N/A - `License `__ `Docs `__ * - PyMUMPS - ``pip install pymumps`` - ``conda install ‑c conda‑forge pymumps`` - `License `__ `Docs `__ * - SCIP - N/A - ``conda install ‑c conda‑forge scip`` - `License `__ `Docs `__ * - XPRESS - ``pip install xpress`` - ``conda install ‑c fico‑xpress xpress`` - `License `__ `Docs `__ .. note:: We compiled this table of solvers to help you get started, but we encourage you to consult the official documentation of your desired solver for the most up-to-date and detailed information.