Appendix I: Aircraft Flowchart Heuristic 1 pseudocode 1

Size: px
Start display at page:

Download "Appendix I: Aircraft Flowchart Heuristic 1 pseudocode 1"

Transcription

1 1 Appendix I: Aircraft Flowchart Heuristic 1 pseudocode 1 Step 0: Initialization C res = C; Sa m1 = 0; Sy m1 = 0; Sg m1 = 0; a mn1 = A1 mn ; Sa m1 = Sa m1 + a mn1 ; C res = C res 1 + a mn1 ; y mn1 = Y 1 mn ; Sy m1 = Sy m1 + y mn1 ; g mn1 = G1 mn ; Sg m1 = Sg m1 + g mn1 ; arrange in non-decreasing order of y mn1 the available aircraft of squadron m arrange in non-decreasing order of g mn1 the grounded aircraft of squadron m for t = 1toT do Step 1: Production of maintenance plans for period t B res = B t ; ex mt = 0; Sh mt = 0; h mnt = 0; while B res > 0 and at least one grounded aircraft waiting for service exists do if at least one grounded aircraft with interrupted service from previous periods exists k = arg max S mt /(Sy mt + (ex mt Y )); m M: squadron m has at least one grounded aircraft with interrupted service among all grounded aircraft with interrupted service in squadron k k = arg max S mt /(Sy mt + (ex mt Y)); m M: squadron m has at least one grounded aircraft waiting for service among all grounded aircraft waiting for service in squadron k if B res g klt h klt = g klt ; Sh kt = Sh kt + h klt ; B res = B res h klt ; 1 The following additional notation is used in the AFH1 and AFH2 pseudocodes: Sa mt = number of available aircraft of squadron m in period t Sx mt = total flight time of squadron m in period t Sy mt = total residual flight time of squadron m at the beginning of period t Sh mt = total maintenance time of squadron m in period t Sg mt = total residual maintenance time of squadron m at the beginning of period t ex mt = number of aircraft of squadron m that exit the maintenance station at the end of period t B res = time capacity residual of the maintenance station C res = space capacity residual of the maintenance station.

2 2 C res = C res + 1; ex mt = ex mt + 1; remove this aircraft from the set of grounded aircraft waiting for service h klt = B res ; Sh kt = Sh kt + h klt ; B res = 0; Step 2: Decision on aircraft that will be grounded in period t + 1 Sx mt = 0; x mnt = 0; set of candidate aircraft includes all available aircraft while C res > 0 and the set of candidate aircraft is not empty do k = arg max (S mt Sx mt )/(Sy mt Sx mt + (ex mt Y )); m M: squadron m contains at least one candidate aircraft l = index of candidate aircraft with lowest residual flight time in squadron k if the check for grounding this aircraft is successful x klt = y klt ; Sx kt = Sx kt + x klt ; C res = C res 1; remove this aircraft from the set of candidate aircraft remove all the available aircraft of squadron k from the set of candidate aircraft Step 3: Production of flight plans for period t apply Procedure Sweep to compute the flight time (x mnt ) of each available aircraft update Sx mt end do Step 4: Update of status for period t + 1 Sa mt+1 = Sa mt ; Sy mt+1 = Sy mt ; Sg mt+1 = Sg mt ; if (a mnt == 0andh mnt == g mnt ) a mnt+1 = 1; Sa mt+1 = Sa mt+1 + 1; y mnt+1 = Y ; Sy mt+1 = Sy mt+1 + Y ; g mnt+1 = 0; Sg mt+1 = Sg mt+1 h mnt ; if (a mnt == 1andx mnt <y mnt ) a mnt+1 = 1; y mnt+1 = y mnt x mnt ; Sy mt+1 = Sy mt+1 x mnt ; g mnt+1 = 0;

3 3 if (a mnt == 1andx mnt == y mnt ) a mnt+1 = 0; Sa mt+1 = Sa mt+1 1; g mnt+1 = G; Sg mt+1 = Sg mt+1 + G; y mnt+1 = 0; Sy mt+1 = Sy mt+1 x mnt ; if (a mnt == 0andh mnt <g mnt ) a mnt+1 = 0; g mnt+1 = g mnt h mnt ; Sg mt+1 = Sg mt+1 h mnt ; y mnt+1 = 0; Appendix II: Aircraft Flowchart Heuristic 2 pseudocode Step 0: Initialization Same with Step 0 in AFH1 with the additional requirement that the available aircraft of the wing should be arranged in non-decreasing order of y mn1 and the grounded aircraft of the wing should be arranged in non-decreasing order of g mn1 at the end of this step for t = 1toT do Step 1: Production of maintenance plans for period t B res = B t ; Sh mt = 0; h mnt = 0; while B res > 0 and at least one grounded aircraft waiting for service exists do if at least one grounded aircraft with interrupted service from previous periods exists among all grounded aircraft with interrupted service among all grounded aircraft waiting for service k = index of the squadron the selected grounded aircraft belongs to if B res g klt h klt = g klt ; Sh kt = Sh kt + h klt ; B res = B res h klt ; C res = C res + 1; remove this aircraft from the set of grounded aircraft waiting for service h klt = B res ; Sh kt = Sh kt + h klt ; B res = 0;

