pylpsolve icon indicating copy to clipboard operation
pylpsolve copied to clipboard

PyLPSolve is an object oriented wrapper for the open source LP solver `lpsolve`_. The focus is on usability and integration with existing python packages used for scientific programming (i.e. numpy a...

Results 10 pylpsolve issues
Sort by recently updated
recently updated
newest added

Hi, It's a shot in the dark as I am dubious I will get an answer. However, I have tried to compile PyLPSolve on Windows 64 bit, Python 2.7 64...

only 2 minor changes: 1) change print statement to function; 2) use dict.items under py3, which is dict.iteritems under py2

lpsolve supports ILP, but I didn't see anywhere on the PyLPSolve user guide how to invoke it...

Seems to work fine! ``` python In [1]: import pylpsolve as lp In [2]: model = lp.LP() In [5]: model.addConstraint([[1, 0], [0, 1], [1, -1], [-1, -1]], '>=', [0, 0,...

Provides support for the `timeout` parameter. The `timeout` parameter is the positive integer seconds before either returning the optimal result or raising a timeout error. The parameter defaults as `0`,...

LPSolve doesn't support strict inequality, and it's extremely surprising to successfully add a constraint like `lp.addConstraint({'x': 1}, '>', 0)` and have it behave silently off-by-one. I believe it's a design...

This enables more easily catching specific conditions like suboptimal solution.

This fixes use of incorrect column indices when the presolver removes rows or columns. A serious but silent error when using `presolve_cols`.

My editor was going nuts with all of the trailing whitespace (trimming it all automatically which munged up the diffs). Easy to fix once, though.

This lets `printLP` print the actual column names used in the constraints.