traffic assignment presentationi - university of …...traffic assignment problem given: 1. a graph...

38
High Performance Traffic Assignment Based on Variational Inequality XIAO Yujie, SHI Zhenmei Mentor: Dr. LIU Cheng, Dr. WONG Kwai

Upload: others

Post on 26-Dec-2019

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

High Performance Traffic Assignment Based on Variational Inequality

XIAO Yujie, SHI ZhenmeiMentor: Dr. LIU Cheng, Dr. WONG Kwai

Page 2: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Agenda

➢ Introduction

○ Traffic Assignment Problem

○ Variational Inequality

➢ STA

➢ DTA

Page 3: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Traffic Assignment

Traffic assignment is a kernel component in transportation planning and real-time applications in optimal routing, signal control, and traffic prediction

in traffic networks.

Page 4: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Introduction

Page 5: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Traffic Assignment ProblemNode

Link

Origin-Destination Pair

Time Cost

Page 6: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Traffic Assignment ProblemOptimization

● System equilibrium

● User equilibrium

Time Cost Function

Page 7: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Traffic Assignment ProblemGiven:

1. A graph representation of the urban transportation network

2. The associated link performance functions

3. An origin-destination matrix

Find the flow (and travel time) on each of the network links, such that the network satisfies user-equilibrium (UE) principle.

Page 8: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Variational Inequality

❖What?

➢ Definition

(y−x)TF(x) ≥ 0, ∀y ∈ K

➢Graphically

Page 9: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Variational Inequality

❖ Category

Page 10: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Variational Inequality

❖Why?

➢ Intuitive: Either scenorio A or scenorio B

➢ closely related to equilibrium

❖ Application

➢ Nash Equilibrium Problem

➢ Economic Equilibrium Problem

➢ Pricing America Options

Page 11: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Traffic Assignment Problem

❖ Category

➢ Static Traffic Assignment

➢ Dynamic Traffic Assignment (continuous or discrete)

Page 12: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

STA

Page 13: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

VI on Static Traffic Assignment Problem (STA)

Frank

Wolfe

Algorithm

Page 14: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

VI on Static Traffic Assignment Problem (STA)

Nonlinear Complementarity Problem (NCP)

Page 15: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Traffic Problem Nonlinear complementarity problem

VI on Static Traffic Assignment Problem (STA)

Page 16: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

VI on Static Traffic Assignment Problem (STA)

❖ Limitation

➢ Unrealistic to find all

path for a big graph

Page 17: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

VI on Static Traffic Assignment Problem (STA)

❖ Solution

➢ Find 7 nonsimilar path for each OD-pair to reduce Matrix size

➢ Use Shortest Path Algorethm

➢ Get approximate Optimization

Page 18: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

AlgorithmStep 1: Use One to All shortest path algorithm to find 7 paths for each OD pair. Here the solver uses nvGRAPH package in CUDA library which runs on GPU.

nvgraphStatus_t nvgraphSssp (nvgraphHandle_t,const nvgraphGraphDescr_t , const size_t, const int *, const size_t);

Page 19: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

AlgorithmStep 2: Convert all data in to NCP formulation in Siconos, which is a non-smooth numerical simulation package

Page 20: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

AlgorithmStep 3: Use NCP FBLSA Algorithm to solve the problem with given error bound. Here the solver uses Siconos and MUMPS library, which is a parallel sparse direct solver using MPI.

info = ncp_driver(problem, z, F, &options);

Page 21: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Sample input

Page 22: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Result with 4 OD Pair

Page 23: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Result with 24 OD Pair

Page 24: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Result The accuracy varies with path number for each OD pair

Page 25: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Analysis - Compared with Frank Wolfe Algorithm

NCP:

1. Dominant cost: Matrix solver

2. Approximate optimize

3. A little faster when graph is big

and with a few OD pair (Matrix

size is OD pair number + path

number)

FW:

1. Dominant cost: shortest path

algorithm

2. Real Optimize

3. Faster when OD pair is more

Page 26: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Conclusion

1. Frank Wolfe Algorithm is still better than NCP Algorithm in general.

2. In special cases, when graph is big and number of OD - Pair is little NCP

Algorithm is faster than Frank Wolfe Algorithm.

3.When select 7 paths for each OD - pair in NCP algorithm, the result

accuracy can reach 95%.

Page 27: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Future Work

❖ Do comprehensive tests

❖ Use cuSPARSE direct calculate Sparse Matrix

Page 28: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

DTA

Page 29: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Mathematical Formulation

➢ Variational Inequality formulation:

○ Nash equilibrium nature

Page 30: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Mathematical Formulation

➢ Dynamic Network Loading:

○ Given h, return path delay operator

○ Approximated by ODE systems

Page 31: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

DTA: Algorithm

➢ OverviewInput hk for all p

while (convergence condition == true)

ODE = makeOde(hk)

hk+1 = iteration(Phi,v) for all p

x = solution(ODE)

Phi = getPhi(x)

v = getV(Phi), for all p

...

...

...

Output hk+1 for all p

...

...

...

Page 32: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

DTA: Algorithm

➢ ODE = make_ODE(h)

➢ x = solution(ODE)

Page 33: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

DTA: Algorithm

➢ Dp = getDp(x)

○ x: arc volume

○ Dp: traversal time

○ Phi: cost function

➢ Phi = getPhi(Dp)

○ F: penalty function

Page 34: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

DTA: Algorithm

➢ v = solution(Phi)

➢ h_k+1 = iteration(h_k)

Page 35: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Result: Sioxfalls network

Page 36: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Result: Departure rate and Optimum cost

Page 37: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

Future Work

➢ High speed

➢ Large practical case

Page 38: Traffic assignment presentationI - University of …...Traffic Assignment Problem Given: 1. A graph representation of the urban transportation network 2. The associated link performance

END