Logistical and Transportation Planning. QUIZ 1 Solutions

Similar documents
Logistical and Transportation Planning Methods 1.203J/6.281J/13.665J/15.073J/16.76J/ESD.216J

Physics 11 (Fall 2012) Chapter 1: Representing Motion

SOLUTIONS IEOR 3106: Second Midterm Exam, Chapters 5-6, November 8, 2012

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

The distances between atoms, for instance within sector 5, are as follows:

Notes on Continuous Random Variables

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

λ 2 1 = 2 = 2 2 2P 1 =4P 2 P 0 + P 1 + P 2 =1 P 0 =, P 1 =, P 2 = ρ 1 = P 1 + P 2 =, ρ 2 = P 1 + P 2 =

Classification of Queuing Models

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

Non Markovian Queues (contd.)

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.

L06. Chapter 6: Continuous Probability Distributions

Deep Algebra Projects: Algebra 1 / Algebra 2 Go with the Flow

Massachusetts Institute of Technology

Season Finale: Which one is better?

? 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.

Chapter 5: Special Types of Queuing Models

4. As you increase your push, will friction on the crate increase also? Ans. Yes it will.

What was Aristotle s view of motion? How did Galileo disagree with Aristotle? Which answers agrees with Aristotle s view? Eliminate the others.

The Queue Inference Engine and the Psychology of Queueing. ESD.86 Spring 2007 Richard C. Larson

Introduction to Queueing Theory with Applications to Air Transportation Systems

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

EDUCATION DAY WORKBOOK

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

Travel and Transportation

Interlude: Practice Final

Mechanics 1. Motion MEI, 20/10/08 1/5. Chapter Assessment

Review of Scientific Notation and Significant Figures

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

Delay management with capacity considerations.

Measurement Year 11. Rounding

Supplementary Technical Details and Results

Trip Generation Study: A 7-Eleven Gas Station with a Convenience Store Land Use Code: 945

REVIEW SET MIDTERM 1

Physics 2A Chapter 1: Introduction and Mathematical Concepts

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

Physics 30S Unit 1 Kinematics

Probability Year 10. Terminology

Section 1 Force and Motion: Review

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1

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

Queues and Queueing Networks

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

Q = (c) Assuming that Ricoh has been working continuously for 7 days, what is the probability that it will remain working at least 8 more days?

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

STAT 516 Midterm Exam 2 Friday, March 7, 2008

PH2200 Practice Final Exam Summer 2003

Probability and Statistics Concepts

Markov Chains. X(t) is a Markov Process if, for arbitrary times t 1 < t 2 <... < t k < t k+1. If X(t) is discrete-valued. If X(t) is continuous-valued

Queueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K "

Chapter 1 Review of Equations and Inequalities

Section Distance and displacment

Relative Motion (a little more than what s in your text, so pay attention)

Preliminary Physics. Moving About. DUXCollege. Week 2. Student name:. Class code:.. Teacher name:.

Photo: US National Archives

Energy Diagrams --- Attraction

IE 5112 Final Exam 2010

End-of-Chapter Exercises

Extended Algorithms Courses COMP3821/9801

PBW 654 Applied Statistics - I Urban Operations Research

Statistics 433 Practice Final Exam: Cover Sheet and Marking Sheet

Cover Page. The handle holds various files of this Leiden University dissertation

Math 10 - Compilation of Sample Exam Questions + Answers

EE6-16 Equivalent Expressions Pages

Map reading made easy

THE SUN, THE MOON AND OUR SOLAR SYSTEM TEACHER NOTES TO SHARE WITH STUDENTS

Probability Year 9. Terminology

Map reading made easy

Algebra I. Slide 1 / 175. Slide 2 / 175. Slide 3 / 175. Quadratics. Table of Contents Key Terms

Algebra I. Key Terms. Slide 1 / 175 Slide 2 / 175. Slide 3 / 175. Slide 4 / 175. Slide 5 / 175. Slide 6 / 175. Quadratics.

PHYSICS 15a, Fall 2006 SPEED OF SOUND LAB Due: Tuesday, November 14

Introduction to Kinematics. Motion, Forces and Energy

Announcements. Describing Motion. Teaching Assistant. Where to find the extra-credit and home-experiment turn-in box

Algebra I Quadratics

Describing Motion Verbally with Distance and Displacement

