Skip to content

PhysicsOfMobility/ridesharing-incentives

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DOI

Ride-Sharing (Anti-)Coordination Game v1.0 (09/2020)

Contacts

What This Code Does

This C++ code implements a ride-sharing (anti)-coordination game as proposed in https://arxiv.org/abs/2008.11079

The present code version realizes a minimal simulation of the replicator dynamics for one set of parameters defined in the game (S,epsilon,zeta,xi). It repeatedly solves, amongst others, a maximum weight matching problem to pair shared ride requests. For this purpose, it embeds the 'Blossom V' algorithm proposed by Vladimier Kolmogorov in "Mathematical Programming Computation (MPC), July 2009, 1(1): 43-67.'

Who May Use This Code

  • This code may be freely used for research purposes.
  • For commercial use, please contact the authors.

How to Run This Code