Question

1.2 Find a stable marriage matching for the instance defined by the following ranking matrix. Break a tie using the alphabeti

0 0
Add a comment Improve this question Transcribed image text
Answer #1

since given problem stable marriage problem

here 4 men and 4 women are exist

suppose men are \alpha \beta \gamma \delta and women are ABCD

for simplicity lets assume men PQRS and women are ABCD

first make new 2 matrics for men and women according their prefrence

from given matrics we drive men preference matrics

P 1 2 3 4
Q 1 4 3 2
R 2 1 3 4
S 4 2 3 1

from given matrics we drive women prefenece matrics

A 3 4 2 1
B 3 1 4 2
C 2 4 3 1
D 3 2 1 4

here 1,2,3,4 number are used for opposite sex like men R preferenec order is 2,1,3,4 which is B,A,C,D

means men R most like women B then A,then C and least like women D

similarly

women D prefernece order is 3,2,1,4 which is R,Q,P,S means women D most like men R,then Q,then P and least like men S

P A B C D
Q A D C B
R B A C D
S D B C A
A R S Q P
B R P S Q
C Q S R P
D R Q P S

at initial all men and women are free, none of them engaged

now pick up a men P which is initial free and see his prefenece list which is A now pair P with A

P A B C D
Q A D C B
R B A C D
S D B C A
A R S Q   P
B R P S Q
C Q S R P
D R Q P S

now pick men Q and his first prefence is A so Q propose A but A is already engaged so A check her prefernce list since A like more Q than P so A break up with P now P again find new match

P A B C D
Q A D C B
R B A C D
S D B C A
A R S Q P
B R P S Q
C Q S R P
D R Q P S

now again P check his prefence his next prefence is B now B is free so P propose B

P A B C D
Q A D C B
R B A C D
S D B C A
A R S Q P
B R P S Q
C Q S R P
D R Q P S

now pick up new free man which is R and check his preference list he like most B and propose her now B is already engaged so she check her preference list since he likes R more than P so breaks up with P

P A B C D
Q A D C B
R B A C D
S D B C A
A R S Q P
B R P S Q
C Q S R P
D R Q P S

now p check again free womwn in his preference list which is C and woman C is free so P propose C

P A B C D
Q A D C B
R    B A C D
S D B C A
A R S Q P
B R P S Q
C Q S R P
D R Q P S

now pick free new free men which is S and he like D and propose her who is free

P A B C D
Q A D C B
R    B A C D
S D B C A
A R S Q P
B R P S Q
C Q S R P
D R Q P S

now pair is <men,women> = <P,C>,<Q,A>,<R,B>,<S,D>= <\alpha ,C>,<\beta ,A>,<\gamma,B>,< \delta,D>

Add a comment
Know the answer?
Add Answer to:
1.2 Find a stable marriage matching for the instance defined by the following ranking matrix. Break...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • design of algorithm problem # 13 12. (10 points What is the maximum flow of the...

    design of algorithm problem # 13 12. (10 points What is the maximum flow of the folllowing network? 5 2 1 2 6 4 4 4 3 8 7 13. (15 points) Find a stable-marriage matching for the instance defined by the following ranking mat rix: Estelle Costanza Elaine Benes Susan Ross Schmoopie Jerry Seinfeld 1,3 2,3 3, 2 4,3 George Costanza 1,4 4, 1 3,4 2, 2 Kramer 2, 2 1,4 3,3 4, 1 Newman 4,1 2, 2 3,1...

  • Consider the following. (Assume that the dice are distinguishable and that what is observed are t...

    Consider the following. (Assume that the dice are distinguishable and that what is observed are the numbers that face up.) HINT [See Examples 1-3.] Two distinguishable dice are rolled; the numbers add to 7. Describe the sample space S of the experiment. (Select all that apply.) (4,1) (4,2) (4,3) (4,4) (4,5) (4,6) (6,1) (6,2) (6,3) (6,4) (6,5) (6,6) (3,1) (3,2) (3,3) (3,4) (3,5) (3,6) (3,1) (3,2) (3,3) (3,4) (3,5) (3,6) (3,7) (2,1) (2,2) (2,3) (2,4) (2,5) (2,6) (2,7) (1,1) (1,2)...

  • Calculate the probability of the following events:

    Calculate the probability of the following events: C = the sum of the digits is less than or equal to 6 D = the sum of the digits is greater than or equal to 7 P(C) P(D) P(C or D) P(C and D) 2 Dice Sample Space 1,11,21,31,41,51,62,12,22,32,42,52,63,13,23,33,43,53,64,14,24,34,44,54,65,15,25,35,45,55,66,16,26,36,46,56,6

  • Calculate the probability of the following events A the first number is 2 or 3 or4...

    Calculate the probability of the following events A the first number is 2 or 3 or4 B P(A) P(B) P(not A) P(not B) P(A or B) the second number is 1 or 2 or 3 P(A and B) P(A given B) 2 Dice Sample Space 1,6 1,5 2,5 3,5 4,5 5,5 1,4 1,1 2,1 3,1 4,1 5,1 6,1 1,2 2,2 3,2 4,2 5,2 6,2 1,3 2,3 3,3 4,3 5,3 6,3 2,6 3,6 4,6 2,4 3,4 4,4 5,4 6,4 5,6 6,5...

  • Iculate the probability of the foltowing events G first digit 1, 2, or 3 P(F) P(G)...

    Iculate the probability of the foltowing events G first digit 1, 2, or 3 P(F) P(G) | F-sum of digits-4 P(F and G) P(F given G) P(F and G)/P(G) 2 Dice Sample Space 1,6 2,6 3,6 1,5 1,1 2,1 3,1 4,1 5,1 1,2 2,2 3,2 4,2 5,2 6,2 1,3 2,3 3,3 4,3 5,3 6,3 1,4 2,4 3,4 4,4 5,4 6,4 2,5 3,5 4,5 4,6 5,5 5,6 6,5 6,6 6,1 25/2018 HW 2- Probability 1

  • 4.8.147 :3 Que Consider the population described by the probability distribution shown below. The random variable...

    4.8.147 :3 Que Consider the population described by the probability distribution shown below. The random variable is observed twice with independent observations. | X p(x) e Sample | 1,1 1,2 1,3 1,4 2,1 2,2 2,3 2,4 Full data set e 0.2 Probability 0.04 0.04 0.06 0.06 0.04 0.04 0.06 0.06 0.2 3 0.3 Sample 3,1 3,2 3,3 3,4 4,1 4,2 4,3 4,4 4 0.3 Probability 0.06 0.06 0.09 0.09 0.06 0.06 0.09 0.09 ON a. Complete the sampling distribution table....

  • Calculate the probability of the following events A the first number is 2 or 3 or...

    Calculate the probability of the following events A the first number is 2 or 3 or 4 E the second digit is 3 or less F the second digit is 4 or greater PIE or F) P(E and F) P(A) P( A and E) P( A and F) P( A and E)+P( Aand F) 2 Dice Sample Space 1,1 2,1 3,1 4,1 5,1 1,6 1,2 2,2 3,2 4,2 5,2 6,2 1,3 2,3 3,3 4,3 5,3 6,3 1,5 2,4 3,4 4,4...

  • A single​ 6-sided die is rolled twice. The set of 36 equally likely outcomes is​ {(1,1),...

    A single​ 6-sided die is rolled twice. The set of 36 equally likely outcomes is​ {(1,1), (1,2),​ (1,3), (1,4), left parenthesis 1 comma 5 right parenthesis comma(1,5), left parenthesis 1 comma 6 right parenthesis comma(1,6),left parenthesis 2 comma 1 right parenthesis comma(2,1),left parenthesis 2 comma 2 right parenthesis comma(2,2),​(2,3), (2,4),​ (2,5), (2,6),​ (3,1), (3,2),​ (3,3), (3,4),​ (3,5), (3,6),​ (4,1), (4,2),​ (4,3),left parenthesis 4 comma 4 right parenthesis comma(4,4),left parenthesis 4 comma 5 right parenthesis comma(4,5),left parenthesis 4 comma 6 right...

  • Database HW help!!!!!!! Provide the SQL statements for the following queries. (1) Provide the names and...

    Database HW help!!!!!!! Provide the SQL statements for the following queries. (1) Provide the names and phones of all swimmers currently in level (of id) 3. +-------+---------+---------------------------+ | FName | LName   | EMail                     | +-------+---------+---------------------------+ | Bobby | Khan    | theBKhan1 | | Clara | Johnson | ClaraJohnson_11 | +-------+---------+---------------------------+ 2 rows in set (0.00 sec) (2) Provide the names of swimmers who have signed up to participate in the event '100M Butterfly' of Meet id 1. +-------+---------+ | FName...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT