wouterkool/attention-learn-to-route
Attention based model for learning to solve different routing problems observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3086
- days_rel: n/a
- days_push: 759
- n_releases_24m: 0
Adoption not part of the score
1383 stars · 389 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PyTorch implementation of the attention-based neural model from the ICLR 2019 paper 'Attention, Learn to Solve Routing Problems!', trained with REINFORCE and a greedy rollout baseline. It learns to solve combinatorial routing problems including TSP, VRP, Orienteering Problem, and (Stochastic) Prize Collecting TSP.
Use cases
- train a neural network to solve TSP instances
- learn to solve vehicle routing problems with deep learning
- reproduce results from the Attention Learn to Solve Routing Problems paper
- benchmark neural combinatorial optimization models
- experiment with REINFORCE and rollout baselines for routing problems
- generate and validate routing problem datasets
When to choose
- you want to reproduce or build on the ICLR 2019 attention model for routing problems
- you need pretrained models for TSP, VRP, OP, or PCTSP research
- you are studying neural combinatorial optimization with REINFORCE
When to avoid
- you need an actively maintained library - the author recommends rl4co or RLOR instead
- you need production routing solvers rather than research code
- you want exact or heuristic solvers like OR-Tools or LKH
Facets
library · maturity maintenance
machine-learning deep-learning reinforcement-learning llm-training machine-learning deep-learning python cross-platform combinatorial-optimization travelling-salesman-problem vehicle-routing-problem reinforcement-learning transformer attention-model iclr-2019 pytorch research-code algorithms research gpu
1 source
- readme: https://github.com/wouterkool/attention-learn-to-route · fetched 2026-08-28 · 03ecd7ad37ef
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| wouterkool/attention-learn-to-route | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="wouterkool/attention-learn-to-route")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem