Hungarian algorithm as a linear programmeEdexcel A-Level Further Maths: Mind map
Variables
Objective
Constraints
Assignment as an LP
Hungarian problem
objectiveconstraints
Variations
Beyond the algorithm
Exam tips
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).