Department of Industrial Engineering

Slides:



Advertisements
Similar presentations
Random Processes Markov Chains Professor Ke-Sheng Cheng Department of Bioenvironmental Systems Engineering
Advertisements

Stationary Probability Vector of a Higher-order Markov Chain By Zhang Shixiao Supervisors: Prof. Chi-Kwong Li and Dr. Jor-Ting Chan.
Discrete time Markov Chain
To Queue or Not to Queue? Physical queues can be really stressful and exhausting…
Lecture 6  Calculating P n – how do we raise a matrix to the n th power?  Ergodicity in Markov Chains.  When does a chain have equilibrium probabilities?
Flows and Networks Plan for today (lecture 2): Questions? Continuous time Markov chain Birth-death process Example: pure birth process Example: pure death.
Discrete Time Markov Chains
Markov Chains 1.
TCOM 501: Networking Theory & Fundamentals
1 Part III Markov Chains & Queueing Systems 10.Discrete-Time Markov Chains 11.Stationary Distributions & Limiting Probabilities 12.State Classification.
Entropy Rates of a Stochastic Process
Introduction to stochastic process
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Review.
Stochastic Differentiation Lecture 3 Leonidas Sakalauskas Institute of Mathematics and Informatics Vilnius, Lithuania EURO Working Group on Continuous.
If time is continuous we cannot write down the simultaneous distribution of X(t) for all t. Rather, we pick n, t 1,...,t n and write down probabilities.
2003 Fall Queuing Theory Midterm Exam(Time limit:2 hours)
CSE 3504: Probabilistic Analysis of Computer Systems Topics covered: Discrete time Markov chains (Sec )
Basic Definitions Positive Matrix: 5.Non-negative Matrix:
6. Markov Chain. State Space The state space is the set of values a random variable X can take. E.g.: integer 1 to 6 in a dice experiment, or the locations.
Flows and Networks Plan for today (lecture 5): Last time / Questions? Waiting time simple queue Little Sojourn time tandem network Jackson network: mean.
Gram-Schmidt Orthogonalization
1 Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,
Markov Decision Processes1 Definitions; Stationary policies; Value improvement algorithm, Policy improvement algorithm, and linear programming for discounted.
Flows and Networks Plan for today (lecture 6): Last time / Questions? Kelly / Whittle network Optimal design of a Kelly / Whittle network: optimisation.
Analysis of M/M/c/N Queuing System With Balking, Reneging and Synchronous Vacations Dequan Yue Department of Statistics, College of Sciences Yanshan University,
Networks of Queues Plan for today (lecture 6): Last time / Questions? Product form preserving blocking Interpretation traffic equations Kelly / Whittle.
1 Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,
Networks Plan for today (lecture 8): Last time / Questions? Quasi reversibility Network of quasi reversible queues Symmetric queues, insensitivity Partial.
IEEE ICCA 2010 – Xiamen, June 11, 2010 On Closed Form Solutions for Equilibrium Probabilities in the Closed Lu-Kumar Network under Various Buffer Priority.
Why Wait?!? Bryan Gorney Joe Walker Dave Mertz Josh Staidl Matt Boche.
Markov Chains X(t) is a Markov Process if, for arbitrary times t1 < t2 < < tk < tk+1 If X(t) is discrete-valued If X(t) is continuous-valued i.e.
Chapter 61 Continuous Time Markov Chains Birth and Death Processes,Transition Probability Function, Kolmogorov Equations, Limiting Probabilities, Uniformization.
Model under consideration: Loss system Collection of resources to which calls with holding time  (c) and class c arrive at random instances. An arriving.
1 Markov chains and processes: motivations Random walk One-dimensional walk You can only move one step right or left every time unit Two-dimensional walk.
Flows and Networks Plan for today (lecture 2): Questions? Birth-death process Example: pure birth process Example: pure death process Simple queue General.
1 Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,
By: Jesse Ehlert Dustin Wells Li Zhang Iterative Aggregation/Disaggregation(IAD)
1.7 Linear Independence. in R n is said to be linearly independent if has only the trivial solution. in R n is said to be linearly dependent if there.
WORKSHOP ERCIM Global convergence for iterative aggregation – disaggregation method Ivana Pultarova Czech Technical University in Prague, Czech Republic.
11. Markov Chains (MCs) 2 Courtesy of J. Bard, L. Page, and J. Heyl.
Flows and Networks Plan for today (lecture 3): Last time / Questions? Output simple queue Tandem network Jackson network: definition Jackson network: equilibrium.
ILAS Threshold partitioning for iterative aggregation – disaggregation method Ivana Pultarova Czech Technical University in Prague, Czech Republic.
Flows and Networks Plan for today (lecture 6): Last time / Questions? Kelly / Whittle network Optimal design of a Kelly / Whittle network: optimisation.
QUEUING. CONTINUOUS TIME MARKOV CHAINS {X(t), t >= 0} is a continuous time process with > sojourn times S 0, S 1, S 2,... > embedded process X n = X(S.
Flows and Networks (158052) Richard Boucherie Stochastische Operations Research -- TW wwwhome.math.utwente.nl/~boucherierj/onderwijs/158052/ html.
Networks (3TU) Plan for today (lecture 5): Last time / Questions? Tandem network Jackson network: definition Jackson network: equilibrium distribution.
Discrete Time Markov Chains (A Brief Overview)
Discrete-time Markov chain (DTMC) State space distribution
Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,
Flows and Networks Plan for today (lecture 3):
Industrial Engineering Dep
Much More About Markov Chains
Flows and Networks Plan for today (lecture 4):
Al-Imam Mohammad Ibn Saud University
Department of Industrial Engineering
Discrete-time markov chain (continuation)
Markov Chains Carey Williamson Department of Computer Science
Lecture 4: Algorithmic Methods for G/M/1 and M/G/1 type models
Flows and Networks Plan for today (lecture 6):
Sachin Jayaswal Department of Management Sicences
Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,
1.3 Vector Equations.
Linear Algebra Lecture 37.
Linear Algebra Lecture 3.
September 1, 2010 Dr. Itamar Arel College of Engineering
Carey Williamson Department of Computer Science University of Calgary
Maths for Signals and Systems Linear Algebra in Engineering Lectures 4-5, Tuesday 18th October 2016 DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN.
Discrete-time markov chain (continuation)
CS723 - Probability and Stochastic Processes
CS723 - Probability and Stochastic Processes
Presentation transcript:

Department of Industrial Engineering Lecture 5: Algorithmic Methods for for finite Quasi-birth death processes Dr. Ahmad Al Hanbali Department of Industrial Engineering University of Twente a.alhanbali@utwente.nl Lecture 5: Finite QBDs

Lecture 5 This Lecture deals with continuous time Markov chains with finite state space and special structure as opposed to infinite space Markov chains in Lecture 3 and 4 Objective: To find equilibrium distribution of the Markov chain Lecture 5: Finite QBDs

Finite Quasi-Birth Death processes In many applications, the level is the number of customers in a system can be finite Subset of state space with common 𝑖 entry is called level 𝑖 (0≤ 𝑖≤𝑀) and denoted 𝑙(𝑖)={(𝑖,0),(𝑖,1),…,(𝑖,𝑚−1)}. This means state space is restricted ∪ 0≤𝑖≤𝑀 𝑙(𝑖) The generator of the irreducible continuous time finite QBD has the following form 𝑄= 𝐵 00 𝐴 2 0 ⋮ ⋮ ⋮ 0 𝐴 0 𝐴 1 𝐴 2 ⋱ ⋱ ⋱ ⋱ 0 𝐴 0 𝐴 1 ⋱ ⋱ ⋱ ⋱ 0 0 𝐴 0 ⋱ ⋱ 𝐴 2 0 … ⋱ ⋱ ⋱ ⋱ 𝐴 1 𝐴 2 0 ⋱ ⋱ ⋱ ⋱ 𝐴 0 𝐵 𝑀𝑀 How to find the equilibrium probabilities, 𝑝𝑄=0? Three methods Lecture 5: Finite QBDs

Method 1: Linear level reduction Let us define the following matrices: 𝐶 0 = 𝐵 00 , 𝐶 𝑖 = 𝐴 1 − 𝐴 2 𝐶 𝑖−1 −1 𝐴 0 , 1≤𝑖≤𝑀−1, 𝐶 𝑀 = 𝐵 𝑀𝑀 − 𝐴 2 𝐶 𝑀−1 −1 𝐴 0 , - 𝐶 𝑖 −1 𝐴 0 records first passage probabilities from 𝑙 𝑖 to 𝑙 𝑖+1 Theorem: the equilibrium probability 𝑝= 𝑝 0 ,…, 𝑝 𝑀 is determined by: 𝑝 𝑀 𝐶 𝑀 =0, 𝑝 𝑖 =− 𝑝 𝑖+1 𝐴 2 𝐶 𝑖 −1 , ≤𝑖≤𝑀−1, 𝑖=0 𝑀 𝑝 𝑖 𝑒 =1 In the theorem here we are cutting off the levels from the level 0 and moving up to level M. One might also proceed in the reverse direction by starting to cut off level M down to level 0. Lecture 5: Finite QBDs

Method 2: Method of Folding (1) Assume that 𝑀=2K. Partition the state space into two subsets 𝐸 with even numbered levels and 𝐸 𝑐 with odd numbered levels Reorder the levels of finite QBD such that the levels in 𝐸 comes first. Then Q becomes: 𝑄= 𝐵 00 𝐴 2 𝐴 1 𝐴 0 𝐴 2 ⋱ ⋱ ⋱ 𝐴 1 𝐴 0 𝐴 2 𝐵 𝑀𝑀 𝐴 0 𝐴 0 𝐴 2 𝐴 1 𝐴 0 𝐴 2 𝐴 1 ⋱ ⋱ ⋱ 𝐴 0 𝐴 2 𝐴 1 , This gives that: 𝑝 2𝑖+1 =− 𝑝 2𝑖 𝐴 0 + 𝑝 2𝑖+2 𝐴 2 𝐴 1 −1 , 𝑖=0,…,𝐾−1 Lecture 5: Finite QBDs

Method 2: Method of Folding (2) The vector 𝑝 0 , 𝑝 2 ,…, 𝑝 2𝐾 is proportional to the equilibrium probability 𝑝 0 ∗ , 𝑝 1 ∗ ,…, 𝑝 𝐾 ∗ vector of the chain restricted to even numbered levels with generator 𝑄 ∗ = 𝐵 00 ∗ 𝐴 2 ∗ 0 ⋮ ⋮ ⋮ ⋮ 𝐴 0 ∗ 𝐴 1 ∗ 𝐴 2 ∗ ⋱ ⋱ ⋱ ⋱ 0 𝐴 0 ∗ 𝐴 1 ∗ ⋱ ⋱ ⋱ ⋱ 0 0 𝐴 0 ∗ ⋱ ⋱ 𝐴 2 ∗ ⋱ … ⋱ ⋱ ⋱ ⋱ 𝐴 1 ∗ 𝐴 2 ∗ … ⋱ ⋱ ⋱ ⋱ 𝐴 0 ∗ 𝐵 𝑀𝑀 ∗ , 𝐵 00 ∗ = 𝐵 00 − A 0 A 1 −1 A 2 , 𝐴 0 ∗ =− 𝐴 0 𝐴 1 −1 𝐴 0 , 𝐴 2 ∗ =− 𝐴 2 𝐴 1 −1 𝐴 2 , 𝐴 1 ∗ = 𝐴 1 − 𝐴 2 𝐴 1 −1 𝐴 0 − 𝐴 0 𝐴 1 −1 𝐴 2 , 𝐵 𝑀𝑀 ∗ = 𝐵 𝑀𝑀 − A 2 A 1 −1 A 0 To solve a QBD with 𝑀 levels it suffices to solve QBD with 𝑀/2 levels. Repeating folding on smaller QBD we obtain QBD with 𝑀/4 levels, and so forth until 2 levels Lecture 5: Finite QBDs

Method 3: Matrix geometric combination Let 𝑅 be the minimal nonnegative solution of 𝐴 0 +𝑅 𝐴 1 + 𝑅 2 𝐴 2 =0 Let 𝑅 be the minimal nonnegative solution of 𝐴 2 + 𝑅 𝐴 1 + 𝑅 2 𝐴 0 =0 Theorem Let 𝐴= 𝐴 0 + 𝐴 1 + 𝐴 0 be irreducible and 𝜋𝐴= 0, 𝜋𝑒=1. If 𝜋 𝐴 0 𝑒≠𝜋 𝐴 2 𝑒, the equilibrium probability of the finite QBD is given by 𝑝 𝑖 = 𝑥 0 𝑅 𝑖 + 𝑥 𝑀 𝑅 𝑀−𝑖 , 𝑖=0,…,𝑀 where 𝑥 0 , 𝑥 𝑀 is the solution of the system 𝑥 0 , 𝑥 𝑀 𝐵 00 +𝑅 𝐴 2 𝑅 𝑀 𝐵 00 + 𝑅 𝑀−1 𝐴 2 𝑅 𝑀 𝐵 𝑀𝑀 + 𝑅 𝑀−1 𝐴 0 𝐵 𝑀𝑀 + 𝑅 𝐴 0 =0 with 𝑥 0 𝑖=0 𝑀 𝑅 𝑖 𝑒+ 𝑥 𝑀 𝑖=0 𝑀 𝑅 𝑖 𝑒=1 Let 𝑅 be the minimal nonnegative solution of (level reversed process) Lecture 5: Finite QBDs

Example: uninterrupted traffic on a highway Level dependent and independent QBDs were applied to mimic the traffic behavior on highways especially the fundamental diagram (flow-density diagram) To model this Niek Baer used the so-called four stage M/M/1 threshold queues Lecture 5: Finite QBDs

References Niek Baer. Queueing and Traffic, PhD thesis University of Twente 2015 G. Latouche and V. Ramaswami (1999), Introduction to Matrix Analytic Methods in Stochastic Modeling. SIAM. Lecture 5: Finite QBDs