Beruflich Dokumente
Kultur Dokumente
MODULE II
ySensitivity analysis ;
to assign - personnel to jobs, - jobs to machines, machines to job locations, or - salespersons to territories. y Consider the situation of assigning n jobs to n machines. y When a job i (= 1, 2,...., n) is assigned to machine j (= 1, 2, ....., n) the cost incurred is Cij. y The objective is to assign the jobs to machines so that the total cost is minimised.
Transportation Model and it is known as the assignment problem. y Here, jobs represent sources and machines represent destinations. y The supply available at each source is 1 unit And demand at each destination is 1 unit.
"One machine can do the work of fifty ordinary men. No machine can do the work of one extraordinary man." -- Elbert Hubbard
The assignment model can be expressed mathematically as follows: Xij= 0, if the job j is not assigned to machine i 1, if the job j is assigned to machine i
Method has proven to be a quick and efficient way to solve such problems.
Step 1: Select the smallest value in each row. Subtract this value from each value in that row Step 2: Select the smallest value in each column. Subtract this value from each value in that column.
PROBLEM 1
y Assign Jobs 1, 2, 3, 4 to inspectors A, B, C, D so that the cost is
1 5 2 INSPECTORS 7 5
JOBS 2 7 3 8 3
3 9 4 9 2
4 8 5 1 4
PROBLEM 2
y A department has 5 employees and 5 jobs to be performed. The time
( in hours) that each employee takes is given below. Determine the job allocation that will minimise the man hours. E M P L O Y E E S Jobs 1 A B C D E 8 0 3 4 9 2 4 9 8 3 5 3 2 5 9 1 8 4 6 5 2 0 9 5 1 4 6 3 5
HOMEWORK 1
y Find the optimal assignment schedule given the following data.
1 10 3 EMPLOYEES 10 5
JOBS 2 5 9 7 11
3 13 8 3 9
4 15 3 2 7
number of lines through some of the rows and columns, Such that all zero values are crossed out.
assignments have been made. y (ii) Put a tick mark to those columns which have zeros in the marked rows. y (iii) Put a tick mark to those rows (not already marked) which have assignments (boxed zeroes) in marked columns. y (iv) Repeat (ii) and (iii) until no more rows and columns can be checked. y Draw lines through unmarked rows and marked columns. If the number of these lines is equal to the order of the matrix then the solution is optimal. Else go to the next step.
The next step is to select the smallest uncrossed out element. This element is subtracted from every uncrossed out element and added to every element at the intersection of two lines.
Hungarian Algorithm
Check whether the number of rows = the number of columns in the cost matrix. If so the assignment problem is said to be balanced and we can proceed to Step 2. If it is not balanced and the number of rows is less than the number of columns add dummy rows with zero cost to balance the problem. If it is not balanced and the number of columns is less than the number of rows add dummy columns with zero cost to balance the problem. y Step 2: Select the smallest value in each row. Subtract this value from each value in that row. y Step 3: Select the smallest value in each column. Subtract this value from each value in that column.
y Step 1:
Hungarian Algorithm
y Step 5 : If each row and column contain exactly one assigned zero then the assignment is optimal. If either a row or a column does not contain exactly one assigned zero then the assignment is not optimal, go to Step 6. y Step 6: Cover all the zeros by drawing minimal number of lines as follows : y (i) Put a tick mark to those rows where no assignments have been made. y (ii) Put a tick mark to those columns which have zeros in the marked rows. y (iii) Put a tick mark to those rows (not already marked) which have assignments (boxed zeroes) in marked columns. y (iv) Repeat (ii) and (iii) until no more rows and columns can be checked.
Hungarian Algorithm
y Step 7 : Draw lines through unmarked rows and
marked columns. If the number of these lines is equal to the order of the matrix then the solution is optimal. Else go to the next step. y Step 8: Determine the smallest cost element not covered by the straight lines. Subtract this element from all the uncrossed elements, add it to the elements lying in the intersection of the straight lines and do not change the remaining elements on the straight lines. y Go to step 4 and repeat the procedure until an optimal solution is reached.
PROBLEM 1
y A department has 5 employees and 5 jobs to be performed. The time
( in hours) that each employee takes is given below. Determine the job allocation that will minimise the man hours. E M P L O Y E E S Jobs 1 A B C D E 10 3 10 7 7 2 5 9 7 11 9 3 13 18 2 9 10 4 15 13 2 7 4 5 16 6 2 12 12
PROBLEM 2
y The processing time ( in hours) for jobs when allocated
for different machines are indicated. Determine the job allocation that will minimise the total processing time.
JOBS M A C H I N E S 1 A B C D E 9 43 41 74 36 2 22 78 28 42 11 3 58 72 91 27 57 4 11 50 37 49 22 5 19 63 45 39 25