Formulating the Assignment Problem as a Mathematical Program

Slides:



Advertisements
Similar presentations
Price Of Anarchy: Routing
Advertisements

SIMPLEX METHOD FOR LP LP Model.
1 Transportation problem The transportation problem seeks the determination of a minimum cost transportation plan for a single commodity from a number.
How Bad is Selfish Routing? By Tim Roughgarden Eva Tardos Presented by Alex Kogan.
Chapter 4: Network Layer
Branch and Bound Similar to backtracking in generating a search tree and looking for one or more solutions Different in that the “objective” is constrained.
Approximation Algorithms
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley Asynchronous Distributed Algorithm Proof.
Linear Programming Applications
TRIP ASSIGNMENT.
Linear programming. Linear programming… …is a quantitative management tool to obtain optimal solutions to problems that involve restrictions and limitations.
EE 369 POWER SYSTEM ANALYSIS
5  Systems of Linear Equations: ✦ An Introduction ✦ Unique Solutions ✦ Underdetermined and Overdetermined Systems  Matrices  Multiplication of Matrices.
Managerial Economics Managerial Economics = economic theory + mathematical eco + statistical analysis.
Flow Models and Optimal Routing. How can we evaluate the performance of a routing algorithm –quantify how well they do –use arrival rates at nodes and.
LINEAR PROGRAMMING SIMPLEX METHOD.
Some network flow problems in urban road networks Michael Zhang Civil and Environmental Engineering University of California Davis.
Chapter 6 Linear Programming: The Simplex Method Section 4 Maximization and Minimization with Problem Constraints.
EASTERN MEDITERRANEAN UNIVERSITY Department of Industrial Engineering Non linear Optimization Spring Instructor: Prof.Dr.Sahand Daneshvar Submited.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley.
Log Truck Scheduling Problem
Introduction to Optimization
Copyright ©2015 Pearson Education, Inc. All rights reserved.
Searching a Linear Subspace Lecture VI. Deriving Subspaces There are several ways to derive the nullspace matrix (or kernel matrix). ◦ The methodology.
D. AriflerCMPE 548 Fall CMPE 548 Routing and Congestion Control.
D Nagesh Kumar, IISc Water Resources Systems Planning and Management: M2L2 Introduction to Optimization (ii) Constrained and Unconstrained Optimization.
 This will explain how consumers allocate their income over many goods.  This looks at individual’s decision making when faced with limited income and.
Chapter 9: Systems of Equations and Inequalities; Matrices
An Introduction to Linear Programming
Linear Programming for Solving the DSS Problems
Linear Programming Many problems take the form of maximizing or minimizing an objective, given limited resources and competing constraints. specify the.
Engineering Economics (2+0)
Modeling and Simulation Dr. Mohammad Kilani
St. Edward’s University
Chapter 4 Systems of Linear Equations; Matrices
Chapter 11 Optimization with Equality Constraints
5 Systems of Linear Equations and Matrices
The minimum cost flow problem
Linear Programming Dr. T. T. Kachwala.
Learning Outcomes After completing this ppt the student will be able to: Make and interpret a basic Routh table to determine the stability of a system.
URBAN TRANSPORTATION NERWORKS
(Modeling of Decision Processes)
Flow in Network.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Ch 2.1: Linear Equations; Method of Integrating Factors
Chapter 1. Introduction Mathematical Programming (Optimization) Problem: min/max
Linear Programming.
Introduction to linear programming (LP): Minimization
The Simplex Method.
Solving For User Equilibrium Chapter 5
Engineering Analysis I
MATS Quantitative Methods Dr Huw Owens
Lial/Hungerford/Holcomb/Mullins: Mathematics with Applications 11e Finite Mathematics with Applications 11e Copyright ©2015 Pearson Education, Inc. All.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Linear Programming I: Simplex method
Chapter 5 Transportation, Assignment, and Transshipment Problems
Maths for Signals and Systems Linear Algebra in Engineering Lectures 13 – 14, Tuesday 8th November 2016 DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR)
Chapter 7: Systems of Equations and Inequalities; Matrices
Chapter 6 Network Flow Models.
Derivatives in Action Chapter 7.
Chapter 7 Functions of Several Variables
Chapter 4 Systems of Linear Equations; Matrices
Transportation Systems Analysis
TBF General Mathematics - II Lecture – 9 : Linear Programming
Simplex method (algebraic interpretation)
16. Mean Square Estimation
Copyright © Cengage Learning. All rights reserved.
Multivariable optimization with no constraints
Presentation transcript:

