Network Optimization Models. Chapter 10: Hillier and Lieberman Chapter 8: Decision Tools for Agribusiness Dr. Hurley s AGB 328 Course

Similar documents
Modelling with linear programming

NETWORK OPTIMIZATION MODELS

Construction Planning & scheduling. Precedence Networks. Precedence networks

Overview. H. R. Alvarez A., Ph. D.

Network Optimization Problems. Chapter 6: Hillier and Hillier

Introduction to Linear Programming. Chapter 3: Hillier and Lieberman Chapter 3: Decision Tools for Agribusiness Dr. Hurley s AGB 328 Course

YEAR 12 FURTHER MATHS UNIT 4 MODULE 2 NETWORKS AND DECISION MATHEMATICS CRITICAL PATH ANALYSIS

if i is a predecessor of j, and there i is an immediate predecessor (IP) of j is no other job for which i is a predecessor and j a successor. Then j i

ADMS 3330 FALL 2008 EXAM All Multiple choice Exam (See Answer Key on last page)

Chalmers University of Technology. Network Models. April 11, Birgit Grohe

Network Models - Examples. Network Models. Definition and Terminology. The Minimum Spanning Tree (MST) Problem

4. Linear Programming

APPM 4120/5120 Exam #2 Practice Solutions Spring 2015

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs

Linear programming II João Carlos Lourenço

Linear Programming: Basic Concepts. Chapter 2: Hillier and Hillier

1. What do you get as the integer and noninteger parts if you factor this as we did with our cutting planes:

Network Flow Models. Chapter Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall

Lecture notes on Transportation and Assignment Problem (BBE (H) QTM paper of Delhi University)

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748

0.0.1 Network Analysis

Introduction. Linear because it requires linear functions. Programming as synonymous of planning.

Department of Mathematics Oleg Burdakov of 30 October Consider the following linear programming problem (LP):

Maximum flow problem CE 377K. March 3, 2015

Network Analysis. Links, nodes, trees, graphs, paths and cycles what does it all mean? Minimal spanning tree shortest route maximum flow

Material handling and Transportation in Logistics. Paolo Detti Dipartimento di Ingegneria dell Informazione e Scienze Matematiche Università di Siena

5.4 Pure Minimal Cost Flow

Generalized Network Flow Programming

Introduction to Management Science (8th Edition, Bernard W. Taylor III) Chapter 12 Network Flow Models. Chapter 12 - Network Flow Models 1

Australian Journal of Basic and Applied Sciences. Meeting the Desired Fuzzy Shortest Possible Duration to Complete the Project at Fuzzy Least Cost

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

Ryerson Polytechnic University Department of Mathematics, Physics, and Computer Science Final Examinations, April, 2003

OVERVIEW OF THE NETWORK OPTIMIZATION PROGRAM (NOP) A. INTRODUCTION

Dependency Table Example. Task ID Name Predecessors 1 A 2 B 3 C 4 D 1 5 E 1;2 6 F 1;2 7 G 5;6 8 H 4;5

A NEW APPROACH TO FULLY FUZZY

CS261: Problem Set #2

Chapter 5 Graph Algorithms Algorithm Theory WS 2012/13 Fabian Kuhn

CSC 8301 Design & Analysis of Algorithms: Linear Programming

M. Yamuna* et al. /International Journal of Pharmacy & Technology

Copyright 2007 Pearson Addison-Wesley. All rights reserved. A. Levitin Introduction to the Design & Analysis of Algorithms, 2 nd ed., Ch.

PBW 654 Applied Statistics - I Urban Operations Research. Unit 3. Network Modelling

Final Exam Spring 2003

ME 391Q Network Flow Programming

Tuesday, April 10. The Network Simplex Method for Solving the Minimum Cost Flow Problem

Outline: Finish uncapacitated simplex method Negative cost cycle algorithm The max-flow problem Max-flow min-cut theorem

LECTURES 3 and 4: Flows and Matchings

and 6.855J March 6, Maximum Flows 2

Solutions for Operations Research Final Exam

Simulation. Lecture O1 Optimization: Linear Programming. Saeed Bastani April 2016

Chapter 11: PERT for Project Planning and Scheduling

Linear Programming. Course review MS-E2140. v. 1.1

Notes on Network Optimization CE 4920 Stephen Boyles Fall 2009

Chapter 6: Activity Planning Part 2

Konigsberg Bridge Problem

CMPSCI 311: Introduction to Algorithms Practice Final Exam

Page 1. Kobrin/Losquadro Math 8. Unit 10 - Types of Numbers Test Review. Questions 1 and 2 refer to the following:

4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

COST OPTIMIZATION OF CONSTRUCTION PROJECT SCHEDULES

Primal Simplex Algorithm for the Pure Minimal Cost Flow Problem

Graphs and Network Flows IE411. Lecture 13. Dr. Ted Ralphs

Introduction to Mathematical Programming IE496. Final Review. Dr. Ted Ralphs

Problem set 2. Problem 1. Problem 2. Problem 3. CS261, Winter Instructor: Ashish Goel.

George B. Dantzig Mukund N. Thapa. Linear Programming. 1: Introduction. With 87 Illustrations. Springer

Tribhuvan University Institute Of Science and Technology Tribhuvan University Institute of Science and Technology

Friday 5 June 2015 Morning

Artificial Intelligence

TIM 206 Lecture Notes Integer Programming

Minimum Cost Edge Disjoint Paths

Questions Total Points Score

4 Linear Programming (LP) E. Amaldi -- Foundations of Operations Research -- Politecnico di Milano 1

Discrete Optimization 2010 Lecture 5 Min-Cost Flows & Total Unimodularity

Flows on surface embedded graphs. Erin Chambers

UNIVERSITY OF TORONTO Department of Computer Science April 2014 Final Exam CSC373H1S Robert Robere Duration - 3 hours No Aids Allowed.

INEN 420 Final Review

Job Management & Network Flows

Lecture 8 Network Flow Models

4.1 The original problem and the optimal tableau

Graphs and Network Flows IE411. Lecture 20. Dr. Ted Ralphs

Application of Bounded Variable Simplex Algorithm in Solving Maximal Flow Model

Partha Sarathi Mandal

Approximation Algorithms

Advanced Algorithms Class Notes for Monday, October 23, 2012 Min Ye, Mingfu Shao, and Bernard Moret

Project Management Foundations

3 INTEGER LINEAR PROGRAMMING

22 Elementary Graph Algorithms. There are two standard ways to represent a

Network optimization: An overview

physicsandmathstutor.com

Chapter 9. Greedy Technique. Copyright 2007 Pearson Addison-Wesley. All rights reserved.

Repetition: Primal Dual for Set Cover

2.3 Optimal paths. Optimal (shortest or longest) paths have a wide range of applications:

OPTIMIZAÇÃO E DECISÃO 09/10

15-451/651: Design & Analysis of Algorithms October 11, 2018 Lecture #13: Linear Programming I last changed: October 9, 2018

Reducing Project Duration

x ji = s i, i N, (1.1)

CSCI 5654 (Fall 2013): Network Simplex Algorithm for Transshipment Problems.

EXERCISES SHORTEST PATHS: APPLICATIONS, OPTIMIZATION, VARIATIONS, AND SOLVING THE CONSTRAINED SHORTEST PATH PROBLEM. 1 Applications and Modelling

Primavera P6 Exercise Worksheet

Lecture 10,11: General Matching Polytope, Maximum Flow. 1 Perfect Matching and Matching Polytope on General Graphs

Combinatorial Optimization

MEI Conference 2009: D2

Transcription:

Network Optimization Models Chapter 10: Hillier and Lieberman Chapter 8: Decision Tools for Agribusiness Dr. Hurley s AGB 328 Course

Terms to Know Nodes, Arcs, Directed Arc, Undirected Arc, Links, Directed Network, Undirected Network, Path, Directed Path, Undirected Path, Cycle, Connected, Connected Network, Tree, Spanning Tree, Arc Capacity, Supply Node, Demand Node, Transshipment Node, Sink, Source, Residual Network, Residual Capacity, Augmenting Path, Cut, Cut Value, Max-Flow Min-Cut Theorem, Feasible Solutions Property, Integer Solutions Property, Reverse Arc, Basic Arcs, Nonbasic Arcs

Terms to Know Cont. Spanning Tree Solution, Feasible Spanning Tree, Fundamental Theorem for the Network Simplex Method, Program Evaluation and Review Technique (PERT), Critical Path Method (CPM), Immediate Successor, Immediate Predecessor, Project Network, Activity-on-Arc, Activity-on-Node, Project Duration, Critical Path, Crashing an Activity, Crashing the Project, Normal Point, Crash Point, Marginal Cost Analysis

