University Housing The Hungarian Algorithm Vidit Bhatwadekar Background
University Housing & The Hungarian Algorithm Vidit Bhatwadekar
Background Info ● This is about a thesis I wrote when I was 16 ● At Hong Kong Polytechnic University ● https: //1 drv. ms/b/s!Avlz. Xzl. Z 5 q. OTu 3 iv 6 eb. Nf. QFWn. Kes - This is a link to the pdf of the paper
What is the Hungarian Algorithm? ● Definition: The Hungarian method is a combinatorial optimization algorithm that solves the assignment problem (Wikipedia) ● Sounds scary right? ● Very much related to Graph Theory Harold Kuhn
Explanation of the Algorithm Solves the Assignment Problem
Explanation of the Algorithm
Explanation of the Algorithm
Explanation of the Algorithm Complete Bipartite Graph K 4, 4
Explanation of the Algorithm $80 $40 $50 $46
Explanation of the Algorithm
Explanation of the Algorithm
Explanation of the Algorithm Job 1 Job 2 Job 3 Job 4 Person A 80 40 50 46 Person B 40 70 20 25 Person C 30 10 20 30 Person D 35 20 25 30
Explanation of the Algorithm Job 1 Job 2 Job 3 Job 4 Person A 24 0 9 0 Person B 5 51 0 0 Person C 4 0 9 14 Person D 0 1 5 5
Application of The Algorithm to University Housing Unit 3 Triple (Male) Unit 2 Double (Female) Blackwell Double (Male) Clark Kerr Triple (Female)
Application of The Algorithm to University Housing Unit 3 Triple (Male) Unit 2 Double (Female) Blackwell Double (Male) Clark Kerr Triple (Female)
Application of The Algorithm to University Housing
Application of The Algorithm to University Housing 1 + 10 10 + = 21 Preferences Room Type: Triple Gender: Male Hall Preference: 1. Unit 3 2. Unit 2 3. Clark 60 109 + 30 + 0 100 0= Unit 3 Triple (Male) Clark Kerr Double(Fe male)
Experiment - Just to show that it works
Experiment - Just to show that it works
Final Thoughts ● Ways of Making Process better? ● Can’t use Excel for bigger data sets ● Applicable at Cal?
- Slides: 19