Linear Programming Problem
Linear Programming Problem
Solution
Let y1, y2, y3, and y4 be dual variables corresponding to 4-constraints so that:
Minimize Zy = -160y1 + 30y2 – 30y3 + 10y4
Subject to constraints:
(i) -2y1 + y2 – y3 + y4 ≤ 1
(ii) -4y1 – y2 + y3 ≤ 0
(iii) y1, y2, y3 and y4 ≥ 0
-2 -4 -2 1 -1 1
A= 1 -1 AT = -4 -1 1 0
-1 1
1 0
Solving graphically,
Minimize Z = X1 + 2X2
Subject to the constraints:
2X1 + 4X2 ≤ 160
X1 – X2 ≤ 30
X1, X2 ≥ 0
In an attempt to make all inequalities equal, change positive signs to negative signs where it applies.
The above becomes;
-2X1 – 4X2 ≥ -160 ------------------------------------------ (a)
X1 – X2 ≥ 30 ---------------------------------------------- (b)
-X1 + X2 ≥ -30 ---------------------------------------------- (c)
X1 > 10 ----------------------------------------------(d)
(a)
-2X1 - 4X2 = -160 80 40
(b)
X1 – X2 = 30 30 -30
NOTE:
(i) Plot the data from the table on a graph, by picking the suitable scale.
(ii) (C)
Plot X on the
1
-X1 + X2 = -30 30 -30
horizontal axis
and X2 on the
(d) vertical axis
X1 = 30 10 0
X1 X2
A
10 0
B
30 0
C
46.7 16.7
D
10 35