1.225 Transportation Flow Systems Quiz (December 17, 2001; Duration: 3 hours)

PRACTICE PROBLEMS FOR EXAM 2

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

AP PHYSICS SUMMER ASSIGNMENT

Answer Explanations for: ACT June 2012, Form 70C

QueueTraffic and queuing theory

Definitions In physics we have two types of measurable quantities: vectors and scalars.

Different Forces Act on Objects

Chapter 3. Q1. Show that x = 2, if = 1 is a solution of the system of simultaneous linear equations.

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

Preptests 55 Answers and Explanations (By Ivy Global) Section 4 Logic Games

Momentum. Physics 211 Syracuse University, Physics 211 Spring 2017 Walter Freeman. February 28, W. Freeman Momentum February 28, / 15

Whether you are driving or walking, if you come to a flooded road, Turn Around Don't Drown

tossing a coin selecting a card from a deck measuring the commuting time on a particular morning

MATH 110: FINAL EXAM REVIEW

PERIL PIZZA. But that s still a daydream. For the moment you re the assistant to the glamorous. The Challenge

SCIENCE 1206 Unit 3. Physical Science Motion

Algorithms: COMP3121/3821/9101/9801

MULTIPLE CHOICE QUESTIONS DECISION SCIENCE

3.3 Acceleration An example of acceleration Definition of acceleration Acceleration Figure 3.16: Steeper hills

hs assessment Name: Simplify: 7. Find the quotient ËÁ ( 3 + 4) 2 a. 25 b. 196 c. 198 d. 100 a b c. 4 d.

LAB 2: INTRODUCTION TO MOTION

Multiplication and Division

MasteringPhysics: Assignment Print View. Problem 30.50

Transcription:

QUIZ 1 Solutions Problem 1. Patrolling Police Car. A patrolling police car is assigned to the rectangular sector shown in the figure. The sector is bounded on all four sides by a roadway that requires 50% of the police car s patrolling time. The other 50% of the time, the car patrols the inner rectangular part of the sector. Thus, at a random time when the police car is available for dispatch, the police car s location is equally likely to be drawn from a uniform distribution over the bounding roadway or by a uniform distribution over the rectangular part of the sector inside the bounding roadway. Travel is right-angle or the Manhattan metric, with directions of travel parallel to the sides of the rectangle. 911 calls for service are also distributed randomly over the rectangular sector, in the same way as the police car and independently of the location of the police car. That is, 50% of the 911 calls are uniformly distributed over the bounding roadway and 50% uniformly distributed over the inner rectangular part of the sector. Given a random call for service at a give location, the police car will follow a minimum distance right-angle path from its current location to the location of the call. Thus, we assume that the police car can exit the bounding 1 km 2 km bounding roadway roadway at any point, and as is usual with the right angle metric, we ignore the complication of city blocks, assuming instead an infinitely divisible right-angle travel space within the region. (a) Find the mean distance traveled by the police car in response to a random call for service. Key methods: - Divide & Conquer - Expected distance between two random points

The police car can either be on the highway or in the inner part of the sector, and it is the same for the random call for service. Therefore, we have four different cases. The probabilities of those events are summarized in the table: Police Car 911 Call Highway Inner Part Highway Case 1: 1/4 Case 2: 1/4 Inner Part Case 3: 1/4 Case 4: 1/4 For each case, we will determine the expected distance. Case 1: We have to use the method Divide and Conquer again. If the call and the car are on two opposite portions of the highway, then the car has to cross the inner rectangular region, whereas if they are on the same portion of the highway, the car does not have to travel across that region. Thus, the expected distance depends on which part of the highway the call and cars are. Note: the car can go off the highway, therefore, the problem cannot be reduced to a 1-D problem. Same portions 1 1 P = E [D ] = 2 3 Both on small rectilinear portion Different E [D ] = 1 + 2 = 7 2 2 1 1 P = 3 3 P = = 2 6 6 9 One the same one 1 1 2 P = E [D ] = 2 = 2 3 3 Both on long rectilinear portion 4 4 4 = Different E [D ] = 1 2 + 1 = 5 P = 3 3 6 6 9 1 P = 2 One on small and one on long portion 2 4 4 P = 2 = 6 6 9 1 1 3 E [D ] = 2 + 1 = 2 2 2

