Algorithmic Solutions for Re-Balancing in Bike Sharing: Challenges and Opportunities
Jie Wu Center for Networked Computing Temple University
ICNC 2020 Road Map
1. Introduction 2. Four System Components 3. Re-balancing Through Trucks 4. Re-balancing Through Workers 5. Spatial and Temporal Complexity 6. Challenges and Opportunities 7. Conclusion
ICNC 2020 1. Introduction
○ Smart City
● Collection of data
● Management of assets, resources, and services
○ Scope
● Transportation
● Power plants
● Utilities
● Water supply
● Crime detection
● School
● Libraries
● Hospitals
● … ICNC 2020 Bike Sharing System (BSS)
○ BSS ○ Benefits
● First/last mile connection ● Healthy lifestyle
● Rent-Ride-Return ● Green transportation
● > 1600 BSSs in > 50 countries ● 40% of BSS users drive less
ICNC 2020 Unbalanced Usage in BSS
○ Unbalanced usage
● Time
● Space
○ Capacity
● Underflow (full stations)
● Overflow (empty stations)
ICNC 2020 Re-Balancing in BSS
Dock BSS Re-balancing
● Citi Bike (NYC), Indego (Philly), ● Via truck and GoBike (Bay Area), … ● Via worker ● BikeMi (Milan), Bubi (Budapest)
Dock-less BSS ● ofo and Mobike (in China) ● U-Bicycle and OV-fiets (Europe) ● LimeBike and JUMP (US)
ICNC 2020 2. Four System Components
1. System design 3. System balancing ●Station number, location, ●Dedicated truck service capacity, and bike number ●Incentive-based worker ●Facility location problem: area recruitment best for placing a station? ●Route planning and scheduling ○ 2. System prediction 4. Trip advisor ●Mobility modeling ●User guidance ●Traffic prediction ●Re-balance via suggestions
ICNC 2020 3. Re-balancing Through Trucks
Hamiltonian circle Legitimate circle
● Trucks move around stations ● Alternating positive pieces and to pick-up/drop-off bikes negative pieces s.t. capacity l
Notation ● +m: overflow by m ● -m: underflow by m ● l: truck capacity ● -l ≤ m ≤ l
ICNC 2020 MATCH and GREED Methods
!" & !" 3 !# -3 3 Assumptions s1 s10 s2 !& ● Predefined Hamiltonian cycle # -3 s partition s 1 9 start 3 ’ !$ ● Piece length limit: l s s -2 8 4 2
s7 s5 & !$ -1 s6 -1 1 MATCH method !% ’: 3 !" ● l l/2, complexity: O(n ), bound: 6.5 & !" 3 !# -3 3 ● s*1 Min-weight perfect matching: s10* s*2 !& # -3 * start station * 1 pos., neg., and zero pieces s9 s3 !$ s s ● Visit each pair following the -2 8 4 2
s*7 s5 seq. in the cycle & !$ -1 s6 -1 1 !% (1, 3, 7, 8, 4, 5, 6, 9, 2, 10, 1) ICNC 2020 MATCH and GREED Methods
!" 3 -3 3 Assumptions s1 s10 s2 start ● Predefined Hamiltonian cycle -3 station 1 s9 s3 ’ ● Piece length limit: l s s -2 8 4 2 s s 7 s 5 -1 6 -1 GREED method 1 !# ● 2 !" l’: l, complexity: O(n ) 3 -3 s 3 ● !% 1 Alternating pos. and neg. s10 s2 start -3 station 1 following the cycle s9 s3
!# s s -2 8 4 2 s s 7 s 5 -1 6 -1 1 !$ (1, 2, 5, 6, 7, 8, 3, 4, 9, 10, 1) ICNC 2020 HYBRID Methods
MATCH ● Sparse mode (primary)
● Small geo-area (secondary)
GREED ● Dense model (primary) ● Large geo area (secondary)
HYBRID ● Two-level hierarchy M. Charikar et al, Algorithms for capacitated vehicle routing, SIAM, 2001 ● MATCH for intra-cluster Y. Duan, J. Wu, and H. Zheng, A greedy approach for vehicle routing, IEEE GLOBECOM, 2018 ● GREED for inter-cluster
ICNC 2020 4. Re-balancing Through Workers
Through incentive ● Workers are BSS users ● Overflow: + and underflow: - ● Monetary award prop.to distance
Dock-less incentive ● Source detour bounded by l ● Extensions with detour at both Y. Duan and J. Wu, Optimizaing Rebalance Scheme source and destination for Dock-less Bike Sharing Systems with Adaptive User Incentive, IEEE MDM, 2019
ICNC 2020 Incentive Simulation
Cost of detour δ ●0 in original rent/return region ! ●�δ in neighbor regions ●+∞ otherwise
Mobike trace data
60 Random Source Incentive 50 Incentive Hybrid (50/50) Incentive ●Learn optimal prizing from 40 30 usage dynamics 20 ●Higher rent (return) incentive 10
in overflow (underflow) regions Increase on number of rides (%) 0 1000 1200 1400 1600 1800 2000 Budget (RMB)
ICNC 2020 A Global Incentive Approach
Incentive
+ − ● For both dock and dock-less o u ● Deal with multiple workers s d ● 3-D perfect matching + − ○ Match overflow station with o' u' underflow station
○ Match users with a station pair
Y. Duan and J. Wu, Optimizing the crowdsourcing-based bike rebalancing scheme, IEEE ICDCS, 2019
ICNC 2020 Approximation
● 3-approximation
● Proof sketch: Optimality of the two rounds of matching
s0
o u Triangle inequality s d u0
Combining d0 5. Spatial and Temporal Complexity
Traffic dynamic: NYC Citi Bike dataset
weekdays weekends
···
Time Time-Space View
View Global state
● Horizontal line ● Local state ○Status of local station ● Transition state ● Vertical dotted line (slice) ● Cut: an event goes across ○Time period between two two slices slices ● Slanted arrow
○ Re-balancing event
ICNC 2020 Frequency Reduction via Look-Ahead
K-hop look ahead ● Once done in the current slice, it can last at least k hops
Greedily look ahead ● Uses look-ahead data to make a target move so that the target configuration can last the longest
Greedily look and act ahead ● Cut ahead in any of next k slices (instead of just the current slice)
ICNC 2020 Spatial and Temporal Domain Simulation
7500 103 BB BB Spatial domain 7000 LS LS TRM 102 6500 Greedy 6000 ●On a single time slot 101 5500
5000 ●Given rebalance targets 100 4500 Running Time
4000 -1