ACM SIGSPATIAL IWCTS 2024

Towards Pareto-optimality with Multi-level Bi-objective Routing

Compute the complete set of Pareto-optimal paths under two edge costs (for example travel time and energy) at city scale, by precomputing a boundary multigraph and a Multi-level Encoded Pareto Frontier View, then pruning with two-dimensional cost-intervals. We call the method MBOR.
Mingzhou Yang, Ruolei Zeng, Arun Sharma, Shunichi Sawamura, William F. Northrop, Shashi Shekhar
University of Minnesota, Twin Cities
Bi-objective routingPareto frontierBoundary multigraphMEPFV2D cost-interval pruningDIMACS Bay Area

Abstract

Given an origin, a destination, and a directed graph in which each edge carries a pair of non-negative costs, the bi-objective routing (BOR) problem asks for the complete set of all Pareto-optimal paths, the Pareto frontier of non-dominated routes. This matters whenever a single "best" route does not exist: an electric vehicle trades travel time against energy, and different drivers sit at different points on the curve. BOR is hard because the Pareto-optimal set can be exponentially large, which makes compute-on-demand search too slow for interactive use, while full all-pair precomputation is infeasible to store. We propose Multi-level Bi-Objective Routing (MBOR), built on three ideas: a boundary multigraph representation, a Multi-level Encoded Pareto Frontier View (MEPFV), and two-dimensional cost-interval based pruning. On real road-network data the method runs more than 10× faster online than exact compute-on-demand baselines.

This page presents the full method (problem, the boundary multigraph, the MEPFV encoding, the precompute and online algorithms, the 2D cost-interval pruning, and the correctness guarantee), the paper's experiments, and an independent from-scratch Rust reproduction that reproduces the speedup on the open DIMACS Bay Area network with every answer exactness-checked. All original figures are in the full PDF.

1. The problem: bi-objective routing

Single-objective shortest path (Dijkstra, A*, contraction hierarchies) returns one route in microseconds. The moment two costs cannot be collapsed into one number, the single route is the wrong answer: you want the whole non-dominated frontier. Formally, a path p dominates p' if it is no worse on both costs and strictly better on at least one; the answer is every path that nobody dominates. Applications include eco-routing (time vs energy), collaborative path selection among stakeholders with different objectives, and skyline path queries.

(7,8) (1,3) (3,2) (3,6) (5,6) (2,5) n0 n1 n2 n3 n4 n5 n6 n7 objective space c2c1 (10,17) (11,16)
Figure 1 (redrawn). Example network with two costs per edge. The Pareto frontier from n0 to n7 has two non-dominated routes: [n0,n3,n5,n7] = (10,17) and [n0,n1,n3,n5,n7] = (11,16). A route like [n0,n2,n4,n6,n7] = (18,20) is dominated.

2. Problem formulation

Spatial network. A directed graph G = (N, E, c) where each edge has a cost pair c: E → ℝ+ × ℝ+, written (c1, c2).
Path cost. A path's cost is the component-wise sum of its edge costs.
Dominance. For paths p, p', p ≺ p' (p dominates p') iff c1(p) ≤ c1(p'), c2(p) ≤ c2(p'), and c(p) ≠ c(p').
Pareto-optimal set / frontier. POG(o,d) is the set of origin-destination paths that no path dominates; POCG(o,d) is their cost set.
Minkowski sum. For cost sets A, B: A ⊕ B = { a + b : a ∈ A, b ∈ B }; combining sub-path frontiers uses this sum followed by a dominance filter.

BOR is NP-hard and the number of Pareto-optimal paths can be exponential in the worst case, which is exactly why neither pure compute-on-demand search nor full all-pair precomputation scales, and why MBOR precomputes only between region boundaries.

3. Approach: three ideas

Boundary multigraph

Partition G into fragments; the nodes on cross-fragment edges are boundary nodes. A small graph over only the boundary nodes carries the inter-region trade-offs as multi-edges (whole Pareto cost-sets), because two boundary nodes can be connected by several incomparable routes.

MEPFV

