21-Gradient based Method_ Newton’s method-13-03-2025
21-Gradient based Method_ Newton’s method-13-03-2025
By
Dr. Prashanth Maroju
Assistant Professor
Department of Mathematics,
VIT AP University
Amaravathi, Andhra Pradesh
1/20
Lecturer 22
2/20
Lecturer 22
3/20
Lecturer 22
4/20
Lecturer 22
5/20
Lecturer 22
6/20
Lecturer 22
7/20
Lecturer 22
8/20
Lecturer 22
9/20
Lecturer 22
10/20
Lecturer 22
11/20
Lecturer 22
12/20
Lecturer 22
13/20
Lecturer 22
Optimality Test:
(i) Make a optimality test to find whether obtained solution is optimal
or not. Optimality test can, of course, only that basic feasible
solution in which
(a) Number of allocations is m + n − 1, where m is the number of
rows and n is the number of columns.
(b)these m + n − 1 allocations should be independent positions.
(ii) Determining the net evaluation for non basic variable
(unoccupied cells)
(iii) Choosing that net evaluation which may improve the current
basic feasible solution.
(iv) Determine the current occupied cell which leaves the basis and
repeating (ii) and (iii) until optimum solution attained.
14/20
Lecturer 22
MODI Method:
(i) Find an initial basic feasible solution using any one of the three
methods NWCM, LCM or VAM.
(ii) Find ui and vj for rows and columns. To start
(a) assign 0 to ui or vj where maximum number of allocation in a
row or column respectively.
(b) Calculate other ui and vj using cij = ui + vj , for all occupied
cells.
(iii) For all unoccupied cells, calculate dij = (ui + vj ) − cij ,
(iv) Check the sign of dij
(a) If dij ≤ 0, then current basic feasible solution is optimal and
stop this procedure.
(b) If dij > 0, then the given solution is not an optimal solution
and further improvement in the solution is possible.
(v) Select the unoccupied cell with the largest negative value of dij ,
and included in the next solution.
15/20
Lecturer 22
(vi) Draw a closed path (or loop) from the unoccupied cell (selected
in the previous step). The right angle turn in this path is allowed
only at occupied cells and at the original unoccupied cell. Mark
(+) and (−) sign alternatively at each corner, starting from the
original unoccupied cell.
(vii) (a). Select the minimum value from cells marked with (−) sign of
the closed path
(b). Assign this value to selected unoccupied cell (So
unoccupied cell becomes occupied cell).
(c). Add this value to the other occupied cells marked with (+)
sign.
(d). Subtract this value to the other occupied cells marked with
(−) sign.
(viii) Repeat Step-(ii) to step-(vii) until optimal solution is obtained.
This procedure stops when all dij ≤ 0 for unoccupied cells.
16/20
Lecturer 22 The maximization of transportation problem is illustrated with the following
Example.
Example:1:
Example
A company has three factories located in three cities viz. X, Y, Z. These
factories supplies consignments to four dealers viz. A, B, C and D. The
dealers are spread all over the country. The production capacity of these
factories is 310, 100 and 290 units per month respectively. The net return per
unit product is given in the following table:
Dealers A B C D Capacity
Factory
X 6 6 6 4 310
Y 4 2 4 5 100
Z 5 6 7 8 290
Requirement 150 130 120 300 700
18/20
Lecturer 22
20/20