Pelvic floor Specialised Constraints for Stable Matching Problems Contact details: 17 Lilybank Gardens Glasgow G12 8QQ The Problem.

Slides:



Advertisements
Similar presentations
Modelling and Solving the Stable Marriage problem using Constraint Programming David Manlove and Gregg OMalley University Of Glasgow Department of Computing.
Advertisements

Stable Matching Problems with Constant Length Preference Lists Rob Irving, David Manlove, Gregg OMalley University Of Glasgow Department of Computing Science.
An empirical study of the stable marriage problem with ties and incomplete lists (SMTI) Ian Gent & Patrick Prosser.
Blah blah blah. Zoes shark Thanks to the conference artist Phoebe.
The Stable Marriage Problem and Constraint Programming.
Piyush Kumar (Lecture 3: Stable Marriage) Welcome to COT5405.
Constraint Satisfaction Problems Russell and Norvig: Chapter
A Constraint Programming Approach to the Hospitals / Residents Problem By David Manlove, Gregg O’Malley, Patrick Prosser and Chris Unsworth.
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Counting the bits Analysis of Algorithms Will it run on a larger problem? When will it fail?
Matching problems Toby Walsh NICTA and UNSW. Motivation Agents may express preferences for issues other than a collective decision  Preferences for a.
But Shaun’s already proved P equals NP. Can’t we move onto quantified SAT? Woof!
Specialised N-ary Constraint for the Stable Marriage Problem By Chris Unsworth and Patrick Prosser.
Review: Constraint Satisfaction Problems How is a CSP defined? How do we solve CSPs?
What’s the problem? Something like stable marriage problem … but without sex.
Planning under Uncertainty
1 Directional consistency Chapter 4 ICS-179 Spring 2010 ICS Graphical models.
CPSC 322, Lecture 13Slide 1 CSPs: Arc Consistency & Domain Splitting Computer Science cpsc322, Lecture 13 (Textbook Chpt 4.5,4.6) February, 01, 2010.
1 Refining the Basic Constraint Propagation Algorithm Christian Bessière and Jean-Charles Régin Presented by Sricharan Modali.
The Rational Decision-Making Process
On Efficient Spatial Matching Raymond Chi-Wing Wong (the Chinese University of Hong Kong) Yufei Tao (the Chinese University of Hong Kong) Ada Wai-Chee.
Chapter 26 of CLSR Bipartite Matching By Dr. M. Sakalli, Sources: Levitin and many other CSE, Marmara Univ. May/2009.
Lecture 4 CSE 331 Sep 9, Blog posts for lectures Starts from today See Sep 8 post on the blog.
130 September 2003 Tractability by Approximating Constraint Languages Martin Green and David Cohen CP 2003 Ninth International Conference on Principles.
A game of logic where the player must assign the numbers 1..9 to cells on a 9x9 grid. The placement of the numbers must be such that every number must.
Constraint Satisfaction Problem Solving Chapter 5.
26 April 2013Lecture 5: Constraint Propagation and Consistency Enforcement1 Constraint Propagation and Consistency Enforcement Jorge Cruz DI/FCT/UNL April.
Triple Patterning Aware Detailed Placement With Constrained Pattern Assignment Haitong Tian, Yuelin Du, Hongbo Zhang, Zigang Xiao, Martin D.F. Wong.
Copyright © Cengage Learning. All rights reserved. CHAPTER 11 ANALYSIS OF ALGORITHM EFFICIENCY ANALYSIS OF ALGORITHM EFFICIENCY.
Global Constraints for Lexicographic Orderings Alan Frisch, Ian Miguel (University of York) Brahim Hnich, Toby Walsh (4C) Zeynep Kiziltan (Uppsala University)
Lecture 8 CSE 331 Sep 17, HW 1 due today Place Q1 and Q2 in separate piles I will not accept HWs after 1:15pm.
Strong Stability in the Hospitals/Residents Problem Robert W. Irving, David F. Manlove and Sandy Scott University of Glasgow Department of Computing Science.
1 Constraint Programming: An Introduction Adapted by Cristian OLIVA from Peter Stuckey (1998) Ho Chi Minh City.
Chapter 10: Iterative Improvement Simplex Method The Design and Analysis of Algorithms.
The Stable Marriage Problem
1 Stable Matching Problem Goal. Given n men and n women, find a "suitable" matching. n Participants rate members of opposite sex. n Each man lists women.
Memory Management Chapter 7.
L3 #1 The Hospitals / Residents Problem and Some Extensions David Manlove University of Glasgow Department of Computing Science Supported by EPSRC grant.
Complexity of algorithms Algorithms can be classified by the amount of time they need to complete compared to their input size. There is a wide variety:
Stable Matchings a.k.a. the Stable Marriage Problem
1 The Stable Marriage Problem Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij.
Chapter 5: Constraint Satisfaction ICS 171 Fall 2006.
Specialised Binary Constraint for the Stable Marriage Problem with Ties and incomplete preference lists By Chris Unsworth and Patrick Prosser.
FORS 8450 Advanced Forest Planning Lecture 5 Relatively Straightforward Stochastic Approach.
A Constraint Programming Approach to the Hospitals / Residents Problem By David Manlove, Gregg O’Malley, Patrick Prosser and Chris Unsworth.
Solving Problems by searching Well defined problems A probem is well defined if it is easy to automatically asses the validity (utility) of any proposed.
The Stable Marriage Problem
Implicit Hitting Set Problems Richard M. Karp Erick Moreno Centeno DIMACS 20 th Anniversary.
1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3 Grand Challenge:
Network Flows Chun-Ta, Yu Graduate Institute Information Management Dept. National Taiwan University.
Branch and Bound Algorithms Present by Tina Yang Qianmei Feng.
Fair Shares.
Constraint Propagation influenced by Dr. Rina Dechter, “Constraint Processing”
Graph Algorithms Maximum Flow - Best algorithms [Adapted from R.Solis-Oba]
CS 361 – Chapter 10 “Greedy algorithms” It’s a strategy of solving some problems –Need to make a series of choices –Each choice is made to maximize current.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
Stable Matching.
Stable Marriage Problem
Introduction to the Design and Analysis of Algorithms
Chapter 10 Iterative Improvement
The Stable Marriage Problem
Apollo Weize Sun, Mar.10th, 2017.
Maximum Flow - Best algorithms
SAT-Based Area Recovery in Technology Mapping
Blah blah blah.
Chapter 5: General search strategies: Look-ahead
Constraint Satisfaction Problems. A Quick Overview
Richard Anderson Winter 2019 Lecture 1
Piyush Kumar (Lecture 3: Stable Marriage)
Presentation transcript:

