Datasets:
Improve dataset card: Add paper link, task categories, tags, abstract, sample usage, and citation
Browse filesThis pull request significantly enhances the `RouteFinder` dataset card by:
- Adding `graph-ml` to `task_categories` and `vrp`, `vehicle-routing-problems` to `tags` for improved discoverability.
- Including a direct link to the paper: [RouteFinder: Towards Foundation Models for Vehicle Routing Problems](https://huggingface.co/papers/2406.15007).
- Adding a detailed introduction based on the paper's abstract.
- Providing a "Sample Usage" section with bash commands from the official GitHub repository for downloading data and running experiments.
- Including the comprehensive table of 48 supported Vehicle Routing Problem variants.
- Adding the official BibTeX citation for the paper.
These updates make the dataset card much more informative and user-friendly for the community.
|
@@ -1,15 +1,113 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
|
|
|
| 3 |
task_categories:
|
| 4 |
- reinforcement-learning
|
|
|
|
| 5 |
tags:
|
| 6 |
- NCO
|
| 7 |
- AI4CO
|
| 8 |
- RL4CO
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
---
|
| 12 |
|
| 13 |
# RouteFinder Data
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
size_categories:
|
| 4 |
+
- 10K<n<100K
|
| 5 |
task_categories:
|
| 6 |
- reinforcement-learning
|
| 7 |
+
- graph-ml
|
| 8 |
tags:
|
| 9 |
- NCO
|
| 10 |
- AI4CO
|
| 11 |
- RL4CO
|
| 12 |
+
- vrp
|
| 13 |
+
- vehicle-routing-problems
|
| 14 |
---
|
| 15 |
|
| 16 |
# RouteFinder Data
|
| 17 |
|
| 18 |
+
This repository contains datasets used and generated by **RouteFinder**, a comprehensive foundation model framework to tackle various Vehicle Routing Problem (VRP) variants.
|
| 19 |
+
|
| 20 |
+
**Paper**: [RouteFinder: Towards Foundation Models for Vehicle Routing Problems](https://huggingface.co/papers/2406.15007)
|
| 21 |
+
**GitHub Repository**: [https://github.com/ai4co/routefinder](https://github.com/ai4co/routefinder)
|
| 22 |
+
|
| 23 |
+
## Abstract
|
| 24 |
+
This paper introduces RouteFinder, a comprehensive foundation model framework to tackle different Vehicle Routing Problem (VRP) variants. Our core idea is that a foundation model for VRPs should be able to represent variants by treating each as a subset of a generalized problem equipped with different attributes. We propose a unified VRP environment capable of efficiently handling any combination of these attributes. The RouteFinder model leverages a modern transformer-based encoder and global attribute embeddings to improve task representation. Additionally, we introduce two reinforcement learning techniques to enhance multi-task performance: mixed batch training, which enables training on different variants at once, and multi-variant reward normalization to balance different reward scales. Finally, we propose efficient adapter layers that enable fine-tuning for new variants with unseen attributes. Extensive experiments on 48 VRP variants show RouteFinder outperforms recent state-of-the-art learning methods.
|
| 25 |
+
|
| 26 |
+
## Sample Usage
|
| 27 |
+
|
| 28 |
+
To get started with RouteFinder, you can download the data and checkpoints, and then run an experiment using the provided scripts.
|
| 29 |
+
|
| 30 |
+
### Download data and checkpoints
|
| 31 |
+
To download the data and checkpoints from Hugging Face automatically, you can use:
|
| 32 |
+
|
| 33 |
+
```bash
|
| 34 |
+
python scripts/download_hf.py
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
### Running an experiment
|
| 38 |
+
You can run a main experiment, for example, with the RouteFinder Transformer model:
|
| 39 |
+
|
| 40 |
+
```bash
|
| 41 |
+
python run.py experiment=main/rf/rf-transformer-100
|
| 42 |
+
```
|
| 43 |
+
For more detailed instructions, configuration options, and other scripts (e.g., for testing or data generation), please refer to the [GitHub repository](https://github.com/ai4co/routefinder).
|
| 44 |
+
|
| 45 |
+
## Available Environments
|
| 46 |
+
|
| 47 |
+
The dataset provides instances for 48 VRP variants. All variants include the base Capacity (C). The five features Open Route (O), Backhaul (B), Duration Limit (L), Time Windows (TW), and Multi-depot (MD) can be combined into any subset, creating $2^5 = 32$ possible combinations. The Mixed (M) global feature adds 16 more Mixed Backhaul (MB) variants, resulting in a total of 48 variants.
|
| 48 |
+
|
| 49 |
+
| **VRP Variant** | **Capacity (C)** | **Open Route (O)** | **Backhaul (B)** | **Mixed (M)** | **Duration Limit (L)** | **Time Windows (TW)** | **Multi-depot (MD)** |
|
| 50 |
+
|:----------------|:----------------:|:------------------:|:----------------:|:-------------:|:----------------------:|:---------------------:|:-------------------:|
|
| 51 |
+
| CVRP | β | | | | | | |
|
| 52 |
+
| OVRP | β | β | | | | | |
|
| 53 |
+
| VRPB | β | | β | | | | |
|
| 54 |
+
| VRPL | β | | | | β | | |
|
| 55 |
+
| VRPTW | β | | | | | β | |
|
| 56 |
+
| OVRPTW | β | β | | | | β | |
|
| 57 |
+
| OVRPB | β | β | β | | | | |
|
| 58 |
+
| OVRPL | β | β | | | β | | |
|
| 59 |
+
| VRPBL | β | | β | | β | | |
|
| 60 |
+
| VRPBTW | β | | β | | | β | |
|
| 61 |
+
| VRPLTW | β | | | | β | β | |
|
| 62 |
+
| OVRPBL | β | β | β | | β | | |
|
| 63 |
+
| OVRPBTW | β | β | β | | | β | |
|
| 64 |
+
| OVRPLTW | β | β | | | β | β | |
|
| 65 |
+
| VRPBLTW | β | | β | | β | β | |
|
| 66 |
+
| OVRPBLTW | β | β | β | | β | β | |
|
| 67 |
+
| VRPMB | β | | β | β | | | |
|
| 68 |
+
| OVRPMB | β | β | β | β | | | |
|
| 69 |
+
| VRPMBL | β | | β | β | β | | |
|
| 70 |
+
| VRPMBTW | β | | β | β | | β | |
|
| 71 |
+
| OVRPMBL | β | β | β | β | β | | |
|
| 72 |
+
| OVRPMBTW | β | β | β | β | | β | |
|
| 73 |
+
| VRPMBLTW | β | | β | β | β | β | |
|
| 74 |
+
| OVRPMBLTW | β | β | β | β | β | β | |
|
| 75 |
+
| MDCVRP | β | | | | | | β |
|
| 76 |
+
| MDOVRP | β | β | | | | | β |
|
| 77 |
+
| MDVRPB | β | | β | | | | β |
|
| 78 |
+
| MDVRPL | β | | | | β | | β |
|
| 79 |
+
| MDVRPTW | β | | | | | β | β |
|
| 80 |
+
| MDOVRPTW | β | β | | | | β | β |
|
| 81 |
+
| MDOVRPB | β | β | β | | | | β |
|
| 82 |
+
| MDOVRPL | β | β | | | β | | β |
|
| 83 |
+
| MDVRPBL | β | | β | | β | | β |
|
| 84 |
+
| MDVRPBTW | β | | β | | | β | β |
|
| 85 |
+
| MDVRPLTW | β | | | | β | β | β |
|
| 86 |
+
| MDOVRPBL | β | β | β | | β | | β |
|
| 87 |
+
| MDOVRPBTW | β | β | β | | | β | β |
|
| 88 |
+
| MDOVRPLTW | β | β | | | β | β | β |
|
| 89 |
+
| MDVRPBLTW | β | | β | | β | β | β |
|
| 90 |
+
| MDOVRPBLTW | β | β | β | | β | β | β |
|
| 91 |
+
| MDVRPMB | β | | β | β | | | β |
|
| 92 |
+
| MDOVRPMB | β | β | β | β | | | β |
|
| 93 |
+
| MDVRPMBL | β | | β | β | β | | β |
|
| 94 |
+
| MDVRPMBTW | β | | β | β | | β | β |
|
| 95 |
+
| MDOVRPMBL | β | β | β | β | β | | β |
|
| 96 |
+
| MDOVRPMBTW | β | β | β | β | | β | β |
|
| 97 |
+
| MDVRPMBLTW | β | | β | β | β | β | β |
|
| 98 |
+
| MDOVRPMBLTW | β | β | β | β | β | β | β |
|
| 99 |
+
|
| 100 |
+
## Citation
|
| 101 |
+
If you find RouteFinder valuable for your research or applied projects, please cite using the following BibTeX:
|
| 102 |
+
|
| 103 |
+
```bibtex
|
| 104 |
+
@article{
|
| 105 |
+
berto2025routefinder,
|
| 106 |
+
title={{RouteFinder: Towards Foundation Models for Vehicle Routing Problems}},
|
| 107 |
+
author={Federico Berto and Chuanbo Hua and Nayeli Gast Zepeda and Andr{\'e} Hottung and Niels Wouda and Leon Lan and Junyoung Park and Kevin Tierney and Jinkyoo Park},
|
| 108 |
+
journal={Transactions on Machine Learning Research},
|
| 109 |
+
issn={2835-8856},
|
| 110 |
+
year={2025},
|
| 111 |
+
url={https://openreview.net/forum?id=QzGLoaOPiY},
|
| 112 |
+
}
|
| 113 |
+
```
|