Hungarian algorithm as a linear programmeEdexcel A-Level Further Maths: Flashcards
Card 1 of 120 of 12 known
Question
What does $x_{ij}$ mean in the assignment formulation?
Tap or press Space to reveal
Tap card or press Space to flip
See all 12 cards
- What does mean in the assignment formulation?
- if worker does task , and otherwise.
- What values may take?
- or only (binary).
- Write the cost objective function for an problem.
- Minimise .
- How is a maximum profit problem written as an LP?
- Maximise , using the profit matrix directly.
- What constraint says worker does exactly one task?
- .
- What constraint says task is done by exactly one worker?
- .
- How many variables and equality constraints in an problem?
- variables and equality constraints.
- With more workers than tasks, what changes in the worker constraints?
- Each worker does at most one task: .
- How is an impossible pairing handled in an LP?
- Omit its variable, or add .
- What does mean?
- Worker 2 does task 3.
- Why can an extra condition such as not be dealt with by the Hungarian algorithm?
- It is not a one-per-worker or one-per-task condition, so the problem is no longer a pure assignment problem.
- Total cost of the allocation with costs , ?
- .
Exam questions on Hungarian algorithm as a linear programme
- A hospital assigns three nurses, 1, 2 and 3, to three wards, 1, 2 and 3, with one nurse on each ward. Let if nurse is assigned to ward , and otherwise. The cost, in £ hundred, of nurse on ward is the entry in row , column of . The hospital wants the total cost to be as small as possible and formulates the problem as a linear programme.Write down the constraint that ensures nurse 2 is assigned to exactly one ward, and state the values each may take.2 marks
- A company has four representatives and four regions. Let be the profit, in £ hundred, when representative works in region , and let if representative is sent to region and otherwise. Each representative goes to exactly one region and each region receives exactly one representative. The company wants to maximise the total profit and formulates the problem as a linear programme.The allocation , with all other variables , has , , and . Show that this allocation satisfies the constraints for representative 1 and for region 1, and find its total profit.2 marks
- A firm has four workers and three tasks. Each task must be done by exactly one worker and each worker does at most one task. The time, in hours, for worker to do task is the entry in row , column of . The firm wants the total time to be as small as possible and formulates the problem as a linear programme.Define suitable variables and write down the objective function.3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).