Lower bound for the Stable Marriage Problem

Slides:



Advertisements
Similar presentations
Stable Matching Problems with Constant Length Preference Lists Rob Irving, David Manlove, Gregg OMalley University Of Glasgow Department of Computing Science.
Advertisements

Blah blah blah. Zoes shark Thanks to the conference artist Phoebe.
LAW February A 5/3 approximation algorithm for a hard case of stable marriage Rob Irving Computing Science Department University of Glasgow (joint.
Piyush Kumar (Lecture 3: Stable Marriage) Welcome to COT5405.
Prof. Swarat Chaudhuri COMP 482: Design and Analysis of Algorithms Spring 2013 Lecture 2.
1 Overview of Graph Theory Addendum “The Stable Marriage Problem” Instructor: Carlos Pomalaza-Ráez Fall 2003 University of Oulu, Finland.
Naveen Garg, CSE, IIT Delhi
Stabile Marriage Thanks to Mohammad Mahdian Lab for Computer Science, MIT.
Algorithm Orals Algorithm Qualifying Examination Orals Achieving 100% Throughput in IQ/CIOQ Switches using Maximum Size and Maximal Matching Algorithms.
Lecture 6 CSE 331 Sep 14. A run of the GS algorithm Mal Wash Simon Inara Zoe Kaylee.
Lecture 4 CSE 331 Sep 9, Blog posts for lectures Starts from today See Sep 8 post on the blog.
1 Bipartite Matching Polytope, Stable Matching Polytope x1 x2 x3 Lecture 10: Feb 15.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Maximal.
Pipelined Two Step Iterative Matching Algorithms for CIOQ Crossbar Switches Deng Pan and Yuanyuan Yang State University of New York, Stony Brook.
Localized Asynchronous Packet Scheduling for Buffered Crossbar Switches Deng Pan and Yuanyuan Yang State University of New York Stony Brook.
Week 11 - Friday.  What did we talk about last time?  Exam 2 post mortem  Cycle detection  Connectivity.
Enabling Class of Service for CIOQ Switches with Maximal Weighted Algorithms Thursday, October 08, 2015 Feng Wang Siu Hong Yuen.
Summary of switching theory Balaji Prabhakar Stanford University.
Stable Matchings a.k.a. the Stable Marriage Problem
Routers. These high-end, carrier-grade 7600 models process up to 30 million packets per second (pps).
Packet Forwarding. A router has several input/output lines. From an input line, it receives a packet. It will check the header of the packet to determine.
All Pair Shortest Path IOI/ACM ICPC Training June 2004.
Stress Resistant Scheduling Algorithms for CIOQ Switches Prashanth Pappu Applied Research Laboratory Washington University in St Louis “Stress Resistant.
Bipartite Matching. Unweighted Bipartite Matching.
Fair Shares.
Graph Algorithms Maximum Flow - Best algorithms [Adapted from R.Solis-Oba]
SNRC Meeting June 7 th, Crossbar Switch Scheduling Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University
CSCI 256 Data Structures and Algorithm Analysis Lecture 2 Some slides by Kevin Wayne copyright 2005, Pearson Addison Wesley all rights reserved, and some.
Input buffered switches (1)
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Matchings and Factors Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering,
Stable Matching Beyond Bipartite Graphs Jie Wu Dept. of Computer and Info. Sciences Temple University.
IOI/ACM ICPC Training 4 June 2005.
Matching Boys Girls A B C D E
Cybernetica AS & Tartu University
Stable Matching.
Stable Marriage Problem
Lecture 4 CSE 331 Sep 7, 2016.
Introduction to the Design and Analysis of Algorithms
Chapter 10 Iterative Improvement
The Stable Marriage Problem
Packet Forwarding.
Michael Langberg: Open University of Israel
Maximum Flow - Best algorithms
CSE 421: Introduction to Algorithms
Lecture 5 CSE 331 Sep 10, 2010.
Lecture 7 CSE 331 Sep 15, 2010.
Lecture 6 CSE 331 Sep 11, 2017.
Lecture 6 CSE 331 Sep 13, 2010.
Packet Scheduling/Arbitration in Virtual Output Queues and Others
S. Raskhodnikova; based on slides by K. Wayne
Lecture 9 CSE 331 Sep 18, 2017.
CSE 421: Introduction to Algorithms
1.1 A First Problem: Stable Matching
Discrete Math for CS CMPSC 360 LECTURE 9 Last time: Strong induction
Lecture 5 CSE 331 Sep 7, 2012.
Blah blah blah.
Chapter 1 Introduction: Some Representative Problems
Matching and Resource Allocation
Lecture 9 CSE 331 Sep 19, 2016.
Lecture 10 CSE 331 Sep 21, 2011.
Lecture 12 CSE 331 Sep 27, 2010.
Lecture 10 CSE 331 Sep 21, 2012.
Lecture 9 CSE 331 Sep 15, 2014.
Lecture 6 CSE 331 Sep 12, 2016.
Lecture 7 CSE 331 Sep 10, 2014.
Piyush Kumar (Lecture 3: Stable Marriage)
Lecture 5 CSE 331 Sep 9, 2011.
Lecture 7 CSE 331 Sep 11, 2013.
Week 10 - Wednesday CS221.
Lecture 11 CSE 331 Sep 20, 2013.
Presentation transcript:

Lower bound for the Stable Marriage Problem הפקולטה למדעי ההנדסה Faculty of Engineering Sciences אוניברסיטת בן-גוריון בנגב Ben-Gurion University of the Negev Lower bound for the Stable Marriage Problem Nir Amira Dr. Zvi Lotker

The Stable Marriage problem A Matching criteria N Man, N women, each with their own preference list. A Matching is called Stable if no unstable pairs exist in it blocking pair is a pair not matched together, that ranked each other higher then their current mate Basic Model: Complete bipartite directed graph, each edge hold preference. Introduction Lets see an example… Ben-Gurion University - Department of communication systems engineering - Nir Amira

The Stable Marriage problem אני מעדיפה את גדי על-פני בעלי אבי Introduction העדפות: העדפות: Second try: First try: אבי רותי ר, ש, ת ב, ג, א blocking pair בני שרה ש, ת, ר א, ב, ג גדי תמר ר, ת, ש א, ג, ב Unstable Matching Stable Matching אני מעדיפה את אבי כבעלי אבל הוא לא רוצה אותי אני מעדיף את רותי על-פני אשתי תמר Ben-Gurion University - Department of communication systems engineering - Nir Amira

The Gale-Shapley Algorithm Rejected men propose to their next choice Each woman now chooses her new favorite to be engaged to from the group of the new proposers+ her fiancé, and reject the rest Return to step 3 until no man is rejected Each woman chooses her favorite to be engaged to from among those who have proposed to her, and rejects all the rest Each man propose to his favorite woman Rejected men propose to their next choice Each woman now chooses her new favorite to be engaged to from the group of the new proposers+ her fiancé, and reject the rest We gat Man optimal Stable Marriage Gale Shapley Algorithm העדפות: העדפות: אבי רותי ר, ש, ת ב, ג, א בני שרה ש, ת, ר א, ב, ג גדי תמר ר, ת, ש א, ג, ב Ben-Gurion University - Department of communication systems engineering - Nir Amira

Worst case time complexity of: Distributed Approach Each man or woman is an independent unit Parallelism is the word ! The Gale-Shapley Algorithm is distributed compatible Distributed Approach Worst case time complexity of: O(n) Ben-Gurion University - Department of communication systems engineering - Nir Amira

Switch motivation OQ is an optimal Throughput model but non realistic – needs speedup N Using Stable matching it is proved that CIOQ with speedup 2 is operating like an OQ Output Queuing Combined Input Output Queuing buf buf buf Switch Model buf buf buf buf buf buf 100% Throughput Ben-Gurion University - Department of communication systems engineering - Nir Amira

The switch model Model of VOQ switch Simple centralized algorithm: Each IN has buffers to each OUT port Men = IN Ports , women = Out Ports. One sided preferences - undirected edges Can be easily described as a matrix Simple centralized algorithm: Match Max[Matrix] Delete irrelevant Time complexity: O(n) OUT Switch Model 30 25 71 19 3 33 11 8 60 45 53 24 15 7 28 44 38 68 14 5 6 12 49 57 21 IN Ben-Gurion University - Department of communication systems engineering - Nir Amira

Our Algorithm Time Complexity: 3√n = O(√n) Works when: All preferences of the IN on OUT are monotone, means all prefer OUT-1 most and OUT-n least Each node can send different messages on each edge Buffer Buffer 71 71 60 53 30 33 24 44 25 11 15 38 19 8 7 14 8 15 44 Let’s see it in Action: Phase II Phase I R1 R2 Step 0 – Init: we set √n leaders from the OUT Step √n+2: Matched IN tell their match and all leaders that they are matched Step √n+1: Leader-1 calculate first √n matches and send them to all IN In general: Steps √n+i &√n+i+1 : Leader-i calculate next √n matches and send them to all IN, and the IN notify all leaders and their match In general: Step k (from 1 to √n): All IN send their kth pref. to R1, √n+k pref. to R2, i*√n+k pref. to Ri and so on. 71 30 25 19 60 33 11 8 53 24 15 7 44 38 14 Time Complexity: 3√n = O(√n) Our Algorithm Step 1: All IN send their 1st pref. to R1, √n+1 pref. to R2 and so on. Ben-Gurion University - Department of communication systems engineering - Nir Amira

Future work Find the Lower bound of the problem Incomplete preferences lists with ties Compare Stable matching with normal switch scheduling (iSLIP) Future work Ben-Gurion University - Department of communication systems engineering - Nir Amira

Questions ?