38
Funded by ERA-NET Transport III Flagship Call 2013 “Future Travelling” Adaptive Public Transit Network Design Andrey Shabalov 1 , Eran Ben-Elia 2 , Itzhak Benenson 1 1 Dept of Geography and Human Environment, Tel-Aviv University 2 Ben-Gurion University of the Negev [email protected]

Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

Embed Size (px)

DESCRIPTION

3 3 Methods of Public Transit Network Design (TND) Exact: linear, integer and mixed integer programming Heuristics and meta-heuristics: – Specific and ad hoc heuristics, often greedy – Neighborhood search - Simulated annealing, tabu search – Evolutionary search and Genetic algorithms – Hybrid algorithms hEART SMART-PT Workshop 10/9/15

Citation preview

Page 1: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

Funded by ERA-NET Transport III Flagship Call 2013 “Future Travelling”

Adaptive Public Transit Network DesignAndrey Shabalov1, Eran Ben-Elia2, Itzhak Benenson1

1Dept of Geography and Human Environment, Tel-Aviv University2Ben-Gurion University of the Negev

[email protected]

Page 2: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

Outline

• The variety of Transit Network Design Methods• Mobile phone data – types and availability• Trajectory clustering• From “Bugs” to Buses• State-of-the-Art of the SMART-PT project

hEART SMART-PT Workshop 10/9/15 2 2

Page 3: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

3 3

Methods of Public Transit Network Design (TND)

• Exact: linear, integer and mixed integer programming

• Heuristics and meta-heuristics:– Specific and ad hoc heuristics, often greedy– Neighborhood search - Simulated annealing, tabu search– Evolutionary search and Genetic algorithms– Hybrid algorithms

hEART SMART-PT Workshop 10/9/15

Page 4: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

4 4

TND State-of-the-art

hEART SMART-PT Workshop 10/9/15

Author (Year) Solution Application

Chakroborty and Dwivedi (2002) Genetic Algorithm Examples

Chien and Spasovic (2002) Optimization model, partial derivatives Example

Chen and Yang (2004) Genetic Algorithm + Simulation Example

Fan and Machemehl (2004) Decomposition & Heuristic Examples

Gao et al. (2004)Bi-level programming, restricted network equilibrium approach, variational inequality

Example

Chiou (2005) Gradient-based method Examples

Yang et al. (2007) Ant colony optimization Examples

Fan and Machemehl (2008) Tabu search Example

Szeto and Wu (2011) Genetic Algorithm Tin Shui Wai, Hong Kong

Page 5: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

5 5

TND State-of-the-art

hEART SMART-PT Workshop 10/9/15

Author (Year) Solution Application

Szeto and Jiang (2012) Artificial bee colony Tin Shui Wai, Hong Kong, Winnipeg, Canada

Chew et al. (2013) Genetic Algorithm Benchmark

Yan et al. (2013) Simulated annealing Examples

Kim and Schonfeld (2014) Probabilistic analytical model Examples

Nayeem et al. (2014) Genetic Algorithm Yubei, China, Brighton and Cardiff, UK

Nikolic and Teodorovic (2014) Artificial bee colony Benchmark

Neumann (2014) Genetic Algorithm Nelson Mandela Bay Area Municipality + Examples

Nourinejad and Roorda (2015)

Binary integer programming and dynamic auction-basedmulti-agent optimization

Example

Page 6: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

hEART SMART-PT Workshop 10/9/15 6

Short description of mobile phone geo-data• Cellular cell consists of several, usually 3, antennas, each serving “Pizza”, ~ 60o

sector. Typically, antenna’s service radius is several kilometers

• The network of antennas is optimized to minimize the overlap between antennas’ pizzas

• Depending on antennas’ capacity and loads, your steady phone can be switched between antennas. Once an hour, the network initiates connection with your phone

• Strength of the phone signal enables estimating the “Banana” - range of distances between the phone and antenna. Precision of the distance estimate is essentially higher for the 4th generation and lower for the phones of 3rd and 2nd.

• WiFi connection, in case the phone GPS is activated, is exactly geo-located

In what follows, we assume that phone location data are available at a banana or GPS precision

Page 7: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

7 7

The TND methods depend on the type of travel data

Existing methods SMART-PT

TripsPresented by the OD-matrix Ceder (2003), Fan (2006), Barra (2008)

