linear programming in python?

前端 未结 7 1199

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:45

    lpsolve is the easiest to me. No need to install separate solver. It comes with in the package.

提交回复
热议问题