The Shortest Path Problem A shortest path problem usually has a node known as the origin and a node known as the destination The objective of this problem is to find the shortest path from the origin node to the destination node The shortest path could be measured in time, distance, etc. Since this problem is a special case of the linear programming problem, the simplex method could be used to solve it

Mathematical Model for Seervada Shortest Path Problem min w.r.t. x OA,x OB,x OC, x AB,x AD,x BC,x BD,x BE, x CB,x CE,x DE,x DT,x ED,x ET 2 x OA + 5x OB + 4x OC + 2x AB + 7x AD + 1x BC + 4x BD + 3x BE + 1x CB + 4x CE + 1x DE + 1x ED + 5x DT + 7x ET Subject To: x OA + x OC + x OB = 1 x OA x AD x AB = 0 x OB + x AB + x CB x BC x BD x BE = 0 x OC + x BC x CB x CE = 0 x AD + x BD + x ED x DE x DT = 0 x BE + x CE + x DE x ED x ET = 0 x DT + x ET = 1 x OA, x OB, x OC, x AB, x AD, x BC, x BD, x BE, x CB, x CE, x DE, x DT, x ED, x ET (0,1)

Seervada Spreadsheet Model Examine in Class

Minimum Spanning Tree Problems The goal of the minimum spanning tree problem is to connect all the nodes either directly or indirectly at the lowest cost The minimum spanning tree problem will have one less link than the number of nodes in the optimal solution The solution to the minimum spanning tree problem can be accomplished using the greedy algorithm

Greedy Algorithm Choose any two nodes initially and connect them Identify the closest unconnected node and then connect it Continue until all nodes have been connected to the tree Ties can be broken arbitrarily

The Maximum Flow Problem The purpose of the maximum flow problem is to get as much flow through the network based on the capacity constraints of the network This can be measured by the amount leaving the source or by the amount entering the sink It has a source where supply originates from and a sink which absorbs the supply that makes it through the network

Augmenting Path Algorithm for Maximum Flow Problems Identify an augmenting path that takes flow from the source to the sink in the residual network such that every arc on this path has strictly positive residual If this path does not exist, you have the optimal Identify the residual capacity c* by finding the minimum of the residual capacities of the arcs on the path Increase the flow in this path by c* Decrease the residual capacities by c* for each arc on the augmenting path

Max-Flow Min-Cut Theorem Another way of figuring out the maximum flow is by using the Max-Flow Min-Cut Theorem The theorem states that if you have a single source and sink, then the maximum flow through the network is equal to the smallest cut value for all the cuts of the network The cut value is found by summing up all the arcs which are directly affected by the cut of a network A cut is defined as a set of directed arcs that separate the source from the sink

Mathematical Model for the Seervada Max Flow Problem max x w.r.t. x OA,x OB,x OC,x AB,x AD,x OA +x OB + x OC BC, x BD,x BE,x CE,x DT,x ED,x ET x OA x AB x AD = 0 x OB + x AB x BC x BD x BE = 0 x OC + x BC x CE = 0 x AD + x BD x DT + x ED = 0 x BE + x CE x ED x ET = 0 0 x OA 5, 0 x OB 7, 0 x OC 4, 0 x AB 1, 0 x AD 3, 0 x BC 2, 0 x BD 4, 0 x BE 5, 0 x CE 4, 0 x DT 9, 0 x ED 1,0 x ET 6 Note: This is based on Figure 10.11 in the text.

Excel Formulation of Seervada Max Flow Problem Examined in Class

In Class Max Flow Activity (Not Graded) 0 B 7 0 F 7 A 8 7 0 C 10 6 0 0 E 3 0 G 6 0 0 I 6 0 5 0 0 D 4 0 H 7

Minimum Cost Flow Problem Requirements At least one supply node At least one demand node The network is directed and connected If the node is not a supply or demand node, then it is a transshipment node Flow through an arc is directed There is enough arc capacity to get the total supply to the total demand Costs are proportional to the amount of flow The objective is to minimize cost

Minimum Cost Flow General Mathematical Model x ij = the arc representing the flow from nodes i to j c ij = the cost of flow through x ij u ij = the arc capacity for x ij b i = net flow generated at node i Supply node (b i > 0), demand node (b i < 0), transshipment node (b i = 0) n n Minimimze Z = i=1 j=1 c ij x ij Subject to: n n j=1 x ij j=1 x ji = b i for each node i 0 x ij u ij for each arc

Minimum Cost Flow Problem in Excel We will examine the Distribution Unlimited Co. in class

