I provide propositions relating the structure of the compatibility graph and the number of maximal matchings produced by the priority mechanism.
The priority mechanism introduced in (Roth et al., 2005) may produce many maximal matchings depending on the structure of the compatibility graph. In this article, I show that there are two maximal matchings for some priority ordering if there is a 4-cycle in the compatibility graph. Further, if the compatibility graph induces a complete subgraph, then the number of maximal matchings for patients involved in that subgraph can be computed by evaluating a double factorial.
There are number of patients contained in the set . Pairs are mutually compatible if has a compatible donor for the patient of and has a compatible donor for the patient of , that is, and . A mutual compatibility matrix is defined as for any ,
A compatibility graph consisting of mutually compatible patients can be defined as where is the set of edges connecting mutually compatible patients.
A matching of patients is a set that contains pairs of mutually compatible patients that are matched with one another and patients matched with themselves. Patient is matched with patient in the matching if and only if . In this model, cycles of matched patients are not considered. Hence, it cannot be the case that for some . Note that a matching can contain multiple elements, and patients who are matched with one another are of the form (e.g. ). A patient is matched with themselves only if he cannot be matched with any others. A priority ordering among the patients orders each patient from 1 being the highest priority to being the lowest. Each patient has a distinct integer representing their priority.
As described in (Roth et al., 2005), there is a manager who is given a priority ordering and wishes to find the set of exchanges that maximizes a preference relation defined over matchings. The preference relation is defined as for any matching and if and only if whenever matchings and differ in only one patient, the matching with the higher priority patient is preferred, and adding additional matched patients to an existing matching always results in a preferred matching. Given a priority ordering, is a maximal matching if for all other matchings .
The goal of this article is to quantify and characterize maximal matchings. Hence, given a priority ordering , matching (i.e. matching is equivalent to ) if and only if for all matchings and and . The set of maximal and equivalent matchings is contained in the equivalence class is a maximal matching . Roth showed that the greedy algorithm in the form of the priority algorithm produces these maximal matchings. See my previous post for more details on the priority mechanism.
To understand the relationship between maximal matchings and priority orderings, I define an important concept from graph theory. A 4-cycle in the graph is a set of vertices such that for all and , and are its edges contained in .
In this section, I present the relationship between the structure of the compatibility graph and maximal matchings. The priority algorithm may produce many maximal matchings. Hence, given the structure of the compatibility graph, I provide propositions relating this structure and maximal matchings.
If an induced subgraph of the compatibility graph contains a 4-cycle, then there is a priority ordering such that patients in the cycle can be matched in and and, further, .
. Suppose a generated subgraph of contains a 4-cycle. Let be the patients in the cycle. Hence, this implies that is adjacent to and is adjacent to and for , and is adjacent to and . Let be the other patients. Consider the priority ordering . Then and will always be two optimal matchings such that .
For every induced, simple, complete subgraph of the compatibility graph with vertices, there exists a priority ordering such that for the equivalence class of maximal matchings, ,
where is the double factorial of (i.e. for odd ).
. Let the induced complete subgraph of the compatibility graph with vertices be denoted as . Since is complete, a maximal matching requires that patients are matched if is even and patients are matched if is odd. Hence, if is even, then select any priority ordering such that where are the patients and are the others. By the number of perfect matchings of a complete graph theorem, . Similarly, if is odd, then consider the priority ordering where are the matched patients, is not matched, and are the others. By the same theorem, the number of perfect matchings among is .