Evidence type: hands_on. Results are limited to the documented conditions.

Two parks facing each other across a river look close on a map, yet may be far apart on foot. This exploratory case study uses 12 parks on both banks of the Shonai River in Nagoya and draws 400 closed six-park tours from them. It compares two simplified distance models: coordinate model A, which uses straight-line distance only, and river-and-bridge model B₀, which adds the river and candidate bridges. Free and open-source Google OR-Tools 9.15.6755 was used for 1,203 original solves, of which 1,166 reached their exact matrix optimum (96.92%); the main quantitative comparisons and subsequent sensitivity analyses use independent exact algorithms.

The key finding is that which model looks better depends on whether one river crossing is treated as available. With candidate crossing cluster 6 retained (Meigi Bypass, about 4 m from the published Shinmeisai Bridge coordinates), cumulative decision regret for A and B₀ was 106.547 and 169.868 km, so B₀ was 59.43% worse. With the cluster removed, regret was 132.155 and 25.371 km, and B₀ was 80.80% better. The reason is that B₀'s road-class whitelist excludes all trunk features, implicitly assuming that this crossing is unavailable and thus aligning B₀ with the deletion scenario. Historical walking accounts support a pedestrian connection at Shinmeisai Bridge, but current access on the specific features is unverified. Across three nonzero deletion conditions, mean distance error and decision regret were not proportional. Commercial navigation is not evaluated.

Introduction

1. A question from everyday life

If you wanted to walk between parks on both banks of the Shonai River, in what order should you visit them to walk as little as possible?

On a map, two places facing each other across the river seem close. Once you set off, you may have to detour to a bridge. Many of us have had similar doubts when following a navigation app.

To turn this everyday question into one that can be computed and tested, we designed a multi-stop walking-tour experiment and used Google OR-Tools to explore how different map information changes a computer's choice of route.

The question matters beyond walkers. Approximating travel distance with straight lines is common, and its accuracy has been examined systematically in vehicle routing (Boyacı et al., 2021). Predict-then-optimize research reminds us that a small prediction error does not guarantee a good downstream decision (Elmachtoub and Grigas, 2022). A river brings both points together: the straight line is short, but the real distance depends on the bridges. This study does not test commercial navigation.

We ask two concrete questions:

  1. Where are local distance anomalies concentrated?
  2. If a map omits different river crossings, how much — and how differently — does the routing decision suffer?

Materials and methods

2. Teaching the computer three maps

The idea of the experiment is simple: keep the parks, the depot and the solver settings fixed, and change only the map the computer sees. Any difference in the routes must then come from the map itself. We describe the design in six steps.

Step 1: Choose the parks and the start. The Nagoya city park list and OpenStreetMap (OSM) data were retrieved on 2026-11-26 and projected to EPSG:6675. We considered only officially listed parks within 1,500 m of water along the central 70% of the Shonai River, and selected six per bank by distance to the river, giving 12 parks. Each park is represented by its nearest road node; the fixed depot (node 0) is the road node nearest the mean of the 12 points (Fig. 1).

Step 2: Give the computer three "maps". A computer does not read maps; it reads a table of how far apart every pair of points is. We prepared three such tables:

  • A (coordinates): like measuring straight lines with a ruler, ignoring the river entirely.
  • B₀ (river and bridges): straight lines within a bank; to cross the river, the route must use one of 12 candidate bridge line features. These 12 features are not 12 physical bridges.
  • C₀ (reference network): the shortest walkable distance along the OSM walking network, used as the yardstick for real distance.

Study area, candidate crossing links and crossing clustersStudy area: parks, depot proxy, 12 B0 candidate link features and six C1 crossing clusters (cluster 6 highlighted)

Figure 1. Study area. The star is the depot proxy; open and filled circles are parks on the northwest and southeast banks. Red segments are the 12 candidate bridge line features used by model B₀. Green rings are C₁ crossing clusters used in the deletion tests; the yellow ring is cluster 6 (Meigi Bypass, a trunk road, near Shinmeisai Bridge), which is present in C₁ but excluded from B₀ by its road-class rule. Model inputs, not a verified bridge inventory. © OpenStreetMap contributors.

Step 3: Let OR-Tools choose the order, then check it exactly. Each subset contains three parks per bank, giving 400 subsets, plus one complete 12-park case. For every subset and every distance table, OR-Tools answers the same question: starting from the depot, visiting these six (or twelve) parks and returning, which order is shortest? The original runs used OR-Tools 9.15.6755 with OSMnx 2.2.0 and Python 3.14.5 on Windows 11 x64, with PATH_CHEAPEST_ARC, GREEDY_DESCENT and a 1 s limit.

To confirm that answers were truly optimal, we used exact algorithms: a six-park subset has only 720 directed orders (360 reverse-equivalent tours under symmetry), which can all be enumerated, and the complete case was solved with Held–Karp dynamic programming. Distances were rounded to millimetres and ties broken lexicographically.

Step 4: How do we judge a route? Decision regret. We care less about "how accurate are the distances?" than "how good is the chosen route?". We take the visit order chosen by a model, walk it on the reference network, and subtract the reference optimum. This difference is the decision regret — in plain words, the extra distance walked because an imperfect map was trusted. Mean absolute error (MAE) and RMSE after optimal positive scaling are secondary metrics.

Step 5: Give the map a check-up, then remove crossings one at a time (V3 supplement). V3 rules were written after V2 and before supplementary computations (no independent timestamp certification) (MODEL_PROTOCOL_V3.md). First, all network edges were screened uniformly using original OSM way tags to exclude explicit foot prohibitions, motor-only roads, private or prohibited access without a foot exception, and rail-only links. Ways with missing tags were retained operationally; this does not certify permission. The screened reference network is called C₁.

Next, we located every road crossing the Shonai River: the fully downloaded named river polygon was buffered inward by 0.01 m, and edges intersecting its interior by more than 0.1 m were extracted. Nearby intersection centroids were grouped by 60 m single-linkage clustering into "crossing clusters" (cluster counts at 30/90 m are also reported). A spatial cluster may split one physical bridge or contain several features. We then removed one cluster at a time from the C₁ planning graph, let the models choose new orders, and evaluated them on the intact C₁. This simulates a map that omits a crossing, not a real closure. All 400 subsets were enumerated exactly under each condition.

Subgroup comparisons and three-pair distance replacement are post-hoc diagnostics, not independent validation or B₁. Because subsets share a park pool, they are not independent, and no significance tests are made.

Step 6: Score again with a different reference map (V3.1 post-hoc sensitivity). The A and B₀ visit orders were held fixed and evaluated against C₁ and against D6 (cluster 6 removed), subtracting each reference's own optimum. The 200 subsets without park 1 are a subset of the original 400. Increment CV uses the population standard deviation divided by the mean of positive directed increments. One C₁ shortest path for each of 156 ordered node pairs was inspected for water-intersecting ways; tied paths were not exhaustively audited.

Results

3. A surprise: with bridge information, some routes get longer

OR-Tools answered every question. All 1,203 original solves (400 subsets plus the complete case, each under three models) returned routes, and 1,166 reached their model's optimal objective (96.92%).

First, the complete 12-park tour. The routes chosen under A, B₀ and C₀ measured 15.214, 17.323 and 15.044 km on the reference network (Fig. 2). A, which only measures straight lines, walked about 170 m more than the optimum; B₀, which knows about the river and bridges, walked about 2.28 km more.

Complete-case routes under three modelsComplete 12-park case: routes chosen by A, B0 and the C0 optimum, drawn on the archived walking network

Figure 2. Complete 12-park case: the visit orders chosen by each model, drawn on the reference network. a, coordinate model A; b, river-and-bridge model B₀; c, reference optimum. Each leg is the shortest path on the archived OSM walking network (C₀); the yellow ring marks cluster 6. © OpenStreetMap contributors.

This is not a one-off. Over the original 400 subsets, cumulative regret for A/B₀ was 106.547/169.868 km, a mean of 266.37/424.67 m per subset. Relative to A, B₀ improved 143 subsets, left 118 unchanged and worsened 139 (Fig. 3) — almost as many worse as better.

Two figures are easily confused. In total tour length, B₀ is only 1.33% longer than A. In excess distance — the regret — B₀ is 59.43% worse. Only the latter measures decision quality.

Paired decision regretPaired decision regret for 400 overlapping subsets; marker size = coincident subsets

Figure 3. Paired decision regret for the 400 subsets. Each point is one subset; the horizontal axis is the regret of A's tour and the vertical axis that of B₀'s tour. Points above the dashed line are subsets where B₀ is worse. Marker size shows how many subsets coincide. Subsets share a park pool and are not independent samples.

The difference hides in the tail. A and B₀ reach the reference optimum in 181 and 184 subsets respectively, and their medians are similar, but only B₀ produces regrets above about 1.62 km (Fig. 4). B₀ is usually fine, yet occasionally badly wrong.

Empirical cumulative distributions of regretEmpirical cumulative distributions of decision regret; differences lie in the upper tail

Figure 4. Empirical cumulative distributions of the original decision regret. Zero-regret counts and medians are similar; the difference is concentrated in the upper tail.

4. Tracing the cause, detective-style

Clue 1: the problem clusters around a few parks. The 190 subsets containing park 1 and at least one of parks 9, 11 or 12 had cumulative A/B₀ regret of 71.977/145.058 km, compared with 34.570/24.810 km for the other 210. This localizes the effect but does not show that B₀ is generally effective elsewhere. Replacing three B₀ pair distances with A's values gives a counterfactual cumulative regret of 25.013 km — a diagnostic calculation, not a bridge repair.

Clue 2: error metrics can mislead. Raw MAE was 533.59/352.02 m for A/B₀, which makes B₀ look more accurate, but RMSE after optimal scaling was 408.88/412.65 m, almost identical. A smaller absolute error does not imply a better relative structure among distances.

Clue 3: the trail leads to one bridge. The network audit removed 418 directed edges, with all way tags successfully linked. Recomputed C₀ distances differed by less than 10⁻⁶ m, and C₁ did not change any distance among the study nodes. All three anomalous pairs use trunk features 181607030 or 198710224 on Meigi Bypass, tagged bridge=yes with foot, sidewalk and access unspecified — and B₀'s original whitelist excluded trunk roads. This is a specific model difference, not field evidence of access. Separately, 3 of 36 same-bank node pairs have straight lines crossing water, of about 257, 653 and 517 m.

Testing the lead: remove crossings one at a time. If a map omits one river crossing, how much does the routing decision suffer? Table 1 and Fig. 5 answer this.

Omitted cluster MAE (m) Mean regret (m) Optimal hits (of 400)
1–3 (each) 0 0 400
4 80.75 560.35 209
5 492.34 248.65 186
6 95.59 683.68 200

Crossing-cluster deletionSix crossing-cluster deletion conditions; 400 subsets each

Figure 5. Six deletion conditions, 400 subsets each. The horizontal axis is MAE over 156 directed off-diagonal distances and the vertical axis is mean decision regret; the three zero points for clusters 1–3 coincide; no error bars. Clustering at 30/60/90 m yields 8/6/5 clusters; deletions were computed only for 60 m.

The result is counter-intuitive. Cluster 5 causes the largest distance error (MAE 492.34 m) yet the smallest regret (248.65 m); clusters 4 and 6 each cause errors below 100 m, yet regrets of 560.35 and 683.68 m. How wrong the distances are and how wrong the route is are almost separate questions. And the largest regret belongs to cluster 6 — the very crossing Clue 3 pointed to.

5. One bridge, two answers

Because cluster 6 matters so much, whether it is walkable decides which model looks better. Holding the A and B₀ visit orders fixed, we change only the reference network used for scoring:

Reference A cumulative regret (km) B₀ cumulative regret (km) B₀ relative to A
C₁, cluster 6 retained 106.547 169.868 +59.43%
D6, cluster 6 removed 132.155 25.371 −80.80%

Dual-reference sensitivity400 fixed subsets and A/B0 orders; regret relative to each reference optimum.

Figure 6. Cumulative decision regret under two reference networks, for fixed subsets and fixed A/B₀ orders, each relative to its reference optimum. a, all 400 subsets; b, the 200 subsets without park 1. Crossing lines indicate a reversal of the relative evaluation. Deletion is not proof of an actual closure.

The same routes and the same data yield opposite verdicts — "B₀ clearly worse" becomes "B₀ clearly better" — purely because of one assumption about one crossing.

Not just park 1. For the 200 subsets without park 1, A/B₀ regrets were 33.890/24.810 km under C₁ and 33.892/15.809 km under D6. Cluster 6 affects nine undirected pairs: 0–1, 1–7 through 1–12, 2–9 and 2–11.

Why can a small-error cluster matter more? Clusters 4, 5 and 6 affect 16, 50 and 18 directed distances, with positive-increment CVs of 0.983, 0.488 and 1.081. One possible explanation is that uniform increments change tour ordering less than errors concentrated on a few pairs; bank-crossing frequency was not tested. Removing clusters 1–3 did not change study-node distances, which is not evidence of physical redundancy; clusters 1 and 2 share way 1148745685. Cluster 4 is Sotobori-dori (外堀通り), 5 includes Nagoya-Sobue road (名古屋祖父江線) and footway features, and 6 is Meigi Bypass. The chosen reference paths intersect water on four distinct ways (181607030, 198710224, 121055858, 115487383), all lacking explicit foot, sidewalk and access tags; this is not a complete inventory of real-world uncertainty.

Can people actually walk across this bridge?

Cluster 6 is centred at 35.203918°N, 136.876248°E, about 4 m from the published Shinmeisai Bridge coordinates (35.203944°N, 136.876222°E; ref. 11). Ref. 9 explicitly describes walking from Shimo-Otai station across Shinmeisai Bridge. Ref. 8 describes a 2021 walk along Route 22 across the Shonai River into Kiyosu, followed by leaving the highway when the sidewalk ended. The road authority ledger (ref. 10) confirms both directions of the bridge but records zero sidewalk width in some adjacent sections, so it does not establish continuous pedestrian access on the exact OSM features.

On balance, historical evidence favours a pedestrian connection at the bridge and supports retaining C₁ as a historically plausible scenario; D6 is a sensitivity scenario, not an equally established fact. The B₀ trunk exclusion may have omitted an available connection, but separate sidewalks, access links and present permissions remain unverified. No recent street-view confirmation or explicit current pedestrian permission was obtained.

Discussion

6. Back to reality, and to the software

Smaller error is not a better decision. Omitting cluster 4 or 6 produced larger mean regret than omitting cluster 5, despite clearly smaller MAE. This is the most direct model-sensitivity evidence in the study, not a general law that more information is worse. Mathematically, closed travelling-salesman tours are invariant to global positive scaling and to node-additive terms aᵢ+aⱼ, so neither MAE nor scaled RMSE can substitute for decision regret. SPO theory provides related background, although no predictive model was trained here. Everyday navigation involves different objectives and traffic and safety constraints; these results cannot diagnose commercial navigation.

The scoring map is an assumption too. C₁ is still a tag-screened map snapshot, not field-verified pedestrian truth. Trunk access, merging of physical crossings, original water and graph boundaries, entrance proxies, near-river selection and the fixed depot all limit interpretation. A strict obstacle-avoiding B₁, alternative depots, deletions at other clustering thresholds and new OR-Tools runs were not performed, so no bridge repair or B₁ validation can be claimed. Future work should first verify access attributes independently, then freeze B₁ rules and rerun the full design, without calibrating B₁ on C₁ distances.

Algorithms optimize routes; they cannot judge the map for us. The same Routing workflow accepted three custom distance matrices and processed 400 small subsets plus one complete case in batch. All 1,203 runs returned routes, but 37 did not reach their exact matrix optimum. OR-Tools thus supports automated comparative experiments well, while independent optimality checks remain worthwhile even for small instances.

The solver's role has clear limits: it searches for visit orders under supplied costs; it does not establish pedestrian permission, process map geometry or guarantee reference-network validity. The added sensitivity results were obtained by independent exact enumeration, not new OR-Tools runs. For researchers, archived matrices, solver settings, original routes and independent checks are far more informative than a single reported optimal route.

OR-Tools research workflowWorkflow schematic: original 1,203 OR-Tools solves and independent exact verification and supplementary analysis; not new experimental data.

Figure 7. Relationship between the original OR-Tools experiment and the supplementary exact analyses. Workflow schematic, not new experimental data.

Conclusion

Back to the opening question: how far apart are two parks facing each other across the river? It depends on whether the bridge can be walked — and that seemingly small assumption is enough to change how we judge a route model.

In this case, different assumptions about whether a single candidate crossing is available are enough to reverse the relative evaluation of two distance models. The B₀ road-class whitelist excludes all trunk features, implying that this crossing is unavailable; its lower regret under D6 reflects alignment of assumptions, not general superiority. Mean distance error and decision regret were not proportional across the three nonzero deletion conditions. Evaluating distance models should therefore consider the reliability of the reference network and the structure of errors, not only their size. Historical evidence favours a pedestrian connection at the bridge, but current access on the specific features remains unverified.

The practical contribution of OR-Tools is to turn three distance models into batch optimization tasks with auditable route records; independent exact algorithms then distinguish solver error from decision regret arising from map assumptions.

Data and code availability

The lightweight archive includes original distance matrices, OR-Tools records, V3 rules, code and per-run results; the full raw map snapshot is archived separately. Figures in this version were redrawn from the archived data, and the plotting scripts are included. OSM data are under ODbL, © OpenStreetMap contributors. No public archive DOI is yet available.

Author contributions

The study initiator proposed the topic, obtained the data and ran the original software experiments on Windows; final scientific and publication decisions rest with the author.

AI assistance statement

Generative AI contributed to study design, code, analysis, verification, figures and trilingual writing.

Experiment files