Solve a system of linear equations and linear inequalities
问题 I have to get the min and max y for a linear expression, restricted by some linear inequalities in python. You can see the equation and inequalities here that I have entered into Desmos: 3x+12y = 1000 x > 30 x < 160 y < 60 y > 10 x + y > 180 I can solve them by hand by drawing and crossing out the inequalities. But I cannot do that in Python. What I have tried so far in Python is to get y=83.33 when x=0; x=333.33 when y=0; After getting the min and max x,y I then apply the inequalities 1 by 1