Problem Solving

Assignment Problem

A collage of colorful task and matching symbols.

Assignment Problem definition

The assignment problem pairs agents with tasks, usually to minimize total cost or maximize total benefit.

In Spanish
problema de asignación
Topic
Optimization and decision models

Assignment Problem in a picture

Assignment Problem diagramA two-person assignment compares the cost of assigning each person one of two tasks.Write the cost of each allowed pairA–X = 3, A–Y = 8, B–X = 4, B–Y = 2Compare the two complete pairingsTheir total costs are 5 and 12Choose the lower totalAssign A to X and B to Y
A two-person assignment compares the cost of assigning each person one of two tasks.

How it works

In the balanced one-to-one version, assign each agent exactly one task and each task exactly one agent. Use a cost or score for every allowed pair. This is a weighted bipartite matching problem.

Worked examples

A–X costs 3, A–Y costs 8, B–X costs 4, and B–Y costs 2. Which assignment costs 5?

A–X and B–Y.

Can two workers share the same task in the one-to-one version?

No. Each task receives exactly one worker.

Does the cheapest individual pair always belong to the cheapest complete assignment?

No. It can block a better combination of other pairs.

Common mistake

Compare complete feasible matchings. Choosing the cheapest remaining pair at every step can miss the best total.

Quick check

How many tasks does one worker receive in the balanced one-to-one model?

Can the objective maximize a benefit instead?

Show answer

Yes.

What kind of graph represents the two groups?

Show answer

A bipartite graph.

Sources

Flashcard

Assignment Problem

Reveal the definition

The assignment problem pairs agents with tasks, usually to minimize total cost or maximize total benefit.

Effortless Math. “Assignment Problem.” Math Dictionary.