MFDS - All Webinars-Min
MFDS - All Webinars-Min
G. Venkiteswaran
[email protected]
BITS Pilani
Work Integrated Learning Programmes
Application Example – Traffic control
● Figure shows the flow of downtown traffic in a certain city during the rush
hours on a typical week day. The arrows indicate the direction of traffic flow
on each one – way road, and the average number of vehicles per hour
entering and leaving each intersection appears beside the road. 5th Avenue
and 6th Avenue can each handle up to 2000 vehicles per hour without causing
congestion, whereas the maximum capacity of both 4th Street and 5th Street is
1000 vehicles per hour. The flow of traffic is controlled by traffic lights
installed at each of the four intersections.
Q1 : Write a general expression involving the
rates of flow – x1, x2 ,x3 ,x4 and suggest two
possible flow patterns that will ensure no
traffic congestion
Q2: Suppose the part of 4th street between 5th
Avenue and 6th Avenue is to be resurfaced
and that traffic flow between the two junctions
must be therefore reduced to at most 300
vehicles per hour. Find two possible flow
patterns that will result in a smooth flow of
traffic
Traffic control System of linear equations:
x1 + x4 = 1500
x1 + x2 = 1300
x2 + x3 = 1800
x3 + x4 = 2000
⎡ 1 0 0 1 ⎤ 1500
⎢ ⎥ Row operations
⎢ 1 1 0 0 ⎥ 1300
⎢ 0 1 1 0 ⎥ 1800
⎢ ⎥ 2000
⎣ 0 0 1 1 ⎦
1 0 0 1 1500
x1 = 1500 t 0 1 0 −1 -200
x2 = -200 + t 0 0 1 1 2000
x3 = 2000 t 0 0 0 0 0
x4 = t
The null space of a real m x n matrix A is defined to be set of all real solutions
to the associated homogeneous linear system Ax = 0
F
Changes in Right Hand Side – Feasibility Ranges
D
Changes in Right Hand Side
Questions
Changes in the Objective Coefficients
C
Changes in the Objective Coefficients
Green Points
represent points
that are included in
the graph while
red points are not
included
ϕ
BITS Pilani, Pilani Campus
Poset
12 18 27
27,48,60,72
b)Find the minimal elements
4 6 9 2,9
c)Is there a greatest element?
2
Does not exist
d)Is there a least element?
Does not exist
BITS Pilani, Pilani Campus
Poset
Problem 34/Page 519:
Answer these questions for
72 the poset
({2,4,6,9,12,18,27,36,48,60,72},|)
60 48 36 e)Find all upper bounds of {2,9}
18,36,72
12 18 27
f)Find the least upper bound of
{2,9} if exists
4 6 9
Least Upper bound = 18
2
g) Find all lower bounds of {60,72}
Lower Bounds = 2,4,6,12
h)Find the greatest lower bound
of {60,72}, if it exists
Greatest Lower Bound = 12
BITS Pilani, Pilani Campus
Lattice
RED RED
BLUE BLUE
RED
RED
It is possible to color the vertices RED or BLUE so that no two adjacent vertices
are the same color. Hence above graph is BIPARTITE
BITS Pilani, Pilani Campus
Graph Isomorphism
1 4 4 3 1
1 1 1
1 1
1 4 3 4 1
1 1 1
A) Path is simple, as none of edges are used more than once, length
of the path is 4, which is the number of edges in the path
B) Path is not simple as edges (a,d) and (d,a) are used twice,
length is 4
BITS Pilani, Pilani Campus
Euler Path and Circuit
The town of Kӧnigsberg, Prussia (now Kalingrad, Russia) was divided
into four sections by the branches of the Pregel river. In the 18th century
seven bridges connected these regions.
People wondered whether whether it was possible to follow a path that
crosses each bridge exactly once and returns to the starting point.
The Swiss mathematician Leonard Euler proved that no such path exists.
This result is often considered to be the first theorem ever proved in
graph theory.
Multigraph
Model of the
Bridges of
Kӧnigsberg
The 7 Bridges of K nigsberg
Only two
vertices
have Odd
degree
hence there
is EULER
PATH and
no Euler
Circuit