← Back to SmarterCode
🚆 Yunnan • Round 1 + Round 2

Yunnan Railway Planner

Plan a multi-station Yunnan journey using all listed railway stations in the province, static transport estimates, configurable hotel tiers, and per-stop night allocation. The MVP focuses on route order, lodging cost, total trip cost, and total duration.

117 stations All railway stations from the provided Yunnan prefecture-by-prefecture station list.
3 optimization modes Choose the cheapest, fastest, or a balanced route based on the same static connection model.
Transport + lodging totals Adjust nights per station and instantly see lodging cost, transit time, and total spend.

Route summary

Click + to add stations and generate an itinerary.

MVP scope

This implementation covers the requested MVP: Round 1 routing and Round 2 nights + lodging. It uses a static, deterministic station dataset plus estimated train/flight legs generated from fixed station metadata.

  • Cheapest minimizes total transport spend.
  • Fastest minimizes estimated transit hours.
  • Balanced values time at 90 CNY/hour to balance speed against cost.
Future rounds captured in the specification
  • Round 3: start dates, exact dates per station, live trains and flights.
  • Round 4: curated boutique hotels, hotel selection per station, optional booking links.
Static connection model used by the MVP

Each station pair is evaluated using fixed geographic metadata to derive estimated high-speed rail, conventional rail, and domestic flight options. The planner then picks the best leg for the selected optimization goal.

Full issue specification snapshot

See SPECIFICATION.md for the original requirement text copied into this subproject.