What libraries should I use for linear programming in python? [closed] What libraries should I use for linear programming in python? [closed] python python

What libraries should I use for linear programming in python? [closed]


cvxopt is written by Lieven Vandenberghe and some of his collaborators. (This is the same Vandenberghe of the widely used convex optimization textbook by Boyd and Vandenberghe.) It's a general convex conic programming solver, and uses an interior point method. On the plus side it's well-documented, has many examples, and is easy to use. I believe it scales fairly well, though not as well as commercial products like Xpress, Gurobi, or cplex.

Looks like there's a pull request to scipy containing a (pure python) linear programming implementation, though. So a linear programming solver could be in scipy in the future.


I don't know what you are specifically trying to do, but NumPy/SciPy are the usually first places to look for anything math related in Python.