2.8 An application of Dynamic Programming to machine renewal

Size: px
Start display at page:

Download "2.8 An application of Dynamic Programming to machine renewal"

Transcription

1 ex-.6-. Foundations of Operations Research Prof. E. Amaldi.6 Shortest paths with nonnegative costs Given the following graph, find a set of shortest paths from node to all the other nodes, using Dijkstra s algorithm. Can we solve the problem with Dynamic Programming? If yes, do so..7 Shortest paths with negative costs and ill-posedness Given the following graph, find the shortest paths between all pairs of nodes, or show that the problem is ill-posed by exhibiting a circuit of total negative cost An application of Dynamic Programming to machine renewal A company must buy a new machine and then decide a renewal plan for the next years, making sure that, at any point in time, the available machine works properly. At the beginning of each year of the planning horizon, the company must decide whether to keep the old machine or to substitute it. The maintenance costs and the expected revenue (when the machine is resold) are indicated in the following table. years maintenance (keuro) revenue when resold (keuro) Document prepared by L. Liberti, S. Bosio, S. Coniglio, and C. Iuliano. Translation to English by S. Coniglio

2 ex-.6-. Foundations of Operations Research Prof. E. Amaldi To avoid high maintenance costs of old machines, the machine can be resold at the beginning of the second, third, fourth, and fifth year, and an new one can be bought. For the sake of simplicity, we suppose that a new machine always costs k Euro. Show that the problem of determing a machine renewal plan of minimal total net cost (total cost for buying/rebuying the machine + maintenance costs - total revenue) can be solved via Dynamic Programming by finding a shortest path in an acyclic directed graph. Find an optimal renewal plan. Is it unique?.9 Project planning The preparation of the apple pie has long been a tradition at Rossi s family. First the weight of the ingredients has to be determined: flour, sugar, butter, eggs, apples, cream. The butter must then be melted down, and added to a mixture of flour, sugar, and eggs. Apples must be added to this new mixture, once they have been peeled and cut into thin slices. The mixture can then be cooked, in the already heated oven. It is advisable to whip the cream only after the apple slices have been added to the mixture. Once the cake is cooked, the cream is used to garnish it. The following table reports the time needed for each activity. Activity Time (minutes) A Weight the ingredients B Melt the butter C Mix flour, eggs and sugar D Peel the apples and cut them into slices E Heat the oven F Add butter to the mixture 8 G Add apples to the mixture H Cook the mixture in the oven I Whip the cream L Garnish Draw the graph (with activities associated to arcs) which represents the project precedences. Determine the earliest times and latest times associated to each node and determine the minimum total completion time of the project. Identify the critical activities and draw Gantt s diagram at earliest.. Shortest paths with negative costs Given the following graph, find the shortest paths between all pairs of nodes, or show that the problem is ill-posed, by exhibiting a circuit of total negative cost. Document prepared by L. Liberti, S. Bosio, S. Coniglio, and C. Iuliano. Translation to English by S. Coniglio

3 ex-.6-. Foundations of Operations Research Prof. E. Amaldi - - Document prepared by L. Liberti, S. Bosio, S. Coniglio, and C. Iuliano. Translation to English by S. Coniglio

4 ex-.6-. Foundations of Operations Research Prof. E. Amaldi Solution.6 Shortest paths with nonnegative costs Dijkstra s algorithm determines all the shortest paths from a given node s to all the other nodes in the graph. It can be applied to any (directed) graph with nonnegative edge costs. Data structures: S (subset of nodes with fixed labels), initialized to {s}; L(i) (cost of the shortest path from s to i), initialized to L(s) = ; p(i) (predecessor of node i in the shortest path from s to i), initialized to p(s) = s. Description: at each iteration, from the cut induced by S, we identify an arc (v, h), such that L(v) + c vh is minimum (c vh is the cost of the arc (v,h)). S S {h}, L(h) L(v)+c vh, p(h) v. The algorithm halts when S = V. Iterations: Initialization: S = {},L() =,p() = ; (v,h) = (,), L() =, p() =, S = {,}; (v,h) = (,), L() =, p() =, S = {,,}; (v,h) = (,), L() =, p() =, S = {,,,}; (v,h) = (,), L() =, p() =, S = {,,,,}; (v,h) = (,), L() =, p() =, S = {,,,,,}; (v,h) = (,7), L(7) =, p(7) =, S = {,,,,,,7}; (v,h) = (,6), L(6) =, p(6) =, S = G: STOP; Wecanplotthebehaviourofthealgorithmasfollows. Inthepictures, anodeishighlighted if it is in S, while an arc is represented with a dashed line if it can be selected in the current iteration, and in a solid line when it is chosen. The labels on the nodes in S indicate the cost of the shortest path from node. When a dashed arc is incident to two nodes in S, it is removed. This way, the dashed arcs always belongs to the cut induced by S. The arc (i,j) that is selected is always that with minimum cost L(i)+c ij. : L: : L: L: : L: L: L: : L: L: L: L: Document prepared by L. Liberti, S. Bosio, S. Coniglio, and C. Iuliano. Translation to English by S. Coniglio

