Question

In: Computer Science

2. [10 pts] Consider a stable marriage instance with men M = {m1,m2,m3} and women W...

2. [10 pts] Consider a stable marriage instance with men M = {m1,m2,m3} and women W ={w1, w2, w3} having the following preference lists:

m1 :w1 >w2 >w3m2 :w2 >w1 >w3m3 :w1 >w2 >w3

w1 :m2 >m1 >m3w2 :m1 >m2 >m3w3 :m1 >m2 >m3

  1. If these preferences are given to the Gale-Shapley algorithm, what is the resulting set of marriages?

  2. Now, suppose w1 decides to lie to the algorithm about her preferences and instead submits the list w1 : m2 > m3 > m1 to the Gale-Shapley algorithm (with everyone else’s preference lists remaining unchanged). What is the resulting set of marriages? Did w1 get a better, worse, or same partner according to her true preference by lying this way compared to the result in part a.?

Solutions

Expert Solution

First let's make matrix for men and women separately showing their preferences.

m1 w1 w2 w3
m2 w2 w1 w3
m3 w1 w2 w3
w1 m2 m1 m3
w2 m1 m2 m3
w3 m1 m2 m3

We will choose men's proposing to women

m1 will be proposing to w1 and w1 will accept it for now.

m2 will be proposing to w2 and w2 will accept it for now.

m1 w1 w2 w3
m2 w2 w1 w3
m3 w1 w2 w3
w1 m2 m1 m3
w2 m1 m2 m3
w3 m1 m2 m3

m3 will be proposing to w1 but w1 has current proposal from m1 which is higher preference than m3 so m3 will be rejected.

m1 w1 w2 w3
m2 w2 w1 w3
m3 w1 w2 w3
w1 m2 m1 m3
w2 m1 m2 m3
w3 m1 m2 m3

m1 and m2 don't have to make proposal again as they are not rejected.

m3 will propose w2 now. w2 has current proposal from m2 which is higher in preference so m3 will be rejected by w2 as well.

m1 w1 w2 w3
m2 w2 w1 w3
m3 w1 w2 w3
w1 m2 m1 m3
w2 m1 m2 m3
w3 m1 m2 m3

lastly m3 will propose to w3 and w3 will accept it.

m1 w1 w2 w3
m2 w2 w1 w3
m3 w1 w2 w3
w1 m2 m1 m3
w2 m1 m2 m3
w3 m1 m2 m3

So stable matching is (m1, w1), (m2, w2) and (m3, w3)

Now, w1 lies about preference

m1 w1 w2 w3
m2 w2 w1 w3
m3 w1 w2 w3
w1 m2 m3 m1
w2 m1 m2 m3
w3 m1 m2 m3

We will choose men's proposing to women

m1 will be proposing to w1 and w1 will accept it for now.

m2 will be proposing to w2 and w2 will accept it for now.

m1 w1 w2 w3
m2 w2 w1 w3
m3 w1 w2 w3
w1 m2 m3 m1
w2 m1 m2 m3
w3 m1 m2 m3

m3 will make proposal to w1. w1 current proposal m1 has lower preference than m3 so w1 will accept proposal from m3 and reject m1.

m1 w1 w2 w3
m2 w2 w1 w3
m3 w1 w2 w3
w1 m2 m3 m1
w2 m1 m2 m3
w3 m1 m2 m3

Now, m1 will make proposal to w2. w2 has current proposal from m2 which is lower preference than m1 so w2 will accept m1 and reject m2.

m1 w1 w2 w3
m2 w2 w1 w3
m3 w1 w2 w3
w1 m2 m3 m1
w2 m1 m2 m3
w3 m1 m2 m3

Now, m2 will make proposal to w1. w1 has current proposal from m3 which has lower preference than m2. So w1 will accept m2 and reject m3.

m1 w1 w2 w3
m2 w2 w1 w3
m3 w1 w2 w3
w1 m2 m3 m1
w2 m1 m2 m3
w3 m1 m2 m3

Now m3 will make proposal to w2 but w2 won't accept it as it has already accepted proposal from it's highest preference. Next m3 will propose w3 and w3 will accept it.

m1 w1 w2 w3
m2 w2 w1 w3
m3 w1 w2 w3
w1 m2 m3 m1
w2 m1 m2 m3
w3 m1 m2 m3

Stable matching is (m1, w2), (m2, w1) and (m3, w3)

After lying w1 has got better partner. Earlier w1 got m1 but this time w1 got m2 and m2 was highest preference earlier.


