Mathematics and Statistics · Ch 15 — Assignment Problem and Sequencing
What is an Assignment Problem?
What is an Assignment Problem?
Suppose a workshop has four machines and four jobs waiting to be processed. Each machine can do any of the jobs, but the cost (or time) of doing a particular job differs from machine to machine — one machine is fast at drilling but slow at grinding, another is the reverse. In how many ways, and at what cost, can we hand out the jobs so that each job goes to exactly one machine and each machine gets exactly one job, and the total cost is as small as possible? This is the assignment problem.
An assignment problem is a special kind of allocation problem in which a set of agents (workers, machines, salesmen, teams) must be matched one-to-one with a set of tasks (jobs, territories, routes). The data is an cost matrix , where is the cost of assigning agent to task . Because the matching is one-to-one, choosing an assignment amounts to choosing one entry in every row and every column, no two in the same row or column.
The three standing assumptions.
- The number of agents equals the number of tasks (the matrix is square, ) — a problem where they differ is unbalanced and is first made square (§4).
- Each agent is assigned to one and only one task, and each task to one and only one agent.
- The cost figures are known constants and are additive — the total cost of an assignment is just the sum of the chosen entries.
Why not just try every possibility? With agents and tasks there are possible assignments. For that is ; for it is already . Enumerating them is hopeless for anything but the tiniest problem, so we need a systematic algorithm — the Hungarian method (§2).
Assignment problem vs. transportation problem
The assignment problem is a special case of the transportation problem in which every supply and every demand equals and the matrix is square. That special structure is exactly what lets the compact Hungarian method work, instead of the heavier transportation algorithm.
These are the standard operations-research allocation principles that underpin the national mathematics-and-statistics curriculum as well as this Std XII (HSC) Commerce course; the treatment here follows the level and notation of the Maharashtra Std XII syllabus.
An allocation problem in which agents are matched one-to-one with tasks so as to optimise (usually minimise) the total cost, given the cost matrix .
The square table whose entry in row , column is the cost (or time) of assigning agent to task .
An assignment problem in which the number of agents equals the number of tasks, so the cost matrix is square ().