Explore route and timetable planning using tourism demand signals, attraction distances and route optimization.
Python
OR-Tools
Folium
Google Trends
Role
Combined tourism visits, Google Trends, Popular Times and attraction distances into demand allocation, distance matrices, TSP exploration and visualization.
Results and status
Completed demand allocation, distance matrices and TSP workflows, visualizing routes and schedules with maps, Gantt and Sankey diagrams.
Record period
Recorded in 2021; project dates unconfirmed
Context and objectives
Tourism demand changes over time; route and timetable planning need to connect demand and distance.
Demand is estimated from proxy signals. Actual ridership and operations remain unverified. (Enlarge image)
System architecture and workflow
Architecture overview
Inputs
Tourism visits, search interest, popular times and distances between attractions.
Process
Allocate monthly visits to weekdays and hours, then explore routes using grouped distance matrices and TSP.
Outputs
Folium maps, Gantt timetables and Sankey flows for comparing routes and schedules.
Workflow diagram
Independent project. Tourism counts and popularity are demand proxies; actual ridership and operating outcomes were not validated. (Enlarge image)
Original result view
Original notebook analysis: attraction visits and search trends, not route outcomes. (Enlarge image)
Key design decisions
Convert monthly tourism totals into scheduling signals
ChallengeMonthly visit totals do not provide the weekday and hourly shapes needed for timetables.
Approach and tradeoffsCombined search interest and popular times to allocate monthly visits across weekdays and hours, connecting tourism data, Google Trends and Popular Times.
ResultProduced time-based demand inputs for route and timetable exploration; these are not measured ridership.
Make routes and timing understandable
ChallengeDistance matrices and solver output alone do not make the relationship between routes and visitor flows easy to discuss.
Approach and tradeoffsUsed maps, timetables and flow diagrams for different aspects of the problem. Built distance matrices per group, solved TSP and produced Folium, Gantt and Sankey exploration views.
ResultCompleted an exploratory workflow from demand inputs to route visualization. There is no evidence of operational adoption or cost savings.
Results and validation scope
Deliverables
Completed demand allocation, distance matrices and TSP workflows, visualizing routes and schedules with maps, Gantt and Sankey diagrams.
Validation and limits
Demand is inferred from visits and interest for exploration. Actual ridership and operational effects are unvalidated.