问题
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
来源:https://stackoverflow.com/questions/12543092/trying-to-find-a-pure-python-integer-linear-programming-solver-with-inequalities