Final project for the exam of Mathematical Optimisation course @ University of Trieste, carried out with Lorenzo Elia. This repository contains the implementation of the model described here.
To clone this repository, you need to have git
installed. After that you can open a terminal window and run
git clone https://github.com/damianoravalico/optimizing_automotive_inbound_logistics
Move to the project folder
cd optimizing_automotive_inbound_logistics
Now you need to install the dependencies. Make sure you have pip
installed and then run
pip install -r requirements.txt
To run the program, do the following
cd src
and finally
python main.py
- The
results
directory contains all the data needed for the analysis. Thanks to git, the only file in it is the file csv, namedcollected_data.csv
, used for analysis done and written within the presentation. When you run themain.py
, all new data is saved inside this directory, with the namedata_
+ datetime +.csv
src
is the basis package containing all Python code. Inside there are:model.py
files, which represent the model used for optimization (variables and constraints)main.py
, the entry point- Package
anal
, which contains all the scripts to do the analysis. Note that these scripts are based atcollected_data.csv
dataset
package, which contains the scripts and a class, used within the model and for generating the dataset