Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

ISBN: 0764549634, 9780764549632

More Books

Students also viewed these Databases questions