Therefore, for the expected distance when they are both on the highway is: E[ D ] = 1 1 1 + 1 1 7 + 4 1 2 + 4 1 5 + 4 3 = 4 9 2 3 9 2 3 9 2 3 9 2 3 9 2 3 Case 2: The call comes from the highway and the police car is in the inner part of the sector. The distance will depend on which portion of the highway the call originates from. The police car will have to either all the way up or down, or right or left. Call from a small rectilinear portion of the highway 2 1 P = = 6 3 E [D ] = E [D x ]+ E [D Y ] E [D ] = 1 2 + 1 1 = 4 2 3 3 Call from a long E [D ] = E [D x ]+ E [D Y ] portion of the highway 1 1 7 4 2 E [D ] = 2 + 1 = P = = 3 2 6 6 3 Therefore, the expected distance is this case is E[ ] D = 1 4 + 2 7 = 11 3 3 3 6 9 Case 3: It is similar to Case 2, with the roles for car and the call inverted. Thus, the expected distance is E[ D ] = 11 9 Case 4: This is the easiest case. They are both from the uniform region, therefore the answer is simply: [ ] = E D X ]+ E D Y ] = 1 1 E D [ [ 2 + 1 = 1 3 3 1 11 4 43 Finally, the expected distance is E[ D ] = 1+ 2 + =. 4 9 3 36 (b) Now assume we have a barrier to travel that rises vertically from the midway point on the lower boundary of the sector to 1/2 km inside the sector. (See figure on next page.) The barrier does not stop travel along the bounding roadway near the barrier. It only prohibits east-west and west-east travel through the barrier

within the interior of the sector. Now find the mean distance traveled in the presence of the barrier. There are a lot of cases to consider when computing the expected distance. In order to reduce the computations we have to make, we will use the perturbation method: E[D] = E[D normal ]+ E[D perturbation ]. The barrier creates a perturbation when the call and the police car are on both sides of it. An example is given on the figure below: 1 2 The police car might go round the barrier from the top or the bottom. Thus, we can define four areas of interest: 1 2 1 4 I III II IV The cases were the car and the call are in I and II, or III and IV are similar. Let s consider the case where they are in III and IV, then the extra travel distance is D perturbation = 2 min [Y 1,Y 2 ]. Therefore, the expected perturbation distance is: E[D perturbation ]= 2 1 1 = 1. 3 4 6 The cases were the car and the call are in I and IV, or II and III are similar. Let s consider the case where they are in I and IV. Then the extra travel distance 1 is D perturbation = 2 min Y I,Y IV. Since Y I is uniformly distributed over [0.25; 2 1 1 0.5], Y I is uniformly distributed over [0; 0.25]. Thus, E[D perturbation ]= as 2 6 well. Therefore, the expected value of the extra distance is:

E[D perturbation ]= 1 1 + 1 1 = 1 2 6 2 6 6 Now, the total expected distance is: [ ] = 43 + 1 1 175 E D = 1.25 36 8 6 144 Problem 2. Halloween Treat. Halloween pumpkins are planted in parallel straight-line rows on a very big field on a farm in New England. The field is so big that we ignore any boundary effects. The parallel rows are two meters apart. Research has shown that the planter of pumpkin seeds was a sort of random fellow, and that we can accurately model the spatial distribution of pumpkins along any row as a homogeneous spatial Poisson process with parameter γ = 1 pumpkin per meter. Any given pumpkin has one chance in ten of becoming a giant pumpkin for Halloween. A giant pumpkin weighs more than 30 pounds! Otherwise it is a regular sized pumpkin, weighing less than or equal to 30 pounds. The sizes of pumpkins are mutually independent. (a) If we walk along any given row of pumpkins, what is the probability that in a walk of 100 meters we will have passed 3 or more giant pumpkins on that row? The giant pumpkins can also be modeled as a homogeneous spatial Poisson process, with γ parameter ν = = 0.1 pumpkin per meter. 10 Therefore, the probability of passing 3 or more giant pumpkins in a walk of 100 meters is P = P(k in 100 m 3) P = 1 (P(0 in 100 m)+ P(1 in 100 m) + P(2 in 100 m)) 2 (100 ν ) P = 1 ( k e 100 ν ) k =0 P 0.997 k! (b) If we are standing at the location of a random giant pumpkin, what is the probability that at least 3 additional giant pumpkins are within a right-angle distance of 10 meters from our location? (This question includes pumpkins in

near-by parallel rows.) 20m long 16m long 12m long 8m long 4m long 10m We are considering a total of 100 meters. Therefore, because we are considering a Poisson process, we can use the result to the previous questions where we were also considering a total of 100 meters: P 0.997 Problem 3 Consider the operation of a government office with a single clerk. For all practical purposes, the office constitutes a queueing system with infinite queue capacity (there are lots of chairs to accommodate all those waiting for service). This operation can be modeled as a M/M/1 system with one complication. The clerk, a capricious person, keeps a record of the time when every person seeking service arrives at the office. Whenever there are two or more people waiting at the time when a service is completed, the clerk selects the next person to be served in the following way: with probability 0.6 she selects the person with the earliest arrival time (i.e., the person who has been waiting the longest) and with probability 0.4 the one with the latest arrival time (i.e., the one who arrived most recently). The arrival rate at the office, λ, is equal to 4 per hour and the service rate, µ, is 6 per hour. (a) Please draw the state transition diagram for this queueing system, with the state of the system indicating the number of people in the office (waiting or being served). The state transition diagram of this system is:

λ λ λ λ λ 0 1 2 n µ µ µ µ µ (b) Consider the expected values L, W and B (respectively, the average number of persons at the office, the average total time spent there, and the average length of a busy period for the clerk). Which, if any, of these three quantities for this queueing system is different from the corresponding quantities for a first-come, first-served (FCFS) M/M/1 system? Please explain briefly. None of the expected values L, W or B changes. To derive those expected values, we never had to consider the type of queueing discipline used. Therefore, the expressions are independent of the queueing discipline. (c) How would the variance of W compare between this office and the FCFS M/M/1 system? Please explain briefly. However, the variance is not independent of the queueing discipline. On a FCFS system, one knows that in order to be served, all the people in front in the queue have to be served th first. In our system, being the n person in the queue does not mean that we have to wait th for n-1 people to be served first. If there is nobody behind in the queue, the n person can be the next person to be served, or if there is someone, that person could go first and then all the other people in front in the queue. Therefore, the variance is greater in our system than in the FCFS M/M/1 system. Numerical answers should be provided to questions (d) (f) with brief explanations. (d) Person A arrives to find exactly four other persons present at the office, including the one being served (but not counting the clerk). What is the probability that A will be the next person to be served? If A is the next to be served, then it means that the clerk chose to serve the person with the latest arrival and that A is that person. A is the person with the latest arrival in the queue if no other persons arrive before the completion of the ongoing service.

That probability is the probability that the event following A s arrival is the service completion rather than an arrival. It is given by: P(service completition in time iterval Δt) µ Δt µ = =. P(service completition or arrival in time iterval Δt) (µ + λ) Δt µ + λ Thus, the probability that A will be the next person to be served is µ 6 0.4 = 0.4 = 0.24. µ + λ 4 + 6 (e) Person B arrives to find only one other person at the office, i.e., the person being currently served by the clerk. What is the probability that B will be the next person to be served by the clerk? B will be the next person to be served by the clerk if no one else arrives, or if other people arrive but the clerk chooses to serve the person with the earliest arrival time. Therefore, the probability is of B being the next one to be served is: P = P(no other arrival )+ [1 P(no other arrival )] 0.6 µ µ P = + 0.6(1 ) µ + λ µ + λ 21 P = 0.84 25 (f) For a randomly chosen person, C, who enters this office (and assuming steady state conditions), what is the probability that he will be the next customer served? [HINT: Consider, all the possible states that C may find the office in, and think of what will happen for each state.] If there are no customers in the system, C is the next one to be served with probability 1. If there is one person, C is the next one to be served if: µ - nobody else arrives, which has a probability of µ + λ - other people arrive, but the clerk chooses to serve the person with the earliest µ arrival time, which has a probability of 0.6 (1 ) µ + λ If there are two people or more in the system, C is the next one to be served if the clerk chooses to serve the person with the latest arrival time and nobody arrives between C s µ arrival and the completion of the actual service. The associated probability is 0.4. λ + µ Thus, the probability for a random person C to be the next person to be served is µ µ µ P = P 0 + P 1 [ + 0.6 (1 )] + (1 P 0 P 1 ) 0.4 λ + µ λ + µ λ + µ 47 P = 75