The Multi-level Encoded Pareto Frontier View stores, compactly, the within-fragment Pareto sets (FPPV) and the boundary-to-boundary Pareto sets over the boundary multigraph (BPPV), so a query stitches a few precomputed frontiers instead of re-deriving them.

2D cost-interval pruning

In the advanced variant, each candidate boundary-node pair gets a two-dimensional cost-interval; pairs whose interval is dominated cannot contribute to the frontier and are skipped before the expensive Minkowski combination.

4. The boundary multigraph

Partition G into fragments S = {S1,...,Sf} (min-cut, e.g. KaHIP). A node is a boundary node if it has a neighbor in another fragment. The boundary multigraph Gb = (Nb, Eb, Cb) has two kinds of edges:

Partitioned network fragment A b1 b2 local multi-edge (Pareto set) fragment B b3 b4 boundary edge Boundary multigraph b1 b2 b3 b4 green = local multi-edgeblue = boundary edge
Figures 2–3 (redrawn). Left: the network split into fragments; green nodes are boundary nodes. Right: the boundary multigraph over only the boundary nodes, with local multi-edges (within-fragment Pareto sets) and boundary edges (original cross-fragment edges).

5. The MEPFV encoding

The Multi-level Encoded Pareto Frontier View has two parts:

PRECOMPUTE (MEPFV, once) ONLINE (per query) Road networkG=(N,E,c), 2 costs Partitionfragments, boundary nodes FPPVnode↔boundary Pareto Boundary multigraphmulti-edges + bnd edges BPPVall-pairs boundary Pareto MEPFV Query (o,d)+ driver trade-off MBOR-Basic (Alg 3)FPPV ⊕ BPPV ⊕ FPPV MBOR-Adv (Alg 4)2D cost-interval pruning Pareto frontiercomplete & exact green = precomputed MEPFVblue = the two online retrieval modes
The MBOR pipeline: build the MEPFV once (partition → FPPV → boundary multigraph → BPPV); answer each query by combining FPPV ⊕ BPPV ⊕ FPPV, with MBOR-Adv pruning dominated boundary-node pairs.

6. Algorithms

Precompute (MBOR-Basic, Alg 1–2)

Identify boundary nodes from cross-fragment edges; encode each fragment's Pareto path view (FPPV) by running a bi-objective label-setting search from every node (Alg 2, paretoOptEncoding); build the boundary multigraph by inserting local multi-edges (within-fragment boundary-to-boundary Pareto sets) and boundary edges; finally encode the BPPV by running the same label-setting over the boundary multigraph.

paretoOptEncoding(G):                      # Algorithm 2
  for each start node s (in parallel):
    PQ ← {label(s, cost=(0,0))}            # lexicographic (c1, c2) order
    while PQ not empty:
      l ← PQ.pop_min()
      if c2(l) ≥ c2_min[node(l)]: continue  # truncated dominance
      c2_min[node(l)] ← c2(l)
      for each (edge / multi-edge cost) out of node(l):
        l' ← extend l; if not dominated: PQ.push(l')
    store the Pareto path view from s

Online retrieval (MBOR-Basic, Alg 3)

For a query (o,d), form a superset of the frontier by combining, over boundary-node pairs (oBN, dBN), the precomputed pieces with the Minkowski sum, then filter by dominance:

PO_sup ← ∅                                 # Algorithm 3
for oBN in Boundary(Frag(o)):
  for dBN in Boundary(Frag(d)):
    PO_sup ← PO_sup ∪ ( FPPV(o→oBN) ⊕ BPPV(oBN→dBN) ⊕ FPPV(dBN→d) )
if Frag(o) == Frag(d): PO_sup ← PO_sup ∪ FPPV(o→d)   # within-fragment
return DominanceCheck(PO_sup)

MBOR-Adv: 2D cost-interval and multi-edge pruning (Alg 4–5)

The combination above is the bottleneck because many boundary-node pairs cannot contribute. MBOR-Adv builds a two-dimensional cost-interval (2DCI) for each pair from the segment cost-sets in constant time, selects the most lower-left "benchmark" 2DCI, and prunes any pair whose 2DCI is dominated before doing its Minkowski sum. A second technique prunes multi-edges during encoding using a bi-objective triangle inequality and reverse-order edge enumeration, reducing the boundary multigraph's encoding cost.

