This repository contains pytorch implementation for Pointer Network[1] and focusses on the usecase for TSP.
Bellman Held Karp Heuristic [2]
- Single LSTM Layer
- 512 hidden units
- Random Uniform weight initialization (-0.08 to 0.08)
- Single LSTM Layer with hidden state from encoder
- 512 hidden units
- Random Uniform weight initialization (-0.08 to 0.08)
- SGD
- learning rate 1.0
- L2 Gradient Clipping 2.0
- Batch Size 128
Hardware
- OS: macOS 14.0 23A344 arm64
- Host: MacBookPro17,1
- CPU: Apple M1
- GPU: Apple M1
- Memory: 16384MiB
Environment
conda env create --name name_of_environment --file=environment.yml
[1] Vinyals, O. et al.: Pointer Networks, http://arxiv.org/abs/1506.03134, (2017). https://doi.org/10.48550/arXiv.1506.03134.