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
EMIS 8373: Integer Programming Valid Inequalities updated 4April 2011.
Computational problems, algorithms, runtime, hardness
Instructor Neelima Gupta Table of Contents Lp –rounding Dual Fitting LP-Duality.
Integer Programming 3 Brief Review of Branch and Bound
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.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
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.
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.
Hardness Results for Problems
1 Spanning Tree Polytope x1 x2 x3 Lecture 11: Feb 21.
Approximation Algorithms: Bristol Summer School 2008 Seffi Naor Computer Science Dept. Technion Haifa, Israel TexPoint fonts used in EMF. Read the TexPoint.
1 Lecture 4 Maximal Flow Problems Set Covering Problems.
Strong LP Formulations & Primal-Dual Approximation Algorithms David Shmoys (joint work Tim Carnes & Maurice Cheung) TexPoint fonts used in EMF. Read the.
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 +
Minimizing Stall Time in Single Disk Susanne Albers, Naveen Garg, Stefano Leonardi, Carsten Witt Presented by Ruibin Xu.
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.
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.
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.
Approximation Algorithms Duality My T. UF.
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.
1 Chapter 6 Reformulation-Linearization Technique and Applications.
Discrete Optimization MA2827 Fondements de l’optimisation discrète Material from P. Van Hentenryck’s course.
Linear program Separation Oracle. Rounding We consider a single-machine scheduling problem, and see another way of rounding fractional solutions to integer.
Chapter 1. Introduction Ex : Diet Problem
Algorithm Design Methods
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
2. Generating All Valid Inequalities
Chapter 1. Formulations (BW)
1.3 Modeling with exponentially many constr.
Integer Programming (정수계획법)
Algorithm Design Methods
Flow Feasibility Problems
Cynthia Phillips (Sandia National Laboratories)
Algorithm Design Methods
Chapter 1. Formulations.
Branch-and-Bound Algorithm for Integer Program
Algorithm Design Methods
Chapter 6. Large Scale Optimization
1.2 Guidelines for strong formulations
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 Each bucket will be a solution S i 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