plp | R Documentation |
Finds the stable matching in the stable roommates problem with transferable utility. Uses the Partitioning Linear Programme formulated in Quint (1991).
plp(V = NULL, N = NULL)
V |
valuation matrix of dimension |
N |
integer (divisible by 2) that gives the number of players in the market. |
plp
returns a list with the following items.
Valuation.matrix |
input values of V. |
Assignment.matrix |
upper triangular matrix of dimension |
Equilibrium.groups |
matrix that gives the |
Thilo Klein
Quint, T. (1991). Necessary and sufficient conditions for balancedness in partitioning games. Mathematical Social Sciences, 22(1):87–91.
## Roommate problem with 10 players, transferable utility and random preferences:
plp(N=10)
## Roommate problem with 10 players, transferable utility and given preferences:
V <- matrix(rep(1:10, 10), 10, 10)
plp(V=V)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.