5 ex-.6-. Foundations of Operations Research Prof. E. Amaldi L: L: L: L: L: L: L: : 7: L: L: L: L: L: L: L: L: L: 6: 8: 6 L: 7 L: L: L: L: L: L: L: L: L: A topological order can be introduced as follows. At iteration i, for i = {,...,n}, pick a node with no incident arcs, label it as node i, remove it from the graph, iterate until all nodes are removed, or there is no node with no incident arcs in this case the graph is not acyclic. The graph we are dealing with is acyclic, and its node indices already induce its topological order. The Dynamic Programming technique can therefore be applied. It has complexity O(m), smaller than that of the Dijkstra algorithm of O(n +m). L() =, p() = ; L() = L()+c =, p() = ; L() = min{l()+c,l()+c } = min{+,+} =, p() = ; L() = min{l()+c,l()+c } = min{+,+} =, p() = ; L() = min{l()+c,l()+c } = min{+,+} =, p() = ; L() = min{l()+c,l()+c } = min{+,+} =, p() = ; L(6) = min{l()+c 6,L()+c 6 } = min{+,+} =, p(6) = ; L(7) = min{l()+c 7,L()+c 7,L(6)+c 67 } = min{+,+,+} =,p(7) = ;.7 Shortest paths with negative costs and ill-posedness Since the graph contains negative arc costs, we use Floyd-Warshall s algorithm that finds a shortest path between each pair of nodes, or establishes that the problem is ill-posed by exhibiting a circuit of negative cost. The graph can contain cycles, but such cycles have to be of nonnegative cost. It has complexity O(n ), where n is the number of nodes in the graph. Data structures: let D be a matrix such that element d ij is, at the beginning of the algorithm, the cost of arc (i,j) and, at the end, the cost of a shortest path from i to j. Let P be a matrix of precedecessors (P = (p ij ), where p ij is the precedecessor of node j in the shortest path from i to j). Document prepared by L. Liberti, S. Bosio, S. Coniglio, and C. Iuliano. Translation to English by S. Coniglio

6 ex-.6-. Foundations of Operations Research Prof. E. Amaldi Description: at each iteration, we select a node with index h n and compute the length of the paths via h for all pairs of nodes (i,j) different from h. If the path from i to j, passing through h, is shorter than that the original one from i to j, matrices D and P are updated: d ij is set to the cost of the path through h, and p ij is updated to p hj. The algorithm halts when one of the following conditions holds () all nodes have been selected for the triangulations () there is a circuit of negative cost: the problem of finding a shortest path (not necessarily simple!) it not well defined. Indeed, it is possible to go through the negative cost circuit an arbitrary number of times, reducing the cost of the path containing such circuit at each iteration. The problem is, evidently, unbounded. (a) Initial configuration D P In considering all pairs of nodes i,j, including those where i or j equals h, some useless iterations are performed. Indeed, they amount to check whether a path from i to h is shorter than that from i to h plus that from h to itself Document prepared by L. Liberti, S. Bosio, S. Coniglio, and C. Iuliano. Translation to English by S. Coniglio 6

7 ex-.6-. Foundations of Operations Research Prof. E. Amaldi (b) Iteration h = (triangulation on node ) d +d = 8 > d = d +d = > d = d +d = 8 < d = update d,p d +d = < d = update d,p d +d = 6 > d = d +d = < d = update d,p d +d ij = ( i,j) (c) Iteration h = (triangulation on node ) D P d +d = 8 > d = d +d = 7 < d = 8 update d,p d +d = > d = d +d = 6 > d = d +d = > d = d +d = 9 > d = d +d = < d = update d,p d +d = < d = D P update d,p d +d = > d = Document prepared by L. Liberti, S. Bosio, S. Coniglio, and C. Iuliano. Translation to English by S. Coniglio 7

8 ex-.6-. Foundations of Operations Research Prof. E. Amaldi (d) Iteration h = (triangulation on node ) d +d = > d = d +d = 8 > d = d +d = 8 > d = d +d = < d = update d,p d +d = > d = d +d = < d = 8 update d,p d +d = < d = update d,p d +d = > d = 7 d +d = < d = D P update d,p We obtain d = < and the algorithm halts: we found a circuit of total negative cost of - ( )..8 An application of Dynamic Programming to machine renewal Consider a directed graph with 6 nodes: nodes from to are associated to the beginning of each year, while node 6 indicates the end of the period of interest. For each pair i,j, i,j =,...,, i < j, arc (i,j) represents the choice of reselling, at the beginning of year j, a machine that was bought at the beginning of year i. The cost c ij is defined as j i c ij = a+ m k r j i, k=i where a is the buying cost of Euros, m k is the maintenance cost for year k, and r j is the price at which the machine is sold. We obtain the following directed acyclic graph Any path from to 6 corresponds to a plan, with a cost equivalent to that of the path. Document prepared by L. Liberti, S. Bosio, S. Coniglio, and C. Iuliano. Translation to English by S. Coniglio 8

9 ex-.6-. Foundations of Operations Research Prof. E. Amaldi Therefore, we need to look for a shortest path from to 6. We apply the Dynamic Programming algorithm, obtaining (a) L() = ; (b) L() = 7, p() = ; (c) L() =, p() = ; (d) L() = 9, p() = ; (e) L() =, p() = ; (f) L(6) =, p(6) =. A shortest path (of cost ) is 6. It amounts to buy a new machine every years. Note that there is another optimal solution: 7..9 Project planning The following table indicates the duration of each activity and the related precedence relations: Activities Duration Predecessors A Weight the ingredients - B Meld the butter down A C Mix flour, eggs, and sugar A D Peel and cut the apples into slices A E Heaten the oven - F Add butter to the mixture 8 B,C G Add apples to the mixture D,F H Cook the mixture in the oven E,G I Whip the cream G L Garnish H,I We derive the precedence graph as follows. For each activity, we introduce an arc whose cost is equivalent to the duration of the activity (its two nodes represent the beginning and the end of the activity). For each precedence relation A i < A j, an fictitious arc (i,j) of duration is introduced (dashed lines) between the ending node of A i and the beginning node of j. We add a node s, connected to the beginning node of each activity, with cost, for all activities with no prerequisites. Similarly, we add a node t, and connect to it all the ending nodes for all the activities that are not a prerequisite for any other activities, with cost. B F A C I s D G L t E H Document prepared by L. Liberti, S. Bosio, S. Coniglio, and C. Iuliano. Translation to English by S. Coniglio 9

10 ex-.6-. Foundations of Operations Research Prof. E. Amaldi The graph can be reduced to a smaller one as shown in the lectures. The following graph is obtained. B F s A C G I E D H L t We use the Critical Path Method (CPM) to determine the ASAP and ALAP values, T min,t max, for each node of the graph. The algorithm is composed of two phases, were the Dynamic Programing technique is applied to find longest and shortest paths in the graph. The algorithm is outlined as follows. (a) T min () = ; (b) sort the nodes in topological order; (c) for each h =,...,n: let T min (h) = max{t min (i)+d ih (i,h) δ (h)}; (d) T max (n) = T min (n); (e) for each h = n,...,: let T max (h) = min{t max (i) d ih (i,h) δ + (h)}. We obtain the following solution [,] [,] [,] s A B F 8 [8,8] [,] C G I [,] D E H [,] [6,6] [67,67] L t The slacks for the activities are (a) σ(a) = T max () T min () d = = Document prepared by L. Liberti, S. Bosio, S. Coniglio, and C. Iuliano. Translation to English by S. Coniglio

11 ex-.6-. Foundations of Operations Research Prof. E. Amaldi (b) σ(b) = T max () T min () d = = (c) σ(c) = T max () T min () d = = (d) σ(d) = T max () T min () d = 8 = (e) σ(e) = T max (6) T min () d 6 = = (f) σ(f) = T max () T min () d = 8 8 = (g) σ(g) = T max (6) T min () d 6 = 8 = (h) σ(h) = T max (8) T min (7) d 78 = 6 = (i) σ(i) = T max (8) T min (6) d 68 = 6 = (j) σ(i) = T max (9) T min (8) d 89 = = The critical activities are A,C,F,G,H,L. The ASAP Gantt diagram is I E D B A C F G H L Document prepared by L. Liberti, S. Bosio, S. Coniglio, and C. Iuliano. Translation to English by S. Coniglio

12 ex-.6-. Foundations of Operations Research Prof. E. Amaldi. Shortest paths with negative costs. We apply Floyd-Warshall s algorithm. (a) Initial configuration (b) Iteration h = (triangulation on node ) d +d = + = 6 > d = d +d = + = = d = d +d = + = > d = d +d = + = > d = (c) Iteration h = (triangulation on node ) d +d = + = 6 > d = d +d = + = 9 > d = d +d = + = > d = d +d = + = = d = (d) Iteration h = (triangulation on node ) d +d = = > d = d +d = = < d = update d,p d +d = = > d = d +d = = > d = D - - D - - D - - D P P P P Document prepared by L. Liberti, S. Bosio, S. Coniglio, and C. Iuliano. Translation to English by S. Coniglio

Discuss the size of the instance for the minimum spanning tree problem.

Discuss the size of the instance for the minimum spanning tree problem. 3.1 Algorithm complexity The algorithms A, B are given. The former has complexity O(n 2 ), the latter O(2 n ), where n is the size of the instance. Let n A 0 be the size of the largest instance that can

More information

2.3.5 Project planning

2.3.5 Project planning efinitions:..5 Project planning project consists of a set of m activities with their duration: activity i has duration d i, i = 1,..., m. estimate Some pairs of activities are subject to a precedence constraint:

More information

Scheduling Shop Scheduling. Tim Nieberg

Scheduling Shop Scheduling. Tim Nieberg Scheduling Shop Scheduling Tim Nieberg Shop models: General Introduction Remark: Consider non preemptive problems with regular objectives Notation Shop Problems: m machines, n jobs 1,..., n operations

More information

2.3.4 Project planning

2.3.4 Project planning .. Project planning project consists of a set of m activities with their duration: activity i has duration d i, i =,..., m. estimate Some pairs of activities are subject to a precedence constraint: i j

More information

Project and Production Management Prof. Arun Kanda Department of Mechanical Engineering Indian Institute of Technology, Delhi

Project and Production Management Prof. Arun Kanda Department of Mechanical Engineering Indian Institute of Technology, Delhi Project and Production Management Prof. Arun Kanda Department of Mechanical Engineering Indian Institute of Technology, Delhi Lecture - 9 Basic Scheduling with A-O-A Networks Today we are going to be talking

More information

EdExcel Decision Mathematics 1

EdExcel Decision Mathematics 1 EdExcel Decision Mathematics 1 Notes and Examples Critical Path Analysis Section 1: Activity networks These notes contain subsections on Drawing an activity network Using dummy activities Analysing the

More information

Project Scheduling by Critical Path Method (CPM)

Project Scheduling by Critical Path Method (CPM) 12.1 Project Scheduling by Critical Path Method (CPM) Katta G. Murty Lecture slides CPM is application of DP to problems in Construction (project) Management. Many large construction projects going on

More information

Problem Set 7 Solutions

Problem Set 7 Solutions 8 8 Introduction to Algorithms May 7, 2004 Massachusetts Institute of Technology 6.046J/18.410J Professors Erik Demaine and Shafi Goldwasser Handout 25 Problem Set 7 Solutions This problem set is due in

More information

Warshall s Algorithm: Transitive Closure

