2082 4

ORS255 · 2082 · 5 marks

Assignment Problem: Least Cost Allocation A publication employs typists on an hourly basis. There are five typists for service and their charges are different. According to earlier understanding, only one job is given to one typist. Find the least cost allocation for the following data.

Assignment Problem: Least Cost Allocation

A publication employs typists on an hourly basis. There are five typists for service and their charges are different. According to earlier understanding, only one job is given to one typist. Find the least cost allocation for the following data.

$$\begin{array}{|c|ccccc|}\hline \text{Typists/Jobs} & P & Q & R & S & T \ \hline A & 85 & 75 & 65 & 125 & 75 \ \hline B & 90 & 78 & 66 & 132 & 78 \ \hline C & 75 & 66 & 57 & 114 & 69 \ \hline D & 80 & 72 & 60 & 120 & 72 \ \hline E & 76 & 64 & 56 & 112 & 68 \ \hline \end{array}$$

[5]

Operations ResearchChapter 4: Assignment ProblemsHungarian Assignment MethodNumerical: Assignment problem least cost

Assignment Problem: Least Cost Allocation

Given Data

Cost matrix (typists A-E vs jobs P-T):

TypistsPQRST
A85756512575
B90786613278
C75665711469
D80726012072
E76645611268

Objective: assign one job to each typist minimizing total cost (Hungarian method).

Step 1: Row Reduction

Row minimums: A=65, B=66, C=57, D=60, E=56.

TypistsPQRST
A201006010
B241206612
C18905712
D201206012
E20805612

Step 2: Column Reduction

Column minimums: P=18, Q=8, R=0, S=56, T=10.

TypistsPQRST
A22040
B640102
C01012
D24042
E20002

Step 3: Cover Zeros with Minimum Lines

Zeros are at: A(R,T), B(R), C(P,R), D(R), E(Q,R,S).

Minimum lines to cover all zeros:

  • Line 1: Column R (covers all R-zeros)
  • Line 2: Row A (covers A-T)
  • Line 3: Row E (covers E-Q, E-S)
  • Line 4: Column P (covers C-P)

That is 4 lines < 5 (order n). Not optimal yet.

Step 4: Create Additional Zeros

Uncovered elements (not in row A, E; not in column P, R):

Uncovered cells: B(Q,S,T), C(Q,S,T), D(Q,S,T).

Values:

  • B: Q=4, S=10, T=2
  • C: Q=1, S=1, T=2
  • D: Q=4, S=4, T=2

Minimum uncovered value = 1 (at C-Q or C-S).

Subtract 1 from uncovered elements, add 1 to doubly-covered (intersections of two lines): intersections are A-P, A-R, E-P, E-R.

Revised matrix:

TypistsPQRST
A32140
B63091
C00001
D23031
E30102

Step 5: Check Optimality

Zeros: A(T), B(R), C(P,Q,R,S), D(R), E(Q,S).

Try covering: still need to check line count.

  • Column R covers B, C, D, (A/E have no R-zero after change).
  • Row C covers C(P,Q,S).
  • Row E covers E(Q,S).
  • Row A covers A-T.

Lines: Column R, Row C, Row E, Row A = 4 lines. Still < 5.

Uncovered cells (not row A,C,E; not column R): B(P,Q,S,T), D(P,Q,S,T).

Values:

  • B: P=6, Q=3, S=9, T=1
  • D: P=2, Q=3, S=3, T=1

Minimum uncovered = 1 (B-T, D-T). Subtract 1 from uncovered, add 1 to intersections (A-R, C-R, E-R).

Revised matrix:

TypistsPQRST
A32240
B52080
C00101
D12020
E30202

Step 6: Assignment

Zeros: A(T), B(R,T), C(P,Q,S), D(R,T), E(Q,S).

Make assignments:

  • A → T (only zero for A) → T taken.
  • B → R (T gone) → R taken.
  • D → R gone, D → T gone; D has no zero left. Backtrack.

Retry:

  • B → T, A → ? A only zero is T (taken). Conflict.

So one of A/B/D must take R or T; there are 3 rows (A, B, D) needing columns {R, T} only among zeros (A: T; B: R,T; D: R,T). Three rows demand two columns → infeasible; need another zero.

Only 4 lines cover current zeros; count lines again:

  • Row A (T), Row E (Q,S), Column R (B,D), Column S/Q via C...

Cover: Column T (A,B,D), Column R (B,D), Row C (P,Q,S), Row E (Q,S) = 4 lines. Still 4 < 5.

Uncovered: not row C,E; not column R,T → A(P,Q,S), B(P,Q,S), D(P,Q,S). Values: A: 3,2,4; B: 5,2,8; D: 1,2,2. Minimum = 1 (D-P).

Subtract 1 from uncovered, add 1 to intersections (C-R, C-T, E-R, E-T):

Revised matrix:

TypistsPQRST
A21230
B41070
C00202
D01010
E30303

Zeros: A(T), B(R,T), C(P,Q,S), D(P,R,T), E(Q,S).

Assignment:

  • A → T
  • B → R
  • D → P
  • E → Q
  • C → S

All jobs distinct. Optimal.

Optimal Solution

AssignmentOriginal Cost
A → T75
B → R66
C → S114
D → P80
E → Q64

Minimum Total Cost = 75 + 66 + 114 + 80 + 64 = 399

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.