Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.23 KB

File metadata and controls

30 lines (20 loc) · 1.23 KB

Solving TSP using Reinforcement Learning and Optimal Transport

This repository contains a PyTorch implementation of the paper: Combining Reinforcement Learning and Optimal Transport for the Traveling Salesman Problem.

Requirements

python -m pip install -r requirements.txt

Training a new model

First change the parameters on args.yml and then run the following command:

python train.py

Once the model is trained, run:

python -m jupyter nbconvert --to python demo.ipynb
python demo.py

References