Massachusetts Institute of Technology

Similar documents
Massachusetts Institute of Technology

NP and Computational Intractability

λ 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 =

2 Notation and Preliminaries

P C max. NP-complete from partition. Example j p j What is the makespan on 2 machines? 3 machines? 4 machines?

3.4 Relaxations and bounds

UNIVERSITY OF YORK. MSc Examinations 2004 MATHEMATICS Networks. Time Allowed: 3 hours.

The Traveling Salesman Problem with Pickup and Delivery. A polyhedral approach. IBM Research - Australia. Irina Dumitrescu

Limits and the derivative function. Limits and the derivative function

Algorithm Design Strategies V

Asymptotic notation : big-o and small-o

Easy Problems vs. Hard Problems. CSE 421 Introduction to Algorithms Winter Is P a good definition of efficient? The class P

Leaving Cert Differentiation

Objectives. Vocabulary. 1-5 Properties of Exponents. 1.5: Properties of Exponents. Simplify expressions involving exponents. Use scientific notation.

Polynomial-Time Reductions

REVISION SHEET DECISION MATHS 2 DECISION ANALYSIS

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

AP Calculus AB Worksheet - Differentiability

Bounds on the Traveling Salesman Problem

3.2 Configuration model

Week Cuts, Branch & Bound, and Lagrangean Relaxation

Theory of Computation Chapter 1: Introduction

July 18, Approximation Algorithms (Travelling Salesman Problem)

Distributed MAP probability estimation of dynamic systems with wireless sensor networks

Facility Location Problem for Emergency and On-Demand Transportation Systems. Burak Boyacı Nikolas Geroliminis

Worst Case Performance of Approximation Algorithm for Asymmetric TSP

Exercises NP-completeness

Notes on MapReduce Algorithms

8.5 Sequencing Problems

Performance Evaluation of Tehran-Qom Highway Emergency Medical Service System Using Hypercube Queuing Model

Some Algebra Problems (Algorithmic) CSE 417 Introduction to Algorithms Winter Some Problems. A Brief History of Ideas

MA 0090 Section 21 - Slope-Intercept Wednesday, October 31, Objectives: Review the slope of the graph of an equation in slope-intercept form.

Approximately how many inches of average yearly precipitation does Rochester, New York, receive?

Enumerate all possible assignments and take the An algorithm is a well-defined computational

Math 410 Homework 6 Due Monday, October 26

Analysis of covariance

Physics 25 Section 2 Exam #1 February 1, 2012 Dr. Alward

Power Series. Part 2 Differentiation & Integration; Multiplication of Power Series. J. Gonzalez-Zugasti, University of Massachusetts - Lowell

Optimization Exercise Set n.5 :

Problem Set 5: Solutions. UNIVERSITY OF ALABAMA Department of Physics and Astronomy. PH 102 / LeClair Summer II Ω 3 Ω 1 Ω 18 V 15 V

Combinatorial Optimization

Slopes and Rates of Change

VIII. NP-completeness

4.1 Identifying Linear Functions

CS 4700: Foundations of Artificial Intelligence Homework 2 Solutions. Graph. You can get to the same single state through multiple paths.

Power Series. Part 1. J. Gonzalez-Zugasti, University of Massachusetts - Lowell

Prac%ce Quiz 8. These are Q s from old quizzes. I do not guarantee that the Q s on this year s quiz will be the same, or even similar.

1. The topographic map below shows a depression contour line on Earth's surface.

Pair of Linear Equations in Two Variables

Implementation of Travelling Salesman Problem Using ant Colony Optimization

LESSON EII.C EQUATIONS AND INEQUALITIES

Section 1.1: Patterns in Division

Math 252 Fall 2002 Supplement on Euler s Method

Lecture 10 September 27, 2016

The traveling salesman problem

Prac%ce Quiz 8. These are Q s from old quizzes. I do not guarantee that the Q s on this year s quiz will be the same, or even similar.

Unit 1A: Computational Complexity

arxiv: v1 [cs.ds] 25 Jan 2015

Solution Set of Homework # 2. Friday, September 09, 2017

3.10 Lagrangian relaxation

CS/COE

Welcome to... Problem Analysis and Complexity Theory , 3 VU

