cs.LGNov 22, 2026

Learning-Augmented QUBO for Time-Expanded Multi-Commodity Flow

Authors: Aikaterini Nikolidaki

Organizations: School of Electrical and Computer Engineering National Technical University of Athens.

Abstract

We study energy-aware multi-commodity flow on time-expanded graphs, a problem that captures dynamic routing in layered networks and is NP-hard in general. We formulate the problem as a quadratic unconstrained binary optimization problem, give an explicit penalty coefficient that provably guarantees feasibility, and show that it is smaller than the standard bound by a factor of roughly the number of active links. The layered structure of the time-expanded graph yields three structural results: a treewidth bound that gives a fixed-parameter tractable exact algorithm in the bag size, a matrix-product-operator representation of small bond dimension, and a proof that the annealing gap of the associated Ising Hamiltonian is strictly positive for every instance with a unique optimum, uniformly over bounded windows. For learning-augmented routing, we bound the Hamming distance between a predicted and an optimal flow by the flow error, and prove a consistency guarantee: a hybrid algorithm that keeps the better of the prediction and the solver output returns a flow whose cost exceeds the optimum by a factor that grows linearly with the prediction error. The results are exact statements about the QUBO and its associated Ising Hamiltonian, and they hold for any physical implementation.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Feb 8, 2026

Multi-Agent Route Planning as a QUBO Problem

Multi-Agent Route Planning considers selecting vehicles, each associated with a single predefined route, such that route-level coverage utility is maximized while redundant spatial overlaps are limited. This paper gives a formal problem definition, proves NP-hardness by reduction from the Weighted Set Packing problem, and derives a Quadratic Unconstrained Binary Optimization formulation whose coefficients directly encode route utility rewards and pairwise overlap penalties. A single penalty parameter λλ controls the coverage--overlap trade-off. We distinguish between a soft regime, which supports multi-objective exploration, and a hard regime, in which the penalty is strong enough to effectively enforce near-disjoint routes. We describe a practical pipeline for generating city instances, constructing candidate routes, building the QUBO matrix, and solving it with a binary quadratic programming baseline (Gurobi), simulated annealing, and D-Wave hybrid quantum annealing. Experiments on Barcelona instances with up to 10,00010{,}000 vehicles reveal a clear coverage--overlap knee and show that Pareto-optimal solutions are mainly obtained under the hard-penalty regime, while D-Wave hybrid solvers and Gurobi achieve very similar objective values on matching configurations with only minor runtime differences as problem size grows.
Jul 26, 2026

Learning to Optimize: Joint Routing and Flow Allocation on Sparse Non-Euclidean Networks

We study an integrated pickup-and-delivery problem on sparse, non-Euclidean networks that jointly optimizes cyclic routing, cargo flow allocation, and cross-cycle service. The tight coupling of these operational constraints creates a complex discrete-continuous decision space with highly restricted feasible regions. To overcome these computational challenges, we propose Double-Channel Graph Attention (DCGA), an end-to-end reinforcement learning framework. DCGA isolates network reachability and demand-service logic into separate graph channels and constructs valid routes using a simulator-coupled, constraint-informed decoder. Experiments on LinerLib benchmarks demonstrate that DCGA achieves seconds-level inference and delivers state-of-the-art solution quality on instances beyond a specific scale, with its advantage over existing baselines widening significantly as problem size increases. Supported by extensive stability and ablation analyses, our results demonstrate that this structure-aware learning approach provides an effective, low-latency engine for realistic routing-and-flow optimization.
Mar 2, 2026

Learning Shortest Paths with Generative Flow Networks

In this paper, we present a novel learning framework for finding shortest paths in graphs utilizing Generative Flow Networks (GFlowNets). First, we examine theoretical properties of GFlowNets in non-acyclic environments in relation to shortest paths. We prove that, if the total flow is minimized, forward and backward policies traverse the environment graph exclusively along shortest paths between the initial and terminal states. Building on this result, we reduce shortest-path finding in an arbitrary unweighted graph to finding a non-acyclic GFlowNet with minimal total flow, and approximate it in practice by training with flow regularization. We experimentally demonstrate the performance of our method in pathfinding in permutation environments and in solving Rubik's Cubes of various sizes. For the latter problems, our approach shows competitive results with state-of-the-art machine learning approaches designed specifically for this task in terms of the solution length, while requiring smaller search budget at test-time.