What is Project Management Project management can be defined as the coordination of activities with the potential use of many organizations, both internal and external to the business, in order to conduct a large scale project from beginning to end. There are two management science techniques that are used for project management: Program and Evaluation Review Technique (PERT) Critical Path Method (CPM)

PERT/CPM PERT PERT was designed to examine projects from the standpoint of uncertainty. CPM CPM was designed to examine projects from the standpoint of costs. PERT and CPM techniques have been combined over time. PERT and CPM both rely heavily on the use of networks to help plan and display the coordination of all the activities for a project.

The Reliable Construction Company Reliable has just secured a contract to construct a new plant for a major manufacturer. The contract is for $5.4 million to cover all costs and any profits. The plant must be finished in a year. A penalty of $300,000 will be assessed if Reliable does not complete the project within 47 weeks. A bonus of $150,000 will be paid to Reliable if the plant is completed within 40 weeks.

Needed Terminology Activity A distinct task that needs to be performed as part of the project. Start Node This is a node that represents the beginning of the project. Finish Node This node represents the end of the project.

Needed Terminology Cont. Immediate Predecessor These are activities that must be completed by no later than the start time of the given activity. Immediate Successor Given the immediate predecessor of an activity, this activity becomes the immediate successor of each of these immediate predecessors. If an immediate successor has multiple immediate predecessors, then all must be finished before an activity can begin.

Activity List for Reliable Construction Activity Activity Description Immediate Predecessors Estimated Duration (Weeks) A Excavate 2 B Lay the foundation A 4 C Put up the rough wall B 10 D Put up the roof C 6 E Install the exterior plumbing C 4 F Install the interior plumbing E 5 G Put up the exterior siding D 7 H Do the exterior painting E, G 9 I Do the electrical work C 7 J Put up the wallboard F, I 8 K Install the flooring J 4 L Do the interior painting J 5 M Install the exterior fixtures H 2 N Install the interior fixtures K, L 6

Questions Needed to be Answered How can the project be displayed graphically? How much time is required to finish the project if no delays occur? When is earliest start and finish times for each activity if no delays occur? What activities are critical bottleneck activities where delays must be avoided to finish the project on time?

Questions Needed to be Answered Cont. For non bottleneck activities, how much can an activity be delayed and yet still keep the project on time? What is the probability of completing the project by the deadline? What is the least amount of money needed to expedite the project to obtain the bonus? How should costs be monitored to keep the project within budget?

Project Network A project network is a network diagram that uses nodes and arcs to represent the progression of the activities for a project from start to finish. Three pieces of information needed: Activity information Precedence relationship Time information

Project Network Cont. Two types of project networks Activity-on-Arc (AOA) On this diagram, the activity is represented on an arc, while a node is used to separate an activity from its immediate predecessors. Activity-on-Node (AON) On this diagram, the activity is represented by the node, while the arc is used to showed the precedence relationship between the activities.

START 0 Activity Code A 2 A. Excavate B. Foundation C. Rough wall B 4 D. Roof E. Exterior plumbing C 10 F. Interior plumbing G. Exterior siding H. Exterior painting D 6 E 4 I 7 I. Electrical work J. Wallboard K. Flooring L. Interior painting G 7 F 5 M. Exterior fixtures N. Interior fixtures J 8 H 9 K 4 L 5 M 2 N 6 FINISH 0

Scheduling Using PERT/CPM A path through a project network is a route that follows a set of arcs from the start node to the finish node. The length of a path is defined as the sum of the durations of the activities of the path. What are the paths and their corresponding lengths for Reliable?

Critical Path This is the path that has the longest length through the project. The shortest time that a project can conceivably be finished is the critical path. Why?

More Terminology Earliest start time of an activity (ES) The time at which an activity will begin if there are no delays in a project. Earliest finish time of an activity (EF) The time at which an activity will finish if there are no delays in a project. Latest start time of an activity (LS) The latest possible time that an activity can start without delaying the project.

More Terminology Cont. Latest finish time of an activity (LF) The latest possible time that an activity can be completed without delaying the project. Forward pass The process of moving through a project from start to finish to determine the earliest start and finish times for the activities in the project.

More Terminology Cont. Backward pass The process of moving through a project from finish to start to determine the latest start and finish times for the activities in the project. Slack for an activity The amount of time that a particular activity can be delayed without delaying the whole project. It is calculated by taking the difference between the latest finish time with the earliest finish time.

More Terminology Cont. Earliest start time rule The earliest start time for an activity is equal to the largest of the earliest finish times of its immediate predecessors. Latest finish time rule The latest finish time is equal to the smallest of the latest start times of its immediate successors.

