This repository contains code associated with a submission to AISTATS 2023.
The traffic network, user flows, and road capacities are obtained from the TNTP dataset. The Sioux Falls dataset is present in the Locations folder. Test networks for the congestion games section (Appendix G) is present in the bpr-approximation/Locations folder
This code uses the following packages
- Gurobi for the optimization solvers
- Geopandas for manipulating geospatial data
- Contextily for loading basemap for plots
See requirements.txt for a complete list
- main.py to run simulations
- plots.py to generate the plots
- bpr-approximation/ contins the experiments on congetion games (Appendix G)
- bpr-approximation/main.py runs the simulations
- bpr-approximation/plots_bpr.py generates the plots
- bpr-approximation/bpr_approximation.ipynb generates plots to validate the piecewise-lienar approximation