arXiv ScienceSearch

arXiv · 2101.06464

Optimal assignment of buses to bus stops in a loop by reinforcement learning

Abstract

Bus systems involve complex bus-bus and bus-passengers interactions. We study the problem of assigning buses to bus stops to minimise the average waiting time of passengers, W. An analytical theory for two specific cases of interactions is formulated: normal situation where all buses board passengers from every bus stop, versus novel express buses where disjoint subsets of non-interacting buses serve disjoint subsets of bus stops. Our formulation allows exact calculation of W for general loops in the two cases examined. Compared with regular buses, we present scenarios where express buses show improvement in W. Useful insights are obtained from our theory: 1) there is a minimum number of buses needed, 2) splitting a crowded bus stop into two less crowded ones always increases W for regular buses, 3) changing the destination of passengers and location of bus stops do not influence W. In the second part, we introduce a reinforcement-learning platform that overcomes limitations of our analytical method to search for better allocations of buses to bus stops that minimise W. Compared with the previous cases, any possible interaction between buses is allowed, unlocking novel emergent strategies. We apply this tool to a simple toy model and three empirically-motivated bus loops, based on data collected from the Nanyang Technological University shuttle bus system. In the simplified model, we observe an unexpected strategy emerging that could not be analysed with our mathematical formulation and displays chaotic behaviour. The possible configurations in the three empirically-motivated scenarios are approximately 10^11, 10^11 and 10^20, so a brute-force approach is impossible. Our algorithm reduces W by 12% to 32% compared with regular buses and 12% to 29% compared with express buses. This tool has practical applications because it works independently of the specific characteristics of a bus loop.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Luca Vismara, Lock Yue Chew, Vee-Liem Saw. 2021-01-16. Optimal assignment of buses to bus stops in a loop by reinforcement learning. https://doi.org/10.1016/j.physa.2021.126268

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Self-Reference in Large Language Models: The Introspection Threshold for Recursive Self-Improvement

The pursuit of self-evolving AI raises a critical question: when is autonomous self-improvement sustainable rather than degenerative? Drawing an analogy to von Neumann's complexity threshold for self-reproducing automata, we argue that sustainable recursive self-improvement in Large Language Models (LLMs) requires a functional analogue: introspection -- the system's capacity to simulate its own operations and target modifications. Grounded in Kleene's Second Recursion Theorem, we demonstrate the theoretical existence of such introspective programs. However, an empirical review reveals that while current LLMs exhibit quasi-introspection (e.g., partial metacognition), they fall short of true introspection due to structural bottlenecks: a lack of complete self-access, the feedforward nature of the Transformer, and computational class constraints that prevent fixed-point iteration. We conclude by outlining architectural paths to cross this complexity threshold and discussing the associated safety implications.

physics.soc-ph

Multilayer Analysis of the Global Trade Network

Global trade is more than a single network of aggregate flows. Beneath the observable exchange of products among economies lies a complex multilayer structure, formed by thousands of product-specific trade relationships that differ in their similarity, interdependence, and temporal evolution. Using the CEPII's BACI database, which records bilateral product-level trade flows between economies, we represent the global trade network from 1995 to 2024 as a temporal multilayer network, with economies as nodes and directed weighted trade flows as edges. To investigate product-level organisation and cross-layer similarity, temporal structural change, and the structural role of individual economies, we introduce a random-walk-based similarity measure that provides a unified framework for comparing weighted and directed trade layers. Our results show that the global trade network remains relatively stable over short periods but undergoes gradual structural change over longer timescales. We also find that similarity-based product communities only partially align with the official product taxonomy, indicating that products assigned to the same official category do not necessarily exhibit similar trade-network structures. Finally, we show that an economy's structural influence is not always determined by its trade volume. These results highlight the value of multilayer network analysis for revealing patterns in global trade that remain hidden at the aggregate level.

physics.soc-ph

Detectability limits of scaling laws

Power law scaling relations between size and output are central to quantitative theories of cities, organisms, and other complex systems. Competing theories predict scaling exponents that differ by small fractions, but there is no existing theory for verifying whether a given dataset can even distinguish exponents at the required resolution to address such discrepancies. Here we derive a resolution limit for scaling exponents, giving the smallest exponent difference that any method of analysis can detect. We find that the Hurst exponents governing the evolution of systems' sizes and deviations from the scaling law determine how long a record of growing systems must be before it can separate competing scaling theories. Empirical results suggest that many available data panels are insufficient for reliable scaling model selection.

physics.soc-ph