Chapter-4 Linear Programing Simplex - Copy
Chapter-4 Linear Programing Simplex - Copy
P x 1.2 y
which is the objective function to be maximized.
Applied Example 1: A Production Problem
Solution
Let’s first tabulate the given information:
2x y
and must not exceed 180 minutes.
Thus, we have the inequality
2 x y 180
Applied Example 1: A Production Problem
Solution
Let’s first tabulate the given information:
x 3y
and must not exceed 300 minutes.
Thus, we have the inequality
x 3 y 300
Applied Example 1: A Production Problem
Solution
Let’s first tabulate the given information:
x 0
y 0
Applied Example 1: A Production Problem
Solution
In short, we want to maximize the objective function
P x 1.2 y
subject to the system of inequalities
2 x y 180
x 3 y 300
x 0
y 0
The Simplex Method
2x y u 180
x 3y v 300
Next, rewrite the objective function in the form
6
x y P 0
5
Applied Example 1: A Production Problem
Solution
Placing the restated objective function below the system of
equations of the constraints we get
2x y u 180
x 3y v 300
6
x y P 0
5
Thus, the initial tableau associated with this system is
x y u v P Constant
2 1 1 0 0 180
1 3 0 1 0 300
–1 – 6/5 0 0 1 0
The Simplex Method
x y u v P Constant
2 1 1 0 0 180
1 3 0 1 0 300
–1 – 6/5 0 0 1 0
2 x y 180
x 3 y 300
x 0
y 0
We can now solve the problem graphically.
Applied Example 1: A Production Problem
Now, find the values of P at the vertices and tabulate them:
Vertex P = x + 1.2 y
A(0, 0) 0
y
B(90, 0) 90
200
C(48, 84) 148.8
D(0, 100) D(0, 100) 120
100 C(48, 84)
S x 3 y 300
A(0, 0) B(90, 0)
x
100 200 300
2 x y 180
Applied Example 1: A Production Problem
Finally, identify the vertex with the highest value for P:
✦ We can see that P is maximized at the vertex C(48, 84)
and has a value of 148.8.
Vertex P = x + 1.2 y
A(0, 0) 0
y
B(90, 0) 90
200
C(48, 84) 148.8
D(0, 100) D(0, 100) 120
100 C(48, 84)
S x 3 y 300
A(0, 0) B(90, 0)
x
100 200 300
2 x y 180
Applied Example 1: A Production Problem
Finally, identify the vertex with the highest value for P:
x y u v P Constant
1 0 3/5 –1/5 0 48
0 1 –1/5 2/5 0 84
0 0 9/25 7/25 1 148 4/5
4.2
The Simplex Method:
Standard Minimization Problems
u v w x y P Constant
1 0 –3/20 3/100 –1/50 0 1/50
0 1 11/10 –1/50 2/25 0 13/25
0 0 450 30 120 1 1140
Minimize C 2 x 3 y
subject to 5 x 4 y 32
x 2 y 10
x, y 0
This problem involves the minimization of the objective
function and so is not a standard maximization problem.
Note, however, that all the other conditions for a standard
maximization hold true.
Example
We can use the simplex method to solve this problem by
converting the objective function from minimizing C to its
equivalent of maximizing P = – C.
Thus, the restated linear programming problem is
Maximize P 2 x 3 y
subject to 5 x 4 y 32
x 2 y 10
x, y 0
x y Constant
40 10 2400
10 15 2100
5 15 1500
6 8
Example
x y Constant
40 10 2400
10 15 2100
5 15 1500
6 8
u v w Constant
40 10 5 6
10 15 15 8
2400 2100 1500
Example
u v w Constant
40 10 5 6
10 15 15 8
2400 2100 1500
u, v, w 0
Theorem 1
u, v, w 0
Example
Solution
The dual problem associated with the given primal
problem is a standard maximization problem.
Thus, we can proceed with the simplex method.
First, we introduce to the system of equations the slack
variables x and y, and restate the inequalities as equations,
obtaining
40u 10v 5w x 6
10u 15v 15w y 8
2400u 2100v 1500w P 0
Example
Solution
Next, we transcribe the coefficients of the system of
equations
40u 10v 5w x 6
10u 15v 15w y 8
2400u 2100v 1500w P 0
into an initial simplex tableau:
u v w x y P Constant
40 10 5 1 0 0 6
10 15 15 0 1 0 8
–2400 –2100 –1500 0 0 1 0
Example
Solution
Continue with the simplex iterative method until a final
tableau is obtained with the solution for the problem:
u v w x y P Constant
1 0 –3/20 3/100 –1/50 0 1/50
0 1 11/10 –1/50 2/25 0 13/25
0 0 450 30 120 1 1140
40 x 10 y 2400
10 x 15 y 2100
5 x 15 y 1500
x 0
y 0
Graphical Solutions
of Linear Programming Problems
y
40 x 10 y 2400
A(0, 240)
200
10 x 15 y 2100
S
B(30, 120)
5 x 15 y 1500
100
C(120, 60)
D(300, 0)
x
100 200 300
End of
Chapter