Formulating the Assignment Problem as a Mathematical Program Transportation Systems Analysis Chapter 3 Formulating the Assignment Problem as a Mathematical Program Meeghat Habibian

Traffic Assignment Problem Find link flows given : origin-destination trip rates The network Link performance functions

Solution Basis behavioral assumption motorists travel on paths with minimum travel time

link-flow pattern travel time on used paths less or equal to unused paths travel times equal on all used paths no motorist can lower travel time by unilaterally changing routes.

graphical methods for small networks Solution graphical methods for small networks Analytical solution (next slide) big networks

Solution method Approach for solving large problems: equivalent minimization method. Requires formulation of a mathematical program.

Notation Network represented by a directed graph. N …set of consecutively numbered nodes. A …set of consecutively numbered arcs (links). R …set of origin centroids. S …set of destination centroids. NOTE THAT R ∩ S ≠ Ø

Ta & Xa travel time & flow on link a. Krs set of routes in the network. origin-destination matrix: q with entries qrs. frsk & crsk flow & travel time on path k connecting origin r & destination s.

Path travel time: sum of link travel time comprising the path Note 1 Path travel time: sum of link travel time comprising the path

link flow as a function of path flows Note 2 link flow as a function of path flows

What is the meaning of this equation? Question What is the meaning of this equation?

flow on each arc is sum of flows on all paths going through that arc Answer flow on each arc is sum of flows on all paths going through that arc

Notation δrsa,k = 1 if link a is part of path k connecting O-D pair r- s (0 otherwise). Δrs is link-path incidence matrix for O-D pair r-s.

Note… in other words………….………. (Δrs)a,k = δrsa,k incidence matrix rows equals the number of links in the network and the number of columns equals the number of paths between origin r and destination s. The element in the ath row and kth column of Δrs is δrsa,k , in other words………….………. (Δrs)a,k = δrsa,k

Example… This network includes two O-D pairs: 1-4 and 2-4

Example assumes… First O-D path1 First O-D path2 & second O-D path1 second O-D path2 the first path from origin node 1 to destination node 4 uses links 1 and 3 and the second one uses links 1 and 4. Similarly, the first path from origin node 2 to destination node 4 uses links 2 and 3 and the second one uses links 2 and 4

Example… First O-D path1 For example, δ141,1 = 1 (since link 1 is on path 1 from node 1 to node 4), but δ243,2 = 0 (since link 3 is not on the second path from node 2 to node 4)

Example… First O-D path2 second O-D path2

Example… The incidence matrix for the network example depicted in Figure can be written as follows:

The basic mathematical formulation The problem formulation is known as Beckmann's transformation. It has been evident in the transportation literature since the mid-1950s. but its usefulness became apparent only when solution algorithms for this program were developed in the late 1960s and early 1970s

The basic mathematical formulation Objective function subject to The definitional constraints

The basic mathematical formulation In this formulation, the objective function is the sum of the integrals of the link performance functions. This function does not have any intuitive economic or behavioral interpretation. It should be viewed strictly as a mathematical construct that is utilized to solve equilibrium problems

About objective function… The objective function of program z(x), is formulated in terms of link flows, whereas the flow conservation constraints are formulated in terms of path flows.

Formulation assumptions First assumption is that the travel time on each link is a function of the flow on that link only and not of the flow on any other link in the network. In addition, the link performance functions are assumed to be positive and increasing.

Typical link performance function

Performance curves assumption result The assumptions on the performance curves can be written mathematically as:

Example The volume-delay curves for the two links are given by: tl = 2 + x1 t2 = 1 +2x2 The O-D flow, q, is 5 units of flow.

