Professional Documents
Culture Documents
QMT437 Group Project: Prepared by
QMT437 Group Project: Prepared by
GROUP PROJECT
PREPARED BY:
1. IZATUN HAJAR BINTI MOHD NASIR (2019218836)
2. NURULAINA BINTI HUZHURI (2019405698)
CLASS: CS2492B
PREPARED FOR:
DR SITI AIDA BINTI SHEIKH HUSSIN
1. INTRODUCTION
The purpose of doing this assignment is to see the differences of using these two
models in solving the problems that contains same data and compare the results between
these two models. So, we create the problems and solve the problems by using two
models which are Transportation models and Linear Programming model. To obtain the
results, we solve these two models in QM for Windows.
2. TRANSPORTATION PROBLEMS
The amount of rice available at each source and the amount required at three demand
centres are specified as below:
Outlets
Factories Raub Ipoh Kota Tinggi
Ampang 6 8 10
Sabak Bernam 7 11 11
Shah Alam 4 5 12
From the transportation problems, we also convert the problems into Linear
Programming model as below.
Minimize Z = 6x1A + 8x1B + 10x1C + 7x2A + 11x2B + 11x2C + 4x3A + 5x3B + 12x3C
subject to
x1A + x1B + x1C >= 150
xij 0
3. SOLUTIONS
From the transportation problems, we have two models which are Transportation model
and Linear Programming model. So, we solve these two models by using QM for
Windows to obtain the solutions.
Table 5: Marginal Cost or The Cost for Empty Cells for Table 4
Begin the steps at the cell with the lowest transportation cost. If a tie exists,
choose the cells whose demand is more. Then compare available supply and demand for
the cell. Allocate the smaller of the two values to this cell. If either the supply or the
demand remaining equals to zero, no allocation can be made. If more allocation can be
made, move to the cell with the next lowest transportation cost and repeat the step before.
Repeat the step until there is no allocation can be made.
The result is there are 25 tons of rice delivered from Ampang to Raub and 125
tons of rice delivered to Kota Tinggi from the same factory. Kota Tinggi also received
175 tons of rice from Sabak Bernam factory. Shah Alam factory has delivered 175 and
100 tons of rice to Raub and Ipoh respectively. After that, calculate the initial cost
solution. Since QM for Window only show the final transportation, so we construct the
initial table transportation as below.
To
From A B C Supply
6 8 10
1 25 125 150
7 11 11
2 175 175
4 5 12
3 200 75 275
Demand 200 100 300 600
Then, to compute the values for each row and column, set ui + vj = cij but only for those
squares that are currently used. After that, set u1 = 0. Solve the system for all u and v
values.
x1C: u1 + vC = 10
x2C: u2 + vC = 11
x3A: u3 + vA = 4
x3B: u3 + vB = 5
Then, compute the improvement index for each unused square by the formula kij = cij –
ui – vj = cost increase or decrease that would occur by allocating to a cell. If kij ≥ 0 for
all the unused squares, then the initial solution is the optimal solution.
As we can see from above index that in Iteration 1, the answers from empty
cells have negative values. Solutions are not optimal if the empty cells at the index
has negative values. Thus, Iteration 1 does not give optimal values. If the solution is
not optimal, use Stepping Stone Method. To do Stepping Stone, first of all, choose a
cell with the best improvement index which is the smallest negative index. Begin at
the square. Trace closed path back to the original square. After that, compute again
the improvement index for each unused square until none of the values are negatives.
In Table 7, Iteration 2 shows the answer after doing Stepping Stone. Thus, we can see
the cost changes for the empty cells from Iteration 1 and 2 as shows in Table 7.
x1A: u1 + vA = 6, vA = 6
x1C: u1 + vC = 10, vC = 10
x2C: u2 + vC = 11, u2 = 1
x3A: u3 + vA = 4, u3 = -2
x3B: u3 + vB = 5, vB = 7
Cost changes for the empty cells, cij - ui - vj = kij;
Table 24: Marginal Cost or The Cost for Empty Cells for Table 4
Table 5 shows the value for the empty cells after doing Stepping Stone. From
Table 5, we can conclude that the marginal cost from Ampang factory to Ipoh is RM1
while Sabak Bernam factory to Raub and Ipoh are RM0 and RM3 respectively. From
Shah Alam to Kota Tinggi, the marginal cost is RM4.
To
From A B C Supply
6 8 10
1 25 (1) 125 150
7 11 11
2 (0) (3) 175 175
4 5 12
3 175 100 (4) 275
Demand 200 100 300 600
Table 25: Optimal Solutions
Then, calculate the transportation cost using the values from Table 8. We obtained
the minimum transportation cost which is RM 4525 after sum up the column of shipment cost
in table above.
4.2 ANALYSIS FOR LINEAR PROGRAMMING MODEL
Minimize Z = 6x1A + 8x1B + 10x1C + 7x2A + 11x2B + 11x2C + 4x3A + 5x3B + 12x3C
subject to
x1A + x1B + x1C >= 150
x2A + x2B + x2C >= 175
xij 0
Then, compute the Zj and Cj – Zj rows. Repeat the steps until the numbers in
the Cj – Zj row are zero or negative, we have found the optimal solution.
Table 20 is the last simplex tableau as the answer shows optimal value. As we can see
from Table 20, the value of Zj is 4525. Thus, the optimal cost is RM4525.
4.2.2 THE DUAL
If the primal is minimization, the dual is maximization. The RHS values of the
primal constraints become the dual’s objective function coefficients and the primal
objective function coefficients become the RHS values of the dual constraints. The
transpose of the primal constraint coefficients become to the dual constraint coefficients.
Last but not least, the inequality signs are reversed
In a nutshell, as we can see that the problem can be solved by using two models
which are transportation model and linear programming model. Both model gives us the
same value of optimal solution which is RM 4525.