Rank-maximal Allocation
   HOME

TheInfoList



OR:

Rank-maximal (RM) allocation is a rule for fair division of indivisible items. Suppose we have to allocate some items among people. Each person can rank the items from best to worst. The RM rule says that we have to give as many people as possible their best (#1) item. Subject to that, we have to give as many people as possible their next-best (#2) item, and so on. In the special case in which each person should receive a single item (for example, when the "items" are tasks and each task has to be done by a single person), the problem is called rank-maximal matching or greedy matching. The idea is similar to that of
utilitarian cake-cutting Utilitarian cake-cutting (also called maxsum cake-cutting) is a rule for dividing a heterogeneous resource, such as a cake or a land-estate, among several partners with different cardinal utility functions, such that the ''sum'' of the utilities of ...
, where the goal is to maximize the sum of utilities of all participants. However, the utilitarian rule works with cardinal (numeric) utility functions, while the RM rule works with ordinal utilities (rankings).


Definition

There are several items and several agents. Each agent has a
total order In mathematics, a total or linear order is a partial order in which any two elements are comparable. That is, a total order is a binary relation \leq on some set X, which satisfies the following for all a, b and c in X: # a \leq a ( reflexive) ...
on the items. Agents can be indifferent between some items; for each agent, we can partition the items to equivalence classes that contain items of the same rank. For example, If Alice's preference-relation is x > y,z > w, it means that Alice's 1st choice is x, which is better for her than all other items; Alice's 2nd choice is y and z, which are equally good in her eyes but not as good as x; and Alice's 3rd choice is w, which she considers worse than all other items. For every allocation of items to the agents, we construct its ''rank-vector'' as follows. Element #1 in the vector is the total number of items that are 1st-choice for their owners; Element #2 is the total number of items that are 2nd-choice for their owners; and so on. A rank-maximal allocation is one in which the rank-vector is maximum, in lexicographic order.


Example

Three items, x y and z, have to be divided among three agents whose rankings are: * Alice: x > y > z * Bob: x > y > z * Carl: y > x > z In the allocation (''x'', ''y'', ''z''), Alice gets her 1st choice (''x''), Bob gets his 2nd choice (''y''), and Carl gets his 3rd choice (''z''). The rank-vector is thus (1,1,1). In the allocation (''x'',''z'',''y''), both Alice and Carl get their 1st choice and Bob gets his 3rd choice. The rank-vector is thus (2,0,1), which is lexicographically higher than (1,1,1) – it gives more people their 1st choice. It is easy to check that no allocation produces a lexicographically-higher rank-vector. Hence, the allocation (''x'',''z'',''y'') is rank-maximal. Similarly, the allocation (''z'',''x'',''y'') is rank-maximal – it produces the same rank-vector (2,0,1).


Algorithms

RM matchings were first studied by Robert Irving, who called them ''greedy matchings''. He presented an algorithm that finds an RM matching in time O(n^2 c^3), where ''n'' is the number of agents and ''c'' is the largest length of a preference-list of an agent. Later, an improved algorithm was found, which runs in time O(m\cdot \min(n, C\sqrt)), where ''m'' is the total length of all preference-lists (total number of edges in the graph), and ''C'' is the maximal rank of an item used in an RM matching (i.e., the maximal number of non-zero elements in an optimal rank vector). The algorithm reduces the problem to maximum-cardinality matching. Intuitively, we would like to first find a maximum-cardinality matching using only edges of rank 1; then, extend this matching to a maximum-cardniality matching using only edges of ranks 1 and 2; then, extend this matching to a maximum-cardniality matching using only edges of ranks 1 2 and 3; and so on. The problem is that, if we pick the "wrong" maximum-cardinality matching for rank 1, then we might miss the optimal matching for rank 2. The algorithm of solves this problem using the
Dulmage–Mendelsohn decomposition In graph theory, the Dulmage–Mendelsohn decomposition is a partition of the vertices of a bipartite graph into subsets, with the property that two adjacent vertices belong to the same subset if and only if they are paired with each other in a pe ...
, which is a decomposition that uses a maximum-cardinality matching, but does not depend on which matching is chosen (the decomposition is the same for every maximum-cardinality matching chosen). It works in the following way. # Let G1 be the sub-graph of ''G'' containing only edges of rank 1 (the highest rank). # Find a maximum-cardinality matching in G1, and use it to find the decomposition of G1 into E1, O1 and U1. # One property of the decomposition is that ''every'' maximum-cardinality matching in G1 saturates ''all'' vertices in O1 and U1. Therefore, in a rank-maximal matching, all vertices in O1 and U1 are adjacent to an edge of rank 1. So we can remove from the graph all edges with rank 2 or higher adjacent to any of these vertices. # Another property of the decomposition is that any maximum-cardinality matching in G1 contains only ''E1-O1'' and ''U1-U1'' edges. Therefore, we can remove all other edges (O1-O1 and O1-U1 edges) from the graph. # Add to G1 all the edges with the next-highest rank. If there are no such edges, stop. Else, go back to step 2. A different solution, using
maximum-weight matching In computer science and graph theory, the maximum weight matching problem is the problem of finding, in a weighted graph, a matching in which the sum of weights is maximized. A special case of it is the assignment problem, in which the input is ...
s, attains a similar run-time: O(m\cdot \min(n+C, C\sqrt)).


Variants

The problem has several variants. 1. In maximum-cardinality RM matching, the goal is to find, among all different RM matchings, the one with the maximum number of matchings. 2. In fair matching, the goal is to find a maximum-cardinality matching such that the minimum number of edges of rank ''r'' are used, given that - the minimum number of edges of rank ''r''−1 are used, and so on. Both maximum-cardinality RM matching and fair matching can be found by reduction to maximum-weight matching. 3. In the capacitated RM matching problem, each agent has an upper capacity denoting an upper bound on the total number of items he should get. Each item has an upper quota denoting an upper bound on the number of different agents it can be allocated to. It was first studied by Melhorn and Michail, who gave an algorithm with run-time O(C n m \log(n^2/m)\log(n)). There is an improved algorithm with run-time O(m\cdot \min(B, C \sqrt)), where ''B'' is the minimum of the sum-of-quotas of the agents and the sum-of-quotas of the items. It is based on an extension of the
Gallai–Edmonds decomposition In graph theory, the Gallai–Edmonds decomposition is a partition of the vertices of a graph into three subsets which provides information on the structure of maximum matchings in the graph. Tibor Gallai and Jack Edmonds independently discove ...
to multi-edge matchings.


See also

*
Fair item assignment Fair item allocation is a kind of a fair division problem in which the items to divide are ''discrete'' rather than continuous. The items have to be divided among several partners who value them differently, and each item has to be given as a whole ...
*
Stable matching In mathematics, economics, and computer science, the stable marriage problem (also stable matching problem or SMP) is the problem of finding a stable matching between two equally sized sets of elements given an ordering of preferences for each ele ...
*
Envy-free matching In economics and social choice theory, an envy-free matching (EFM) is a matching between people to "things", which is envy-free in the sense that no person would like to switch his "thing" with that of another person. This term has been used in se ...
*
Priority matching In graph theory, a priority matching (also called: maximum priority matching) is a matching that maximizes the number of high-priority vertices that participate in the matching. Formally, we are given a graph , and a partition of the vertex-set ...


References

{{reflist Fair division Matching (graph theory)