Optimising Dynamic Traffic Distribution for Urban Networks with Answer Set Programming
Matteo Cardellini, Carmine Dodaro, Marco Maratea, Mauro Vallati
TL;DR
This work tackles dynamic traffic distribution in urban networks by presenting a centralized framework that uses Answer Set Programming (ASP) to compute optimal routes within a four-phase pipeline: Network Analyser, Domain Independent Search, ASP Optimiser, and Mobility Simulator. The Domain Independent Search generates diverse, acyclic candidate routes per vehicle using a time-expanded model with a discretisation step of $5s$, clustering routes by similarity and selecting the top $5$ from each group. The ASP Optimiser encodes route, timing, and capacity constraints as ASP facts and rules, guided by weak constraints to minimize congestion and travel time, and is validated on real-world networks in Bologna and Milton Keynes with up to $600$ vehicles, achieving significant KPI improvements in larger topologies. The results indicate that the ASP-based routing approach scales well in realistic urban settings and can support future integration into centralized urban traffic management systems.
Abstract
Answer Set Programming (ASP) has demonstrated its potential as an effective tool for concisely representing and reasoning about real-world problems. In this paper, we present an application in which ASP has been successfully used in the context of dynamic traffic distribution for urban networks, within a more general framework devised for solving such a real-world problem. In particular, ASP has been employed for the computation of the "optimal" routes for all the vehicles in the network. We also provide an empirical analysis of the performance of the whole framework, and of its part in which ASP is employed, on two European urban areas, which shows the viability of the framework and the contribution ASP can give.
