Skip to content

Decoupling the Electric Vehicle Routing Problem: A Reinforcement Learning Approach

License

Notifications You must be signed in to change notification settings

kfragkedaki/Master_Thesis

Repository files navigation

Master Thesis - Decoupling the Electric Vehicle Routing Problem: A Reinforcement Learning Approach

(Deep) Reinforcement learning for grid network planning

Develop a RL tool to evaluate/test the efficiency of grid networks for transport operations.

Build / Dev

This project uses miniconda for packaging and dependency management.

Set up

After installing miniconda for your system:

  1. Create a venv and install the projects dependencies

    conda env create --file environment.yml
    
  2. Based on your OS, follow the instructions on this website to install pytorch. You can also make use of CUDA or MPS, if you install the library correctly based on your OS.

    If you use MacOS, follow the instructions here to properly install pytorch and make use of cuda

Quick Start

Run project

You can check the parameters in ./src/options.py file

```commandline
python run.py --problem tsp --graph_size 10 --run_name 'tsp10_rollout'
```

or 

```commandline
run.py --problem cvrp --graph_size 10 --run_name 'vrp10_rollout'
```

Generate data

```commandline
python generate_data.py --problem all --name validation --seed 4321
```

Get plots

```commandline
tensorboard --logdir 'path/to/master-thesis-2023-reinforcement-learning-in-grids/'
```

Run tests

pytest

About

Decoupling the Electric Vehicle Routing Problem: A Reinforcement Learning Approach

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published