Installing solvers

linopy supports the following solvers

  • Cbc - open source, free, fast

  • GLPK - open source, free, not very fast

  • HiGHS - open source, free, fast

  • Gurobi - closed source, commercial, very fast

  • Xpress - closed source, commercial, very fast

  • Cplex - closed source, commercial, very fast

Please click on the links to get further installation information. In the following we provide additional installation guides for a subset of the above listed solvers.

For installing the solvers which are available via pip, you can simply run

pip install linopy[solvers]

and additionally for the HiGHS solver

pip install highspy

which is not yet available on all platforms.