Chain-of-Context Learning: Dynamic Constraint Understanding for Multi-Task VRPs
February 26, 2026 ยท View on GitHub
Shuangchun Gui, Suyu Liu, Xuehe Wang, Zhiguang Cao
๐ง Installation
conda env create -f environment.yml
conda activate CCL
pip install -e .
๐ฆ Download Data and Pretrained Models
Please download the required datasets and pretrained models from the following link:
Download link:
https://drive.google.com/file/d/1eI48maML3n4HDwYIMwbOgA_4e9WODHBw/view?usp=sharing
After downloading, place the files in the following directories:
./CCL/data
./CCL/logs
./CCL-ReLD/logs
๐งช Evaluation
cd CCL-ReLD
# N=50
python test.py --size 50 --checkpoint './logs/0424-routefinder-LO-CaDA-ReLD-dotNoise-P75-50-main/2025-04-24_21-08-31/checkpoints/epoch_295.ckpt'
# N=100
python test.py --size 100 --checkpoint './logs/0424-routefinder-LO-CaDA-ReLD-dotNoise-P20-newO-100-main/2025-04-27_11-39-29/checkpoints/epoch_299.ckpt'
๐ Training
cd CCL-ReLD
python run.py experiment=main/rf/rf-transformer-50
๐ Acknowledgements
The implementation of CCL is built upon the codebases of:
We sincerely thank the authors for making their code publicly available.
๐ Citation
If this code is useful for your research, please consider citing:
@inproceedings{
gui2026chainofcontext,
title={Chain-of-Context Learning: Dynamic Constraint Understanding for Multi-Task {VRP}s},
author={Shuangchun Gui and Suyu Liu and Xuehe Wang and Zhiguang Cao},
booktitle={The Fourteenth International Conference on Learning Representations},
year={2026},
url={https://openreview.net/forum?id=AhE6aSlz5g}
}
๐ฉ Contact
- Shuangchun Gui (gshuangchun@outlook.com)