Home About Documentation Install Newsline Links Feedback Appeal Guestbook
since 2007/10/24
The page is obsolete, we have moved to openopt.org
Mixed-Integer Linear Problems (MILP)
f' * x -> min
subjected to
lb <= x <= ub
A*x <= b
Aeq*x = beq
xi are required to be integers for all i from intVars
xj are required to be from {0, 1} for all j from binVars
(NB! Python indexing starts from zero)
OpenOpt MILP example >>>
MILP solvers
| Solver | License | Handles binary constraints | Made by | Info | Parameters |
| lpSolve | LGPL | No | Michel Berkelaar | Use URL or software channel for download and install lpsolve; add Python binding: run [sudo] lp_solve_5.5/extra/Python/build.bat (i.e. with root (admin) privileges). Ensure liblpsolve*.so is included to OS library path / PYTHONPATH. | scale = {1, 0, True, False} default: False |
| glpk | GPL 2 | Yes | Andrew Makhorin | Requires Python v >= 2.4 and installation glpk + CVXOPT v 1.0 or greater (check cvxopt.info.version). Ensure CVXOPT setup.py file has line BUILD_GLPK=1, I don't know is it handling properly while CVXOPT +/- glpk installation from software install/update channels like aptitude, apt-get etc |
