Problemcore
Rental harmony
Also called rent division problem.
Assign rooms to housemates and split a fixed rent so that every housemate prefers its room at its price to any other room at that room's price.
- Time
- O(n^3) worst
- Where
- n = the number of rooms and tenants
- Model
- Real RAM
Rental harmony asks how housemates should share a house with rooms and a fixed total rent: each housemate gets one room and a price, the prices add up to the rent, and no housemate prefers another room at that room's price to its own room at its own price. This page is the problem: its two models, the existence theorem and the known bounds. Su's algorithm is one procedure for it, which finds an approximate solution in the model where tenants only answer which room they would choose. In the model where each tenant has a money value for each room, the problem is solved exactly by a maximum-weight assignment and its dual prices. Rental harmony mixes an indivisible good (the rooms) with a divisible one (the rent), so it differs from cake cutting, where everything is divisible, and from chore division, where every part is a burden.
In plain words
Some friends rent a house together, and its rooms differ. The friends must decide who gets which room and how much each pays, and the total must be the rent of the house.
A good split leaves nobody jealous. Each friend looks at its own room and its own price, then at every other room and its price, and finds its own deal at least as good. This can hold even when the friends disagree about the rooms, because a room that more friends want can cost more.
Such a split always exists under mild conditions. Finding it depends on what the friends can tell. If each friend can name a money value for each room, a fast method finds an exact split. If a friend can only say which room it would take at given prices, a split can be found only approximately.
Definition
There are tenants, rooms and a total rent . A price vector is with .
- Output. A bijection from tenants to rooms and a price vector .
- Condition. The pair is envy-free: for each tenant and each room , tenant likes room at price at least as much as room at price .
The input and the measure depend on the model.
- The ordinal model (Su). Prices must be nonnegative. At each price vector, each tenant tells which rooms it would choose. Su's conditions are: (1) at every price vector, each tenant finds some room acceptable; (2) tenants are miserly, so a tenant prefers a free room to a room that costs something; (3) the preference sets are closed, so a room that a tenant chooses along a sequence of price vectors is also chosen at the limit. The measure is the number of questions, and the goal is an approximate solution: an envy-free pair at prices within of .
- The quasi-linear model. Tenant has a value for room , and its utility for room at price is . The input is the matrix of values, and the measure is the running time. Prices may be negative.
Variants
- Nonnegative prices. In the quasi-linear model, an envy-free solution with all prices nonnegative need not exist; see the second example.
- The weaker miserly condition. Su notes that condition (2) can be weakened: it is enough that no tenant chooses the most expensive room when some room is free.
- Choosing among envy-free solutions. There are often many envy-free price vectors. In the quasi-linear model, for a fixed assignment the envy-free price vectors form a polytope, so one can choose a best one, for example the one that maximizes the smallest utility, with one linear program.
- Rebates. Su also discusses rent as a burden to split, and a version in which some rooms may get a negative price, so that a tenant is paid to take them.
Examples
Three tenants with values. The rent is . Tenants , and have these values for rooms 1, 2 and 3.
| room 1 | room 2 | room 3 | |
|---|---|---|---|
| 400 | 300 | 200 | |
| 300 | 400 | 200 | |
| 300 | 300 | 350 |
Give room 1 to , room 2 to and room 3 to , at prices . Tenant has utility for room 1 and and for the others; tenant is the mirror case; tenant has utility for room 3 and for each other room. Nobody envies. At prices , tenant has utility for room 3 but for room 1, so it envies : making the room that likes cost more than above the others breaks the split.
No nonnegative solution. The rent is . Two tenants both value room 1 at and room 2 at . One of them gets room 2, and it must not envy the other, so ; the other gives the reverse inequality, so . With this gives and . These tenants are not miserly: each prefers room 1 at price to room 2 for free, which is why Su's theorem does not apply.
Known algorithms
| method | model | result |
|---|---|---|
| Su's algorithm | ordinal, miserly tenants | approximate; prices within for a grid of size |
| maximum-weight assignment with dual prices (Hungarian algorithm) | quasi-linear | exact, time |
| one linear program on top of the assignment | quasi-linear | an envy-free solution that is best by a linear criterion |
The quasi-linear method rests on two facts that this page proves below.
Theorem 1. If is envy-free in the quasi-linear model, then is a maximum-weight assignment, that is, it maximizes .
Proof. Let be any bijection. Envy-freeness gives for each . Summing over , both sums of prices equal , so .
Theorem 2. For every maximum-weight assignment there is a price vector that makes envy-free.
Proof. By duality for the assignment linear program, there are numbers and with for all , and for all . So , and the prices are envy-free. Adding the same constant to every keeps every comparison, so choose with .
The Hungarian algorithm computes and the dual numbers in time.
| Algorithm | Time | Space | Properties | Code |
|---|---|---|---|---|
| Su's algorithm for rental harmony | O(n^2 N^(n-1) + 4^n n! n^2) worst | O(n N^(n-1) + n 4^n) extra | deterministicofflineiterative | 1 language |
Bounds
- Existence, ordinal model. Under conditions (1) to (3), an envy-free division with nonnegative prices exists (Su 1999, the Rental Harmony Theorem, stated in Section 6 and proved in Section 7). The proof uses a dual form of Sperner's lemma on the simplex of price vectors. This is a theorem.
- Existence, quasi-linear model. An envy-free solution always exists, with prices that may be negative, by Theorem 2.
- Quasi-linear, upper bound. time with the Hungarian algorithm, in the real-RAM model. Reading the input takes time.
- Ordinal, upper bound. Su's algorithm asks at most one question per point of a grid of size , so at most questions, and its price error is at most per room.
- Ordinal, exact solutions. In the ordinal model an exact solution is in general a limit of approximate ones, as in Su's proof, which uses condition (3).
Reductions
- To Sperner's lemma. Su gives each point of a triangulated price simplex an owner and labels it with the room the owner chooses. A fully labeled cell of the dual Sperner lemma gives an approximately envy-free division.
- To an assignment market. In the quasi-linear model, an envy-free pair is a competitive equilibrium of a market with unit-demand buyers and items, in which every buyer gets an item it likes best at the prices and the prices add up to . Theorems 1 and 2 are the welfare theorems of this market.
- To chore division. The rent is a burden that the tenants share, so methods for chore division with labels from Sperner's lemma apply, as Su notes.
Applications
- Shared houses and apartments, where the rooms differ in size and features.
- Shared offices or desks with a fixed total cost.
- Any split of a fixed cost among people who each get one different item, such as cabins on a shared trip.
References
- Francis Edward Su, Rental harmony: Sperner's lemma in fair division, American Mathematical Monthly 106(10) (1999), 930-942, Section 6, Chores and Rent-partitioning (the Rental Harmony Theorem and its three conditions), Section 7 (its proof with a dual Sperner lemma) and Section 8 (the weaker miserly condition)
- Harold W. Kuhn, The Hungarian method for the assignment problem, Naval Research Logistics Quarterly 2 (1955), 83-97, the algorithm for a maximum-weight assignment, with its dual variables
- Steven J. Brams and Alan D. Taylor, Fair Division, From Cake-Cutting to Dispute Resolution, Cambridge University Press, 1996, envy-free division of goods and of burdens, as background for rent division
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag WHKF6S Edit this page History Report an error Markdown