ISyE 2030 Practice Test 2

Similar documents
ISyE 2030 Practice Test 1

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/25/17. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/6/16. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

Queuing Theory. 3. Birth-Death Process. Law of Motion Flow balance equations Steady-state probabilities: , if

Queuing Analysis. Chapter Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall

λ, µ, ρ, A n, W n, L(t), L, L Q, w, w Q etc. These

Slides 9: Queuing Models

Chapter 5: Special Types of Queuing Models

Discrete Event and Process Oriented Simulation (2)

ISyE 6650 Test 2 Solutions

Chapter 6 Queueing Models. Banks, Carson, Nelson & Nicol Discrete-Event System Simulation

Solutions to COMP9334 Week 8 Sample Problems

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER I EXAMINATION MH4702/MAS446/MTH437 Probabilistic Methods in OR

Homework 1 - SOLUTION

Sandwich shop : a queuing net work with finite disposable resources queue and infinite resources queue

5/15/18. Operations Research: An Introduction Hamdy A. Taha. Copyright 2011, 2007 by Pearson Education, Inc. All rights reserved.

Quiz Queue II. III. ( ) ( ) =1.3333

ISyE 6644 Fall 2014 Test #2 Solutions (revised 11/7/16)

Chapter 8 Queuing Theory Roanna Gee. W = average number of time a customer spends in the system.

Systems Simulation Chapter 6: Queuing Models

Networking = Plumbing. Queueing Analysis: I. Last Lecture. Lecture Outline. Jeremiah Deng. 29 July 2013

Computer Networks More general queuing systems

YORK UNIVERSITY FACULTY OF ARTS DEPARTMENT OF MATHEMATICS AND STATISTICS MATH , YEAR APPLIED OPTIMIZATION (TEST #4 ) (SOLUTIONS)

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

Queueing Theory (Part 4)

IOE 202: lectures 11 and 12 outline

Classification of Queuing Models

Session-Based Queueing Systems

Basic Queueing Theory

Queueing Systems: Lecture 3. Amedeo R. Odoni October 18, Announcements

MSA 640 Homework #2 Due September 17, points total / 20 points per question Show all work leading to your answers

Non Markovian Queues (contd.)

Queueing Theory. VK Room: M Last updated: October 17, 2013.

Chapter 1: Revie of Calculus and Probability

Queuing Theory. Using the Math. Management Science

Review of Queuing Models

ISyE 6644 Fall 2016 Test #1 Solutions

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017

Class 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis.

Exercises Stochastic Performance Modelling. Hamilton Institute, Summer 2010

6 Solving Queueing Models

57:022 Principles of Design II Final Exam Solutions - Spring 1997

Created by T. Madas POISSON DISTRIBUTION. Created by T. Madas

Analysis of A Single Queue

Bernoulli Counting Process with p=0.1

Computer Systems Modelling

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

Waiting Line Models: Queuing Theory Basics. Metodos Cuantitativos M. En C. Eduardo Bustos Farias 1

NATCOR: Stochastic Modelling

Photo: US National Archives

Course Outline Introduction to Transportation Highway Users and their Performance Geometric Design Pavement Design

PBW 654 Applied Statistics - I Urban Operations Research

Queuing Theory. Queuing Theory. Fatih Cavdur April 27, 2015

The University of British Columbia Computer Science 405 Practice Midterm Solutions

Introduction to queuing theory

CDA5530: Performance Models of Computers and Networks. Chapter 4: Elementary Queuing Theory

λ λ λ In-class problems

PhysicsAndMathsTutor.com

MEP Y7 Practice Book B

ISyE 6644 Fall 2015 Test #1 Solutions (revised 10/5/16)

Math 141:512. Practice Exam 1 (extra credit) Due: February 6, 2019

Markov Chains. Chapter 16. Markov Chains - 1

QueueTraffic and queuing theory

Since D has an exponential distribution, E[D] = 0.09 years. Since {A(t) : t 0} is a Poisson process with rate λ = 10, 000, A(0.

ISyE 3044 Fall 2015 Test #1 Solutions

Alex s Guide to Word Problems and Linear Equations Following Glencoe Algebra 1

QUEUING MODELS AND MARKOV PROCESSES

Solution: The process is a compound Poisson Process with E[N (t)] = λt/p by Wald's equation.

Link Models for Circuit Switching

56:171 Operations Research Fall 1998

3.3 Solving Systems with Elimination

? 4. Like number bonds, a formula is useful because it helps us know what operation to use depending on which pieces of information we have.

CS418 Operating Systems

Kendall notation. PASTA theorem Basics of M/M/1 queue

Verification and Validation. CS1538: Introduction to Simulations

Richard C. Larson. March 5, Photo courtesy of Johnathan Boeke.

4.7 Finite Population Source Model

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions

Systems of Equations. Red Company. Blue Company. cost. 30 minutes. Copyright 2003 Hanlonmath 1

Introduction to Queueing Theory with Applications to Air Transportation Systems

IE 5112 Final Exam 2010

CPSC 531 Systems Modeling and Simulation FINAL EXAM

P (L d k = n). P (L(t) = n),

One billion+ terminals in voice network alone

Little s result. T = average sojourn time (time spent) in the system N = average number of customers in the system. Little s result says that

More on Input Distributions

Introduction to Queuing Theory. Mathematical Modelling

Data analysis and stochastic modeling

COMP9334: Capacity Planning of Computer Systems and Networks

Solutions to Homework Discrete Stochastic Processes MIT, Spring 2011

Relations and Functions

IEOR 6711: Stochastic Models I, Fall 2003, Professor Whitt. Solutions to Final Exam: Thursday, December 18.

Contents Preface The Exponential Distribution and the Poisson Process Introduction to Renewal Theory

Calculation exercise 1 MRP, JIT, TOC and SOP. Dr Jussi Heikkilä

Name of the Student:

Chapter 2 Queueing Theory and Simulation

Queuing Theory. Richard Lockhart. Simon Fraser University. STAT 870 Summer 2011

Generation of Discrete Random variables

Social Science/Commerce Calculus I: Assignment #10 - Solutions Page 1/15

2.2t t 3 =1.2t+0.035' t= D, = f ? t 3 dt f ' 2 dt

Transcription:

1 NAME ISyE 2030 Practice Test 2 Summer 2005 This test is open notes, open books. You have exactly 75 minutes. 1. Short-Answer Questions (a) TRUE or FALSE? If arrivals occur according to a Poisson process with rate λ, then the probability that the first arrival will take place after time t is e λt. ANSWER: True. (b) In queueing theory, the symbol ρ usually denotes... i. Traffic intensity. ii. Server utilization. iii. Service rate. iv. Both (i) and (ii). v. Both (i) and (iii). ANSWER: (iv). (c) How many servers does an M/G/ queue have? ANSWER:. (d) Consider an M/M/1 queueing system. Customer interarrival times have an average of 5 minutes, and service times have an average of 4 minutes. What will be the average number of customers waiting in line? ANSWER: ρ = λ µ = 1/5 1/4 = 4 5 L Q = ρ2 1 ρ = (4/5)2 1/5 = 16 5.

2 (e) TRUE or FALSE? Khintchine equation. L = λw is commonly referred to as the Pollaczek- ANSWER: False. (It s Little s law.) (f) Cars show up at a parking lot at the rate of 100 per hour. On average, a car stays for two hours. How many cars on average will be in the parking lot? ANSWER: L = λw = 100(2) = 200. (g) What s the maximum possible size of the line an M/M/4/9 queue can have? ANSWER: 9 4 = 5. (h) Consider an M/M/3 queueing system having 10 arrivals per hour and a mean service time of 10 minutes. What is the traffic intensity of this system? ANSWER: λ = 10, µ = 6, c = 3 ρ = λ cµ = 10 18 = 5 9. (i) Suppose customers arrive at a single-server queue via a Poisson process with rate 5/hour, and service times are exactly 10 minutes (no variation). What s the steady-state expected number of customers in the system? ANSWER: M/D/1 : λ = 5, µ = 6, ρ = 5/6 L = ρ + ρ 2 2(1 ρ) = 35 12 = 2.917. (j) Customers again arrive at a single-server queue via a Poisson process with rate 5/hour. Now suppose that service times are normally distributed with a mean of 10 minutes and a standard deviation of 1 minute. What is the steady-state expected number of customers in the system?

3 ANSWER: M/G/1 : λ = 5, µ = 6, σ = 1/60. L = ρ + ρ2 (1 + σ 2 µ 2 ) 2(1 ρ) = 5 6 + (25/36)(1 + 36/3600) 2/6 = 2.9375. (k) Consider an M/G/2 queue with a arrival rate of 10 customers an hour. What is the smallest service rate that the system s servers must have before the system becomes unstable? ANSWER: ρ = λ cµ = 10 2µ < 1 µ > 5.

4 2. (20 points) Mickey Mouse Questions. (a) Customers arrive at Space Mountain in Disneyworld at the rate of 1000/hr according to a Poisson process. They form a long line and are served by one server at the rate of 1200/hr. Just for the heck of it, suppose that service times are exponential and first-come-first-served. Find the steady-state expected waiting time. ANSWER: This is an M/M/1 system for which ρ = λ/µ = 5/6. Therefore, L Q = ρ2 1 ρ = 4.167. Thus, w Q = L Q /λ = 0.004167 hrs 15.00 sec. (b) Now suppose that Disney has decided to hire a two slow servers, each of whom can perform services at the rate of 600/hr. Again, assume services are exponential. Now find the steady-state expected waiting time for this alternative system. ANSWER: We see that ρ = λ/(2µ) = 5/6, as in the previous part of the problem. Then we have P 0 = {[ c 1 n=0 (cρ) n ] [ + n! (cρ) c (c!)(1 ρ) ]} 1 = 0.0909 so that Thus, L Q = (cρ)c+1 P 0 c(c!)(1 ρ) 2 = 3.788. w Q = L Q /λ = 0.003788 hrs 13.64 sec.

5 3. (20 points) Joey owns Nerds R Us, a small computer consulting company. Today he is interviewing ten candidates for jobs at his company. The interarrival times (in minutes) for the candidates are as follows: 11 8 1 3 6 12 10 6 10 6 (Assume that the first customer arrives at time 11.) Suppose it takes Joey exactly 10 minutes to complete any particular candidate s interview; but for some reason, he processes the queue in a last-in-first-out manner. customer arrive start service leave wait 1 11 11 21 0 2 19 101 111 82 3 20 21 31 1 4 23 91 101 68 5 29 31 41 2 6 41 41 51 0 7 51 51 61 0 8 57 61 71 4 9 67 71 81 4 10 73 81 91 8 (a) When does the last candidate leave the system? ANSWER: 111. (b) When does candidate 3 start getting served? ANSWER: 21. (c) What is the average waiting time for the candidates? ANSWER: 16.9. (d) What is the maximum length of the waiting line? ANSWER: 3 (in line).

6 4. Suppose that we are simulating the sales of turkeys at a local market. The owner starts off with 10 turkeys. The daily demand for turkeys for the next 6 days is as follows. 9 3 8 5 2 7 Each turkey costs the owner $7 to buy, and can be sold to a customer for $13. It costs the owner $1 to store each turkey overnight (i.e., if it wasn t sold that day). It also costs the owner $2 per turkey if he is unable to fill a demand maybe the irate customer does damage to the store. If, at the end of a particular day, the owner has less than or equal to 3 turkeys in stock, he places an order to bring the inventory level back up to 10 the next morning. He gets the turkeys the first thing in the morning before any customers arrive. Compute his total profit/loss for this 6-day period. How many turkeys are left at the end of the last day? ANSWER: There are a number of interpretations for this problem, all of which are perfectly acceptable, as long as you state the assumptions you used. In the answer that I ll now display, let s assume: We have to pay for the initial 10 turkeys. We have no holding cost for the first day. We don t have to pay holding costs for any turkeys left over after the last day. So here s what happens... Our earnings are therefore Day t Demand D t Inventory at Order Quantity End of Day I t 0 10 1 9 1 9 2 3 7 0 3 8 1 10 4 5 5 0 5 2 3 7 6 7 3 0

7 Turkeys bought (7 units) $252 Holding cost (16 units) $16 Stockout cost (1 unit) $2 Turkeys sold (33 units) $429 TOTAL $159 Further, note that 3 turkeys are left.

8 5. Consider a queueing system with customers arriving according to a Poisson process at the rate of 5 per hour. Which of the following systems gives the lower steady-state expected time in system (i.e., waiting in line plus service time)? (A) Two slow parallel servers, each of whom can serve customers with Exp(3/hour) service times, or (B) One fast server, who can serve customers with Exp(6/hour) services? Show all work. ANSWER: (A) Here we have an M/M/2 queueing system with λ = 5, µ = 3, and c = 2. Thus, ρ = λ/(cµ) = 5/6. Going to the M/M/2 tables, we do a little calculation and come up with P 0 = 1/11, and with a little more algebra, we have L = 60/11. Finally, w = L/λ = 1.1 hours. (B) Meanwhile, now we have we have an M/M/1 queueing system with λ = 5 and µ = 6. Thus, ρ = λ/µ = 5/6 (still). Going to the M/M/1 tables, we do a teensy calculation and come up with w = 1 µ(1 ρ) = 1. Thus, choose the M/M/1. 6. Miscellaneous Easy Arena Questions Just know what blocks we ve gone over and what you did in lab last week. Nothing difficult.