Solution… The equilibrium condition for this example can be expressed as t1 ≤t2 if x1 >0 and t1 ≥t2 if x2 > 0

Solution… at equilibrium and the last equation can therefore be written simply : t1 = t2 Graphical user equilibrium flow pattern x1 = 3 flow units x2 = 2 flow units t1 = t2 = 5 time units

Solution… When the problem is formulated as a minimization program, the result is the following: Subject to X1 + X2 =5 x l , x2 ≥ 0 To set the problem up as a simple one-dimensional unconstrained minimization, x2 = 5 – x1 can be substituted into the objective function.

Solution… And so … Subject to 5 -X1 ≥0 x l ≥ 0 Carrying out the integration and collecting similar terms, the objective function becomes Z(x1) = 1.5x12 - 9x1 + 30

Solution… This function attains its minimum at x1* = 3, where dz(x1)/dxl = 0. This solution satisfies the two constraints in Equation and is therefore a minimum of the constrained program as well. And finally x2* = 2 & t1 = t2 =5

EQUIVALENCY CONDITIONS To demonstrate this EQUIVALENCY it has to be shown that any flow pattern that solves also satisfies the equilibrium conditions.

EQUIVALENCY CONDITIONS This equivalency is demonstrated in this section by proving that the first-order conditions for the minimization program are identical to the equilibrium conditions.

EQUIVALENCY CONDITIONS by finding a minimum point of the program, an equilibrium flow pattern is obtained.

EQUIVALENCY CONDITIONS the Lagrangian of the equivalent minimization problem with respect to the equality constraints can be formulated as: [1]

EQUIVALENCY CONDITIONS given that L(f, u) has to be minimized with respect to nonnegative path flows, that is,

EQUIVALENCY CONDITIONS At the stationary point of the Lagrangian, the following conditions have to hold with respect to the path-flow variables: [2.a] & [2.b]

EQUIVALENCY CONDITIONS The first-order conditions expressed in Eq.[2.a] can be obtained explicitly by calculating the partial derivatives of L(f, u) with respect to the flow variables, flnm, and substituting the result into[2.a]. This derivative is given by [3]

EQUIVALENCY CONDITIONS [3] The first term on the right-hand side of Eq. [3] is the derivative of the objective function with respect to flmn. This derivative can be evaluated by using the chain rule: [4]

EQUIVALENCY CONDITIONS [4] Each term in the sum on the right-hand side of eq.[4] is the product of two quantities: The first quantity is әz(x)/әxb, which can be easily calculated since the travel time on any link is a function of the flow on that link only. Hence [5.a]

EQUIVALENCY CONDITIONS [4] The second quantity in the product is the partial derivative of a link flow with respect to the flow on a particular path. [5.b]

EQUIVALENCY CONDITIONS Substituting the last two expressions into Eq. [4], the derivative of the objective function with respect to the flow on a particular path becomes. [6] In other words, it is the travel time on that particular path.

EQUIVALENCY CONDITIONS [3] The second type of term in Eq. [3] is even simpler to calculate since Thus (since qrs is a constant and urs is not a function of flmn) this term becomes [7]

EQUIVALENCY CONDITIONS Substituting both [7] and [6] into Eq. [3], the partial derivative of the Lagrangian becomes [8]

EQUIVALENCY CONDITIONS The general first-order conditions for the minimization program can now be expressed explicitly as [9.a] [9.b] [9.c] [9.d]

EQUIVALENCY CONDITIONS [9.b] [9.c] [9.d] Conditions [9.c] and [9.d] are simply the flow conservation and nonnegativity constraints, respectively. These constraints([9.c] and [9.d] ), naturally, hold at the point that minimizes the objective function.

EQUIVALENCY CONDITIONS Conditions [9.a] & [9.b] hold for each path between any O-D pair in the network. these conditions hold for two possible combinations of path flow and travel time.

EQUIVALENCY CONDITIONS [9.b] [9.c] [9.d] if the flow on that path is zero, then the travel time on path, crsk, must be greater than or equal to urs (as required by Eq. [9.b]).

EQUIVALENCY CONDITIONS [9.b] [9.c] [9.d] if flow on the kth path is positive, in which case crks = urs and both Eqs. [9.a] and [9.b] hold as equalities.

EQUIVALENCY CONDITIONS In any event, the Lagrange multiplier of a given O-D pair is less than or equal to the travel time on all paths connecting this pair. Thus urs equals the minimum path travel time between origin r and destination s.

UNIQUENESS CONDITIONS the UE equivalent minimization program has only one solution.

UNIQUENESS CONDITIONS For that: objective function most be strictly convex in the vicinity of x* . and the feasible region is convex too.

UNIQUENESS CONDITIONS The convexity of the feasible region is assured for linear equality constraints. Non negativity constraints does not alter this characteristic.

UNIQUENESS CONDITIONS To demonstrates that the objective function is convex , most calculate and prove Hessian. The Hessian is calculated by using a representative term of the matrix.

UNIQUENESS CONDITIONS The derivative of z(x) is therefore taken with respect to the flow on the mth and nth links. First, Second, Note: The second resulted form the link performance assumption

UNIQUENESS CONDITIONS In other words:

UNIQUENESS CONDITIONS This matrix is positive definite since it is a diagonal matrix with strictly positive entries. The objective function is thus strictly convex. The feasible region is convex as well. The UE program has a unique minimum.

New problem…!!! The strict convexity of the UE program was established above with respect to the link flows. This program is not convex with respect to path flows. in fact, the equilibrium conditions themselves are not unique with respect to path flows.

Example… The network includes two origin-destination pairs connected by two paths .

Example… f151=2 f151=0 f152=0 f152=2 f251=1 f252=2 f251=3 f252=0 The equilibrium link flows for this example are given by x1 = 2, x2 = 3,x3 = 3, x4 = 2, and x5 = 5. These equilibrium flows can be achieved by many combinations of path flows; for example: or

Example… Both these path-flow patterns generate the same link-flow pattern shown in Figure In fact, any path-flow pattern that satisfies: for any value of a such that 0 < a < 1 will generate the equilibrium link-flow pattern in this example.

SYSTEM OPTIMIZATION the UE minimization program is a mathematical construct that lacks an intuitive interpretation. UE describe the flow pattern that each motorist's choice of the shortest travel-time.

SYSTEM OPTIMIZATION The system optimization formulation has straightforward interpretation. It is subject to the same constraints as the UE equivalent program.

SYSTEM OPTIMIZATION The objective function of this program is the total travel time spent in the network. this Program is known as the system-optimization (SO) program. The flow pattern that minimizes this program does not generally represent an equilibrium situation.

SYSTEM OPTIMIZATION In general, it can result such that all motorists act so as to minimize the total system travel time rather than their own. In other words, at the SO flow pattern, drivers may be able to decrease their travel time by unilaterally changing routes.

SYSTEM OPTIMIZATION the SO flow pattern is not stable and should not be used as a model of actual behavior and equilibrium.

SYSTEM OPTIMIZATION the SO significance is that the value of the SO objective function may serve as a yardstick . Indeed, total travel time is a common measure of performance of a network.

SYSTEM OPTIMIZATION First-order conditions are necessary conditions for a minimum for the SO program. These can be achieved from lagrangian: [10.a] [10.b]

SYSTEM OPTIMIZATION The first-order conditions for a stationary point of Eqs.[10] are : [11.a] As well as [11.b] and [11.c]

SYSTEM OPTIMIZATION [11.a] Conditions [11.a] can be expressed explicitly by deriving the partial derivatives of the Lagrangian with respect to the path flows. These derivatives are given by: [12]

SYSTEM OPTIMIZATION [12] The partial derivative of Lagrangian [12] consists of two terms, which are calculated separately below: [13]

SYSTEM OPTIMIZATION The first term on the right-hand side of Eq. [12] includes the partial derivative of the SO objective functions with respect to the flow on path l between origin m and destination n. This derivative is given by: [14]

SYSTEM OPTIMIZATION This derivative can be interpreted, intuitively, by letting: This value can be interpreted as the marginal contribution of an additional traveler on the a link to the total travel time on this link. Using the new travel time variable, ta , Eq. [14] can be written as: [15]

SYSTEM OPTIMIZATION The first-order conditions for the SO program can now be written as: [16.a] [16.b] [16.c] [16.d]

SYSTEM OPTIMIZATION For the solution of the program SO to be unique, it is sufficient to show that the Hessian of z(x) is positive definite. that is, and

SYSTEM OPTIMIZATION Resulting the positive definite Hessian matrix due to the positive diagonal elements (the performance functions are convex) the SO program has a unique minimum in terms of link flows.

UE AND SO when congestion effects are ignored, both UE and SO programs will produce identical results. Imagine a network where ta(xa) = t'a.

UE AND SO In this case, the SO objective function would be z(x) = ∑xat'a and the UE objective function: [17.a] a [17.b]

UE AND SO this traffic assignment procedure is known as the "all-or-nothing" assignment. The resulting flow pattern is both an equilibrium situation and an optimal assignment.

UE AND SO For example, if the travel times over the network are expressed in terms of the solution of the UE program with these travel times will produce an SO flow pattern. Similarly, the SO formulation with link travel-time functions given by: will result in a UE flow pattern.

UE AND SO In cases in which the flow over the network is relatively low, the network links are not congested. The marginal travel time on each link, is very small due to the shape of the link performance functions. In this case, the UE and SO flow patterns are similar since the travel times are almost insensitive to additional flows.

UE AND SO As the flows between origins and destinations increase, the UE and SO patterns become increasingly dissimilar. Large flows mean that some links carry an amount of flow which is near their capacity. For understand this better an example is presented in the next slide…

UE AND SO Example… If the total O-D flow is q, the UE solution will be the one shown in the figure with x1 = 0 and x2 = q.

UE AND SO In this case, t2(q) < t1(0), and no user will choose to travel on the freeway. Note, that the derivative of t2(x2) at x = q , dt2(q)/dx2 is relatively large and it is therefore possible That ῖ1(0) < ῖ2(q).

UE AND SO In other words, this solution is not optimal from the system perspective. The SO solution to this problem may include some flow using the top route as well.

Braess's paradox Path 1 Path 2

User Equilibrium Solution half the flow would use each path and the solution would be: f1 = 3, f2 = 3 flow units x1= 3, x2 = 3, x3 = 3, x4 = 3 flow units t1 = 53, t2 = 53, t3 = 30, f4 = 30 time units c1= 83, c2 = 83 time units

Braess's paradox x1= 3 & x4 = 3 t1 = 53 & t4 = 53 f1 = 3 & c1 = 83 Path 1 x3= 3 & x2 = 3 t3 = 53 & t2 = 53 f2 = 3 & c2 = 83 Path 2

Braess's paradox Path 1 1 4 Path 2 Path 3 3 2

User Equilibrium Solution 1 According to UE solution… 4 3 2 f1 = 2, f2 = 2, f3 = 2 flow units c1= 92, c2 = 92, c3 = 92 time units

Braess's paradox f1 = 2 & c1=92 Path 1 1 4 f2 = 2 & c2=92 Path 2 3 2

Important node… the total travel time in the new network is now 552 (flow time) units as compared to 498 (flow time) units before the link addition.

Explain… The increase in travel time is rooted in the essence of the user equilibrium, where each motorist minimizes his or her own travel time.

Explain… The individual choice of route is carried out with no consideration of the effect of this action on other network users.

Looking mathematically… the supply action (adding a link) was taken with the intention of reducing the SO objective function.

Looking mathematically… If flow before and after the link addition assigned according to the SO, the total travel time could not increased.

Note… From a more general perspective, Braess's paradox underscores the importance of a careful and systematic analysis of investments in urban networks.

Note… From a more general perspective, Braess's paradox underscores the importance of a careful and systematic analysis of investments in urban networks.

Note… For example restriction of travel choices and reductions in capacity may lead to better overall flow distribution patterns.

Thanks a lot…