Pelvic floor Specialised Constraints for Stable Matching Problems Contact details: 17 Lilybank Gardens Glasgow G12 8QQ The Problem The Stable Matching problems we have been looking at are the Stable Marriage problem (SMP) and a generalisation of this problem known as the Hospital/Residents problem (HRP). In SMP we have a set of n men and a set of n women. Each man ranks all the women into a strictly ordered preference list, and the women do the same with the men. Specialised Constraint Solutions Algorithmic Solutions Constraint Solutions Men Women Bob Ian Jon : Ian Jon Bob : Jon Ian Bob : Bob Jon Ian : Sue Jan Liz : Liz Jan Sue : Jan Sue Liz Jan Liz Sue The objective is then to find a matching of men to woman such that the matching is stable. By matching we mean a bijection of men to women, and by stable we mean that there is not a man and woman that are not matched to each other in the matching that would rather be matched to each other than their assigned partners. Men Women Bob Ian Jon : Ian Jon Bob : Jon Ian Bob : Bob Jon Ian : Sue Jan Liz : Liz Jan Sue : Jan Sue Liz Jan Liz Sue In HRP instead of Men we have residents wishing to be assigned to hospitals, instead of women we have hospitals wishing to have residents assigned to them. Each hospital has a capacity, meaning that one or more residents can be assigned to a single hospital as long as the hospitals capacity is not exceeded. Optimal algorithms have been proposed for both of these problems. The algorithms reduce the preference lists to a fixed point such that a solution can easily be found, that solution is a highly biased. The SMP algorithm returns either the man-optimal or woman-optimal solution. In the man-optimal solution all men are assigned their best possible partner from all stable matchings and all women will be assigned there worst possible match. Several constraint solutions have been proposed for SMP. From a simplest of which is a model that has an explicit constraint for each potential couple. It has been proven that enforcing arc-consistency on this model reduces the variable domains to a state which is equivalent to the fixed point reached by the SMP algorithm. It has also been proven that because of this all stable matchings can be found in a failure free search. This model can easily be adapted to solve many harder variants were stability is only part of a richer problem. Arc- consistency can be enforced on this model in O(n 4 ) time. A more complex constraint model has also been proposed which uses boolean variables and standard toolbox constraints. When made arc-consistent the variables in this model represent the bounds of the fixed point reached by the SMP algorithm. This model can also be used to find all stable matchings in a failure free search. This model can also be adapted to solver impure SMP’s. The space and time complexity of enforcing arc-consistency on this model is O(n 2 ) which is optimal to the size of the problem. Although this model has the same optimal space and time complexities as the SMP algorithm in practice there is a large gap between the performance of the algorithm and this constraint model. By Chris Unsworth We have proposed four specialised constraint solutions for these stable matching problems, two for SMP and two for HRP. This idea behind these specialised constraints is to try and reduce the performance gap between the constraint solutions and the relevant algorithms whilst retaining the flexibility of the constraint solutions. The first specialised constraint for SMP is a specialised binary constraint (SM2) which works in much the same way as the explicit constraint model. Instead of the lookup table with each constraint in the explicit constraint, this specialised binary constraint has a propagation method which gets called each time a variable looses a value. Arc-consistency can be enforced on a model using this constraint in O(n 3 ) time. The second SMP constraint is a specialise n-ary constraint (SMN). This constraint works in the same way as SM2 except that the propagation method has access to all variables rather than only two, therefore only one such constraint is needed to model a SMP instance. Arc-consistency can be enforced on a model using this constraint in O(n 2 ) time which is optimal to the problem size. The two HRP constraint work in much the same way in that there is a specialised binary constraint (HR2) that acts between a single hospital and a single resident, and an specialised n-ary constraint that constrains all hospitals and all residents. Size n model Explicit Bool SM SMN In this table we give the average time taken to enforce arc-consistency on 100 randomly generated SMP instances using the various constraint models. An entry – in the table denotes that a memory error occurred. As can be seen both the specialised constraints for SMP (SM2 and SMN) significantly improve on the traditional constraint models (Explicit and Bool). A similar performance improvement was also observed with the HRP constraints.