From 1df507a3e330bc3d8a989e6311e1ef0e8fd52eee Mon Sep 17 00:00:00 2001 From: kalyani chaudhari <138003080+misskalyani@users.noreply.github.com> Date: Sat, 20 Apr 2024 09:22:26 +0530 Subject: [PATCH] Delete Maths_Python_Slips_Solution/Slip 2/Q7.py --- Maths_Python_Slips_Solution/Slip 2/Q7.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 Maths_Python_Slips_Solution/Slip 2/Q7.py diff --git a/Maths_Python_Slips_Solution/Slip 2/Q7.py b/Maths_Python_Slips_Solution/Slip 2/Q7.py deleted file mode 100644 index c41e2e7..0000000 --- a/Maths_Python_Slips_Solution/Slip 2/Q7.py +++ /dev/null @@ -1,15 +0,0 @@ -from pulp import* -model = LpProblem(name ="Solution",sense=LpMaximize) -x=LpVariable(name="x",lowBound=0) -y=LpVariable(name="y",lowBound=0) -z=LpVariable(name="z",lowBound=0) -model +=(x+2*y+z<=430) -model +=(3*x+2<=460) -model +=(x+4*y<=120) -model +=3*x+2*y+z*5 -print('\n',model) -print('\n',model.solve()) -print('\n Model Objective Value = ',model.objective.value()) -print('\n Value Of x = ',x.value()) -print('\n Value Of y = ',y.value()) -print('\n Value Of z = ',z.value())