Pulp, Python Programming, Linear Programming, Application, Snippet.
print(v.name,"=", v.varValue) print("Profit Max q1 = ", value(prob.objective)) a = 30.0 b = 0.0 Profit Max q1 = 3600.0 Question 2/10 - Operational Research Solve the following PL problem: max z: 70x1+40x2 constrains : 33x1+14x2<=2200 4x1+17x2<=1344 x1>=0, x2>=0 Again, what is the optimal solution?