Skip to content

aleable/BROT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt text

Code style: black


BROT 🍞 (Bilevel Routing on networks with Optimal Transport) is a Python implementation of the algorithms used in:

This is a scheme capable of extracting origin-destination paths on networks by making a trade off between transportation efficiency and over-trafficked links. The core algorithm alternates the integration of a system of ODEs to find passengers' shortest origin-destination routes, and Projected Stochastic Gradient Descent to mitigate traffic.

If you use this code please cite [1].

What's included

  • code: contains the all the scripts necessary to run BROT, and a Jupyter notebook (dashboard.ipynb) with a tutorial on how to use our code
  • data/input: contains the data needed to test the scheme on both synthetic topologies and on the Euroroads network [2]
  • data/output: folder for data serialization
  • misc: files used for the README.md
  • setup.py: setup file to build the Python environment

[2] Jérôme Kunegis, Proceedings of the 22nd International Conference on World Wide Web (2013).

How to use

To download this repository, copy and paste the following:

git clone https://github.com/aleable/BROT

You are ready to test the code! But if you want to know how click HERE.

Contacts

For any issues or questions, feel free to contact us sending an email to alessandro.lonardi@tuebingen.mpg.de.

About

BROT is a self-adaptation algorithm that trade offs traffic mitigation and shortest path length on transportation networks

Topics

Resources

License

Stars

Watchers

Forks