Docsity

Operation Research Summary, Summaries of Operational Research

Toggle sidebar
bg1
The Assignment Model
The Assignment Model
The classical assignment model: deals with matching workers (with varying skills) to jobs.
Objective: The goal is to determine the minimum cost assignment of workers to jobs, as skill variation affects the
cost of completing a job.
• General Representation:
o It involves n workers and n jobs.
o The element cij represents the cost of assigning worker i to job j (i, j = 1, 2, ..., n).
Balance Assumption: It is assumed that the number of workers and jobs are equal. If they are not, fictitious
(dummy) workers or jobs are added to satisfy this assumption.
Relation to Transportation Model
o The assignment model: is a special case of the transportation model where workers represent
sources and jobs represent destinations.
o The supply at each source and demand at each destination exactly equals 1.
o The cost of “transporting” worker i to job j is cij.
o It can be solved as a regular transportation model or Linear Programming (LP), but its nature led to
the development of a simpler algorithm called the Hungarian method.
The Assignment Algorithm (Hungarian Algorithm)
• Efficiency: It is the most efficient way of solving the assignment problem.
• Core Principle: If a constant is added or subtracted from any row or column, the optimal assignment is not
affected.
• Key Characteristics:
o There are n machines (M1, M2, M3..., Mn) and n different jobs (J1, J2, ..., Jn).
o The machine cost depends on the machine to which it is assigned.
o Each machine can work only on one job.
o Goal: Assign jobs to machines to minimize the total cost of machining.
• Number of possible assignments:
o The number of ways is n! (n factorial).
o Example: If n = 5, then 5! = 120 ways.
pf3
pf4

Partial preview of the text

Download Operation Research Summary and more Summaries Operational Research in PDF only on Docsity!

The Assignment Model

The Assignment Model The classical assignment model: deals with matching workers (with varying skills) to jobs. Objective: The goal is to determine the minimum cost assignment of workers to jobs, as skill variation affects the cost of completing a job.

  • General Representation: o It involves n workers and n jobs. o The element cij represents the cost of assigning worker i to job j (i, j = 1, 2, ..., n). Balance Assumption: It is assumed that the number of workers and jobs are equal. If they are not, fictitious (dummy) workers or jobs are added to satisfy this assumption. Relation to Transportation Model o The assignment model: is a special case of the transportation model where workers represent sources and jobs represent destinations. o The supply at each source and demand at each destination exactly equals 1. o The cost of “transporting” worker i to job j is cij. o It can be solved as a regular transportation model or Linear Programming (LP), but its nature led to the development of a simpler algorithm called the Hungarian method. The Assignment Algorithm (Hungarian Algorithm)
  • Efficiency: It is the most efficient way of solving the assignment problem.
  • Core Principle: If a constant is added or subtracted from any row or column, the optimal assignment is not affected.
  • Key Characteristics: o There are n machines (M1, M2, M3..., Mn) and n different jobs (J1, J2, ..., Jn). o The machine cost depends on the machine to which it is assigned. o Each machine can work only on one job. o Goal: Assign jobs to machines to minimize the total cost of machining.
  • Number of possible assignments: o The number of ways is n! (n factorial). o Example: If n = 5, then 5! = 120 ways.

The Algorithm Steps

  • Step 1: Determine pi, the minimum cost element of row i in the original cost matrix, and subtract it from all the elements of row i (i = 1, 2, 3).
  • Step 2: For the matrix created in Step 1, determine qj, the minimum cost element of column j, and subtract it from all the elements of column j (j = 1, 2, 3).
  • Step 3: From the matrix in Step 2, attempt to find a feasible assignment among all the resulting zero entries. o 3a: If such an assignment can be found, it is optimal. o 3b: Else, additional calculations are needed.
  • Note: Obtain the minimum cost from the original table. Example 5.4-1: Klyne’s Assignment Problem Scenario: Mr. Klyne has three children (John, Karen, and Terri) and three chores (Mowing, Painting, and Washing). Each child submitted secret bids for each chore. The objective is to assign one chore to each child to minimize the total cost using the Hungarian Method. Table 5.19 (Original Cost Matrix) Child Mow Paint Wash John 15 10 9 Karen 9 15 10 Terri 10 12 8 Solution Steps Step 1: Row Reduction Determine the minimum element in each row (pi) and subtract it from all elements in row. Row 1 (John): Min is p1 = 9. 15 - 9 = 6 10 - 9 = 1 9 - 9 = 0 Row 2 (Karen): Min is p2 = 9. 9 - 9 = 0 15 - 9 = 6 10 - 9 = 1 Row 3 (Terri): Min is p3 = 8. 10 - 8 = 2 12 - 8 = 4 8 - 8 = 0
  1. Terri is assigned to Wash (Cost from original table: 8) Final Results Total Minimum Cost Calculation: Total Cost = 10 + 9 + 8 = $ Verification using Row/Column Minimums: Total Cost = (p1 + p2 + p3) + (q1 + q2 + q3) Total Cost = (9 + 9 + 8) + (0 + 1 + 0) Total Cost = 26 + 1 = $ Conclusion: The optimal solution assigns John to painting, Karen to mowing, and Terri to washing for a total minimum cost of $27.