Parameterized Approximation Scheme for the Multiple Knapsack Problem by Klaus Jansen (SODA’09) Speaker: Yue Wang 04/14/2009.

Slides:



Advertisements
Similar presentations
Approximation algorithms for geometric intersection graphs.
Advertisements

Algorithm Design Methods Spring 2007 CSE, POSTECH.
Class-constrained Packing Problems with Application to Storage Management in Multimedia Systems Tami Tamir Department of Computer Science The Technion.
MCS 312: NP Completeness and Approximation algorithms Instructor Neelima Gupta
Chapter 5 Fundamental Algorithm Design Techniques.
CPSC 335 Dynamic Programming Dr. Marina Gavrilova Computer Science University of Calgary Canada.
Branch & Bound Algorithms
Cs333/cutler Greedy1 Introduction to Greedy Algorithms The greedy technique Problems explored –The coin changing problem –Activity selection.
Merge Sort 4/15/2017 6:09 PM The Greedy Method The Greedy Method.
CS774. Markov Random Field : Theory and Application Lecture 17 Kyomin Jung KAIST Nov
PTAS for Bin-Packing. Special Cases of Bin Packing 1. All item sizes smaller than Claim 1: Proof: If then So assume Therefore:
Parameterized Approximation Scheme for the Multiple Knapsack Problem Yan Lu Klaus Jansen SODA 2009 CPSC669 Term Project—Paper Reading.
1 Combinatorial Dominance Analysis The Knapsack Problem Keywords: Combinatorial Dominance (CD) Domination number/ratio (domn, domr) Knapsack (KP) Incremental.
Polynomial time approximation scheme Lecture 17: Mar 13.
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
Fundamental Techniques
1 The Greedy Method CSC401 – Analysis of Algorithms Lecture Notes 10 The Greedy Method Objectives Introduce the Greedy Method Use the greedy method to.
10/31/02CSE Greedy Algorithms CSE Algorithms Greedy Algorithms.
Approximation Algorithms
1 Chapter 11 Approximation Algorithms Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.
Minimizing Flow Time on Multiple Machines Nikhil Bansal IBM Research, T.J. Watson.
A tale of 2-dimensional (Guillotine) bin packing Nikhil Bansal (IBM) Andrea Lodi (Univ. of Bologna, Italy) Maxim Sviridenko (IBM)
10/31/02CSE Greedy Algorithms CSE Algorithms Greedy Algorithms.
Improved results for a memory allocation problem Rob van Stee University of Karlsruhe Germany Leah Epstein University of Haifa Israel WADS 2007 WAOA 2007.
Minimizing Makespan and Preemption Costs on a System of Uniform Machines Hadas Shachnai Bell Labs and The Technion IIT Tami Tamir Univ. of Washington Gerhard.
Bold Stroke January 13, 2003 Advanced Algorithms CS 539/441 OR In Search Of Efficient General Solutions Joe Hoffert
Round and Approx: A technique for packing problems Nikhil Bansal (IBM Watson) Maxim Sviridenko (IBM Watson) Alberto Caprara (U. Bologna, Italy)
Approximation schemes Bin packing problem. Bin Packing problem Given n items with sizes a 1,…,a n  (0,1]. Find a packing in unit-sized bins that minimizes.
1 Approximation Through Scaling Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij.
Design Techniques for Approximation Algorithms and Approximation Classes.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
© 2009 IBM Corporation 1 Improving Consolidation of Virtual Machines with Risk-aware Bandwidth Oversubscription in Compute Clouds Amir Epstein Joint work.
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 for Knapsack Problems 1 Tsvi Kopelowitz Modified by Ariel Rosenfeld.
Approximation schemes Scheduling problems. Polynomial Time Approximation Scheme (PTAS) Let Π be a minimization problem. An approximation scheme for problem.
Packing Rectangles into Bins Nikhil Bansal (CMU) Joint with Maxim Sviridenko (IBM)
Approximation Algorithms
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Approximation Algorithms These lecture slides are adapted from CLRS.
Greedy Methods and Backtracking Dr. Marina Gavrilova Computer Science University of Calgary Canada.
Minimizing Stall Time in Single Disk Susanne Albers, Naveen Garg, Stefano Leonardi, Carsten Witt Presented by Ruibin Xu.
The Greedy Method. The Greedy Method Technique The greedy method is a general algorithm design paradigm, built on the following elements: configurations:
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Instructor Neelima Gupta Table of Contents Factor 2 algorithm for Bin Packing Factor 2 algorithm for Minimum Makespan Scheduling Reference:
Algorithm Design Methods 황승원 Fall 2011 CSE, POSTECH.
The bin packing problem. For n objects with sizes s 1, …, s n where 0 < s i ≤1, find the smallest number of bins with capacity one, such that n objects.
Maximizing Symmetric Submodular Functions Moran Feldman EPFL.
1 Chapter 11 Approximation Algorithms Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.
1 Approximation algorithms Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij TexPoint fonts used in EMF. Read the TexPoint manual.
Spring 2008The Greedy Method1. Spring 2008The Greedy Method2 Outline and Reading The Greedy Method Technique (§5.1) Fractional Knapsack Problem (§5.1.1)
1 The instructor will be absent on March 29 th. The class resumes on March 31 st.
1 Chapter 5 Branch-and-bound Framework and Its Applications.
1 Ch18. The Greedy Methods. 2 BIRD’S-EYE VIEW Enter the world of algorithm-design methods In the remainder of this book, we study the methods for the.
8.3.2 Constant Distance Approximations
Algorithm Design Methods
Exam 2 LZW not on syllabus. 73% / 75%.
PTAS for Bin-Packing.
Polynomial time approximation scheme
Algorithm Design Methods
Algorithm Design Methods
Complexity Theory in Practice
The Theory of NP-Completeness
Algorithm Design Methods
Integer LP: Algorithms
Presentation transcript:

