Professional Documents
Culture Documents
Transpoeng - 7.8 Trip Assignment
Transpoeng - 7.8 Trip Assignment
8 Trip Assignment
Trip Assignment
The goal of this travel demand forecasting phase is to predict the traveler’s route choice
and, hence, the traffic on network links. For example, if a trip goes from a suburban to
downtown, the model predicts the specific streets or transit routes to be used.
Basic Terminologies
Network – consists of a set of points and a set of lines connecting certain pairs of
points.
Nodes – the points on the network
Supply Node – has the property that the flow out of the node exceeds that flow
into the node
Demand Node – the flow into the node exceeds the flow out of the node
Transshipment Node – satisfies conversation of flow, so flow in equals flow out.
Arc – the lines on the network
Directed arc – flow through an arc is only in one direction
Undirected arc – flow through an arc is in either direction
Links – are usually referred to as undirected arcs
Arc Capacity – the maximum amount of flow carried on a directed arc.
Path – A path b/n two nodes is a sequence of distinct arcs connecting these nodes
Directed Path – A directed path from node i to node j is a sequence of
connecting arcs whose direction is toward j
Undirected Path – An undirected path from node i to node j is a sequence of
connecting arcs whose direction can either toward or away from node j
Cycle – a path that begins and ends at the same node
Cycle – a path that begins and ends at the same node
Shortest-Route Method
Objective: To determine the shortest path from the source node 1 to the sink node n
Given:
A network of ‘n’ nodes denoted by (1,2,...,n)
To each are (i,j), there is a nonnegative number dij called the distance or transit time
from node i to node
When there is no way of getting from i to j, we set dij = +
Dijkstra’s Algorithm
Assumptions:
1. There is a direct distance between any two nodes (dij) in the network of n nodes.
2. All the distances are nonnegative
Prestep:
Step 1:
Step 1:
Step 2:
By retracing the path backwards from the sink node to the source node, the minimal path
can be constructed.
Example:
The municipal planning engineer would like to identify the shortest path coming from all
the 7 barangays of the municipality going to the municipal center and vice-versa. The
roads along these shortest paths will be made into all-weather roads to make them
passable all year round. The values along the links are in kilometers.
Solution:
This is a shortest-route problem that can be solved using Dijkstra’s Algorithm.
1st Iteration:
2nd Iteration:
3rd Iteration:
4th Iteration:
5th Iteration:
6th Iteration:
th
7th Iteration:
8th Iteration:
Summary of Observation:
1. Road segments 1-3, 3-2, 3-4, 4-6, 6-5, 5-7, and 6-8 are roads to be converted to
all-weather roads.
2. Therefore, the shortest paths from the municipality (Node 1) to each barangays
are the ff:
Recommended Video:
https://www.youtube.com/watch?v=qjSLM3-ENxU (https://www.youtube.com/watch?
v=qjSLM3-ENxU)
(https://www.youtube.com/watch?v=qjSLM3-ENxU)