cs.AIOct 10, 2025

Sequence Variables: A Constraint Programming Computational Domain for Routing and Sequencing

Authors: Augustin Delecluse, Pierre Schaus, Pascal Van Hentenryck

Organizations: KU Leuven · UCLouvain · GATECH

Abstract

Constraint Programming (CP) offers an intuitive, declarative framework for modeling Vehicle Routing Problems (VRP). While classical successor-based CP models can be adapted to handle optional visits or insertion-based heuristics, sequence variables provide a significantly more natural and elegant formulation for these requirements. Building upon our prior work that introduced the initial concept, the main contribution of this article is the complete semantic and operational formalization of sequence variables as a computational domain. Specifically, we formally define the sequence domain and its update operations, and detail the implementation and data structures required to integrate sequence variables into trail-based CP solvers. Furthermore, we introduce consistency levels for associated constraints on this domain alongside specialized global constraints tailored for routing problems. Finally, we demonstrate that sequence variables simplify problem modeling while achieving competitive computational performance on Pickup and Delivery Problems with and without Time Windows, the Dial-a-Ride Problem, and a Prize-Collecting Scheduling Problem.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. COAgents: Multi-Agent Framework to Learn and Navigate Routing Problems Search Space

    May 20, 2026Oleksandr Yakovenko, Mahdi Mostajabdaveh, Cheikh Ahmed +4Vehicle Routing ProblemMulti-Agent Path Finding

  2. Robust Feasible Route Construction through Collaborative Partition Optimization

    Jul 4, 2026Oguzhan Karaahmetoglu, Hyong KimVehicle Routing ProblemPrompt Optimization

  3. PyCSP3-Scheduling: A Scheduling Extension for PyCSP3

    May 14, 2026Sohaib AfifiJob Shop SchedulingSchedule