Project developed within the scope of a Master's thesis at EPFL.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to run the algorithmic framework. Follow the instructions in the links below to install them.
Algorithmic framework developed within the scope of a Master's project. The main folder contains the different blocks of the algorithmic framework
- Stackelberg games
- Non-linear formulation: non_linear_stackelberg.py
- Linear formulation: stackelberg_game.py
- Nash Heuristic Algorithmic: nash_heuristic.py
- Sequential game: sequential_game.py
- Fixed-point MILP model
- Capacitated formulation: fixed_point.py
- Uncapacitated formulation: fixed_point_no_capacity.py
- Discretized previous prices: fixed_point_discretized_strat.py
- Methods combining different blocks: main.py
The data folder contains the instances used by the different blocks. It contains two datasets: Parking choice instances and Italian railway instances.
Import the instance in the algorithmic blocks you want to use:
# data
import path_to_instance as data_file
Run/Adapt the code in the following block of the file you want to run:
if __name__ == '__main__':
Please contact the author or the contributors for details on our code of conduct, and the process for submitting pull requests to us.