Procedure for Obtaining Earliest Times Step 1: For the activity that starts the project, assign an earliest start time of zero, i.e., ES=0. Step 2: For each activity whose ES has just been obtained, calculate its earliest finish time as ES plus duration of the activity. Step 3: For each new activity whose immediate predecessors have EF values, obtain its ES by using the earliest start time rule.

Procedure for Obtaining Earliest Times Cont. Step 4: Apply step 2 to calculate EF. Step 5: Repeat step 3 until ES and EF have been obtained for all activities including the finish node.

Procedure for Obtaining Latest Times Step 1: For each of the activities that together complete the project, set its latest finish time equal to the earliest finish time of the finish node. Step 2: For each activity whose LF value has just been obtained, calculate its latest start time as LS equals LF minus the duration of the activity.

Procedure for Obtaining Latest Times Cont. Step 3: For each new activity whose immediate successors now have LS values, obtain its LF by applying the latest finish time rule. Step 4: Apply step 2 to calculate its LS. Step 5: Repeat step 3 until LF and LS have been obtained for all activities.

START 0 S = (0, 0) F = (0, 0) A 2 S = (0, 0) F = (2, 2) B 4 S = (2, 2) F = (6, 6) C 10 S = (6, 6) F = (16, 16) D 6 S = (16, 20) F = (22, 26) E 4 S = (16, 16) F = (20, 20) I 7 S = (16, 18) F = (23, 25) G 7 S = (22, 26) F = (29, 33) F 5 S = (20, 20) F = (25, 25) H 9 S = (29, 33) F = (38, 42) J 8 S = (25, 25) F = (33, 33) K 4 S = (33, 34) F = (37, 38) L 5 S = (33, 33) F = (38, 38) M 2 S = (38, 42) F = (40, 44) N 6 S = (38, 38) F = (44, 44) FINISH 0 S = (44, 44) F = (44, 44)

Ways of Finding the Critical Path Examine all the paths and find the path with the maximum length. Calculate the slack for an activity. If the slack is zero, it is on the critical path. If the slack is positive, it is not on the critical path.

Time-Cost Trade-Offs Reliable had an incentive bonus of $150,000 to finish the project in 40 weeks. Is it worth while for Reliable to speed-up the project?

Crashing Crashing an activity refers to taking on extra expenditures in order to reduce the duration of an activity below its expected value. Crashing a project refers to crashing a number of activities to reduce the duration of the project.

CPM Method of Time-Cost Trade- Offs This is a method concerned with whether it is worthwhile to crash activities to reduce the anticipated duration of the project to a desired value. This assumes that there is a trade-off between time and cost that has an inverse relationship.

More Terminology Normal Point is the time and cost of an activity when it is performed in a normal way. Crash point show the time and cost when the activity is fully crashed.

Graph of Normal and Crash Points Activity cost Crash cost Crash Normal cost Normal Crash time Normal time Activity duration

Marginal Cost Analysis It is a method of using the marginal cost of crashing individual activities on the current critical path to determine the least expensive way of reducing the project duration to an acceptable level. This method requires you to calculate the cost per desired time unit and compare each cost with the other costs.

Time (weeks) Cost Maximum Reduction Activity Normal Crash Normal Crash in Time (weeks) Crash Cost per Week Saved A 2 1 $180,000 $280,000 1 $100,000 B 4 2 320,000 420,000 2 50,000 C 10 7 620,000 860,000 3 80,000 D 6 4 260,000 340,000 2 40,000 E 4 3 410,000 570,000 1 160,000 F 5 3 180,000 260,000 2 40,000 G 7 4 900,000 1,020,000 3 40,000 H 9 6 200,000 380,000 3 60,000 I 7 5 210,000 270,000 2 30,000 J 8 6 430,000 490,000 2 30,000 K 4 3 160,000 200,000 1 40,000 L 5 3 250,000 350,000 2 50,000 M 2 1 100,000 200,000 1 100,000 N 6 3 330,000 510,000 3 60,000

Marginal Cost Analysis Cont. Once the marginal cost for crashing each activity has been conducted, you next want to choose the crashing that has the smallest marginal cost. Next, calculate the effect that the crash has on each path. Note: Crashing can potentially cause another path to become a critical path.

Solving Crashing Problems Using LP There are three decisions to be made: The start time of each activity The reduction in each activity due to crashing The finish time of the project LP model will be examined in class.