Trying to find a pure python integer linear programming solver with inequalities

守給你的承諾、 提交于 2020-01-13 06:47:21

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!