What is Linear Programming? A Linear Program is a minimization or maximization problem, subject to several restraints. Linear programs can be set up for.

Slides:



Advertisements
Similar presentations
Iterative Rounding and Iterative Relaxation
Advertisements

The Primal-Dual Method: Steiner Forest TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A AA A A A AA A A.
1 LP, extended maxflow, TRW OR: How to understand Vladimirs most recent work Ramin Zabih Cornell University.
LINEAR PROGRAMMING. “ A certain wide class of practical problems appears to be just beyond the range of modern computing machinery. These problems occur.
C&O 355 Lecture 23 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A A A A A A A.
1 LP Duality Lecture 13: Feb Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.
ECE Longest Path dual 1 ECE 665 Spring 2005 ECE 665 Spring 2005 Computer Algorithms with Applications to VLSI CAD Linear Programming Duality – Longest.
LIAL HORNSBY SCHNEIDER
Linear Programming (LP) (Chap.29)
Introduction to Algorithms
Linear Programming (graphical + simplex with duality) Based on Linear optimization in application by Sui lan Tang. Linear Programme (LP) for Optimization.
1 Introduction to Linear Programming. 2 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. X1X2X3X4X1X2X3X4.
Dragan Jovicic Harvinder Singh
1 Fast Primal-Dual Strategies for MRF Optimization (Fast PD) Robot Perception Lab Taha Hamedani Aug 2014.
Instructor Neelima Gupta Table of Contents Lp –rounding Dual Fitting LP-Duality.
Linear Programming and Approximation
A general approximation technique for constrained forest problems Michael X. Goemans & David P. Williamson Presented by: Yonatan Elhanani & Yuval Cohen.
Approximation Algorithms
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley Asynchronous Distributed Algorithm Proof.
Linear Programming – Max Flow – Min Cut Orgad Keller.
1 Linear Programming Supplements (Optional). 2 Standard Form LP (a.k.a. First Primal Form) Strictly ≤ All x j 's are non-negative.
Approximation Algorithms: Bristol Summer School 2008 Seffi Naor Computer Science Dept. Technion Haifa, Israel TexPoint fonts used in EMF. Read the TexPoint.
Linear Programming Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 Linear programming is a strategy for finding the.
Linear Programming Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
1 Lecture 4 Maximal Flow Problems Set Covering Problems.
Primal-Dual Meets Local Search: Approximating MST’s with Non-uniform Degree Bounds Author: Jochen Könemann R. Ravi From CMU CS 3150 Presentation by Dan.
1.3 Modeling with exponentially many constr.  Some strong formulations (or even formulation itself) may involve exponentially many constraints (cutting.
1 Linear Programming:Duality theory. Duality Theory The theory of duality is a very elegant and important concept within the field of operations research.
Approximating Minimum Bounded Degree Spanning Tree (MBDST) Mohit Singh and Lap Chi Lau “Approximating Minimum Bounded DegreeApproximating Minimum Bounded.
Topics in Algorithms 2005 Constructing Well-Connected Networks via Linear Programming and Primal Dual Algorithms Ramesh Hariharan.
Graphing Linear Inequalities in Two Variables Chapter 4 – Section 1.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Linear Programming Data Structures and Algorithms A.G. Malamos References: Algorithms, 2006, S. Dasgupta, C. H. Papadimitriou, and U. V. Vazirani Introduction.
Linear Programming Introduction: Linear programming(LP) is a mathematical optimization technique. By “Optimization” technique we mean a method which attempts.
Stochastic Multicast with Network Coding Ajay Gopinathan, Zongpeng Li Department of Computer Science University of Calgary ICDCS 2009, June , Montreal.
5. Linear Programming Objectives: 1.Problem formulation 2.Solving an LP problem graphically 3.Bounded regions and corner points Refs: B&Z 5.2.
TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A A A A A A A Image:
Advanced Operations Research Models Instructor: Dr. A. Seifi Teaching Assistant: Golbarg Kazemi 1.
EE/Econ 458 Duality J. McCalley.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley.
Linear Program Set Cover. Given a universe U of n elements, a collection of subsets of U, S = {S 1,…, S k }, and a cost function c: S → Q +. Find a minimum.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
C&O 355 Lecture 7 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.
CPSC 536N Sparse Approximations Winter 2013 Lecture 1 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAAAAAA.
Chapter 2. Optimal Trees and Paths Combinatorial Optimization
Lecture.6. Table of Contents Lp –rounding Dual Fitting LP-Duality.
1 Introduction to Linear Programming. 2 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. X1X2X3X4X1X2X3X4.
Linear Programming Department of Business Administration FALL by Asst. Prof. Sami Fethi.
Topics in Algorithms 2005 Linear Programming and Duality Ramesh Hariharan.
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
The minimum cost flow problem. Solving the minimum cost flow problem.
PRIMAL-DUAL APPROXIMATION ALGORITHMS FOR METRIC FACILITY LOCATION AND K-MEDIAN PROBLEMS K. Jain V. Vazirani Journal of the ACM, 2001.
Approximation Algorithms Duality My T. UF.
Linear Programming: A Geometric Approach3 Graphing Systems of Linear Inequalities in Two Variables Linear Programming Problems Graphical Solution of Linear.
Linear Programming Piyush Kumar Welcome to CIS5930.
Approximation Algorithms based on linear programming.
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
Introduction to Linear Programming Romil Jain. The Nutrition Problem Each fruit contains different nutrients Each fruit has different cost An apple a.
Chapter 1. Introduction Ex : Diet Problem
The minimum cost flow problem
6.5 Stochastic Prog. and Benders’ decomposition
Chapter 5. Optimal Matchings
1.3 Modeling with exponentially many constr.
Chap 9. General LP problems: Duality and Infeasibility
3.3 Applications of Maximum Flow and Minimum Cut
Linear Programming Duality, Reductions, and Bipartite Matching
1.3 Modeling with exponentially many constr.
Chapter 5. The Duality Theorem
6.5 Stochastic Prog. and Benders’ decomposition
Presentation transcript:

What is Linear Programming? A Linear Program is a minimization or maximization problem, subject to several restraints. Linear programs can be set up for a variety of problems. Linear Programming is the process and methods involved in solving Linear Programs. A linear program in general form looks like this: maximize Subject to There may be many solutions to an LP, we call these feasible solutions, but we generally look for the optimal solution—the solution that maximizes or minimizes the linear function. LPs may have no feasible solutions, or may have many feasible solutions but no optimal solution. We call these LPs infeasible and unbounded, respectively. The Duality Theorem Feasible LPs can be solved by finding an optimal solution. The Duality theorem states that every LP has a dual. The original LP is called the primal. If the primal is a maximization problem and has an optimal solution, then its dual, a minimization problem, has the same optimal solution. The Primal: The Dual: The dual can help us understand the primal--any feasible solution of the the dual is a bound on the solution of the primal. For example, look at the following LP: Looking at the first constraint, we can immediately see that 3 is an upper bound on this LP. Now, to learn more, lets look at the dual: In order to find a lower bound, we examine the constraints. Since and, then. Now, we have 3 has both an upper bound on the primal and a lower bound on the dual, getting us closer to figuring out the optimal solutions for x 1 and x 2. The formal statement of the duality theorem is as follows: The Duality Theorem (as stated in Chvátal p.58): If the primal has an optimal solution then the dual has an optimal solution such that An Example: The Diet Problem (example adapted from Chvátal) Say you are going to eat some combination of the following foods, with the following nutritional information and costs: For each food, there are only a certain number of servings you would eat, so each variable will have a maximum. In order to make sure you get enough calories, protein, and calcium while minimizing the cost, you could solve the following linear program: Minimize 3a + 24b + 13c + 9d +20e Subject to 0 ≤ a ≤ 4 0 ≤ b ≤ 3 0 ≤ c ≤ 2 0 ≤ d ≤ 8 0 ≤ e ≤ 2 110a + 205b +160c + 160d + 420e ≥ a + 32b +13c + 8d + 4e ≥ 55 2a + 12b +54c + 285d + 22e ≥ 800 Cut Formulation LP for the Survivable Network Design Problem Where  G (S) is the set of all edges with exactly one endpoint in S, where S is a cut. We can figure out the dual of this LP, which will help us find bounds on the optimal solutions. The Dual: Linear Programming and the Survivable Network Design Problem Rebecca Benjamin ’07 Swarthmore College, Department of Mathematics & Statistics References V. Chvatal, Linear Programming. W. H. Freeman and Company: USA (1983). K. Jain, I.I. Mandoiu, V.V. Vazirani, and D.P. Williamson, A primal- dual schema based approximation algorithm for the element connectivity problem, Journal of Algorithms 45 (2002), pp K. Jain, A factor 2-approximation algorithm for the generalized steiner network problem, {IEEE} Symposium on Foundations of Computer Science (1998), p H. Karloff, Linear Programming. Berkhauser: Boston (1991). For more information see: The Survivable Network Design Problem Given an undirected graph G = (V, E), where V are the vertices and E the edges, a set of nonnegative weights, a set T  V which are the terminals, and connectivity requirements for the terminals, find the minimum cost sub-graph which satisfies the connectivity requirements. We will examine the 2-connected version. This problem has many practical applications. Say, a phone company wanting to lay phone lines. The phone company might want to build redundancy into their network--if one line goes out, customers would still be connected because there would be another path. However, in building two paths between terminals, various costs would have to be taken into consideration--laying wire will vary in expense depending on who owns the land. A linear program written to solve this problem would seek to find the optimal combination of two paths (it is not necessarily true that one path is the optimal path.) A very small example graph might look like this: where s is the source and t the sink, the edges are the black lines, and the vertices or terminals are where the lines meet. Each edge has a cost associated with it. We want to build two paths from s to t and minimize the cost. There are different ways to formulate this problem. In the cut formulation, we look at all the paths over all possible cuts, where a cut is two disjoint sets of vertices such that one set contains the source and the other contains the sink. In the graph above, one cut is noted with red circles, another with blue (these are not the only cuts of this graph.) We look at all edges that get us from one set in the cut to the other set. Since we want to minimize the cost, we write the following, where e in E are edges in the graph, c e is the cost of edge e and z e is an indicator variable stating whether or not we bought that edge. Notice that since z e is an indicator variable, it will be either 0 or 1. This actually creates an integer program. However, integer programming is prohibitively difficult, so we will look at z e between 0 and 1 inclusive. Acknowledgements I would like to thank Sorelle Friedler for her advice and help, and Professor Walter Stromquist, for recommending valuable references. FoodCaloriesProtein (g)Calcium (mg)Price per serving (cents) Oatmeal (a) Chicken (b) Eggs (c) Milk (d) Cherry pie (e)