1 Lecture 4 Maximal Flow Problems Set Covering Problems.

Slides:



Advertisements
Similar presentations
Thursday, April 11 Some more applications of integer
Advertisements

1 LP, extended maxflow, TRW OR: How to understand Vladimirs most recent work Ramin Zabih Cornell University.
1 Outline relationship among topics secrets LP with upper bounds by Simplex method basic feasible solution (BFS) by Simplex method for bounded variables.
Outline LP formulation of minimal cost flow problem
1 Material to Cover  relationship between different types of models  incorrect to round real to integer variables  logical relationship: site selection.
1 LP Duality Lecture 13: Feb Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.
Linear Programming (LP) (Chap.29)
1 Lecture 2 Shortest-Path Problems Assignment Problems Transportation Problems.
Approximation Algorithms Chapter 14: Rounding Applied to Set Cover.
Introduction to Algorithms
5-1 Chapter 5 Tree Searching Strategies. 5-2 Satisfiability problem Tree representation of 8 assignments. If there are n variables x 1, x 2, …,x n, then.
Management Science 461 Lecture 2b – Shortest Paths September 16, 2008.
Lecture 5 Set Packing Problems Set Partitioning Problems
EMIS 8373: Integer Programming Valid Inequalities updated 4April 2011.
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
1 1 Slide © 2006 Thomson South-Western. All Rights Reserved. Slides prepared by JOHN LOUCKS St. Edward’s University.
Instructor Neelima Gupta Table of Contents Lp –rounding Dual Fitting LP-Duality.
Integer Programming 3 Brief Review of Branch and Bound
6 - 1 § 6 The Searching Strategies e.g. satisfiability problem x1x1 x2x2 x3x3 FFF FFT FTF FTT TFF TFT TTF TTT.
Dealing with NP-Complete Problems
Approximation Algorithms
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
1 Branch and Bound Searching Strategies 2 Branch-and-bound strategy 2 mechanisms: A mechanism to generate branches A mechanism to generate a bound so.
Integer Programming Difference from linear programming –Variables x i must take on integral values, not real values Lots of interesting problems can be.
Linear Programming – Max Flow – Min Cut Orgad Keller.
LP formulation of Economic Dispatch
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.
Lecture 3 Transshipment Problems Minimum Cost Flow Problems
The Simplex algorithm.
Section 2.9 Maximum Flow Problems Minimum Cost Network Flows Shortest Path Problems.
Linear Programming Topics General optimization model LP model and assumptions Manufacturing example Characteristics of solutions Sensitivity analysis Excel.
Integer Programming Key characteristic of an Integer Program (IP) or Mixed Integer Linear Program (MILP): One or more of the decision variable must be.
EMIS 8373: Integer Programming “Easy” Integer Programming Problems: Network Flow Problems updated 11 February 2007.
15.082J and 6.855J and ESD.78J Lagrangian Relaxation 2 Applications Algorithms Theory.
Operational Research & ManagementOperations Scheduling Workforce Scheduling 1.Days-Off Scheduling 2.Shift Scheduling 3. Cyclic Staffing Problem (& extensions)
DISTRIBUTION AND NETWORK MODELS (1/2)
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
15.053Tuesday, April 9 Branch and Bound Handouts: Lecture Notes.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.3 The student will be able to formulate the dual problem. The student.
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.
Lecture.6. Table of Contents Lp –rounding Dual Fitting LP-Duality.
8/14/04 J. Bard and J. W. Barnes Operations Research Models and Methods Copyright All rights reserved Lecture 6 – Integer Programming Models Topics.
EMIS 8373: Integer Programming Column Generation updated 12 April 2005.
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
Management Science 461 Lecture 3 – Covering Models September 23, 2008.
Introduction to Integer Programming Integer programming models Thursday, April 4 Handouts: Lecture Notes.
Problems in Combinatorial Optimization. Linear Programming.
Branch and Bound Searching Strategies
Approximation Algorithms Duality My T. UF.
Chapter 6 Optimization Models with Integer Variables.
Approximation Algorithms based on linear programming.
(iii) Simplex method - I D Nagesh Kumar, IISc Water Resources Planning and Management: M3L3 Linear Programming and Applications.
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.
EMIS 8373: Integer Programming Combinatorial Optimization Problems updated 27 January 2005.
Max Flow Application: Precedence Relations
St. Edward’s University
Integer Programming An integer linear program (ILP) is defined exactly as a linear program except that values of variables in a feasible solution have.
The assignment problem
MBA 651 Quantitative Methods for Decision Making
EMIS 8373: Integer Programming
Introduction Basic formulations Applications
Max Flow Application: Precedence Relations
Flow Feasibility Problems
Advanced LP models column generation.
Advanced LP models column generation.
Chapter 1. Formulations.
EMIS The Maximum Flow Problem: Flows and Cuts Updated 6 March 2008
Presentation transcript:

1 Lecture 4 Maximal Flow Problems Set Covering Problems

2 Agenda  maximal flow problems  set covering problems

3 Maximal Flow Problems

4  arcs labeled with their capacities  question: LP formulation of the total maximal total maximal flow from the sources to the sinks

5 Maximal Flow Problems  obvious maximum: 9 units  LP formulation, let  x be the flow from node 0  x ij be the flow from node i to node j

6 Maximal Flow Problem  let x ij be the flow from node i to node j

7 Maximal Flow Problem S T     

8 S T      

9 Comments for the Maximal Flow Problem  special structure of network flow  integral solutions for integral capacities

10 Further Comments for Network Flow Problems  network components in many practical problems  easier to solve with packages  more likely to have integral optimal solutions  many practical LP problems being dual of network flow problems  optimal integral solutions

11 Set Covering Problems

12 Set Covers  a set S = {1, 2, 3, 4, 5}  a collection of subsets of S,  = {{1, 2}, {1, 3, 5}, {2, 4, 5}, {3}, {1}, {4, 5}}  a cost associated with each subset of S in   e.g., cost = 1 for each subset of S in   a subset of  is a cover of S if the subset contains all elements of S  {1, 2}, {1, 3, 5}, and {2, 4, 5} forms a cover of S  {1}, {3}. and {4, 5} do not form a cover of S

13 Set Covering Problems  given S, , and all costs of subsets in  = 1, find the minimum cost cover of S  S = {1, 2, 3, 4, 5}   = {{1, 2}, {1, 3, 5}, {2, 4, 5}, {3}, {1}, {4, 5}}  what are the decisions?  a subset is selected or not  what are the constraints?  elements of S are covered

14 Set Covering Problems  S = {1, 2, 3, 4, 5}   = {{1, 2}, {1, 3, 5}, {2, 4, 5}, {3}, {1}, {4, 5}}  examples   1 =  3 =  4 = 1 and  2 =  5 = 0: {1, 2}, {2, 4, 5}, {3}   2 =  5 = 1 and  1 =  3 =  4 =  6 = 0: {1, 3, 5}, {1}

15 Set Covering Problems  S = {1, 2, 3, 4, 5}   = {{1, 2}, {1, 3, 5}, {2, 4, 5}, {3}, {1}, {4, 5}}  i  {0, 1} element 1: element 2: element 3: element 4: element 5: set 1: set 2: set 3: set 4: set 5: set 6: Property 9.1: minimization with all  constraints Property 9.2: all RHS coefficients = 1 Property 9.3: all matrix coefficients = 0 or 1

16 Generalization of Set Covering Problems  weighted set covering problems: RHS coefficient  positive integers > 1  some elements covered multiple times  generalized set covering problems: a weighted set covering problem + matrix coefficients 0 or  1

17 Applications of Set Covering Problems  aircrew scheduling  S: the collection of flights legs to cover   : the collection of feasible rosters of air crew

18 Comments for Set Covering Problems  “Set covering problems have an important property that often makes them comparatively easy to solve by the branch and bound method. It can be shown that the optimal solution to a set covering problem must be a vertex solution in the same sense as for LP problems. Unfortunately, this vertex solution will not generally be (but sometimes is) the optimal vertex solution to the corresponding LP model. It is, however, often possible to move from this continuous optimum to the integer optimum in comparatively few steps.” (pp 191 of [7])

19 Optimal Solution at a Vertex for a Set Covering Problem  suppose there are optima not at a vertex  let {x i } and {y i } be two different optimal solutions  then {  x i +(1  )y i } are optimal solution  there must be at least one i such that x i  y i  for x i  y i,  x i +(1  )y i  {0, 1} iff  = 0 or 1  either case there is only one optimal LP: optimal at a vertex  i  {0, 1}

20 LP Optimum Not Set Covering Optimum Set Covering: optimal at a vertex, but not necessarily at that of LP LP: optimal at a vertex

21 Comments for Set Covering Problems  relatively easy to solve by Branch and Bound  optimal solution at a vertex, though not that by LP relaxation  possible to move from LP optimum to the set covering optimum in a few steps  in applications, usually many more variables than constraints  solved by column generations