Alice, Bob, Clare and Dave get in a taxi after a night out. Alice gets out first but takes the taxi on a mile detour to get to her house. Bob and Clare get out next and hand dave some money. Dave travels on another few miles and pays the driver.

How do you decide how much each person owes from a taxi ride? I mean both in real life and in an operations research way.

One way is to divide the price per mile by each person travelling that mile but for diversions and such that doesn't seem quite fair. Also In Ireland taxi's have a charge just for getting in. Is the set charge just divided equally? There is an article here which includes the Talmud and Nash bargaining strategy