Individual trajectories obtained from geo-located mobile phones

StopsPre-defined setNikolic & Teodorovic (2013), Nayeem et. al. (2014), Neumann (2014), Zhao et. al. (2015)

Generated based on observed activities

GA is applied

To given set of individual trip plans Fan & Machemehl (2011), Szeto & Wu (2011), Cipriani et al. (2012), Nayeem et al. (2014)

For establishing coevolving transit network and individual trip plans

hEART SMART-PT Workshop 10/9/15

Page 8: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

8 8

The SMART-PT ideaAdaptive clustering of individuals’ plans• Given: Set of travellers, each with its own trajectory of

daily activities

Example: Home-work tripsAgent 1: Leave home at at and travel to work at to be there at

Agent 2: Leave home at at and travel to work at to be there at

…….• Adaptively modify and synchronize travelers’

trajectories/activities for sharing travels

hEART SMART-PT Workshop 10/9/15

Page 9: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

9

Co-synchronization of individual plans and rides

• Travelers start separately, each with its own “taxi”

• Individual taxi is costly, it’s worth to rideshare – this will decrease costs

• To share rides, travelers synchronize their plans minimizing personal cost

9

Modify plan to share rides

Modify clusters of trajectories

hEART SMART-PT Workshop 10/9/15

Similar approach was recently applied in M. Nourinejad, M. J. Roorda, 2015 Agent based model for dynamic ridesharing, Transportation Research C, doi:10.1016/j.trc.2015.07.016

Page 10: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

hEART SMART-PT Workshop 10/9/15 10

Ways to synchronize agents space-time plans

• Shift start and end times of activities• Introduce walks• Establish meeting point for shared rides (Bus stops)• Adapt transit vehicles capacity• Establish Headways and Schedule

Populationdemand

Publictransit

Adapts to

Adapts to

10

Page 11: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

hEART SMART-PT Workshop 10/9/15 11

Clustering trajectories

Page 12: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

12

Clustering individual trajectories

Partition and Group • Partitioning: Each trajectory is

partitioned into a set of space-time segments at the points where the behavior of trajectory rapidly changes

• Grouping: Similar segments are grouped into a cluster applying density-based clustering method

hEART SMART-PT Workshop 10/9/15 12

Page 13: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

13

Clustering of trajectories: Partitioning