Warshall s Algorithm: Transitive Closure CS 0 Theory of Algorithms / CS 68 Algorithms in Bioinformaticsi Dynamic Programming Part II. Warshall s Algorithm: Transitive Closure Computes the transitive closure of a relation (Alternatively: all paths

More information

Linear Programming. April 12, 2005

Linear Programming. April 12, 2005 Linear Programming April 1, 005 Parts of this were adapted from Chapter 9 of i Introduction to Algorithms (Second Edition) /i by Cormen, Leiserson, Rivest and Stein. 1 What is linear programming? The first

More information

Part 2: Community Detection

Part 2: Community Detection Chapter 8: Graph Data Part 2: Community Detection Based on Leskovec, Rajaraman, Ullman 2014: Mining of Massive Datasets Big Data Management and Analytics Outline Community Detection - Social networks -

More information

Batch Production Scheduling in the Process Industries. By Prashanthi Ravi

Batch Production Scheduling in the Process Industries. By Prashanthi Ravi Batch Production Scheduling in the Process Industries By Prashanthi Ravi INTRODUCTION Batch production - where a batch means a task together with the quantity produced. The processing of a batch is called

More information

(Refer Slide Time: 2:03)

(Refer Slide Time: 2:03) Control Engineering Prof. Madan Gopal Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture - 11 Models of Industrial Control Devices and Systems (Contd.) Last time we were

More information

Cpt S 223. School of EECS, WSU

Cpt S 223. School of EECS, WSU The Shortest Path Problem 1 Shortest-Path Algorithms Find the shortest path from point A to point B Shortest in time, distance, cost, Numerous applications Map navigation Flight itineraries Circuit wiring

More information

Linear Programming. March 14, 2014

Linear Programming. March 14, 2014 Linear Programming March 1, 01 Parts of this introduction to linear programming were adapted from Chapter 9 of Introduction to Algorithms, Second Edition, by Cormen, Leiserson, Rivest and Stein [1]. 1

More information

5.1 Bipartite Matching

5.1 Bipartite Matching CS787: Advanced Algorithms Lecture 5: Applications of Network Flow In the last lecture, we looked at the problem of finding the maximum flow in a graph, and how it can be efficiently solved using the Ford-Fulkerson

More information

CRITICAL PATH METHOD (CEE 320 VDC SEMINAR)

CRITICAL PATH METHOD (CEE 320 VDC SEMINAR) CRITICAL PATH METHOD (CEE 320 VDC SEMINAR) 4 February 2009 Jesse Santiago & Desirae Magallon Overview Background & History CPM Defined The CPM approach Definitions Class Exercise Background & History Developed

More information

Project Scheduling: PERT/CPM

Project Scheduling: PERT/CPM Project Scheduling: PERT/CPM Project Scheduling with Known Activity Times (as in exercises 1, 2, 3 and 5 in the handout) and considering Time-Cost Trade-Offs (as in exercises 4 and 6 in the handout). This

More information

Chapter 11: PERT for Project Planning and Scheduling

Chapter 11: PERT for Project Planning and Scheduling Chapter 11: PERT for Project Planning and Scheduling PERT, the Project Evaluation and Review Technique, is a network-based aid for planning and scheduling the many interrelated tasks in a large and complex

More information

Dynamic programming. Doctoral course Optimization on graphs - Lecture 4.1. Giovanni Righini. January 17 th, 2013

Dynamic programming. Doctoral course Optimization on graphs - Lecture 4.1. Giovanni Righini. January 17 th, 2013 Dynamic programming Doctoral course Optimization on graphs - Lecture.1 Giovanni Righini January 1 th, 201 Implicit enumeration Combinatorial optimization problems are in general NP-hard and we usually

More information

Social Media Mining. Graph Essentials

Social Media Mining. Graph Essentials Graph Essentials Graph Basics Measures Graph and Essentials Metrics 2 2 Nodes and Edges A network is a graph nodes, actors, or vertices (plural of vertex) Connections, edges or ties Edge Node Measures

More information

6.231 Dynamic Programming and Stochastic Control Fall 2008

6.231 Dynamic Programming and Stochastic Control Fall 2008 MIT OpenCourseWare http://ocw.mit.edu 6.231 Dynamic Programming and Stochastic Control Fall 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 6.231

More information

1 Solving LPs: The Simplex Algorithm of George Dantzig

1 Solving LPs: The Simplex Algorithm of George Dantzig Solving LPs: The Simplex Algorithm of George Dantzig. Simplex Pivoting: Dictionary Format We illustrate a general solution procedure, called the simplex algorithm, by implementing it on a very simple example.

More information

Approximation Algorithms

Approximation Algorithms Approximation Algorithms or: How I Learned to Stop Worrying and Deal with NP-Completeness Ong Jit Sheng, Jonathan (A0073924B) March, 2012 Overview Key Results (I) General techniques: Greedy algorithms

More information

ME 407 Mechanical Engineering Design Spring 2016

ME 407 Mechanical Engineering Design Spring 2016 ME 407 Mechanical Engineering Design Spring 2016 Project Planning & Management Asst. Prof. Dr. Ulaş Yaman Acknowledgements to Dieter, Engineering Design, 4 th edition Ullman, The Mechanical Design Process,

More information

A Computer Application for Scheduling in MS Project

A Computer Application for Scheduling in MS Project Comput. Sci. Appl. Volume 1, Number 5, 2014, pp. 309-318 Received: July 18, 2014; Published: November 25, 2014 Computer Science and Applications www.ethanpublishing.com Anabela Tereso, André Guedes and

More information

Cambridge International AS and A Level Computer Science

Cambridge International AS and A Level Computer Science Topic support guide Cambridge International AS and A Level Computer Science 9608 For examination from 2017 Topic 4.4.3 Project management PERT and GANTT charts Cambridge International Examinations retains

More information

Data Structures and Algorithms Written Examination

Data Structures and Algorithms Written Examination Data Structures and Algorithms Written Examination 22 February 2013 FIRST NAME STUDENT NUMBER LAST NAME SIGNATURE Instructions for students: Write First Name, Last Name, Student Number and Signature where

More information

Triangle deletion. Ernie Croot. February 3, 2010

Triangle deletion. Ernie Croot. February 3, 2010 Triangle deletion Ernie Croot February 3, 2010 1 Introduction The purpose of this note is to give an intuitive outline of the triangle deletion theorem of Ruzsa and Szemerédi, which says that if G = (V,

More information

Why? A central concept in Computer Science. Algorithms are ubiquitous.

Why? A central concept in Computer Science. Algorithms are ubiquitous. Analysis of Algorithms: A Brief Introduction Why? A central concept in Computer Science. Algorithms are ubiquitous. Using the Internet (sending email, transferring files, use of search engines, online

More information

Network Planning and Analysis

Network Planning and Analysis 46 Network Planning and Analysis 1. Objective: What can you tell me about the project? When will the project finish? How long will the project take (project total duration)? 2. Why is this topic Important

More information

SYSM 6304: Risk and Decision Analysis Lecture 5: Methods of Risk Analysis

SYSM 6304: Risk and Decision Analysis Lecture 5: Methods of Risk Analysis SYSM 6304: Risk and Decision Analysis Lecture 5: Methods of Risk Analysis M. Vidyasagar Cecil & Ida Green Chair The University of Texas at Dallas Email: M.Vidyasagar@utdallas.edu October 17, 2015 Outline

More information

CSE 326, Data Structures. Sample Final Exam. Problem Max Points Score 1 14 (2x7) 2 18 (3x6) 3 4 4 7 5 9 6 16 7 8 8 4 9 8 10 4 Total 92.

CSE 326, Data Structures. Sample Final Exam. Problem Max Points Score 1 14 (2x7) 2 18 (3x6) 3 4 4 7 5 9 6 16 7 8 8 4 9 8 10 4 Total 92. Name: Email ID: CSE 326, Data Structures Section: Sample Final Exam Instructions: The exam is closed book, closed notes. Unless otherwise stated, N denotes the number of elements in the data structure

More information

Foundations of Operations Research

Foundations of Operations Research Foudatios of Operatios Research Master of Sciece i Computer Egieerig Roberto Cordoe roberto.cordoe@uimi.it Tuesday 13.15-15.15 Thursday 10.15-13.15 http://homes.di.uimi.it/~cordoe/courses/2014-for/2014-for.html

More information

Instruction Scheduling. Software Pipelining - 2

Instruction Scheduling. Software Pipelining - 2 and Software Pipelining - 2 Department of Computer Science and Automation Indian Institute of Science Bangalore 560 012 NPTEL Course on Principles of Compiler Design Outline Simple Basic Block Scheduling

More information

MECH 896 Professional Development for MEng Students. Homework Discussion. Scheduling Overview. Winter 2015: Lecture #5 Project Time Management

MECH 896 Professional Development for MEng Students. Homework Discussion. Scheduling Overview. Winter 2015: Lecture #5 Project Time Management MECH 896 Professional Development for MEng Students Mohamed Hefny and Brian Surgenor (hefny@cs.queensu.ca and surgenor@me.queensu.ca) Winter : Lecture # Project Time Management Homework Discussion Homework

More information

Modern Optimization Methods for Big Data Problems MATH11146 The University of Edinburgh

Modern Optimization Methods for Big Data Problems MATH11146 The University of Edinburgh Modern Optimization Methods for Big Data Problems MATH11146 The University of Edinburgh Peter Richtárik Week 3 Randomized Coordinate Descent With Arbitrary Sampling January 27, 2016 1 / 30 The Problem

More information

Scheduling Single Machine Scheduling. Tim Nieberg

Scheduling Single Machine Scheduling. Tim Nieberg Scheduling Single Machine Scheduling Tim Nieberg Single machine models Observation: for non-preemptive problems and regular objectives, a sequence in which the jobs are processed is sufficient to describe

More information

Project Planning. Lecture Objectives. Basic Reasons for Planning. Planning. Project Planning and Control System. Planning Steps

Project Planning. Lecture Objectives. Basic Reasons for Planning. Planning. Project Planning and Control System. Planning Steps Project Planning What are you going to do in the project? Lecture Objectives To discuss the tasks in planning a project To describe the tools that can be used for developing a project plan To illustrate

More information

Network Calculations

Network Calculations Network Calculations The concepts and graphical techniques described in this week s readings form the basis of the tools widely used today to manage large projects. There is no way of simplifying the tasks

More information

Software Engineering. Pert and Gantt exercises. Lecturer: Giuseppe Santucci

Software Engineering. Pert and Gantt exercises. Lecturer: Giuseppe Santucci Software Engineering Pert and Gantt exercises Lecturer: Giuseppe Santucci Degree of freedom! I.3a 3 3 I. I. 3 I.3b I.3c I.4 Exercise s goals. Draw a PERT network (AON) representing a project s characteristics.

More information

14.1 Rent-or-buy problem

14.1 Rent-or-buy problem CS787: Advanced Algorithms Lecture 14: Online algorithms We now shift focus to a different kind of algorithmic problem where we need to perform some optimization without knowing the input in advance. Algorithms

More information

LINEAR INEQUALITIES. Mathematics is the art of saying many things in many different ways. MAXWELL

LINEAR INEQUALITIES. Mathematics is the art of saying many things in many different ways. MAXWELL Chapter 6 LINEAR INEQUALITIES 6.1 Introduction Mathematics is the art of saying many things in many different ways. MAXWELL In earlier classes, we have studied equations in one variable and two variables

More information

6.02 Practice Problems: Routing

6.02 Practice Problems: Routing 1 of 9 6.02 Practice Problems: Routing IMPORTANT: IN ADDITION TO THESE PROBLEMS, PLEASE SOLVE THE PROBLEMS AT THE END OF CHAPTERS 17 AND 18. Problem 1. Consider the following networks: network I (containing

More information

NP-Hardness Results Related to PPAD

NP-Hardness Results Related to PPAD NP-Hardness Results Related to PPAD Chuangyin Dang Dept. of Manufacturing Engineering & Engineering Management City University of Hong Kong Kowloon, Hong Kong SAR, China E-Mail: mecdang@cityu.edu.hk Yinyu

More information

The work breakdown structure can be illustrated in a block diagram:

The work breakdown structure can be illustrated in a block diagram: 1 Project Management Tools for Project Management Work Breakdown Structure A complex project is made manageable by first breaking it down into individual components in a hierarchical structure, known as

More information

Project Planning and Scheduling

Project Planning and Scheduling Project Planning and Scheduling MFS606 Project Planning Preliminary Coordination Detailed Task Description Objectives Budgeting Scheduling Project Status Monitoring When, What, Who Project Termination

More information

CSE 4351/5351 Notes 7: Task Scheduling & Load Balancing

CSE 4351/5351 Notes 7: Task Scheduling & Load Balancing CSE / Notes : Task Scheduling & Load Balancing Task Scheduling A task is a (sequential) activity that uses a set of inputs to produce a set of outputs. A task (precedence) graph is an acyclic, directed

More information

Grace Emmaus Walk #49 Recipes

Grace Emmaus Walk #49 Recipes Grace Emmaus Walk #49 Recipes Amish Oatmeal 1 ½ cup oatmeal ½ cup sugar ½ cup milk ¼ cup melted butter 1 eggand 1 tsp baking powder ¾ tsp salt 2 tsp vanilla Combine all ingredients and mix well. Spread

More information

Reinforcement Learning

Reinforcement Learning Reinforcement Learning LU 2 - Markov Decision Problems and Dynamic Programming Dr. Martin Lauer AG Maschinelles Lernen und Natürlichsprachliche Systeme Albert-Ludwigs-Universität Freiburg martin.lauer@kit.edu

More information

4.6 Linear Programming duality

4.6 Linear Programming duality 4.6 Linear Programming duality To any minimization (maximization) LP we can associate a closely related maximization (minimization) LP. Different spaces and objective functions but in general same optimal

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design and Analysis LECTURE 27 Approximation Algorithms Load Balancing Weighted Vertex Cover Reminder: Fill out SRTEs online Don t forget to click submit Sofya Raskhodnikova 12/6/2011 S. Raskhodnikova;

More information

Special Situations in the Simplex Algorithm

Special Situations in the Simplex Algorithm Special Situations in the Simplex Algorithm Degeneracy Consider the linear program: Maximize 2x 1 +x 2 Subject to: 4x 1 +3x 2 12 (1) 4x 1 +x 2 8 (2) 4x 1 +2x 2 8 (3) x 1, x 2 0. We will first apply the

More information

2.3 Convex Constrained Optimization Problems

2.3 Convex Constrained Optimization Problems 42 CHAPTER 2. FUNDAMENTAL CONCEPTS IN CONVEX OPTIMIZATION Theorem 15 Let f : R n R and h : R R. Consider g(x) = h(f(x)) for all x R n. The function g is convex if either of the following two conditions

More information

Deming s 14 Points for TQM

Deming s 14 Points for TQM 1 Deming s 14 Points for TQM 1. Constancy of purpose Create constancy of purpose for continual improvement of products and service to society, allocating resources to provide for long range needs rather

More information

Dynamic Programming. Lecture 11. 11.1 Overview. 11.2 Introduction

Dynamic Programming. Lecture 11. 11.1 Overview. 11.2 Introduction Lecture 11 Dynamic Programming 11.1 Overview Dynamic Programming is a powerful technique that allows one to solve many different types of problems in time O(n 2 ) or O(n 3 ) for which a naive approach

More information

Introduction to Scheduling Theory

Introduction to Scheduling Theory Introduction to Scheduling Theory Arnaud Legrand Laboratoire Informatique et Distribution IMAG CNRS, France arnaud.legrand@imag.fr November 8, 2004 1/ 26 Outline 1 Task graphs from outer space 2 Scheduling

More information

Project Management 1. PROJECT MANAGEMENT...1 2. PROJECT ANALYSIS...3

Project Management 1. PROJECT MANAGEMENT...1 2. PROJECT ANALYSIS...3 Project Management What is a project? How to plan a project? How to schedule a project? How to control a project? 1. PROJECT MNGEMENT...1 2. PROJECT NLYSIS...3 3 PROJECT PLNNING...8 3.1 RESOURCE LLOCTION...8

More information

Managerial Economics Prof. Trupti Mishra S.J.M. School of Management Indian Institute of Technology, Bombay. Lecture - 13 Consumer Behaviour (Contd )

Managerial Economics Prof. Trupti Mishra S.J.M. School of Management Indian Institute of Technology, Bombay. Lecture - 13 Consumer Behaviour (Contd ) (Refer Slide Time: 00:28) Managerial Economics Prof. Trupti Mishra S.J.M. School of Management Indian Institute of Technology, Bombay Lecture - 13 Consumer Behaviour (Contd ) We will continue our discussion

More information

What is Linear Programming?

What is Linear Programming? Chapter 1 What is Linear Programming? An optimization problem usually has three essential ingredients: a variable vector x consisting of a set of unknowns to be determined, an objective function of x to

More information

Project Scheduling & Tracking

Project Scheduling & Tracking Project Scheduling & Tracking Traditional Techniques: Work Breakdown Structure (WBS) Gantt Charts Precedence Diagrams Earned Value Planning It is the mark of an instructed mind to rest satisfied with the

More information

Reinforcement Learning

Reinforcement Learning Reinforcement Learning LU 2 - Markov Decision Problems and Dynamic Programming Dr. Joschka Bödecker AG Maschinelles Lernen und Natürlichsprachliche Systeme Albert-Ludwigs-Universität Freiburg jboedeck@informatik.uni-freiburg.de

More information

CS 3719 (Theory of Computation and Algorithms) Lecture 4

CS 3719 (Theory of Computation and Algorithms) Lecture 4 CS 3719 (Theory of Computation and Algorithms) Lecture 4 Antonina Kolokolova January 18, 2012 1 Undecidable languages 1.1 Church-Turing thesis Let s recap how it all started. In 1990, Hilbert stated a

More information

Operational Research. Project Menagement Method by CPM/ PERT

Operational Research. Project Menagement Method by CPM/ PERT Operational Research Project Menagement Method by CPM/ PERT Project definition A project is a series of activities directed to accomplishment of a desired objective. Plan your work first..then work your

More information

Project Management SCM 352. 2011 Pearson Education, Inc. publishing as Prentice Hall

Project Management SCM 352. 2011 Pearson Education, Inc. publishing as Prentice Hall 3 Project Management 3 SCM 35 11 Pearson Education, Inc. publishing as Prentice Hall Boeing 787 Dreamliner Delays are a natural part of the airplane supply business. They promise an unreasonable delivery

More information

Linear Programming Notes V Problem Transformations

Linear Programming Notes V Problem Transformations Linear Programming Notes V Problem Transformations 1 Introduction Any linear programming problem can be rewritten in either of two standard forms. In the first form, the objective is to maximize, the material

More information

Project Management Chapter 3

Project Management Chapter 3 Project Management Chapter 3 How Project Management fits the Operations Management Philosophy Operations As a Competitive Weapon Operations Strategy Project Management Process Strategy Process Analysis

More information

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 General Integer Linear Program: (ILP) min c T x Ax b x 0 integer Assumption: A, b integer The integrality condition

More information

SWEN 256 Software Process & Project Management

SWEN 256 Software Process & Project Management SWEN 256 Software Process & Project Management Plan: Identify activities. No specific start and end dates. Estimating: Determining the size & duration of activities. Schedule: Adds specific start and end

More information

IEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2

IEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2 IEOR 4404 Homework # Intro OR: Deterministic Models February 14, 011 Prof. Jay Sethuraman Page 1 of 5 Homework #.1 (a) What is the optimal solution of this problem? Let us consider that x 1, x and x 3

More information

Project Scheduling: PERT/CPM

Project Scheduling: PERT/CPM Project Scheduling: PERT/CPM CHAPTER 8 LEARNING OBJECTIVES After completing this chapter, you should be able to: 1. Describe the role and application of PERT/CPM for project scheduling. 2. Define a project

More information

IE 680 Special Topics in Production Systems: Networks, Routing and Logistics*

IE 680 Special Topics in Production Systems: Networks, Routing and Logistics* IE 680 Special Topics in Production Systems: Networks, Routing and Logistics* Rakesh Nagi Department of Industrial Engineering University at Buffalo (SUNY) *Lecture notes from Network Flows by Ahuja, Magnanti

More information

Dynamic Programming 11.1 AN ELEMENTARY EXAMPLE

Dynamic Programming 11.1 AN ELEMENTARY EXAMPLE Dynamic Programming Dynamic programming is an optimization approach that transforms a complex problem into a sequence of simpler problems; its essential characteristic is the multistage nature of the optimization

More information

Exercise 12 " Project Management "

Exercise 12  Project Management Universität Stuttgart Institute of Industrial Automation and Software Engineering Prof. Dr.-Ing. M. Weyrich Exercise 12 " Project Management " Question 12.1 Cost Estimation with COCOMO One of the methods

More information

Goals of the Unit. spm - 2014 adolfo villafiorita - introduction to software project management

Goals of the Unit. spm - 2014 adolfo villafiorita - introduction to software project management Project Scheduling Goals of the Unit Making the WBS into a schedule Understanding dependencies between activities Learning the Critical Path technique Learning how to level resources!2 Initiate Plan Execute

More information

5 Directed acyclic graphs

5 Directed acyclic graphs 5 Directed acyclic graphs (5.1) Introduction In many statistical studies we have prior knowledge about a temporal or causal ordering of the variables. In this chapter we will use directed graphs to incorporate

More information

Module 3: The Project Planning Stage

Module 3: The Project Planning Stage Overview Once you've initiated the project and gathered all relevant information, you'll then begin planning your project. The planning stage depends on the size of your project, how much information you

More information

Chapter 11 Monte Carlo Simulation

Chapter 11 Monte Carlo Simulation Chapter 11 Monte Carlo Simulation 11.1 Introduction The basic idea of simulation is to build an experimental device, or simulator, that will act like (simulate) the system of interest in certain important

More information

Modeling and Performance Evaluation of Computer Systems Security Operation 1

Modeling and Performance Evaluation of Computer Systems Security Operation 1 Modeling and Performance Evaluation of Computer Systems Security Operation 1 D. Guster 2 St.Cloud State University 3 N.K. Krivulin 4 St.Petersburg State University 5 Abstract A model of computer system

More information

Near Optimal Solutions

Near Optimal Solutions Near Optimal Solutions Many important optimization problems are lacking efficient solutions. NP-Complete problems unlikely to have polynomial time solutions. Good heuristics important for such problems.

More information

Automata and Computability. Solutions to Exercises

Automata and Computability. Solutions to Exercises Automata and Computability Solutions to Exercises Fall 25 Alexis Maciel Department of Computer Science Clarkson University Copyright c 25 Alexis Maciel ii Contents Preface vii Introduction 2 Finite Automata

More information

PROJECT EVALUATION REVIEW TECHNIQUE (PERT) AND CRITICAL PATH METHOD (CPM)

PROJECT EVALUATION REVIEW TECHNIQUE (PERT) AND CRITICAL PATH METHOD (CPM) PROJECT EVALUATION REVIEW TECHNIQUE (PERT) AND CRITICAL PATH METHOD (CPM) Project Evaluation Review Technique (PERT) and Critical Path Method (CPM) are scheduling techniques used to plan, schedule, budget

More information

Actually Doing It! 6. Prove that the regular unit cube (say 1cm=unit) of sufficiently high dimension can fit inside it the whole city of New York.

Actually Doing It! 6. Prove that the regular unit cube (say 1cm=unit) of sufficiently high dimension can fit inside it the whole city of New York. 1: 1. Compute a random 4-dimensional polytope P as the convex hull of 10 random points using rand sphere(4,10). Run VISUAL to see a Schlegel diagram. How many 3-dimensional polytopes do you see? How many

More information

Project Time Management

Project Time Management Project Time Management Plan Schedule Management is the process of establishing the policies, procedures, and documentation for planning, developing, managing, executing, and controlling the project schedule.

More information

1. Then f has a relative maximum at x = c if f(c) f(x) for all values of x in some

1. Then f has a relative maximum at x = c if f(c) f(x) for all values of x in some Section 3.1: First Derivative Test Definition. Let f be a function with domain D. 1. Then f has a relative maximum at x = c if f(c) f(x) for all values of x in some open interval containing c. The number

More information

CS 598CSC: Combinatorial Optimization Lecture date: 2/4/2010

CS 598CSC: Combinatorial Optimization Lecture date: 2/4/2010 CS 598CSC: Combinatorial Optimization Lecture date: /4/010 Instructor: Chandra Chekuri Scribe: David Morrison Gomory-Hu Trees (The work in this section closely follows [3]) Let G = (V, E) be an undirected

More information

Complexity Theory. IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar

Complexity Theory. IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar Complexity Theory IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar Outline Goals Computation of Problems Concepts and Definitions Complexity Classes and Problems Polynomial Time Reductions Examples

More information

Mining Social Network Graphs

Mining Social Network Graphs Mining Social Network Graphs Debapriyo Majumdar Data Mining Fall 2014 Indian Statistical Institute Kolkata November 13, 17, 2014 Social Network No introduc+on required Really? We s7ll need to understand

More information

in R Binbin Lu, Martin Charlton National Centre for Geocomputation National University of Ireland Maynooth The R User Conference 2011

in R Binbin Lu, Martin Charlton National Centre for Geocomputation National University of Ireland Maynooth The R User Conference 2011 Converting a spatial network to a graph in R Binbin Lu, Martin Charlton National Centre for Geocomputation National University of Ireland Maynooth Maynooth, Co.Kildare, Ireland The R User Conference 2011

More information

Sect 3.2 - Least Common Multiple

Sect 3.2 - Least Common Multiple Let's start with an example: Sect 3.2 - Least Common Multiple Ex. 1 Suppose a family has two different pies. If they have 2 3 of one type of pie and 3 of another pie, is it possible to combine the pies

More information

LECTURE 5: SOFTWARE PROJECT MANAGEMENT. Software Engineering Mike Wooldridge

LECTURE 5: SOFTWARE PROJECT MANAGEMENT. Software Engineering Mike Wooldridge LECTURE 5: SOFTWARE PROJECT MANAGEMENT Mike Wooldridge 1 Introduction The software crisis of the 1960s and 1970s was so called because of a string of high profile software project failures: over budget,

More information

In order to describe motion you need to describe the following properties.

In order to describe motion you need to describe the following properties. Chapter 2 One Dimensional Kinematics How would you describe the following motion? Ex: random 1-D path speeding up and slowing down In order to describe motion you need to describe the following properties.

More information

Priori ty ... ... ...

Priori ty ... ... ... .Maintenance Scheduling Maintenance scheduling is the process by which jobs are matched with resources (crafts) and sequenced to be executed at certain points in time. The maintenance schedule can be prepared

More information

Sugar Cookies. Ice Box Cookies. Hannah Christiane Hansen Cox. Hannah Christiane Hansen Cox. Ingredients: Ingredients:

Sugar Cookies. Ice Box Cookies. Hannah Christiane Hansen Cox. Hannah Christiane Hansen Cox. Ingredients: Ingredients: Sugar Cookies 1 heaping cup lard 1 1/3 cups sugar 2 eggs - well beaten 1 cup canned milk (evaporated) or ½ and ½ 5 cups flour 4 teaspoons baking powder ¼ teaspoon salt 2 teaspoons vanilla Mix flour, baking

More information

CHAPTER 1. Basic Concepts on Planning and Scheduling

CHAPTER 1. Basic Concepts on Planning and Scheduling CHAPTER 1 Basic Concepts on Planning and Scheduling Scheduling, FEUP/PRODEI /MIEIC 1 Planning and Scheduling: Processes of Decision Making regarding the selection and ordering of activities as well as

More information

Minimum cost maximum flow, Minimum cost circulation, Cost/Capacity scaling

Minimum cost maximum flow, Minimum cost circulation, Cost/Capacity scaling 6.854 Advanced Algorithms Lecture 16: 10/11/2006 Lecturer: David Karger Scribe: Kermin Fleming and Chris Crutchfield, based on notes by Wendy Chu and Tudor Leu Minimum cost maximum flow, Minimum cost circulation,

More information

Leaving Certificate Technology. Project Management. Teacher Notes

Leaving Certificate Technology. Project Management. Teacher Notes Leaving Certificate Technology Project Management Teacher Notes 1 Project Management This is the first of three key topics that form Project and Quality Management in the Technology Syllabus core. These

More information

CSC2420 Spring 2015: Lecture 3

CSC2420 Spring 2015: Lecture 3 CSC2420 Spring 2015: Lecture 3 Allan Borodin January 22, 2015 1 / 1 Announcements and todays agenda Assignment 1 due next Thursday. I may add one or two additional questions today or tomorrow. Todays agenda

More information

Simplified External memory Algorithms for Planar DAGs. July 2004

Simplified External memory Algorithms for Planar DAGs. July 2004 Simplified External Memory Algorithms for Planar DAGs Lars Arge Duke University Laura Toma Bowdoin College July 2004 Graph Problems Graph G = (V, E) with V vertices and E edges DAG: directed acyclic graph

More information

Lecture 17 : Equivalence and Order Relations DRAFT

Lecture 17 : Equivalence and Order Relations DRAFT CS/Math 240: Introduction to Discrete Mathematics 3/31/2011 Lecture 17 : Equivalence and Order Relations Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený DRAFT Last lecture we introduced the notion

More information