Improved Approximations for Cubic Bipartite and Cubic TSP

Lecture 4: NP and computational intractability

Discrete Optimization 2010 Lecture 12 TSP, SAT & Outlook

Errata and Updates for ASM Exam MAS-I (First Edition) Sorted by Page

Errata and Updates for ASM Exam MAS-I (First Edition) Sorted by Date

Swarm Intelligence Traveling Salesman Problem and Ant System

15.081J/6.251J Introduction to Mathematical Programming. Lecture 24: Discrete Optimization

MATH CALCULUS I 2.2: Differentiability, Graphs, and Higher Derivatives

CSE 4502/5717 Big Data Analytics Spring 2018; Homework 1 Solutions

Recent Progress in Approximation Algorithms for the Traveling Salesman Problem

Introduction to Mathematical Programming IE406. Lecture 21. Dr. Ted Ralphs

Part III: Traveling salesman problems

Spatial Thinking and Modeling of Network-Based Problems

Algebra 2 Summer Assignment - Non Regents

AI Programming CS S-06 Heuristic Search

Limits to Approximability: When Algorithms Won't Help You. Note: Contents of today s lecture won t be on the exam

1. (a) Explain the asymptotic notations used in algorithm analysis. (b) Prove that f(n)=0(h(n)) where f(n)=0(g(n)) and g(n)=0(h(n)).

NP-Completeness. Andreas Klappenecker. [based on slides by Prof. Welch]

Chapter 1: January 26 January 30

Discrete (and Continuous) Optimization WI4 131

University of Washington March 21, 2013 Department of Computer Science and Engineering CSEP 521, Winter Exam Solution, Monday, March 18, 2013

Displacement, Velocity and Acceleration in one dimension

Citation for published version (APA): Halbersma, R. S. (2002). Geometry of strings and branes. Groningen: s.n.

Some Algebra Problems (Algorithmic) CSE 417 Introduction to Algorithms Winter Some Problems. A Brief History of Ideas

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

Ant Colony Optimization: an introduction. Daniel Chivilikhin

Node Edge Arc Routing Problems (NEARP)

CSCE 750 Final Exam Answer Key Wednesday December 7, 2005

Performance Evaluation of Queuing Systems

Finding Limits Graphically and Numerically

Mu Sequences and Series Topic Test Solutions FAMAT State Convention 2018

Algorithms Re-Exam TIN093/DIT600

Polynomial-time Reductions

Welcome to IB Math - Standard Level Year 2

Network design for a service operation with lost demand and possible disruptions

Date: 11/5/12- Section: 1.2 Obj.: SWBAT identify horizontal and vertical asymptotes.

Chapter 2: The Derivative

The Generalized Regenerator Location Problem

Transcription:

.203J/6.28J/3.665J/5.073J/6.76J/ESD.26J Quiz 2 Solutions (Larson 2002) (a) With probability 0.3, the emergency occurs on one of the two links incident to the garage location of ambulance 2. In this case, the travel distance is U(0, ). With probability 0.7, the emergency occurs on one of the two links not incident to the garage location of ambulance 2. In this case, the travel distance is U(, 2). Accordingly, as shown in Figure, the conditional pdf of the travel distance for ambulance 2 to travel to the scene of the emergency incident is { 0.3, d [0, ) f D (d) = 0.7, d [, 2] f D (d) 0.7 0.3 0 d 2 Figure : Conditional pdf of Travel Distance (b) The state transition diagram for this system is shown in Figure 2, where first component of the state indicates whether ambulance 2 is busy and the second component indicates whether ambulance is busy. We can thus write the following balance equations. Page of 6

.203J/6.28J/3.665J/5.073J/6.76J/ESD.26J,0, 0.3 0.7 0,0 0, Figure 2: State Transition Diagram P 0,0 (0.3+0.7) = P 0, + P,0 2P 0, = 0.7P 0,0 + P, 2P, = P,0 + P 0, P 0,0 + P 0, + P,0 + P, = Solving this system, we obtain Therefore, P 0,0 = P 0, = P,0 = P, = 2 5 6 25 4 25 5 ρ = P 0, + P, = 25 ρ 2 9 = P,0 + P, = 25 (c) This is a straightforward application of Equation 5.8 from the textbook. 2η s 0 = 2η + (T 2 (B) T (B)) Page 2 of 6

.203J/6.28J/3.665J/5.073J/6.76J/ESD.26J where T n (B) gives the average travel time for unit n to travel to a random service request from anywhere in the entire service region. Note that s 0 is therefore given in time units. Let us multiply the RHS through by the travel speed and let D n (B) denote the average travel distance for unit n to travel to a random service request from anywhere in the entire service region. We can then write s 0 as follows, in units of distance rather than time. 2η s 0 = 2η + (D 2 (B) D (B)) D (B) = 0..5+0.2.5+0.3 0.5+0.4 0.5 = 0.8 D 2 (B) = 0. 0.5+0.2 0.5+0.3.5+0.4.5 =.2 λ η = 2µ = 2 0.4 s 0 = = 0.2 km 2 This means we shift the equal-travel-time boundary line away from the northwest and southeast corners of the square and toward the northeast corner of the square, but moving only 0.2 km in those directions. 2 (Odoni 2002) (a) The length of the optimal CPP tour will be the length of the original network, plus the length of the optimal pairwise matching of odd-degree nodes. The odd degree nodes are C,F,G,H,J,I,P, and L. By inspection, the optimal matching is C-F (8), G-H (9), J-I (6), and P-L (6), where the numbers in parentheses give the cost of this matching. So, the optimal CPP tour has length 30 + 8 + 9 + 6 + 6 = 69. (b) Let us first use the majority theorem. Consider isthmus (G,H), which separates the network into two distinct subnetworks with node sets N = {A, B, C, D, E, F, G} and N = {H, I, J, K, L, M, N, O, P, Q, R, S} The total weights of these node sets are given by W (N )=7 and W (N ) = 2, respectively (we ll use W instead of the usual H notation to avoid confusion with node H). As a result, we can discard the portion of the original graph involving node set N and consider the subnetwork with node set N and all node weights except for node H, which now has weight 8. Now let us consider isthmus edge (L,M). Since the total weight of nodes M,N,O,P,Q,R,S is 7, we can disregard this part of the graph as well. We know that the absolute -median lies in the subnetwork given by nodes H,I,J,K,L, where nodes I,J, and K have weight and nodes H and L each have weight 8. The minimum distance matrix for this subnetwork is Page 3 of 6

.203J/6.28J/3.665J/5.073J/6.76J/ESD.26J H I J K L H 0 4 3 7 8 I 4 0 6 3 7 J 3 6 0 9 5 K 7 3 9 0 4 L 8 7 5 4 0 The weighted minimum distance matrix is H I J K L 8xH 0 32 24 56 64 I 4 0 6 3 7 J 3 6 0 9 5 K 7 3 9 0 4 8xL 64 56 40 32 0 78 79 80 Therefore, the absolute -median is H. 3 (Odoni 2002) (a) ε ε ε a m Figure 3: MST Page 4 of 6

.203J/6.28J/3.665J/5.073J/6.76J/ESD.26J a m Figure 4: Optimal TSP Tour (b) (c) The curved lines in the below diagram indicate that upon reaching the upper-rightmost point, you travel a distance of straight down to the lower-rightmost point and then travel a distance of m straight left to point a. a m Figure 5: 2-MST HEURISTIC Tour Page 5 of 6

.203J/6.28J/3.665J/5.073J/6.76J/ESD.26J L(2 MST HEURISTIC) = m + m( ɛ)+2++( + β) +(m )( ɛ)+(m )( δ) = 2m +4+2m 2+ O(ɛ)+ O(δ)+ O(β) = 4m +2+ O(ɛ)+ O(δ)+ O(β) L(TSP) = m + m +2γ +2 = 2m +2+2γ L(2 MST HEURISTIC) 4m +2 lim = β,δ,ɛ,γ 0 L(TSP) 2m +2 ( L(2 MST HEURISTIC) ) lim lim = 2 m β,δ,ɛ,γ 0 L(TSP) where O(h) denotes a function s.t. lim h 0 O(h) = 0. Therefore, this is an example of the worst-case performance of the 2-MST HEURISTIC. Page 6 of 6