Trying to find a pure python integer linear progra

2019-04-15 20:00发布

问题:

I have a program written in App Engine (python) and I want to use an integer linear programming solver in it. All solvers I could find seems to be written partly in C, so I would imagine they won't work in App Engine.

Anyone knows of a pure python library that solves integer linear programming with inequalities?

I managed to find this http://projects.scipy.org/scipy/ticket/1252 but it seems that it doesn't deal with inequalities.

回答1:

This seems to do the trick: http://labix.org/python-constraint