Related Solutions

Consider a marriage problem with three men m1,m2,m3 and three women w1,w2,w3
Consider a marriage problem with three men m1,m2,m3 and three women w1,w2,w3. Suppose all men see all women as acceptable, and all women see all men as acceptable. Moreover, suppose that all men’s top choice is the same. If this is the case, at most how many stable matchings could there be?
[10 pts] Consider an instance of the stable marriage problem for n = 4, with the...
[10 pts] Consider an instance of the stable marriage problem for n = 4, with the men asM = {m1, m2, m3, m4} and the women as W = {w1, w2, w3, w4}. Consider the following preferences (each list is ranked from first to last choice): men’s preferences m1 :w1 >w2 >w3 >w4 m2 :w2 >w3 >w1 >w4 m3 :w3 >w1 >w2 >w4 m4 :w1 >w2 >w3 >w4 women’s preferencesw1 :m2 >m3 >m4 >m1w2 :m3 >m4 >m1 >m2w3 :m4 >m1...
Given: M1= 75kg; M2 = 50kg; V (M1) = 10 m/s North; V (M2) = 10...
Given: M1= 75kg; M2 = 50kg; V (M1) = 10 m/s North; V (M2) = 10 m/s West Action: Collision, two masses stick together, move at unspecified angle in M2's initial direction Question: Find magnitude of their speed together after collision.
1) Define MB, M1, M2 and M3. 2) What is the reason for using these different...
1) Define MB, M1, M2 and M3. 2) What is the reason for using these different measures of money supply? 3) Is there a measure of money supply that is NOT affected by the banking multiplier, i.e. that is determined solely by the actions of the Central Bank? 4) Which nominal interest rate is controlled by the Central Bank? How?
A liquid (ρ = 1000 kg/m3; μ = 2 × 10–2 N ∙ s/m2; v = 2 × 10–5 m2/s) flows tangentially p
A liquid (ρ = 1000 kg/m3; μ = 2 × 10–2 N ∙ s/m2; v = 2 × 10–5 m2/s) flows tangentially past a flat plate with total length of 4 m (parallel to the flow direction), a velocity of 1 m/s, and a width of 1.5 m. What is the skin friction drag (shear force) on one side of the plate?    
Light of wavelength 400 nm and intensity 10^-2 W/m2 is incident on potassium. (a) Estimate the...
Light of wavelength 400 nm and intensity 10^-2 W/m2 is incident on potassium. (a) Estimate the time lag for the emission of photoelectrons expected classically. Assume the typical radius of an atom is 10 ^-10 m. Hint: Relate the light intensity to the work function for potassium. (b) How many photons are incident per second per square meter
a. If the intensity of sound from a jet engine is 10 W/m 2 at a...
a. If the intensity of sound from a jet engine is 10 W/m 2 at a distance of 30 m, how far away from the jet do you have to be for the intensity to be 0.1 W/m 2 ? b. Suppose that you hear a clap of thunder 5 s after seeing the lightning stroke. If the speed of sound in the air is 343 m/s and the speed of light in air is 3 × 10 8 m/s,...
1. A thick metal plate (alpha = 3.5 x 10-6 m2/s and k = 0.7 W/m-K),...
1. A thick metal plate (alpha = 3.5 x 10-6 m2/s and k = 0.7 W/m-K), initially at a uniform temperature of 100oC, is suddenly exposed to a convection environment of water at 20oC, giving a very large convection coefficient. a. Sketch the surface heat flux, q", as a function of time b. Using an explicit numerical scheme with a time step of 60 s, calculate the time required for the temperature to change 80 mm from the surface.
Consider a solution that is 1.5×10−2 M in Ba2+ and 1.9×10−2 M in Ca2+. What minimum...
Consider a solution that is 1.5×10−2 M in Ba2+ and 1.9×10−2 M in Ca2+. What minimum concentration of Na2SO4 is required to cause the precipitation of the cation that precipitates first? Minimum Na2SO4 required to cause PPt is 7.1×10−9. What is the remaining concentration of the cation that precipitates first, when the other cation just begins to precipitate?
Consider a solution that is 2.1×10?2 M in Fe2+and 1.8×10?2 M in Mg2+. I know that...
Consider a solution that is 2.1×10?2 M in Fe2+and 1.8×10?2 M in Mg2+. I know that the Fe2+ was the first to precipitate and that the minimum concentration of K2CO3 is 1.5×10?9   M What I need to know is What is the remaining concentration of the cation that precipitates first, when the other cation just begins to precipitate?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT