LegalFarePlan Optimizes Urban Rail Routes with Non-Additive Fares.

Tanghui Li· July 14, 2026 View original

Summary

LegalFarePlan is a new framework for urban rail route planning that accounts for non-additive fare rules by modeling legal exit-and-reentry operations as explicit constraints. It computes fare-transparent route plans, considering transfer rules, station costs, and extra-time budgets, demonstrating significant fare reductions on a semi-synthetic benchmark.

A novel route-planning framework, LegalFarePlan, has been developed to address the complexities of urban rail systems with non-additive fare structures. In many transit networks, the total fare for a journey might not simply be the sum of individual leg fares, especially when legal exit-and-reentry operations are involved. LegalFarePlan explicitly models these operations as auditable constraints, ensuring fare transparency in route calculations. The framework takes into account various parameters, including the transit network layout, fare functions, transfer rules, station-level exit/re-entry costs, an extra-time budget, and a split limit. It then computes explainable route plans segmented by paid journeys. Evaluation on a semi-synthetic benchmark demonstrated that the bounded exact search method within LegalFarePlan identified positive fare reductions for a significant portion of origin-destination pairs, showcasing its potential to optimize routes for cost-efficiency while maintaining transparency.

Why it matters

For urban planners and transit operators, LegalFarePlan offers a sophisticated tool to optimize public transport routes for cost-efficiency and transparency, directly benefiting commuters and improving system design.

How to implement this in your domain

  1. 1Evaluate existing urban rail fare structures to identify non-additive rules that could benefit from LegalFarePlan's optimization.
  2. 2Pilot LegalFarePlan in a specific urban rail network to identify potential fare reductions and improve route transparency for passengers.
  3. 3Integrate the framework's principles into next-generation public transit planning software to offer more cost-effective and understandable routes.
  4. 4Use LegalFarePlan's explainable route plans to communicate fare logic clearly to commuters, enhancing trust and satisfaction.

Who benefits

Urban PlanningPublic TransitSmart CitiesTransportation Logistics

Key takeaways

  • LegalFarePlan is a framework for fare-transparent urban rail route planning.
  • It explicitly models non-additive fare rules and legal exit-and-reentry operations.
  • The framework computes explainable route plans considering various operational constraints.
  • Evaluation showed significant fare reductions on a semi-synthetic benchmark.

Original post by Tanghui Li

"arXiv:2607.09755v1 Announce Type: new Abstract: Urban rail fare systems may be non-additive: the fare of a single paid journey from an origin to a destination can differ from the sum of fares over multiple legally separated journey legs. This paper presents LegalFarePlan, a fare-…"

View on X

Originally posted by Tanghui Li on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses