Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. Consider a more general form of the hospital, medical student problem from Lecture 1. There are m hospitals, each with a certain number of
2. Consider a more general form of the hospital, medical student problem from Lecture 1. There are m hospitals, each with a certain number of available positions. There are n medical students who are graduating and interested in joining one of the hospitals. Each hospital has a ranking of the students and each student has a ranking of the hospitals. Assume that there are more students graduating that there are slots available in the hospitals. The goal is to find a way of assigning each student to at most one hospital in such a way that all available positions in all hospitals are filled. (i) What are the two types of instability for this problem? (ii) Extend the Gale-Shapley algorithm to find a stable assignment of students to hospitals. Prove that it always outputs a stable matching. 2. Consider a more general form of the hospital, medical student problem from Lecture 1. There are m hospitals, each with a certain number of available positions. There are n medical students who are graduating and interested in joining one of the hospitals. Each hospital has a ranking of the students and each student has a ranking of the hospitals. Assume that there are more students graduating that there are slots available in the hospitals. The goal is to find a way of assigning each student to at most one hospital in such a way that all available positions in all hospitals are filled. (i) What are the two types of instability for this problem? (ii) Extend the Gale-Shapley algorithm to find a stable assignment of students to hospitals. Prove that it always outputs a stable matching
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started