Skip to content

badrmarani/reinforcement-learning-tsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published