I'm looking for a package or a code (preferably in R) that finds the solution to the stable marriage problem with transferable utilities (Shapley and Shubik 1971). Specifically, I'm looking for one or more of the following:
- The stable allocation, given a matrix of the joint surplus
- The set of transfers that support this allocation
- Option to specify another matrix of acceptable matches
As far as I know, the package matchingMarkets in R find the solution to that problem only in the case of non-transferable utilities. Any ideas?