4 4 Step 2: Decision on aircraft that will be grounded in period t + 1 Sx mt = 0; x mnt = 0; set of candidate aircraft includes all available aircraft while C res > 0 and the set of candidate aircraft is not empty do l = index of candidate aircraft with lowest residual flight time k = index of the squadron that aircraft belongs to if the grounding check for this aircraft is successful x klt = y klt ; Sx kt = Sx kt + x klt ; C res = C res 1; remove this aircraft from the set of candidate aircraft remove all the available aircraft of squadron k from the set of candidate aircraft Step 3: Production of flight plans for period t Same with Step 3 in AFH1 Step 4: Update for period t + 1 Same with Step 4 in AFH1 with the additional requirement that the available aircraft of the wing should be arranged in non-decreasing order of y mnt+1 after the status update of the aircraft of each squadron Appendix III Proof of Proposition 2 The dominating operation in Step 0 is the arrangement of the available and the grounded aircraft that requires time O(N max log N max ) and is executed M times. Therefore, the total time that Step 0 requires is O( M N max log N max ). The initialization commands in the first 7 lines of Step 1 require time O( M N max ). The check in the while command of Step 1 requires time O(1). Checking if an aircraft with incomplete service from previous periods exists requires time O(1). Finding the squadron with the highest priority index among all the squadrons with aircraft with interrupted service (or all the squadrons with aircraft waiting for service) requires time O(min(i, M )), wherei is the number of grounded aircraft (1 i C). Selecting the appropriate aircraft from that squadron requires time O(1), since the grounded aircraft of each squadron are always sorted in non-decreasing order of their residual maintenance times. The if- clause that decides the maintenance time of the selected aircraft requires time O(1). Sincemin(i, M ) = C in the worst case, the while-loop of Step 1 is repeated at most C times, with each repetition i (1 i C) requiring time O(C i + 1) for selecting the appropriate squadron and aircraft, and time O(1) for deciding its maintenance time. Since C + (C 1) = C(C+1),thetotal time required for this is O(C 2 ). Note that this bound cannot be improved by sorting in 2 advance the squadrons with respect to their priority index, since one of these indices always changes in each iteration, imposing a rearrangement. Therefore, Step 1 requires time O( M N max ) + O(C 2 ) = O(max( M N max,c 2 )) in total.

5 5 The initialization commands in the first 7 lines of Step 2 require time O( M N max ).For the while-loop that follows, we distinguish two cases. The first case is when this loop is repeated M +C 1 times (C 1 successful checks for grounding an aircraft first, followed either by M 1 unsuccessful and one successful, or by M unsuccessful). This is the maximum possible number of times that this loop can be repeated. The sequence of checks implies that the maintenance station is initially empty. Moreover, simulating the operation of the maintenance station at the presence of i grounded aircraft requires time O(i 2 ), since there is a total of at most i iterations involved, where iteration k (1 k i) selects out of at most i k + 1 squadrons the one with the highest priority index (again a prearrangement is not sufficient to improve the bound, since one of these indices changes in each iteration) and assigns a maintenance time to a grounded aircraft that belongs to that squadron. It follows that repetition i (1 i C 1) requires time O( M ) for selecting the squadron with the highest priority index and time O(i 2 ) for checking the condition for grounding the associated aircraft, while each repetition i of the next M ones (C i M +C 1) requires time O( M +C i) for selecting the squadron with the highest priority index and time O((C 1) 2 ) for checking the condition for grounding the associated aircraft. Therefore, the total time required for the while-loop in this case is O(( M +1 2 ) + ( M +2 2 ) + + ( M +(C 1) 2 ) + ( M +(C 1) 2 ) + ( M 1 + (C 1) 2 ) + +(1 + (C 1) 2 )) = O((C 1) M +( (C 1) 2 ) + ( M ) + M (C 1) 2 ) = O(C M M + (C 1)C(2(C 1)+1) 6 + ( M )( M +1) 2 + M C 2 + M 2C M ) = O( M 2 + M C 2 + C 3 ) = O(max( M 2, M C 2,C 3 )). The second case is when the while-loop is repeated M times ( M unsuccessful checks for groundinganaircraftfrom M distinct squadrons). In this case, repetition i (1 i M ) requires time O( M i + 1) for selecting the squadron with the highest priority index, leading to a total bound of O( M + M ) = O( M ( M +1) 2 ) = O( M 2 ) for all M selections (since the selected squadron is dropped at the end of each iteration, this bound can be improved to O( M log M ) by sorting in advance the M squadrons with respect to their priority index, but this is neither known in advance, nor can it improve the overall bound of Step 2 computed next). Additionally, since one aircraft is considered for entering the maintenance station at each iteration, there are at most C 1 grounded aircraft; thus, the time required for this check is O((C 1) 2 ). Hence, the total time required for the while-loop is O( M 2 + M (C 1) 2 ) = O(max( M 2, M C 2 )) in this case. Thus, considering the worst of the above two cases, Step 2 requires time O(max( M 2, M C 2,C 3, M 2, M C 2 )) = O(max( M 2, M C 2,C 3 )) in total. In Step 3, solving M times the problem defined by (38) (41) requires time O( M N max ) in total. Finally, updating the status of the system for period t + 1 in Step 4 requires time O( M N max ). Since Step 0 is executed once and each of Steps 1 4 is executed T times, the total time required by AFH1 is O( M N max log N max + T( M N max + C 2 + M 2 + M C 2 + C 3 + M N max + M N max )) = O(max( M N max log N max,t M N max,t M 2,T M C 2,TC 3 )). Appendix IV Proof of Proposition 3 The arrangement of the available and the grounded aircraft of each squadron in Step 0 requires time O(N max log N max ) and is executed M times in total. The arrangement of the available and the grounded aircraft of the wing requires time O(N log M ), since the aircraft of each squadron are already sorted. These are the two dominating operations in Step 0; therefore, the total time that Step 0 requires is

6 6 O( M N max log N max )+O(N log M ) = O( M N max max(log N max, log M )). The initialization commands in the first 7 lines of Step 1 require time O( M N max ). The check in the while command of Step 1 requires time O(1). Checking if an aircraft with interrupted service from previous periods exists requires time O(1). Selecting the grounded aircraft that should receive maintenance service next requires time O(1), since the grounded aircraft of the wing are always sorted in non-decreasing order of their residual maintenance times. The if- clause that decides the maintenance time of the selected aircraft requires time O(1). Since the while-loop of Step 1 is repeated C times in the worst-case, Step 1 requires time O( M N max ) + O(C) = O(max( M N max,c))in total. The initialization commands in the first 7 lines of Step 2 require time O( M N max ).For the while-loop that follows, we distinguish two cases. The first case is when this loop is repeated M +C 1 times (C 1 successful checks for grounding an aircraft first, followed either by M 1 unsuccessful and one successful, or by M successful). This is the maximum possible number of times that this loop can be repeated. The sequence of checks implies that the maintenance station is initially empty. In this case, repetition i (1 i M +C 1) requires time O(1) for selecting the appropriate aircraft and time O(1) for checking whether it should be grounded. Therefore, the total time required for the while-loop is O( M +C). The second case is when the while-loop is repeated M times ( M unsuccessful checks for grounding an aircraft from M distinct squadrons). In this case, each repetition requires time O(1) for selecting the appropriate aircraft, and time O(1) for checking whether it should be grounded (since the aircraft are treated as if they all belong to the same squadron, the simulation of the operation of the maintenance station is trivial). Hence, the total time required for the while-loop is O( M ). Thus, considering the worst of the above two cases, Step 2 requires time O( M +C) in total. In Step 3, solving M times the problem defined by (38) (41), requires time O( M N max ) in total. In Step 4, updating the status of the system for period t + 1 requires time O( M N max ) and sorting the available aircraft of the wing requires time O(N log M ), since the available aircraft of each squadron are already sorted. Therefore, the total time required by Step 4 is O( M N max + N log M ) = O( M N max log M ). Since Step 0 is executed once and each of Steps 1 4 is repeated T times, the total time required by AFH2 is O( M N max log N max + M N max log M +T(max( M N max,c)+ ( M +C) + M N max + M N max log M )) = O(max( M N max log N max,tc,t M N max log M )).

