Pulp, Python Programming, Linear Programming, Application, Snippet.
m=LpVariable("mouses", 0) prob += 200*l+225*t+10*m prob += 470*l+190*t+9*m<=25000 prob += l >= 10 prob += t>= 20 prob += t<=35 prob.solve() for v in prob.variables(): print(v.name,"=", v.varValue) print("Max Profit q6 = ", value(prob.objective)) laptops = 10.0 mouses = 1516.6667 tablets = 35.0 Max