Lecture 3 Transshipment Problems Minimum Cost Flow Problems

Slides:



Advertisements
Similar presentations
Outline LP formulation of minimal cost flow problem
Advertisements

1 Material to Cover  relationship between different types of models  incorrect to round real to integer variables  logical relationship: site selection.
1 Lecture 2 Shortest-Path Problems Assignment Problems Transportation Problems.
Network Flows. 2 Ardavan Asef-Vaziri June-2013Transportation Problem and Related Topics Table of Contents Chapter 6 (Network Optimization Problems) Minimum-Cost.
1 1 Slides by John Loucks St. Edward’s University Modifications by A. Asef-Vaziri.
Transportation, Assignment, and Transshipment Problems
Introduction to Algorithms
The minimum cost flow problem
Management Science 461 Lecture 6 – Network Flow Problems October 21, 2008.
CSE 421 Algorithms Richard Anderson Lecture 23 Network Flow Applications.
1 1 Slide © 2006 Thomson South-Western. All Rights Reserved. Slides prepared by JOHN LOUCKS St. Edward’s University.
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
NetworkModel-1 Network Optimization Models. NetworkModel-2 Network Terminology A network consists of a set of nodes and arcs. The arcs may have some flow.
Max-flow/min-cut theorem Theorem: For each network with one source and one sink, the maximum flow from the source to the destination is equal to the minimal.
1 Lecture 4 Maximal Flow Problems Set Covering Problems.
15.082J, 6.855J, and ESD.78J September 21, 2010 Eulerian Walks Flow Decomposition and Transformations.
1.3 Modeling with exponentially many constr.  Some strong formulations (or even formulation itself) may involve exponentially many constraints (cutting.
Kerimcan OzcanMNGT 379 Operations Research1 Transportation, Assignment, and Transshipment Problems Chapter 7.
Chapter 5 Network Models. Thomson/South-Western 2007 © South-Western/Cengage Learning © 2012 Practical Management Science, 4e Winston/Albright Introduction.
15.082J and 6.855J and ESD.78J November 30, 2010 The Multicommodity Flow Problem.
The Supply Chain Customer Supplier Manufacturer Distributor
Section 2.9 Maximum Flow Problems Minimum Cost Network Flows Shortest Path Problems.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Chapter 7 Transportation, Assignment & Transshipment Problems
Minimum Cost Flows. 2 The Minimum Cost Flow Problem u ij = capacity of arc (i,j). c ij = unit cost of shipping flow from node i to node j on (i,j). x.
CSE 421 Algorithms Richard Anderson Lecture 24 Network Flow Applications.
Chapter 7 Transportation, Assignment, and Transshipment Problems
Chapter 1 Introduction Introduction  Networks: mathematical models of real systems like electrical and power/ telecom/ logistics/ highway/ rail/
EMIS 8373: Integer Programming “Easy” Integer Programming Problems: Network Flow Problems updated 11 February 2007.
The minimum cost flow problem. Simplifying assumptions Network is connected (as an undirected graph). – We can consider each connected component separately.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
EMIS 8374 Network Flow Models updated 29 January 2008.
Network Optimization Network optimization models: Special cases of linear programming models Important to identify problems that can be modeled as networks.
6-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Transportation, Transshipment, and Assignment Problems Chapter 6.
Lecture 5 – Integration of Network Flow Programming Models Topics Min-cost flow problem (general model) Mathematical formulation and problem characteristics.
Transportation, Assignment, and Transshipment Problems Pertemuan 7 Matakuliah: K0442-Metode Kuantitatif Tahun: 2009.
8/14/04J. Bard and J. W. Barnes Operations Research Models and Methods Copyright All rights reserved Lecture 5 – Integration of Network Flow Programming.
Network Flow Problems Example of Network Flow problems:
Chapter 8 Network Models to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
1 Chapter 2 Notation and Definitions Data Structures Transformations.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
Problems in Combinatorial Optimization. Linear Programming.
The minimum cost flow problem. Solving the minimum cost flow problem.
Approximation Algorithms Duality My T. UF.
Tuesday, March 19 The Network Simplex Method for Solving the Minimum Cost Flow Problem Handouts: Lecture Notes Warning: there is a lot to the network.
Minimum Cost Flow Algorithms and Networks. Algorithms and Networks: Minimum Cost Flow2 This lecture The minimum cost flow problem: statement and applications.
Part 3 Linear Programming
St. Edward’s University
The minimum cost flow problem
The assignment problem
Algorithms and Networks
Lecture 5 – Integration of Network Flow Programming Models
Lecture 5 – Integration of Network Flow Programming Models
1.3 Modeling with exponentially many constr.
Part 3 Linear Programming
Transportation, Assignment and Network Models
Introduction Basic formulations Applications
1.3 Modeling with exponentially many constr.
Chapter 5 Transportation, Assignment, and Transshipment Problems
Chapter 5 Network Modeling.
Flow Feasibility Problems
Algorithms and Networks
Minimum Cost Network Flow Problems
Part 3 Linear Programming
Network Optimization Models: Maximum Flow Problems
Branch-and-Bound Algorithm for Integer Program
Network Flow Problems – Maximal Flow Problems
Lecture 12 Network Models.
Presentation transcript:

Lecture 3 Transshipment Problems Minimum Cost Flow Problems 1

Agenda transshipment problems minimum cost flow problems 2

Transshipment Problems 3

Transshipment Problems intermediate nodes C and D with flows passing through, neither created nor destroyed minimum cost flows to send the goods through the nodes 9 4 11 6 1 2 5 8 3 C D F E G 60 40 35 45 20 A B 7 4

LP Formulation of Transshipment Problems what are the decisions? let xij be the amount of flow from node i to node j objective: min 7xAC + 4xAD + 9xBC + 11xBD + 3xCE + 5xCF + 2xCG + xDE + 8xDF + 6xDG 9 4 11 6 1 2 5 8 3 C D F E G 60 40 35 45 20 A B 7 5

LP Formulation of Transshipment Problems what are the rationale to set constraints? non-negativity: xij  0  i, j phenomena to model related to the distribution of goods equivalent to a valid flow pattern 9 4 11 6 1 2 5 8 3 C D F E G 60 40 35 45 20 A B 7 每一個限制式都是用符號和數學關係表達一個物理現象。 6

LP Formulation of Transshipment Problems min objective of a flow pattern, s.t. conditions to be a flow pattern. 9 4 11 6 1 2 5 8 3 C D F E G 60 40 35 45 20 A B 7 a valid flow pattern  conservation of flows at all nodes node A: xAC + xAD = 60 node B: xBC + xBD = 9 node C: xAC + xBC = xCE + xCF + xCG node D: xAD + xBD = xDE + xDF + xDG node E: xCE + xDE = 20 node F: xCF + xDF = 45 node G: xCG + xDG = 35 7

LP Formulation of Transshipment Problems min 7xAC + 4xAD + 9xBC + 11xBD + 3xCE + 5xCF + 2xCG + xDE + 8xDF + 6xDG s.t. node A: xAC + xAD = 60 node B: xBC + xBD = 9 node C: xAC + xBC = xCE + xCF + xCG node D: xAD + xBD = xDE + xDF + xDG node E: xCE + xDE = 20 node F: xCF + xDF = 45 node G: xCG + xDG = 35 xij  0  i, j 9 4 11 6 1 2 5 8 3 C D F E G 60 40 35 45 20 A B 7 8

Formulating a Transshipment Problem as a Transportation Problem motivation: simple solution method for transportation problems how to transform is node C (D) a source (i.e., a supplier)? a sink (i.e., a customer)? 9 4 11 6 1 2 5 8 3 C D F E G 60 40 35 45 20 A B 7 9

Formulating a Transshipment Problem as a Transportation Problem nodes C and D: both a source and a sink 9 4 11 6 1 2 5 8 3 C D F E G 60 40 35 45 20 A B 7 two linked transportation problems 9 4 11 C D 60 40 A B 7 6 1 2 5 8 3 C’ F E G 35 45 20 D’ 10

Formulating a Transshipment Problem as a Transportation Problem unsure flows: 0  xCC’  100, 0  xDD’  100 sink C D E F G source A 7 4  60 B 9 11 40 ? 3 5 2 1 8 6 20 45 35 11

Formulating a Transshipment Problem as a Transportation Problem observation: internal flow of zero cost does not affect the problem flow of 20 (or 2,000) units at no cost from node C to node C does not change the problem 9 4 11 6 1 2 5 8 3 C D F E G 60 40 35 45 20 A B 7 12

Formulating a Transshipment Problem as a Transportation Problem unsure flows: 0  xCC’  100, 0  xDD’  100 sink C D E F G source A 7 4  60 B 9 11 40 3 5 2 100 1 8 6 20 45 35 100 9 4 11 6 1 2 5 8 3 C D F E G 60 40 35 45 20 A B 7 13

Formulating a Transshipment Problem as a Transportation Problem unsure flows: 0  xCC’  100, 0  xDD’  100 7 100 9 4 11 6 1 2 5 8 3 C D F E G 60 40 35 45 20 A B 100 9 4 11 6 1 2 5 8 3 C D F E G 60 40 35 45 20 A B 7 14

Formulating a Transshipment Problem as a Transportation Problem interpretation of the flow pattern, e.g., 10 25 90 60 100 30 45 20 C D F E G 40 35 A B 10 30 25 45 20 C D F E G 60 40 35 A B 15

Capacitated Transshipment Problems lower and upper bounds for xij 0 ≤ lij ≤ xij ≤ uij any algorithms solving transshipment problems can solve the capacitated version of a transshipment problem 16

Exercise Model the problem as a balanced transportation problem 17 2 9 4 11 6 1 5 8 3 C D F E G 60 40 35 45 20 A B 7 17

Minimum Cost Flow Problems 18

Minimum Cost Flow Problems A = the set of assignment problems T = the set of transportation problems TS = the set of transshsipment problems MCF = the set of minimum cost flow problems A  T  TS  MCF 19

Minimum Cost Flow Problems balanced flow directed arcs an undirected arc replaced by two directed arcs with opposite directions 20

Example 5.4 of [7] 21

based on conservation of flow Example 5.4 of [7] min 5x02+4x13+2x23+6x24+5x25+x34+2x37 +4x42+6x45+3x46+4x76, s.t. a constraint for a node, based on conservation of flow 22

Minimum Cost Flow Problems special structure optimal integral solution if all availabilities, requirements, and capacities being integral solution methods: linear programming (i.e., Simplex), transportation Simplex, network flow methods 23

Minimum Cost Flow Problems with Bounds two general approaches to solve lij  xij  uij either algorithms specially for bounded MCF problems or converting a bounded MCF problem to an unbounded one 24

Converting a Bounded MCF to an Unbounded One what does the paragraph mean? if you don’t know what to do, work with a simple numerical example. 25

Minimum Cost Flow c01 = 3, c02 = 1, c12 = 2 inflow of node 0 = 8 c01 = 3, c02 = 1, c12 = 2 inflow of node 0 = 8 outflow of node 2 = 8 MCF = ? all 8 units through (0, 2), of cost 8 26

Relaxing a Lower Bound MCF: all 8 units through (0, 2), of cost 8 suppose 5  x01 how to convert the problem into an unbounded MCF problem? 8 3 1 2 27

Relaxing a Lower Bound 8 3 1 2 LP formulation 28

Relaxing a Lower Bound 8 3 1 2 define y01 = x01-5  29

How Does the Network Look Like? 5 8 3 1 2 an unbounded network 30

Relaxing the Lower Bound l01 = 5 8 3 1 2  8 3 1 2 objective function changed to min 3y01+2x12+x02+15 question: is it possible to convert to a network of the objective function without adding 15 by oneself? 31

Relaxing the Lower Bound l01 = 5 8 3 1 2  8 3 1 2  5 8 3 1 2 a how about adding a dummy node a such that c0a = 3, ca1 = 0, outflow from a = 5 adding a dummy inflow of 5 to node 1 32

Relaxing an Upper Bound MCF: all 8 units through (0, 2), of cost 8 suppose x02  7 how to convert the problem into an unbounded MCF problem? 8 3 1 2 33

Relaxing an Upper Bound suppose x02  7 8 3 1 2 8 3 1 2 a 7 34

Negative Cost? possible to have negative cost as long as there is no negative cost cycle e.g., if c24 = -6 35

Generalization of MCF from one commodity (i.e., product) to multi-commodity (i.e., multiple products) flow without gain to with gain 36

Multi-Commodity Flow Problems two types of products (cij, uij): (cost, upper bound) of an arc type 2: 3 (3, 4) (1, 6) (2, 4) 1 2 type 1: 5 37

Multi-Commodity Flow Problems “An extension of the problem of finding the minimum cost flow of a single commodity through a network is the problem of minimizing the cost of the flows of several commodities through a network. This is the minimum cost multi-commodity network flow problem. There will be capacity limitations on the flows of individual commodities through certain arcs as well as capacity limitations on the total flow of all commodities through individual arcs.” … “The resultant model has a block angular structure of the type discussed in Section 4.1.” 38

LP Formulation of a Two-Commodity Flow Problem let xij be the flow of type 1 commodity along arc (i, j) let yij be the flow of type 1 commodity along arc (i, j) type 2: 3 (3, 4) (1, 6) (2, 4) 1 2 type 1: 5 39

LP Formulation of a Two-Commodity Flow Problem type 1: 5 type 2: 3 (3, 4) (1, 6) (2, 4) 1 2 “The resultant model has a block angular structure of the type discussed in Section 4.1.” 40

LP Formulation of a Two-Commodity Flow Problem type 1: 5 type 2: 3 (3, 4) (1, 6) (2, 4) 1 2 objective function flow conservation of type 1 product of type 2 product arc capacity constraints 41

Network Flow with Gains Model flows not conserved x units into arc (i, j), ijx units out of node j, ij  1 solved by integer programming if integral values required 42

Problem 12.19 of [7] 43