Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.

Slides:



Advertisements
Similar presentations
Algorithm Design Methods Spring 2007 CSE, POSTECH.
Advertisements

1 LP Duality Lecture 13: Feb Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.
Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution,
1 Matching Polytope x1 x2 x3 Lecture 12: Feb 22 x1 x2 x3.
GRAPH BALANCING. Scheduling on Unrelated Machines J1 J2 J3 J4 J5 M1 M2 M3.
Approximation Algorithms Chapter 14: Rounding Applied to Set Cover.
Introduction to Algorithms
1 EE5900 Advanced Embedded System For Smart Infrastructure Static Scheduling.
Lecture 10: Integer Programming & Branch-and-Bound
EMIS 8373: Integer Programming Valid Inequalities updated 4April 2011.
Instructor Neelima Gupta Table of Contents Lp –rounding Dual Fitting LP-Duality.
Linear Programming and Approximation
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
1 Optimization problems such as MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP, KNAPSACK, BINPACKING do not have a polynomial.
Dealing with NP-Complete Problems
Approximation Algorithm: Iterative Rounding Lecture 15: March 9.
Approximation Algorithms
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Job Scheduling Lecture 19: March 19. Job Scheduling: Unrelated Multiple Machines There are n jobs, each job has: a processing time p(i,j) (the time to.
Integer Programming Difference from linear programming –Variables x i must take on integral values, not real values Lots of interesting problems can be.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Distributed Combinatorial Optimization
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
Hardness Results for Problems P: Class of “easy to solve” problems Absolute hardness results Relative hardness results –Reduction technique.
1 Contents college 3 en 4 Book: Appendix A.1, A.3, A.4, §3.4, §3.5, §4.1, §4.2, §4.4, §4.6 (not: §3.6 - §3.8, §4.2 - §4.3) Extra literature on resource.
Hardness Results for Problems
1 Spanning Tree Polytope x1 x2 x3 Lecture 11: Feb 21.
LP formulation of Economic Dispatch
Integer Programming Key characteristic of an Integer Program (IP) or Mixed Integer Linear Program (MILP): One or more of the decision variable must be.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Chapter 1. Formulations 1. Integer Programming  Mixed Integer Optimization Problem (or (Linear) Mixed Integer Program, MIP) min c’x + d’y Ax +
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Branch-and-Cut Valid inequality: an inequality satisfied by all feasible solutions Cut: a valid inequality that is not part of the current formulation.
1 A polynomial relaxation-type algorithm for linear programming Sergei Chubanov University of Siegen, Germany
Integer Programming (정수계획법)
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Implicit Hitting Set Problems Richard M. Karp Erick Moreno Centeno DIMACS 20 th Anniversary.
Lecture.6. Table of Contents Lp –rounding Dual Fitting LP-Duality.
Young CS 331 D&A of Algo. NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and.
Iterative Rounding in Graph Connectivity Problems Kamal Jain ex- Georgia Techie Microsoft Research Some slides borrowed from Lap Chi Lau.
Problems in Combinatorial Optimization. Linear Programming.
C&O 355 Lecture 19 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.
Approximation Algorithms Duality My T. UF.
Linear Programming Piyush Kumar Welcome to CIS5930.
Instructor: Shengyu Zhang 1. Optimization Very often we need to solve an optimization problem.  Maximize the utility/payoff/gain/…  Minimize the cost/penalty/loss/…
Approximation Algorithms based on linear programming.
Linear program Separation Oracle. Rounding We consider a single-machine scheduling problem, and see another way of rounding fractional solutions to integer.
Lap Chi Lau we will only use slides 4 to 19
Chapter 1. Introduction Ex : Diet Problem
Topics in Algorithms Lap Chi Lau.
1.3 Modeling with exponentially many constr.
Chapter 6. Large Scale Optimization
Integer Programming (정수계획법)
Exam 2 LZW not on syllabus. 73% / 75%.
Linear Programming and Approximation
Chapter 6. Large Scale Optimization
2. Generating All Valid Inequalities
Chapter 1. Formulations (BW)
1.3 Modeling with exponentially many constr.
Integer Programming (정수계획법)
Algorithm Design Methods
NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979.
Flow Feasibility Problems
Cynthia Phillips (Sandia National Laboratories)
Chapter 1. Formulations.
Branch-and-Bound Algorithm for Integer Program
Chapter 6. Large Scale Optimization
Presentation transcript:

Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract DE-AC04-94AL Reconnect ‘04 LP-Based Approximation Algorithms Cynthia Phillips Sandia National Laboratories

Slide 2 Linear Programming (LP) Relaxation-Based Approximation Variables can take rational values (relax integrality constraints) Efficiently solvable: gives lower bound on optimal IP solution Common technique: –Use structural information from LP solution to find feasible IP solution –Bound quality using LP bound Integrality gap = (best IP solution)/(best LP solution) This technique cannot prove anything better than integrality gap

Slide 3 Integer Program (IP) for capacitated network design A simple IP for capacitated network design: Where d(C) is the maximum demand d i for any pair that crosses cut C x e = 1 if edge e is selected

Slide 4 Knapsack Cover (KC) Inequalities A C

Slide 5 Finding An Approximate Solution Let Set of edges at least half selected by LP Select all these edges –Increases cost (for A) by factor of 2 Now much meet demand D(A) = D - u(A) with rest of edges

Slide 6 Finding an Approximate Solutions Sort edge by u e Consider the three cases

Slide 7 Finding an Approximate Solution x e = q/p rational r is least common multiple of denominators so rx e integral for all e Make 2rx e “copies” of x e (convex multipliers will be 1/r)

Slide 8 Approximate solution for knapsack (gap 2) 2rx e copies of edge e, sorted by capacity Place in r buckets, round robin No edge in any solution twice e1e1 e1e1 e1e1 e1e1 e1e1 e1e1 e2e2 e2e2 e2e2 e2e2 e3e3 e3e3

Slide 9 All buckets are Feasible First Bucket (biggest) Last Bucket (smallest) e k4 e k2 e1 e k3 e k1 < <

Slide 10 All Buckets Feasible Suppose We have So for all buckets From total capacity: Contradicts KC inequality

Slide 11 Separation Only have to satisfy KC inequality for Add these cuts if violated till we get an LP solution where KC inequality holds for it’s A.

Slide 12 Polynomial Time Really only m+1 distinct solutions e1e1 e1e1 e1e1 e1e1 e1e1 e1e1 e2e2 e2e2 e2e2 e2e2 e3e3 e3e3

Slide 13 A Scheduling Example Given n jobs J 1, J 2, …, J n Job J i has length p i, weight w i Precedence constraints: mean J i must finish before J j starts No preemption, one machine C j = completion time of job J j Goal: minimize NP-complete. We’ll get a 4-approximation

Slide 14 Integer Programming Formulation Subject to

Slide 15 Constraint: One Job at a Time Consider all (job, finish time) pairs that would run over (t-1, t] t t+1 t+2 t+p j -1 t-1 T-p j... t-1

Slide 16 Precedence Constraints If job J k finishes by time t + p k, then job J j must finish by time t

Slide 17 LP relaxation, Fractional Schedule x jt pjpj

Slide 18 Fractional Schedule x* Fractional Completion Time: Midpoint: min t* such that

Slide 19 Approximation Algorithm Solve LP Compute midpoints for all jobs Order by midpoints

Slide 20 Approximate Schedule is feasible No preemption One job at a time Precedence constraints Midpoint of J j < Midpoint of J k

Slide 21 Proof of Quality Road Map Relate C j to LP values Renumber jobs by midpoint: We’ll show

Slide 22 Upper Bound on Completion Times At time t j * fractional schedule has done p j /2 work. Since t k *  t j * for k<j, schedule has done p k /2 work on J k. One unit of work/time unit  But by construction t-p j t x jt

Slide 23 Lower Bound on LP values By definition: So

Slide 24 Proof of Quality Therefore

Slide 25 Comments Can create alternative schedules using  point t j  LP-based approximation algorithms can give feasible solutions in branch and bound Other LP-based approximation algorithms for scheduling problems are based on matching/assignment

Slide 26 Appendix

Slide 27 General Graphs Let Solutions: one bucket from each multiedge ………......

Slide 28 Analysis for General Graphs Consider cut C and For each edge, maximum u A capacity difference is D(A c ). Cut from at most  (G) multiedges (combination of buckets), so maximum capacity difference between solutions is  (G) D(A c ). By similar arguments, KC cut would be violated if any cut were infeasible.

Slide 29 General Graphs - separation Check smallest bucket for feasibility (meeting all demand pairs) If cut C violated, add KC inequality: Don’t know  (G) –Run binary search with full algorithm

Slide 30 Some Additional Results Everything holds if edge e can be chosen b(e) times Series-parallel graphs have integrality gap Capacitated cover bound: max nonzeros in any row FPTAS for outerplanar graphs with one demand pair FPTAS to find approximately most violated KC inequality.