Please give positive ratings for my effort. Thanks.
GRAPH
PROGRAM
import pulp as p
Lp_prob = p.LpProblem('Problem', p.LpMinimize)
x = p.LpVariable("x", lowBound = 0)
y = p.LpVariable("y", lowBound = 0)
Lp_prob += 5*x + 2*y
Lp_prob += 2*x + 3*y >= 75
Lp_prob += 4*x + y >= 80
Lp_prob += x >= 0
Lp_prob += y >= 0
print(Lp_prob)
status = Lp_prob.solve() # Solver
print(p.LpStatus[status]) # The solution status
# Printing the final solution
print(p.value(x), p.value(y), p.value(Lp_prob.objective))
IMAGE OF PROGRAM
IMAGE OF OUTPUT
coding Revised Simplex including 2-phase method and graphical user interface for solving LP problems. You can...
You need not run Python programs on a computer in solving the following problems. Place your answers into separate "text" files using the names indicated on each problem. Please create your text files using the same text editor that you use for your .py files. Answer submitted in another file format such as .doc, .pages, .rtf, or.pdf will lose least one point per problem! [1] 3 points Use file math.txt What is the precise output from the following code? bar...