Input: Set of trajectories , , - number of agentsOutput: Set { of bifurcation points1: Add into the set ; // set starting point2: , ;3: while do4:5:6:/* check if partitioning at the current point increases the MDL cost*/7: if then8: Add into the set ; // include previous point9: , ;10: else11: ; // do not include previous point12: Add into the set ;

13hEART SMART-PT Workshop 10/9/15

Page 14: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

14

Input: A set of line segments Parameters: – maximal dissimilarity between cluster’s segments, – minimal

number of linesOutput: A set of clusters 1: Set to 0; // initialize2: Mark all the line segments in as unclassified // initialize3: for each do4: if ( is unclassified) then Compute 6: if then7: Assign to ;8: Insert into the queue ;9: ExpandCluster;10: Increase by 1; 11: else12: Mark as a noise;13: Allocate all to its cluster ;14: // check cardinality of the trajectory15: for each do16: if then Remove from the set of clusters;

14hEART SMART-PT Workshop 10/9/15

Clustering of trajectories: Grouping

Page 15: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

15

Flowchart of the Algorithm

15

Initial set of trajectories T

i ≤ |T|

Partitioning of trajectories

Get a set D of trajectory’s segments

Cluster segments

A set of clusters O

true false

hEART SMART-PT Workshop 10/9/15

Page 16: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

hEART SMART-PT Workshop 10/9/15 16

Illustration of the idea

10 agents

16

Page 17: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

hEART SMART-PT Workshop 10/9/15 17

20 agents

17

Illustration of the idea

Page 18: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

hEART SMART-PT Workshop 10/9/15 18

10 agents

18

Illustration of the idea

Page 19: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

5 agents

1 agent

2 agents

hEART SMART-PT Workshop 10/9/15 19

Illustration of the idea

Page 20: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

hEART SMART-PT Workshop 10/9/15 20

Noise

Noise

ClustersNoiseClusters

20

Illustration of the idea

Page 21: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

hEART SMART-PT Workshop 10/9/15 21 21

Synthetic data: travellers starting their trips 7:00 – 7:15

Page 22: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

hEART SMART-PT Workshop 10/9/15 22 22

Illustration of obtained clusters (20 trajectories, e = 3, MinLns = 3)

Page 23: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

hEART SMART-PT Workshop 10/9/15 23

Clustering moving objects

Page 24: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

24

From Bugs to Buses

• Bugs are constantly moving, carrying travellers from place to place• Bugs want to evolve into buses: to grow to a bus-like capacity, to let

travellers board and alight at constant stops, to move along the same route and according to the same schedule during the entire day

• Initially, bugs start their movement over the road network based on the trajectories obtained from the clustering algorithm

• A Traveler boards a bug when nearby in space-time, and travels with a bug until their trajectories significantly deviate. This increases travellers utility.

• Bug stops for boarding/alighting travelers. This decreases travellers utility• Two bugs can be recombined into two or three others if their trajectories in

space-time essentially overlap.• A bug can produce a child-bug if a sufficient number of travellers want to

continue their trajectory while a sufficiently large subgroup will alight and continue traveling together on another trajectory

hEART SMART-PT Workshop 10/9/15 24

Page 25: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

25 25

Step 1: Clustering trajectories

5 agents 4 agents

4 agents1 agent

- an agent

hEART SMART-PT Workshop 10/9/15

Page 26: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

26 26

4 trajectories make up a cluster

Cluster of trajectories

hEART SMART-PT Workshop 10/9/15

Step 1: Clustering trajectories

Page 27: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

27 27

4 agents 4 agents

4 agents1 agent

hEART SMART-PT Workshop 10/9/15

Step 1: Clustering trajectories

Page 28: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

28 28

Clusters of trajectories

hEART SMART-PT Workshop 10/9/15

Step 1: Clustering trajectories

Page 29: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

29 29

2 agents

3 agents

3 agents

2 agents

1 agent 2 agents

hEART SMART-PT Workshop 10/9/15

Step 1: Clustering trajectories

Page 30: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

30 30

Clusters of trajectories become initial genotypes of the bugs

hEART SMART-PT Workshop 10/9/15

Step 1: Clustering trajectories

Trajectory cluster

Clusters of trajectories

Page 31: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

31 31

Step 2: Bugs start moving along the clusters of step 1

- a traveller

- a bug

hEART SMART-PT Workshop 10/9/15

Page 32: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

32 32

Step 2: Adaptation of travellers plans to bugs

- an agent

- a bug

hEART SMART-PT Workshop 10/9/15

Page 33: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

33 33

- an agent

- a bug

hEART SMART-PT Workshop 10/9/15

Step 2: Adaptation of travellers plans to bugs

Page 34: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

34 34

- an agent

- a bug

hEART SMART-PT Workshop 10/9/15

Step 2: Adaptation of travellers plans to bugs

Page 35: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

35 35

Step 3: Bug turns into bus

- an agent

- a bus

hEART SMART-PT Workshop 10/9/15

Page 36: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

36 36

- an agent

- a bus

hEART SMART-PT Workshop 10/9/15

Step 3: Bugs turn into buses, more complex example

Page 37: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

hEART SMART-PT Workshop 10/9/15 37

Bug’s genotype

37

First Stop …

Route

Last Stop Capacity Frequency

Traveler’s genotype

Fitness of a bug Fitness of a traveler

Coding Representations

• maximize the number of satisfied passengers• minimize the total number of transfers• minimize the total travel time of all the

served passenger

• minimize travel cost• minimize travel time

Location 1Time

Location 2Time

Travel Plan

… … Location nTime

Location Arrival/Departure

Bus Stop

Location can be a bus stop

Page 38: Funded by ERA-NET Transport III Flagship Call 2013 Future Travelling Adaptive Public Transit Network Design Andrey Shabalov 1, Eran Ben-Elia 2, Itzhak

THANKS and visit us @

https://smart-pt.tau.ac.il/

hEART SMART-PT Workshop 10/9/15

SMART-PT project, state-of-the-art:1. We have an access to antenna and data-connection data2. No access to “bananas” data yet3. Very recently we have got an access to data-connection records4. Step 1 is implemented and is currently tested5. Steps 2 and 3 are in development6. MATSim implementation of all three steps is in development