16 Mark .. Graphical .. Simplex.. Transportaion Example Sums
16 Mark .. Graphical .. Simplex.. Transportaion Example Sums
1
MG1402 – OPERATIONS RESEARCH
(Common to EEE, EIE and ICE)
2
and without shortages – Non-instantaneous receipt of goods without
shortages – Price breaks –
Probabilistic inventory model – Single period without setup cost – Inventory
systems – Lead time– Safety stock – ROL, ROP determination –
Characteristics of Queuing system – Symbols and Kendall’s notation –
Poisson arrival and exponential service – Single and multi channel model –
Infinite population
1. Graphical Solution
2. Simplex Method
1.Graphical Solution
3
A graphical solution in operation research is a method for solving linear programming problems
with two decision variables using a graph. It's a popular method for solving simple linear
programming problems.
Maximize Z= 15x1+10x2
Subject to the constraints:
4x1+6x2≤360
3x1+0x2≤180
0x1+5x2≤200 ; x1, x2≥0
4
5
(2).
(3).
6
2. Simplex Method :
The simplex method is a technique used in operations research (OR) to solve linear programming
problems. It's a popular algorithm that uses slack variables, pivot variables, and tableaus to find
the best solution to a problem.
How it works
1. Set up the problem
2. Convert inequalities into equations
3. Create the initial simplex tableau
4. Identify the pivot column
5. Calculate the quotients
6. Perform pivoting to make all other entries in the pivot column zero
7
8
(2).
Step 6: Repeat steps 3-5 until there are no more negative values in the Z row:
9
Pivot on the "x1" column using the "s2" row as the pivot row.
| | x1 | x2 | s1 | s2 | s3 | Z |
|---|---|---|---|---|---|---|
| x2 | 0 | 1 | 1/4 | 1/11 | 0 | 0 |
| x1 | 1 | 0 | -1/11 | 4/11 | 0 | 0 |
| s3 | 0 | 0 | -2/11 | -4/11 | 1 | 0 |
| Z | 0 | 0 | -5/11 | 20/11 | 0 | 1 |
Solution:
Maximum value of Z = 20/11
Optimal solution: x1 = 20/11, x2 = 10/11
(3).
10
Step 4: Perform Pivot Operation
Divide the pivot row by 5 to make the pivot element equal to 1:
| | x₁ | x₂ | s₁ | s₂ | s₃ | Z |
|---|---|---|---|---|---|---|
| s₁ | 2 | 1 | 1 | 0 | 0 | 50 |
| s₂ | 0.4 | 1 | 0 | 0.2 | 0 | 20 |
| s₃ | 0.4 | 0 | 0 | -0.6 | 1 | 50 |
| Z | 3.2 | 0 | 0 | -2 | 0 | -200 |
Solution:
Maximum value of Z = 200
Optimal values: x₁ = 20, x₂ = 20
(4).
11
Select the column with the most negative coefficient in the Z row (the "pivot column"). In this case,
it's the x₁ column (coefficient 3).
Step 4: Identify the Pivot Row
Divide each constant term in the constraint rows by the corresponding coefficient in the pivot
column. Choose the row with the smallest positive ratio as the "pivot row".
o For s₁: 4/1 = 4
o For s₂: 2/1 = 2
o Pivot row is s₂.
Step 5: Perform the Pivot Operation
Divide the pivot row by the pivot element (1) to make the pivot element equal to 1.
Perform row operations to make all other elements in the pivot column zero.
| | x₁ | x₂ | s₁ | s₂ | Z |
|---|---|---|---|---|---|
| s₁ | 0 | 2 | 1 | -1 | 0 | = 2
| x₁ | 1 | -1 | 0 | 1 | 0 | = 2
| Z | 0 | 5 | 0 | -3 | 1 | = -6
Step 6: Check for Optimality
If all coefficients in the Z row are non-negative, the solution is optimal. Since there is a negative
coefficient (-3), we need to continue pivoting.
Repeat steps 3-5:
New pivot column: x₂ and New pivot row: s₁.
Final Tableau
| | x₁ | x₂ | s₁ | s₂ | Z |
|---|---|---|---|---|---|
| x₂ | 0 | 1 | 1/2 | -1/2 | 0 | = 1
| x₁ | 1 | 0 | 1/2 | 1/2 | 0 | = 3
| Z | 0 | 0 | 5/2 | 5/2 | 1 | = 5
Solution:
Maximum value of Z = 5, x₁ = 3, and x₂ = 1.
Interpretation: The optimal solution is to produce 3 units of product x₁ and 1 unit of product x₂ to
maximize the objective function value at 5.
(5.)
12
(6.)
13
UNIT II DUALITY, TRANSPORTATION MODEL AND ASSIGNMENT MODEL
Transportation problem :
Example 1:
14
Check for optimality (MODI Test) m (a) Cost matrix of allocated cell.
m+ n - 1 = 8 (no. of allocation)
15
Example problem : 1402
16
2.
m + n- 1 = no. of allocation 9
9. Cost matrix of allocated cell
17
Iteration for optimal solution
Since all elements of cell evaluation matrix are non negative so 2hldI feasible solution is the optimum
solution.
Transportation cost
Problem 3:
18
3. Optimality test
19
1. Opp. cost matrix
+
Cell evaluation matrix
20
Since all elements of cell evaluation matrix are non negative. Hence 3rd feasible solution is the
optimum solution.
21