linear programming in python?

前端 未结 7 1206

I need to make a linear programming model. Here are the inequalities I\'m using (for example):

6x + 4y <= 24
x + 2y <= 6
-x + y <= 1
y <= 2
         


        
7条回答
  •  我在风中等你
    2020-12-12 17:57

    I would recommend using the PuLP python package. It has a nice interface and you can use differenty types of algorithms to solve LP.

提交回复
热议问题