Assignment #1 Sample Solutions

Assignment #1 Sample Solutions CS 320L Applied Discrete Mathematics Spring 2018 Instructor: Marc Pomplun Assignment #1 Sample Solutions Question 1: Hair Splitting with Set Expressions Let us define the successor of the set A to be the

More information

5 ProbabilisticAnalysisandRandomized Algorithms

5 ProbabilisticAnalysisandRandomized Algorithms 5 ProbabilisticAnalysisandRandomized Algorithms This chapter introduces probabilistic analysis and randomized algorithms. If you are unfamiliar with the basics of probability theory, you should read Appendix

More information

Dynamic Call Center Routing Policies Using Call Waiting and Agent Idle Times Online Supplement

Dynamic Call Center Routing Policies Using Call Waiting and Agent Idle Times Online Supplement Submitted to imanufacturing & Service Operations Management manuscript MSOM-11-370.R3 Dynamic Call Center Routing Policies Using Call Waiting and Agent Idle Times Online Supplement (Authors names blinded

More information

On-line scheduling of periodic tasks in RT OS

On-line scheduling of periodic tasks in RT OS On-line scheduling of periodic tasks in RT OS Even if RT OS is used, it is needed to set up the task priority. The scheduling problem is solved on two levels: fixed priority assignment by RMS dynamic scheduling

More information

Appendix of Computational Protein Design Using AND/OR Branch and Bound Search

Appendix of Computational Protein Design Using AND/OR Branch and Bound Search Appendix of Computational Protein Design Using AND/OR Branch and Bound Search Yichao Zhou 1, Yuexin Wu 1, and Jianyang Zeng 1,2, 1 Institute for Interdisciplinary Information Sciences, Tsinghua University,

More information

Math Models of OR: Branch-and-Bound

Math Models of OR: Branch-and-Bound Math Models of OR: Branch-and-Bound John E. Mitchell Department of Mathematical Sciences RPI, Troy, NY 12180 USA November 2018 Mitchell Branch-and-Bound 1 / 15 Branch-and-Bound Outline 1 Branch-and-Bound

More information

Dynamic Call Center Routing Policies Using Call Waiting and Agent Idle Times Online Supplement

Dynamic Call Center Routing Policies Using Call Waiting and Agent Idle Times Online Supplement Dynamic Call Center Routing Policies Using Call Waiting and Agent Idle Times Online Supplement Wyean Chan DIRO, Université de Montréal, C.P. 6128, Succ. Centre-Ville, Montréal (Québec), H3C 3J7, CANADA,

More information

Problem. Problem Given a dictionary and a word. Which page (if any) contains the given word? 3 / 26

Problem. Problem Given a dictionary and a word. Which page (if any) contains the given word? 3 / 26 Binary Search Introduction Problem Problem Given a dictionary and a word. Which page (if any) contains the given word? 3 / 26 Strategy 1: Random Search Randomly select a page until the page containing

More information

Appendix A. Formal Proofs

Appendix A. Formal Proofs Distributed Reasoning for Multiagent Simple Temporal Problems Appendix A Formal Proofs Throughout this paper, we provided proof sketches to convey the gist of the proof when presenting the full proof would

More information

Appendix A.0: Approximating other performance measures

Appendix A.0: Approximating other performance measures Appendix A.0: Approximating other performance measures Alternative definition of service level and approximation. The waiting time is defined as the minimum of virtual waiting time and patience. Define

More information

MAT 243 Test 2 SOLUTIONS, FORM A

MAT 243 Test 2 SOLUTIONS, FORM A MAT 24 Test 2 SOLUTIONS, FORM A 1. [1 points] Prove the following using Mathematical Induction. L 2 i = L n L n+1 + 2 where L is the Lucas sequence: L 0 = 2 L 1 = 1 L n = L n 1 + L n 2, n 2 Solution: Let

More information

CS483 Design and Analysis of Algorithms

CS483 Design and Analysis of Algorithms CS483 Design and Analysis of Algorithms Lectures 4-5 Randomized Algorithms Instructor: Fei Li lifei@cs.gmu.edu with subject: CS483 Office hours: STII, Room 443, Friday 4:00pm - 6:00pm or by appointments

More information

Intelligent Agents. Formal Characteristics of Planning. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University

Intelligent Agents. Formal Characteristics of Planning. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University Intelligent Agents Formal Characteristics of Planning Ute Schmid Cognitive Systems, Applied Computer Science, Bamberg University Extensions to the slides for chapter 3 of Dana Nau with contributions by

More information

Proportional Share Resource Allocation Outline. Proportional Share Resource Allocation Concept

Proportional Share Resource Allocation Outline. Proportional Share Resource Allocation Concept Proportional Share Resource Allocation Outline Fluid-flow resource allocation models» Packet scheduling in a network Proportional share resource allocation models» CPU scheduling in an operating system

More information

A 2-Approximation Algorithm for Scheduling Parallel and Time-Sensitive Applications to Maximize Total Accrued Utility Value

A 2-Approximation Algorithm for Scheduling Parallel and Time-Sensitive Applications to Maximize Total Accrued Utility Value A -Approximation Algorithm for Scheduling Parallel and Time-Sensitive Applications to Maximize Total Accrued Utility Value Shuhui Li, Miao Song, Peng-Jun Wan, Shangping Ren Department of Engineering Mechanics,

More information

Algorithms 2/6/2018. Algorithms. Enough Mathematical Appetizers! Algorithm Examples. Algorithms. Algorithm Examples. Algorithm Examples

Algorithms 2/6/2018. Algorithms. Enough Mathematical Appetizers! Algorithm Examples. Algorithms. Algorithm Examples. Algorithm Examples Enough Mathematical Appetizers! Algorithms What is an algorithm? Let us look at something more interesting: Algorithms An algorithm is a finite set of precise instructions for performing a computation

More information

Multiprocessor Scheduling of Age Constraint Processes

Multiprocessor Scheduling of Age Constraint Processes Multiprocessor Scheduling of Age Constraint Processes Lars Lundberg Department of Computer Science, University of Karlskrona/Ronneby, Soft Center, S-372 25 Ronneby, Sweden, email: Lars.Lundberg@ide.hk-r.se

More information

Appendix (For Online Publication) Community Development by Public Wealth Accumulation

Appendix (For Online Publication) Community Development by Public Wealth Accumulation March 219 Appendix (For Online Publication) to Community Development by Public Wealth Accumulation Levon Barseghyan Department of Economics Cornell University Ithaca NY 14853 lb247@cornell.edu Stephen

More information

= 1 when k = 0 or k = n. Otherwise, Fact 4.5 (page 98) says. n(n 1)(n 2) (n k + 3)(n k + 2)(n k + 1) (n k + 1)(n k + 2)(n k + 3) (n 2)(n 1) n

= 1 when k = 0 or k = n. Otherwise, Fact 4.5 (page 98) says. n(n 1)(n 2) (n k + 3)(n k + 2)(n k + 1) (n k + 1)(n k + 2)(n k + 3) (n 2)(n 1) n Solutions for Chapter 6 189 6.7 Solutions for Chapter 6 Sections 6.1, 6.2 and 6.3 1. Write an algorithm whose input is an integer n and whose output is the first n Fibonacci numbers. Algorithm: to compute

More information

Quicksort. Where Average and Worst Case Differ. S.V. N. (vishy) Vishwanathan. University of California, Santa Cruz

Quicksort. Where Average and Worst Case Differ. S.V. N. (vishy) Vishwanathan. University of California, Santa Cruz Quicksort Where Average and Worst Case Differ S.V. N. (vishy) Vishwanathan University of California, Santa Cruz vishy@ucsc.edu February 1, 2016 S.V. N. Vishwanathan (UCSC) CMPS101 1 / 28 Basic Idea Outline

More information

Machine Learning. Regularization and Feature Selection. Fabio Vandin November 14, 2017

Machine Learning. Regularization and Feature Selection. Fabio Vandin November 14, 2017 Machine Learning Regularization and Feature Selection Fabio Vandin November 14, 2017 1 Regularized Loss Minimization Assume h is defined by a vector w = (w 1,..., w d ) T R d (e.g., linear models) Regularization

More information

Hill climbing: Simulated annealing and Tabu search

Hill climbing: Simulated annealing and Tabu search Hill climbing: Simulated annealing and Tabu search Heuristic algorithms Giovanni Righini University of Milan Department of Computer Science (Crema) Hill climbing Instead of repeating local search, it is

More information

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

UNIVERSITY OF YORK. MSc Examinations 2004 MATHEMATICS Networks. Time Allowed: 3 hours. UNIVERSITY OF YORK MSc Examinations 2004 MATHEMATICS Networks Time Allowed: 3 hours. Answer 4 questions. Standard calculators will be provided but should be unnecessary. 1 Turn over 2 continued on next

More information

Glasgow eprints Service

Glasgow eprints Service Abraham, D.J. and Irving, R.W. and Manlove, D.F. (2007) Two algorithms for the student-project allocation problem. Journal of Discrete Algorithms 5(1):pp. 73-90. http://eprints.gla.ac.uk/3439/ Glasgow

More information

Searching. Sorting. Lambdas

Searching. Sorting. Lambdas .. s Babes-Bolyai University arthur@cs.ubbcluj.ro Overview 1 2 3 Feedback for the course You can write feedback at academicinfo.ubbcluj.ro It is both important as well as anonymous Write both what you

More information

Load Regulating Algorithm for Static-Priority Task Scheduling on Multiprocessors

Load Regulating Algorithm for Static-Priority Task Scheduling on Multiprocessors Technical Report No. 2009-7 Load Regulating Algorithm for Static-Priority Task Scheduling on Multiprocessors RISAT MAHMUD PATHAN JAN JONSSON Department of Computer Science and Engineering CHALMERS UNIVERSITY

More information

Decision Theory: Markov Decision Processes

Decision Theory: Markov Decision Processes Decision Theory: Markov Decision Processes CPSC 322 Lecture 33 March 31, 2006 Textbook 12.5 Decision Theory: Markov Decision Processes CPSC 322 Lecture 33, Slide 1 Lecture Overview Recap Rewards and Policies

More information

Understanding IC3. Aaron R. Bradley. ECEE, CU Boulder & Summit Middle School. Understanding IC3 1/55

Understanding IC3. Aaron R. Bradley. ECEE, CU Boulder & Summit Middle School. Understanding IC3 1/55 Understanding IC3 Aaron R. Bradley ECEE, CU Boulder & Summit Middle School Understanding IC3 1/55 Further Reading This presentation is based on Bradley, A. R. Understanding IC3. In SAT, June 2012. http://theory.stanford.edu/~arbrad

More information

Lock using Bakery Algorithm

Lock using Bakery Algorithm Lock using Bakery Algorithm Shankar April 16, 2014 Overview Classical mutual exclusion problem given program with critical sections and threads 0..N 1 obtain entry and exit code for each critical section

More information

Computing minimal models, stable models and answer sets

Computing minimal models, stable models and answer sets Under consideration for publication in Theory and Practice of Logic Programming 1 Computing minimal models, stable models and answer sets Zbigniew Lonc Faculty of Mathematics and Information Science, Warsaw

More information

Time Analysis of Sorting and Searching Algorithms

Time Analysis of Sorting and Searching Algorithms Time Analysis of Sorting and Searching Algorithms CSE21 Winter 2017, Day 5 (B00), Day 3 (A00) January 20, 2017 http://vlsicad.ucsd.edu/courses/cse21-w17 Big-O : How to determine? Is f(n) big-o of g(n)?

More information

3. Algorithms. What matters? How fast do we solve the problem? How much computer resource do we need?

3. Algorithms. What matters? How fast do we solve the problem? How much computer resource do we need? 3. Algorithms We will study algorithms to solve many different types of problems such as finding the largest of a sequence of numbers sorting a sequence of numbers finding the shortest path between two

More information

Week 5: Quicksort, Lower bound, Greedy

Week 5: Quicksort, Lower bound, Greedy Week 5: Quicksort, Lower bound, Greedy Agenda: Quicksort: Average case Lower bound for sorting Greedy method 1 Week 5: Quicksort Recall Quicksort: The ideas: Pick one key Compare to others: partition into

More information

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

CSE 4502/5717 Big Data Analytics Spring 2018; Homework 1 Solutions CSE 502/5717 Big Data Analytics Spring 2018; Homework 1 Solutions 1. Consider the following algorithm: for i := 1 to α n log e n do Pick a random j [1, n]; If a[j] = a[j + 1] or a[j] = a[j 1] then output:

More information

Minimizing Mean Flowtime and Makespan on Master-Slave Systems

Minimizing Mean Flowtime and Makespan on Master-Slave Systems Minimizing Mean Flowtime and Makespan on Master-Slave Systems Joseph Y-T. Leung,1 and Hairong Zhao 2 Department of Computer Science New Jersey Institute of Technology Newark, NJ 07102, USA Abstract The

More information

Traffic Management and Control (ENGC 6340) Dr. Essam almasri. 8. Macroscopic

Traffic Management and Control (ENGC 6340) Dr. Essam almasri. 8. Macroscopic 8. Macroscopic Traffic Modeling Introduction In traffic stream characteristics chapter we learned that the fundamental relation (q=k.u) and the fundamental diagrams enable us to describe the traffic state

More information

Logic: Bottom-up & Top-down proof procedures

Logic: Bottom-up & Top-down proof procedures Logic: Bottom-up & Top-down proof procedures Alan Mackworth UBC CS 322 Logic 3 March 4, 2013 P & M Textbook 5.2 Lecture Overview Recap: Soundness, Completeness, Bottom-up proof procedure Bottom-up Proof

More information

Online Supplement: Managing Hospital Inpatient Bed Capacity through Partitioning Care into Focused Wings

Online Supplement: Managing Hospital Inpatient Bed Capacity through Partitioning Care into Focused Wings Online Supplement: Managing Hospital Inpatient Bed Capacity through Partitioning Care into Focused Wings Thomas J. Best, Burhaneddin Sandıkçı, Donald D. Eisenstein University of Chicago Booth School of

More information

About the impossibility to prove P NP or P = NP and the pseudo-randomness in NP

About the impossibility to prove P NP or P = NP and the pseudo-randomness in NP About the impossibility to prove P NP or P = NP and the pseudo-randomness in NP Prof. Marcel Rémon 1 arxiv:0904.0698v3 [cs.cc] 24 Mar 2016 Abstract The relationship between the complexity classes P and

More information

Maximizing throughput in zero-buffer tandem lines with dedicated and flexible servers

Maximizing throughput in zero-buffer tandem lines with dedicated and flexible servers Maximizing throughput in zero-buffer tandem lines with dedicated and flexible servers Mohammad H. Yarmand and Douglas G. Down Department of Computing and Software, McMaster University, Hamilton, ON, L8S

More information

Chapter 16 Planning Based on Markov Decision Processes

Chapter 16 Planning Based on Markov Decision Processes Lecture slides for Automated Planning: Theory and Practice Chapter 16 Planning Based on Markov Decision Processes Dana S. Nau University of Maryland 12:48 PM February 29, 2012 1 Motivation c a b Until

More information

Sub-Optimal Scheduling of a Flexible Batch Manufacturing System using an Integer Programming Solution

Sub-Optimal Scheduling of a Flexible Batch Manufacturing System using an Integer Programming Solution Sub-Optimal Scheduling of a Flexible Batch Manufacturing System using an Integer Programming Solution W. Weyerman, D. West, S. Warnick Information Dynamics and Intelligent Systems Group Department of Computer

More information

CDA6530: Performance Models of Computers and Networks. Chapter 8: Discrete Event Simulation (DES)

CDA6530: Performance Models of Computers and Networks. Chapter 8: Discrete Event Simulation (DES) CDA6530: Performance Models of Computers and Networks Chapter 8: Discrete Event Simulation (DES) Simulation Studies Models with analytical formulas Calculate the numerical solutions Differential equations

More information

On Computing Backbones of Propositional Theories

On Computing Backbones of Propositional Theories On Computing Backbones of Propositional Theories Joao Marques-Silva 1 Mikoláš Janota 2 Inês Lynce 3 1 CASL/CSI, University College Dublin, Ireland 2 INESC-ID, Lisbon, Portugal 3 INESC-ID/IST, Lisbon, Portugal

More information

Online Energy-Aware I/O Device Scheduling for Hard Real-Time Systems with Shared Resources

Online Energy-Aware I/O Device Scheduling for Hard Real-Time Systems with Shared Resources Online Energy-Aware I/O Device Scheduling for Hard Real-Time Systems with Shared Resources Abstract The challenge in conserving energy in embedded real-time systems is to reduce power consumption while

More information

Two Algorithms for the Student-Project Allocation Problem

Two Algorithms for the Student-Project Allocation Problem Two Algorithms for the Student-Project Allocation Problem David J. Abraham 1, Robert W. Irving 2, and David F. Manlove 2 1 Computer Science Department, Carnegie-Mellon University, 5000 Forbes Ave, Pittsburgh

More information

Alectra Utilities List of Station Capacity

Alectra Utilities List of Station Capacity lectra Utilities List of Station Capacity s per Distribution System Code this list represents the llocated Capacity on stations owned by lectra Utilities (formerly PowerStream) as of July 1st, 2018. llocated

More information

A comparison of sequencing formulations in a constraint generation procedure for avionics scheduling

A comparison of sequencing formulations in a constraint generation procedure for avionics scheduling A comparison of sequencing formulations in a constraint generation procedure for avionics scheduling Department of Mathematics, Linköping University Jessika Boberg LiTH-MAT-EX 2017/18 SE Credits: Level:

More information

Online Supplement to

Online Supplement to Online Supplement to Pricing Decisions in a Strategic Single Retailer/Dual Suppliers Setting under Order Size Constraints Ali Ekici Department of Industrial Engineering, Ozyegin University, Istanbul, Turkey,

More information

Utility Maximizing Routing to Data Centers

Utility Maximizing Routing to Data Centers 0-0 Utility Maximizing Routing to Data Centers M. Sarwat, J. Shin and S. Kapoor (Presented by J. Shin) Sep 26, 2011 Sep 26, 2011 1 Outline 1. Problem Definition - Data Center Allocation 2. How to construct

More information

Session-Based Queueing Systems

Session-Based Queueing Systems Session-Based Queueing Systems Modelling, Simulation, and Approximation Jeroen Horters Supervisor VU: Sandjai Bhulai Executive Summary Companies often offer services that require multiple steps on the

More information

Process Scheduling for RTS. RTS Scheduling Approach. Cyclic Executive Approach

Process Scheduling for RTS. RTS Scheduling Approach. Cyclic Executive Approach Process Scheduling for RTS Dr. Hugh Melvin, Dept. of IT, NUI,G RTS Scheduling Approach RTS typically control multiple parameters concurrently Eg. Flight Control System Speed, altitude, inclination etc..

More information

Markov Decision Processes Chapter 17. Mausam

Markov Decision Processes Chapter 17. Mausam Markov Decision Processes Chapter 17 Mausam Planning Agent Static vs. Dynamic Fully vs. Partially Observable Environment What action next? Deterministic vs. Stochastic Perfect vs. Noisy Instantaneous vs.

More information

Appendix: Simple Methods for Shift Scheduling in Multi-Skill Call Centers

Appendix: Simple Methods for Shift Scheduling in Multi-Skill Call Centers Appendix: Simple Methods for Shift Scheduling in Multi-Skill Call Centers Sandjai Bhulai, Ger Koole & Auke Pot Vrije Universiteit, De Boelelaan 1081a, 1081 HV Amsterdam, The Netherlands Supplementary Material

More information

What we have learned What is algorithm Why study algorithm The time and space efficiency of algorithm The analysis framework of time efficiency Asympt

What we have learned What is algorithm Why study algorithm The time and space efficiency of algorithm The analysis framework of time efficiency Asympt Lecture 3 The Analysis of Recursive Algorithm Efficiency What we have learned What is algorithm Why study algorithm The time and space efficiency of algorithm The analysis framework of time efficiency

More information

Diffusion in cylindrical geometry

Diffusion in cylindrical geometry 4/30/0 Random walk, etc. iffusion, cylindrical iffusion in cylindrical geometry In this exercise we will solve the diffusion equation in cylindrical geometry. We will use the same approach that was used

More information

Resolution for Predicate Logic

Resolution for Predicate Logic Logic and Proof Hilary 2016 James Worrell Resolution for Predicate Logic A serious drawback of the ground resolution procedure is that it requires looking ahead to predict which ground instances of clauses

More information

arxiv: v1 [cs.ds] 23 Feb 2018

arxiv: v1 [cs.ds] 23 Feb 2018 On Streaming Algorithms for the Steiner Cycle and Path Cover Problem on Interval Graphs and Falling Platforms in Video Games arxiv:1802.08577v1 [cs.ds] 23 Feb 2018 Ante Ćustić Department of Mathematics,

More information

CPU scheduling. CPU Scheduling

CPU scheduling. CPU Scheduling EECS 3221 Operating System Fundamentals No.4 CPU scheduling Prof. Hui Jiang Dept of Electrical Engineering and Computer Science, York University CPU Scheduling CPU scheduling is the basis of multiprogramming

More information

JOINT PRICING AND PRODUCTION PLANNING FOR FIXED PRICED MULTIPLE PRODUCTS WITH BACKORDERS. Lou Caccetta and Elham Mardaneh

JOINT PRICING AND PRODUCTION PLANNING FOR FIXED PRICED MULTIPLE PRODUCTS WITH BACKORDERS. Lou Caccetta and Elham Mardaneh JOURNAL OF INDUSTRIAL AND doi:10.3934/jimo.2010.6.123 MANAGEMENT OPTIMIZATION Volume 6, Number 1, February 2010 pp. 123 147 JOINT PRICING AND PRODUCTION PLANNING FOR FIXED PRICED MULTIPLE PRODUCTS WITH

More information

Flow Network. The following figure shows an example of a flow network:

Flow Network. The following figure shows an example of a flow network: Maximum Flow 1 Flow Network The following figure shows an example of a flow network: 16 V 1 12 V 3 20 s 10 4 9 7 t 13 4 V 2 V 4 14 A flow network G = (V,E) is a directed graph. Each edge (u, v) E has a

More information

Optimization-based Modeling and Analysis Techniques for Safety-Critical Software Verification

Optimization-based Modeling and Analysis Techniques for Safety-Critical Software Verification Optimization-based Modeling and Analysis Techniques for Safety-Critical Software Verification Mardavij Roozbehani Eric Feron Laboratory for Information and Decision Systems Department of Aeronautics and

More information

Algorithm Design Strategies V

Algorithm Design Strategies V Algorithm Design Strategies V Joaquim Madeira Version 0.0 October 2016 U. Aveiro, October 2016 1 Overview The 0-1 Knapsack Problem Revisited The Fractional Knapsack Problem Greedy Algorithms Example Coin

More information

MCE/EEC 647/747: Robot Dynamics and Control. Lecture 8: Basic Lyapunov Stability Theory

MCE/EEC 647/747: Robot Dynamics and Control. Lecture 8: Basic Lyapunov Stability Theory MCE/EEC 647/747: Robot Dynamics and Control Lecture 8: Basic Lyapunov Stability Theory Reading: SHV Appendix Mechanical Engineering Hanz Richter, PhD MCE503 p.1/17 Stability in the sense of Lyapunov A

More information

Introduction to Algorithms and Asymptotic analysis

Introduction to Algorithms and Asymptotic analysis Indian Institute of Information Technology Design and Manufacturing, Kancheepuram Chennai 600 127, India An Autonomous Institute under MHRD, Govt of India An Institute of National Importance COM 501 Advanced

More information

Denotational Semantics

Denotational Semantics 5 Denotational Semantics In the operational approach, we were interested in how a program is executed. This is contrary to the denotational approach, where we are merely interested in the effect of executing

More information

Pairing Transitive Closure and Reduction to Efficiently Reason about Partially Ordered Events

Pairing Transitive Closure and Reduction to Efficiently Reason about Partially Ordered Events Pairing Transitive Closure and Reduction to Efficiently Reason about Partially Ordered Events Massimo Franceschet Angelo Montanari Dipartimento di Matematica e Informatica, Università di Udine Via delle

More information

MULTIPLE CHOICE QUESTIONS DECISION SCIENCE

MULTIPLE CHOICE QUESTIONS DECISION SCIENCE MULTIPLE CHOICE QUESTIONS DECISION SCIENCE 1. Decision Science approach is a. Multi-disciplinary b. Scientific c. Intuitive 2. For analyzing a problem, decision-makers should study a. Its qualitative aspects

More information

Introduction to Queuing Networks Solutions to Problem Sheet 3

Introduction to Queuing Networks Solutions to Problem Sheet 3 Introduction to Queuing Networks Solutions to Problem Sheet 3 1. (a) The state space is the whole numbers {, 1, 2,...}. The transition rates are q i,i+1 λ for all i and q i, for all i 1 since, when a bus

More information

Chapter 3: Discrete Optimization Integer Programming

Chapter 3: Discrete Optimization Integer Programming Chapter 3: Discrete Optimization Integer Programming Edoardo Amaldi DEIB Politecnico di Milano edoardo.amaldi@polimi.it Website: http://home.deib.polimi.it/amaldi/opt-16-17.shtml Academic year 2016-17

More information

Equalprocessing and equalsetup time cases of scheduling parallel machines with a single server

Equalprocessing and equalsetup time cases of scheduling parallel machines with a single server Available online at www.sciencedirect.com Computers & Operations Research 31 (004) 1867 1889 www.elsevier.com/locate/dsw Equalprocessing and equalsetup time cases of scheduling parallel machines with a

More information

Theoretical Computer Science

Theoretical Computer Science Theoretical Computer Science 411 (010) 417 44 Contents lists available at ScienceDirect Theoretical Computer Science journal homepage: wwwelseviercom/locate/tcs Resource allocation with time intervals

More information

Supplementary Material to Resolving Policy Conflicts in Multi-Carrier Cellular Access

Supplementary Material to Resolving Policy Conflicts in Multi-Carrier Cellular Access Supplementary Material to Resolving Policy Conflicts in Multi-Carrier Cellular Access Proofs to the theoretical results in paper: Resolving Policy Conflicts in Multi-Carrier Cellular Access ZENGWEN YUAN,

More information

Chapter 9. Nonlinear Design Models. Beard & McLain, Small Unmanned Aircraft, Princeton University Press, 2012, Chapter 9, Slide 1

Chapter 9. Nonlinear Design Models. Beard & McLain, Small Unmanned Aircraft, Princeton University Press, 2012, Chapter 9, Slide 1 Chapter 9 Nonlinear Design Models Beard & McLain, Small Unmanned Aircraft, Princeton University Press, 2012, Chapter 9, Slide 1 Architecture Destination, obstacles Waypoints Path Definition Airspeed, Altitude,

More information

9.1 HW (3+3+8 points) (Knapsack decision problem NP-complete)

9.1 HW (3+3+8 points) (Knapsack decision problem NP-complete) Algorithms CMSC-27200 http://alg15.cs.uchicago.edu Homework set #9. Due Wednesday, March 11, 2015 Posted 3-5. Updated 3-6 12:15am. Problem 9.6 added 3-7 1:15pm. Read the homework instructions on the website.

More information

Algorithm Design CS 515 Fall 2015 Sample Final Exam Solutions

Algorithm Design CS 515 Fall 2015 Sample Final Exam Solutions Algorithm Design CS 515 Fall 2015 Sample Final Exam Solutions Copyright c 2015 Andrew Klapper. All rights reserved. 1. For the functions satisfying the following three recurrences, determine which is the

More information

II BSc(Information Technology)-[ ] Semester-III Allied:Computer Based Optimization Techniques-312C Multiple Choice Questions.

II BSc(Information Technology)-[ ] Semester-III Allied:Computer Based Optimization Techniques-312C Multiple Choice Questions. Dr.G.R.Damodaran College of Science (Autonomous, affiliated to the Bharathiar University, recognized by the UGC)Re-accredited at the 'A' Grade Level by the NAAC and ISO 9001:2008 Certified CRISL rated

More information

Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication

Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication Stavros Tripakis Abstract We introduce problems of decentralized control with communication, where we explicitly

More information

What are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos

What are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos What are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos armandobcm@yahoo.com February 5, 2014 Abstract This note is for personal use. It

More information

Guide to the Extended Step-Pyramid Periodic Table

Guide to the Extended Step-Pyramid Periodic Table Guide to the Extended Step-Pyramid Periodic Table William B. Jensen Department of Chemistry University of Cincinnati Cincinnati, OH 452201-0172 The extended step-pyramid table recognizes that elements

More information

The Behavior of a Multichannel Queueing System under Three Queue Disciplines

The Behavior of a Multichannel Queueing System under Three Queue Disciplines The Behavior of a Multichannel Queueing System under Three Queue Disciplines John K Karlof John Jenkins November 11, 2002 Abstract In this paper we investigate a multichannel channel queueing system where

More information

Welcome to CSE21! Lecture B Miles Jones MWF 9-9:50pm PCYN 109. Lecture D Russell (Impagliazzo) MWF 4-4:50am Center 101

Welcome to CSE21! Lecture B Miles Jones MWF 9-9:50pm PCYN 109. Lecture D Russell (Impagliazzo) MWF 4-4:50am Center 101 Welcome to CSE21! Lecture B Miles Jones MWF 9-9:50pm PCYN 109 Lecture D Russell (Impagliazzo) MWF 4-4:50am Center 101 http://cseweb.ucsd.edu/classes/sp16/cse21-bd/ March 30, 2016 Sorting (or Ordering)

More information

Stochastic Optimal Control!

Stochastic Optimal Control! Stochastic Control! Robert Stengel! Robotics and Intelligent Systems, MAE 345, Princeton University, 2015 Learning Objectives Overview of the Linear-Quadratic-Gaussian (LQG) Regulator Introduction to Stochastic

More information

CMU Lecture 11: Markov Decision Processes II. Teacher: Gianni A. Di Caro

CMU Lecture 11: Markov Decision Processes II. Teacher: Gianni A. Di Caro CMU 15-781 Lecture 11: Markov Decision Processes II Teacher: Gianni A. Di Caro RECAP: DEFINING MDPS Markov decision processes: o Set of states S o Start state s 0 o Set of actions A o Transitions P(s s,a)

More information

Intuitionistic Fuzzy Estimation of the Ant Methodology

Intuitionistic Fuzzy Estimation of the Ant Methodology BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 9, No 2 Sofia 2009 Intuitionistic Fuzzy Estimation of the Ant Methodology S Fidanova, P Marinov Institute of Parallel Processing,

More information

Inverting Proof Systems for Secrecy under OWA

Inverting Proof Systems for Secrecy under OWA Inverting Proof Systems for Secrecy under OWA Giora Slutzki Department of Computer Science Iowa State University Ames, Iowa 50010 slutzki@cs.iastate.edu May 9th, 2010 Jointly with Jia Tao and Vasant Honavar

More information

M17 MAT25-21 HOMEWORK 6

M17 MAT25-21 HOMEWORK 6 M17 MAT25-21 HOMEWORK 6 DUE 10:00AM WEDNESDAY SEPTEMBER 13TH 1. To Hand In Double Series. The exercises in this section will guide you to complete the proof of the following theorem: Theorem 1: Absolute

More information

Sparse analysis Lecture II: Hardness results for sparse approximation problems

Sparse analysis Lecture II: Hardness results for sparse approximation problems Sparse analysis Lecture II: Hardness results for sparse approximation problems Anna C. Gilbert Department of Mathematics University of Michigan Sparse Problems Exact. Given a vector x R d and a complete

More information

Queuing Analysis of Markovian Queue Having Two Heterogeneous Servers with Catastrophes using Matrix Geometric Technique

Queuing Analysis of Markovian Queue Having Two Heterogeneous Servers with Catastrophes using Matrix Geometric Technique International Journal of Statistics and Systems ISSN 0973-2675 Volume 12, Number 2 (2017), pp. 205-212 Research India Publications http://www.ripublication.com Queuing Analysis of Markovian Queue Having

More information

Limitations of Algorithm Power

Limitations of Algorithm Power Limitations of Algorithm Power Objectives We now move into the third and final major theme for this course. 1. Tools for analyzing algorithms. 2. Design strategies for designing algorithms. 3. Identifying

More information

A Parametric Simplex Algorithm for Linear Vector Optimization Problems

A Parametric Simplex Algorithm for Linear Vector Optimization Problems A Parametric Simplex Algorithm for Linear Vector Optimization Problems Birgit Rudloff Firdevs Ulus Robert Vanderbei July 9, 2015 Abstract In this paper, a parametric simplex algorithm for solving linear

More information

On-line Scheduling of Two Parallel Machines. with a Single Server

On-line Scheduling of Two Parallel Machines. with a Single Server On-line Scheduling of Two Parallel Machines with a Single Server Lele Zhang, Andrew Wirth Department of Mechanical and Manufacturing Engineering, The University of Melbourne, VIC 3010, Australia Abstract

More information

An Optimal Sequential Optimization Approach in Application to Dynamic Weapon Allocation in Naval Warfare

An Optimal Sequential Optimization Approach in Application to Dynamic Weapon Allocation in Naval Warfare An Optimal Sequential Optimization Approach in Application to Dynamic Weapon Allocation in Naval Warfare Dany Dionne, Edward Pogossian, Arthur Grigoryan, Jean Couture and Elisa Shahbazian R&D Department,

More information

Scheduling with Advanced Process Control Constraints

Scheduling with Advanced Process Control Constraints Scheduling with Advanced Process Control Constraints Yiwei Cai, Erhan Kutanoglu, John Hasenbein, Joe Qin July 2, 2009 Abstract With increasing worldwide competition, high technology manufacturing companies

More information

Reduced reliance on wind tunnel data

Reduced reliance on wind tunnel data Reduced reliance on wind tunnel data The recreation of the industrial gust loads process, using CFD in place of experimental data Investigation of the underlying assumptions of the current industrial gust

More information

Real-time Scheduling of Concurrent Transactions in Multi-domain Ring Buses

Real-time Scheduling of Concurrent Transactions in Multi-domain Ring Buses 1 Real-time Scheduling of Concurrent Transactions in Multi-domain Ring Buses Bach D. Bui, Rodolfo Pellizzoni,Marco Caccamo University of Illinois at Urbana-Champaign Department of Computer Science {bachbui2,

More information

The Number of Inequality Signs in the Design of Futoshiki Puzzle

The Number of Inequality Signs in the Design of Futoshiki Puzzle Regular Paper The Number of Inequality Signs in the Design of Futoshiki Puzzle Kazuya Haraguchi 1,a) Received: February 9, 2012, Accepted: September 10, 2012 Abstract: In this paper, we study how many

More information

Lecture 4. Quicksort

Lecture 4. Quicksort Lecture 4. Quicksort T. H. Cormen, C. E. Leiserson and R. L. Rivest Introduction to Algorithms, 3rd Edition, MIT Press, 2009 Sungkyunkwan University Hyunseung Choo choo@skku.edu Copyright 2000-2018 Networking

More information

Week 3: Simplex Method I

Week 3: Simplex Method I Week 3: Simplex Method I 1 1. Introduction The simplex method computations are particularly tedious and repetitive. It attempts to move from one corner point of the solution space to a better corner point

More information

Algorithm Theory - Exercise Class

Algorithm Theory - Exercise Class Algorithm Theory - Exercise Class Exercise Lesson 3 Albert-Ludwigs-Universität Freiburg Philipp Schneider Algorithms and Complexity - Professor Dr. Fabian Kuhn Organizational Matters English Tutorial in

More information