Linear Programming
Linear Programming
ACT 512
No. Name ID
1. Most. Sumana Khatun 1703007
2. Rajwona Sharmin 1703015
3. Rima Akter 1703021
4. Md. Reazul Islam 1703025
5. Asma Anika 1703032
Problem: 1
Let us go to solve a math on the minimization linear programming. This math is...
Objective Function (minimize), Z= 3x+2y
Subjected to Constraints:
5x+7y ≥ 35
10x+ 4y ≥ 40
x, y ≥ 0
Solve the maximization Linear Programming Graphically.
Solutions:
Given That, Objective Function, Z= 3x+2y
Subjected to Constraints:
5x+7y ≥ 35………. (I)
10x+ 4y ≥ 40……. (II)
Again,
Let, y = 0
X =?
10 x + 4 y = 40
Or, 10 x + 4 x 0 = 40
Or, 10 x + 0 = 40
Or, 10 x = 40
Or, x = 4
Or, (x, y) = (4, 0)
Then, we have to write down the Coordinates of points, Here coordinates points are: (7, 10), (0, 5), (4, 0), (0, 10)
Than we have to draw a graph to base on the above coordinates points. So, it us to draw the graph.
Figure: 1
The variable of “x” is a horizontal line, the variable of “x” is a vertical line and “0 “indicates the origin region.
Then by dividing “2 “in the number of equation (2), and then also subtracting equation (1) and (2), we get,
5x + 7y = 35
5x + 2y = 20
0 + 5y = 15
Or, y = 3
Putting the value of y into equation (1), we get,
5x +7. 3 = 35
Or, 5x + 21 =35
Or, 5x = 35 – 21
Or, 5x = 14
Or, x = 2.8
So, we can get the value of x and y that is 2.8 and 3 and respectively and this value indicates the point of “B”.
Then, we have to make a table that will involve the 3 columns and 4 rows. So, let us go to make a table.
Problem: 2. A nutrition scheme for babies is proposed by a committee of doctors. Babes can be given two types
of food (I and II)which are available in standard sized packets weighing 50 grams The cost per packet of these
foods are Rs. 2 and Rs.3, respectively. The vitamin availability in each type of food per packet and the minimum
vitamin requirement for each type of vitamin are summarized in Table e dot 2, 3. Develop a linear programming
model to determine the optimal combination of food types with the minimum cost such that the minimum
requirement of vitamin in each type is satisfied.
Solution: Let, X and y, are the number of packets of food Type I and Type II, respectively to be suggested for
babies. A linear programming model of this situation is presented below. This model determines the number of
packets of each food type with the minimum cost to be suggested for babies such that the minimum daily required
vitamins are satisfied.
Minimize Z = 2X + 3y
Subject To
Or x+ y ≥ 6
Or, 7x + y ≥ 14
X, and y, 0
Firstly we have to change the structure equation of straight equation of straight equality
X + y = 6………… (1)
7x + y =14……… (2)
Let, X =0
Y =?
So, X + y = 6
Or, 0 + y =6
Or, y = 6
Or (x, y) = (0, 6)
Again,
X =?
Y=0
So, X + y = 6
Or, x + 0 = 6
Or, x = 6
(x, y) = (6, 0)
Let, x =0
Y =?
So, 7 x + y = 14
Or, 7 x 0 + y = 14
Or, y =14
Again,
Let, y = 0
X =?
So, 7x + y =14
Or, 7x + 0 = 14
Or, 7x =14
Or x = 14 / 7
Or, x = 2
(x, y) = (2, 0)
Then we have to write down the coordinates of points, Here coordinates points are : ( 0,6), (6, 0) , (0, 14) , (2,
0).
Figure: 2
X+ y = 6
X + y = 14
-6x = - 8
Or, x = 1.33
X+y=6
Or, 1.33 + y =6
Or, y = 6 / 1.33
Or, y = 4. 67
So, minimum cost in the corner point of the polygon is C. Where x =6 and y = 0 And Z (optimum)
Problem: 5
Product M1 M2
K 1 6
D 1 1
Availability 8 hrs. (Per Week) 12 hrs. (Per Week)
Cost per Unit for K and D respectively TK.4 and TK.6
Find out the Production of K and D to minimize cost by graphical Method.
Problem: 6
Product M1 M2
A 4(hours) 2(hours)
B 3(hours) 1(hours)
Availability 240 (Per Months) 100 (Per Months)
Cost per unit for A and B are TK.7 and Tk.5 respectively
Find out the Production of A and B to minimize cost by graphical Method.
Problem: 7
Product M1 M2
R 1 7
S 1 1
Availability 6 hrs. (Per Week) 16 hrs. (Per Week)
Cost per unit for R and S are TK.2 and Tk.3 respectively
Find out the Production of R and S to minimize cost by graphical Method.
Find out the monthly production P & Q to maximize profit by graphical method.
Objective Function:
(Maximize), Z= 80x1+60x2
Subjected to Constraints:
8x1+60x2 ≤ 7200
4x1+10x2 ≥ 4000
X1 and x2 ≥ 0
From equation (1), we have;
Let, X1 =0
X2 =?
Or, x2 = 720
Again,
X2 =0
X1 =?
Or, x1 = 900
Let, X1 =0
X2 =?
Or, x2 = 400
Again,
X2 =0
X1 =?
Here coordinates points are,(x1,X2) : ( 0,720), (900, 0) , (0, 400) , (1000, 0).
A= (0,400)
B= (0, 0)
C= (900, 0)
D= (800, 80)
8x1+10x2 = 7200
4x1+10x2 = 4000
4x1 =3200
X1 =800
Putting the value of x1, into equation (1)
8x1+10x2 = 7200
(8*800)+10x2=7200
6400+10x2=7200
10x2=7200-6400
10X2=800
X2=80