7. Two-dimensional cost-interval pruning

For a boundary-node pair, the combined route's best conceivable cost is its ideal corner (min total c1, min total c2), and its whole frontier lies inside a rectangle anchored there. If that corner is already dominated by the frontier found so far, every path through the pair is dominated, so the pair is skipped. Processing pairs in ideal-corner order tightens the frontier early and prunes the rest, all while returning the identical exact answer.

c2c1 benchmark 2DCI (keep) ideal corner dominated 2DCI (prune) if the benchmark's corner dominatesanother pair's corner, that wholerectangle is dominated → skip it
Figure 4 (redrawn). Each boundary-node pair maps to a 2D cost-interval (rectangle) in objective space. A pair whose ideal corner is dominated by the benchmark contributes nothing and is pruned before the expensive Minkowski combination.
Correctness & completeness (Theorem 4.1). At termination MBOR returns a set that is both a subset and a superset of the true Pareto-optimal set, i.e. exactly the complete Pareto frontier. MBOR-Basic and MBOR-Adv return identical results; Adv is only faster.

8. Experiments (from the paper)

Dataset: the 9th DIMACS Implementation Challenge San Francisco Bay Area road network (two costs: travel time and distance), partitioned with KaHIP; 50 random queries per network size. Baselines: NAMOA*dr and BOA*, both exact.

Network statistics (Table 4)

Networknodesedgesboundary nodesavg solutions
1/20 BAY15,36641,18087615
1/10 BAY32,20576,23069613
1/5 BAY64,684156,68287347
Entire BAY321,270800,1721,322119

Online runtime, ms, avg / median (Table 5)

Method1/20 BAY1/10 BAY1/5 BAYEntire BAY
NAMOA*dr4.47 / 4.138.34 / 8.1739.69 / 31.93482.83 / 360.20
BOA*4.34 / 4.028.56 / 8.3127.99 / 20.43343.05 / 221.69
MBOR-Basic0.64 / 0.530.33 / 0.322.61 / 1.20135.31 / 29.54
MBOR-Adv0.38 / 0.300.19 / 0.181.93 / 0.7086.84 / 4.56

Precomputation with MBOR makes online queries more than 10× faster than the compute-on-demand baselines for most metrics; MBOR-Adv reduces online runtime a further 35.8% over MBOR-Basic on the entire BAY network. All four methods return the same (exact) solutions. Sensitivity plots over the number of fragments are in the full PDF (Figures 5–9).

9. Independent reproduction (Rust)

A from-scratch Rust reimplementation (arunshar/mbor, hub at arunshar.com/mbor) reproduces the method on the open DIMACS Bay Area subnetworks. Every answer is checked against two exact baselines (BOA*, bi-objective Dijkstra) and an exact full-graph search; on real BAY queries all methods return the identical Pareto frontier (0 mismatches).

NetworkmachineBOA* (ms)MBOR-BasicMBOR-AdvAdv vs BOA*avg sol
1/20 BAYMac5.590.620.054104×15.2
1/10 BAYMac2.850.380.04072×5.2
1/5 BAYMac81.7010.421.8744×47.4
1/20 BAYMSI8.761.140.09593×15.2
1/10 BAYMSI4.230.580.07457×5.2

The paper's ">10× with precomputation" reproduces on both machines; reproduced MBOR-Basic (0.62 ms) lands on the paper's 0.64 ms, and reproduced solution counts match the paper on 1/20 BAY (15.2 vs 15) and 1/5 BAY (47.4 vs 47). Partition is a dependency-free BFS region-growing stand-in (KaHIP min-cut would speed MBOR further); precompute is correct but not yet memory-optimized for full BAY. Full numbers and method: EVIDENCE.md.

Honest scope. The reproduced figures are online-query numbers on the BAY subnetworks (this machine), distinct from the paper's published full-BAY figures, which are cited as such above. Rust is not faster than good C++ at the language level; the value of the reimplementation is a memory-safe, one-command, reproducible artifact that reproduces the paper on open data.

References