Parameterized Approximation Scheme for the Multiple Knapsack Problem by Klaus Jansen (SODA’09) Speaker: Yue Wang 04/14/2009

Outline Introduction – Definition of problem – Relative Works Approximation Scheme for MKP – Instances with similar capacities – General instances

Multiple Knapsack Problem (MKP) A generalization of the classical knapsack problem. Given a set A of n items and a set B of m bins, each item a A has a size s(a), and a profit value p(a), and each bin b B has a capacity c(b). To find the subset of maximum total profit such that it can be packed into B without exceeding the capacities. MKP is strongly NP-hard.

FPTAS, PTAS and EPTAS FPTAS: approximation algorithm running in MKP has no FPTAS! PTAS: approximation algorithm running in MKP has (Chekuri and Khanna) EPTAS: a PTAS with running time of the form (this paper)

Outline Introduction – Definition of problem – Relative Works Approximation Scheme for MKP – Instances with similar capacities – General instances

Instances with Similar Capacities Let be the different capacities in MKP. For each capacity there are bins of capacity. 5 steps to approximation algorithm: –Linear Program Relaxation –Rounding the LP solution –Selecting the Items –Strip Packing –Shifting Technique approximation algorithm running in time polynomial in n, t and.

Linear Program Relaxation Let with total size be a configuration of group. Let be the set of configures for group. is the fractional piece of item denotes the length of the configuration in the solution.

Linear Program Relaxation (2) The LP problem can be solved as max-min resource sharing problem. (reference to [9]) Solution,, and the objective value is at least times the optimum value

Rounding the LP solution Put all the pieces of the same item in each group together. as the pieces of item assigned to group. Large pieces (with ) as rectangles of the form is the height of stack Divide the stack into parts of height

Rounding the LP solution (2) Let be the set of pieces that lies in at least two parts of the stack. Remove the items corresponding to the sets. Let be the set of items that have a piece in part j of stack Put all the small pieces ( ) together at the top the stack. Let be the set of items with a small piece in top part of the stack.

Rounding the LP solution (3) The above linear programming can be transferred into a scheduling problem with jobs on unrelated machines. M machines: parts. N jobs: n items. They can round the solution into another feasible solution that has few fractional variables. (one fractional variable per machine (per part), by [14][17]. Let be the set of items with fractional variables. Now each item with value is assigned to exactly one group and one part.

Selecting the Items Till now, they select pieces of the items because. In this part, they select complete (non-fractional) items from the instance with near optimum profit that can be packed into the bins. By solving classical fractional knapsack problems for each part. –Take size of an item as value 1, profit as the original profit. –Capacity of the knapsack is equal to the height value. Overall solution with at most one fractional item per part. Let be the set of fractional items selected above in group.. All other items are now selected completely.

Strip Packing Lemma 2.4 :The set can be packed into bins of capacity. By using the property and the strip packing algorithm of Kenyon and Remila.[10]

Shifting Technique During the rounding, selecting process, they delete some items from the original solution of LP, i.e.,,. Let, then Since, using the lemma 2.4, can be packed into. Select a subset with profit at least that can be packed into bins.

Put all things together Solving the LP approximately whose objective value is at least. Build t stacks of wide rectangles and sets with narrow rectangles, split the stacks into parts and round the rectangles over the groups. The select via solving fractional knapsack problem and store the fractional items. Using the strip packing algorithm for each group to pack the items into bins. Apply the shift strategy to select subset that can be packed into bins.

Outline Introduction – Definition of problem – Relative Works Approximation Scheme for MKP – Instances with similar capacities – General instances

General Instances The number of bins. Modifying the bins. –Order the bins –k groups with bins –1 groups with bins –Round up the capacity of each bin in the first k groups. –Eliminate the k’th group bins. The profit loss is at most.

General Instances(2) Let be the profit of the greedy algorithm for instance (A, B). Consider only the items with large profit, is the number of bins in –If, there are at most many items and they could pack all of them in. is used to denote the set. –If,they use at most smallest items with rounded profit value Let be the stored set. In total they store at most

General Instances(3) After the replacement, the profit is at least. The algorithm is to guess a subset with high profit items for the bins in. (By enumeration) The number of choices for the set is at most, the number of place is again at most. In total they have to consider at most choices and replacements.

Overall algorithm for general instances Compute using the greedy approximation algorithm. Modify the structure of the bins. Compute the set and with high profit that could be placed into For each choice –test whether it fits into the bins ; if not, discard the solution –If yes, take a feasible placement of into and set up a LP to select the remaining items. (similar to the same capacity instances) –Place the selected items into the bins

Overall algorithm for general instances (2) Take a solution among all feasible choices with maximum total profit. The times complexity of this approximation algorithm

Thanks Any questions, comments and concerns?