You can reach a consensus without an algorithm, but will you? If different people value the rooms differently, you might not be able to assign valuations that everyone agrees are fair. With this algorithm, you are guaranteed to assign prices and rooms such that no one would prefer to take another person's room and price instead of their current room and price.
Comments
You can reach a consensus without an algorithm, but will you? If different people value the rooms differently, you might not be able to assign valuations that everyone agrees are fair. With this algorithm, you are guaranteed to assign prices and rooms such that no one would prefer to take another person's room and price instead of their current room and price.