What Libraries Should I Use For Linear Programming In Python?
Solution 1:
Solution 2:
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.
Solution 3:
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.
Solution 4:
You might look at PuLP from the coin-or set of libraries.
Post a Comment for "What Libraries Should I Use For Linear Programming In Python?"