Parameterized Approximation Scheme for the Multiple Knapsack Problem Yan Lu 2011-04-26 Klaus Jansen SODA 2009 CPSC669 Term Project—Paper Reading.

Slides:



Advertisements
Similar presentations
Alexander Kononov Sobolev Institute of Mathematics Siberian Branch of Russian Academy of Science Novosibirsk, Russia.
Advertisements

Minimizing Average Flow-Time Naveen Garg IIT Delhi Joint work with Amit Kumar, Jivi Chadha,V Muralidhara, S. Anand.
Approximation algorithms for geometric intersection graphs.
Algorithm Design Methods Spring 2007 CSE, POSTECH.
Minimum Vertex Cover in Rectangle Graphs
 Review: The Greedy Method
Chapter 5 Fundamental Algorithm Design Techniques.
An Approximate Truthful Mechanism for Combinatorial Auctions An Internet Mathematics paper by Aaron Archer, Christos Papadimitriou, Kunal Talwar and Éva.
CPSC 335 Dynamic Programming Dr. Marina Gavrilova Computer Science University of Calgary Canada.
Approximative Kernelization: On the Trade-off between Fidelity and Kernel Size joint with Michael Fellows and Frances Rosamond Charles Darwin University.
Branch & Bound Algorithms
© The McGraw-Hill Companies, Inc., Chapter 8 The Theory of NP-Completeness.
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 by Klaus Jansen (SODA’09) Speaker: Yue Wang 04/14/2009.
Polynomial time approximation scheme Lecture 17: Mar 13.
Truthful Mechanisms for One-parameter Agents Aaron Archer, Eva Tardos Presented by: Ittai Abraham.
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.
Distributed Combinatorial Optimization
Fundamental Techniques
(work appeared in SODA 10’) Yuk Hei Chan (Tom)
10/31/02CSE Greedy Algorithms CSE Algorithms Greedy Algorithms.
Approximation Algorithms
A tale of 2-dimensional (Guillotine) bin packing Nikhil Bansal (IBM) Andrea Lodi (Univ. of Bologna, Italy) Maxim Sviridenko (IBM)
Improved results for a memory allocation problem Rob van Stee University of Karlsruhe Germany Leah Epstein University of Haifa Israel WADS 2007 WAOA 2007.
1 The Santa Claus Problem (Maximizing the minimum load on unrelated machines) Nikhil Bansal (IBM) Maxim Sviridenko (IBM)
 Optimal Packing of High- Precision Rectangles By Eric Huang & Richard E. Korf 25 th AAAI Conference, 2011 Florida Institute of Technology CSE 5694 Robotics.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
The Theory of NP-Completeness 1. What is NP-completeness? Consider the circuit satisfiability problem Difficult to answer the decision problem in polynomial.
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.
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.
1 Multiplicative Weights Update Method Boaz Kaminer Andrey Dolgin Based on: Aurora S., Hazan E. and Kale S., “The Multiplicative Weights Update Method:
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
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Approximation Algorithms These lecture slides are adapted from CLRS.
Algorithmics - Lecture 101 LECTURE 10: Greedy technique.
Greedy Methods and Backtracking Dr. Marina Gavrilova Computer Science University of Calgary Canada.
Solving the Maximum Cardinality Bin Packing Problem with a Weight Annealing-Based Algorithm Kok-Hua Loh University of Maryland Bruce Golden University.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
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.
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.
Integer Programming, Branch & Bound Method
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.
1 The instructor will be absent on March 29 th. The class resumes on March 31 st.
Feb 23, 2010 University of Liverpool Minimizing Total Busy Time in Parallel Scheduling with Application to Optical Networks Michele Flammini – University.
Approximation Algorithms based on linear programming.
1 Chapter 5 Branch-and-bound Framework and Its Applications.
Discrete Optimization MA2827 Fondements de l’optimisation discrète Material from P. Van Hentenryck’s course.
The Theory of NP-Completeness
8.3.2 Constant Distance Approximations
Algorithm Design Methods
Analysis and design of algorithm
The Subset Sum Game Revisited
Exam 2 LZW not on syllabus. 73% / 75%.
A new and improved algorithm for online bin packing
PTAS for Bin-Packing.
Polynomial time approximation scheme
Algorithm Design Methods
Algorithm Design Methods
The Theory of NP-Completeness
Algorithm Design Methods
Presentation transcript:

Parameterized Approximation Scheme for the Multiple Knapsack Problem Yan Lu Klaus Jansen SODA 2009 CPSC669 Term Project—Paper Reading

1. Problem Definition 2. Approximation Scheme – 2.1 Instances with similar capacities – 2.2 General cases Outline

1 Problem Definition

1. Problem Definition 2. Approximation Scheme – 2.1 Instances with similar capacities – 2.2 General instances Outline

2.1 Instances with similar capacities Let be the different capacities in an instance of MKP. Suppose for each capacity,, there are. Approximation algorithm: – (1) Linear program relaxation – (2) Rounding the LP solution – (3) Selecting the Items – (4) Strip packing – (5) Shifting Technique 2 Approximation Scheme

(1) Linear Program Relaxation Main idea: select a fractional x i piece of each item a i, distribute these pieces as even smaller pieces among all bins (fractional). The LP is a relaxation of MKP Could be approximately solved as a max-min resource sharing problem [9], and solution has an objective value of at least 1-3α times OPT(LP), or OPT(A,B)

(2) Rounding the LP solution Define as the piece of item a i assigned to group l. Think large pieces () ) as rectangles with width size(a i ) and height Stack all these rectangles ordered by widths, stack height Divide each stack into parts Let K l be the set of pieces lying in more than 1 parts, notice Remove items corresponding to K l

(2) Rounding the LP solution (cont’d) Let S l,j be the set of items a i that have a piece in part j of stack l. For small pieces, compute the total area allocated to group l Area(l) = Let S 0,j be the set of a i with a small piece in the sum above Set a LP to round over groups: This LP has a feasible solution

(2) Rounding the LP solution (cont’d) Lemma 2.1 The solution can be rounded into another solution where each set has at most items. Note L l is the set of items with fractional pieces in more than 1 groups After rounding, we have a unique assignment of items to groups, i.e. each item is assigned to exactly one group l and one part j.

(3) Selecting the Items In the rounding result, items selected are generally fractional. Select complete items with near optimum profit, by solving classical fractional knapsack problems for each group and each part: – take as size of an item the value 1 and as profit the original profit profit(a i ) – the capacity of the knapsack equals to, i.e. height of a part in Stack l In overall solution A, at most one fractional item per group and part. Let M l be the set of selected fractional items in group l. All other items are selected completely.

(4) Strip packing Lemma 2.2 The set can be packed into bins of capacity c l for each l. Using strip packing algorithm by Kenyon and Remila [10] This implies (using the shifting technique described below) that most of the items (with near optimum profit) can be packed into m l bins. (5) Shifting technique Recall : items removed from LP solution. Let. Then Lemma 2.3 We can select a subset with profit at least that can be packed into m l bins.

Entire algorithm (1) Solve the LP approximately whose objective value is at least (1−3α) times the optimum LP value (2) Build t stacks of wide rectangles and sets with narrow rectangles, split the stacks into 1/δ 2 parts and round the rectangles over the groups. Then select the items via solving fractional knapsack problems and store the fractional items (3) Use the strip packing algorithm by Kenyon and Remila for each group to pack the items into bins (4) Apply the shifting strategy to select subsets that can be packed into m l bins.

2.2 General instances When number of bins smaller than, they presented an approximation scheme with running time From now on, suppose number of bins larger than (1) Modify structure of bins (2) Modify structure of high profit items (3) Overall algorithm 2 Approximation Scheme

(1) Modify the bins Order the bins according to capacities k groups with bins, with One group with bins Lemma 2.4 We can transform the optimum solution for an instance (A, B) such that the k-th group of bins is not used and the profit loss is at most

(2) Modify the high profit items Let APP(A, B) be the profit of the greedy algorithm, Consider only items with large profit where γ is the number of bins in B 2 – Case 1:, at most items in the instance. We could pack all of them in B 2. Denote them with set SmHi – Case 2:, for each rounded profit value, choose at most smallest items with profit round(k) and store in A(k) Guess a subset with high profit items for the bins in B 2, through enumeration. In total, only need to consider choices.

(3) Overall algorithm Compute approximate solution Modify structure of bins Compute the set SmHi and sets A(k) For each subset – Test whether A guess fits into B 2 ; if not, discard it – If yes, take a feasible placement of A guess into B 2 and set up a linear program to select the remaining items (similar to the instances with similar capacities) – Place the selected items into bins Take a solution among all feasible choices A guess with maximum total profit. Total running time

[1] E. Balas and E. Zemel: An algorithm for large zero-one knapsack problems, Operations Research, 28 (1980), [2] M. Blum, R.W. Floyd, V. Pratt, R.L. Rivest, and R.E. Tarjan: Time bounds for selection, Journal of Computer and System Sciences, 7 (1973), [3] C. Chekuri and S. Khanna, A PTAS for the multiple knapsack problem, Proceedings of ACM-SIAM Symposium on Discrete Algorithms, SODA 2000, [4] C. Chekuri and S. Khanna: A polynomial time approximation scheme for the multiple knapsack problem, SIAM Journal on Computing, 35 (2006), [5] F. Diedrich, K. Jansen, F. Pascual, and D. Trystram: Approximation algorithms for scheduling wit reservations, Proceedings of Conference on High Performance Computing, HiPC 2007, [6] D. Dor and U. Zwick: Selecting the median, SIAM Journal on Computing, 28 (1999), [7] R. Downey: Parametrized complexity for the skeptic, Proceedings of IEEE Conference on Computational Complexity, CCC 2003, [8] M.R. Fellows: Blow-ups, win/win’s, and crown rules: some new directions in FPT, Proceedings of Workshop on Graph Theoretical Concepts in Computer Science, WG 2003, LNCS 2880, [9] M.D. Grigoriadis, L.G. Khachiyan, L. Porkolab and J. Villavicencio: Approximate max-min resource sharing for structured concave optimization, SIAM Journal on Optimization, 41 (2001), [10] C. Kenyon and E. Remila: Approximate strip packing, Mathematics of Operations Research, 25 (2000), [11] H. Kellerer: A polynomial time approximation scheme for the multiple knapsack problem, Proceedings of Workshop on Approximation Algorithms for Combinatorial Optimization Problems, APPROX 1999, LNCS 1671, [12] H. Kellerer, U. Pferschy, and D. Pisinger: Knapsack Problems, Springer Verlag, Berlin, [13] E.L. Lawler: Fast approximation algorithms for knapsack problems, Mathematics of Operations Research, 4 (1979), [14] J.K. Lenstra, D.B. Shmoys, and E. Tardos: Approximation algorithms for scheduling unrelated parallel machines, Mathematical Programming, 24 (1990), [15] S. Martello and P. Toth: Knapsack Problems: Algorithms and Computer Implementations, John Wiley and Sons, New York, [16] D. Marx: Parametrized complexity and approximation algorithms, The Computer Journal, 51 (2008), [17] S.A. Plotkin, D.B. Shmoys, and E. Tardos: Fast approximation algorithms for fractional packing and covering problems, Mathematics of Operations Research, 20 (1995), [18] M. Scharbrodt, A. Steger, and H. Weisser: Approximability of scheduling with fixed jobs, Proceedings of ACM-SIAM Symposium on Discrete Algorithms, SODA 1999, [19] D.B. Shmoys and E. Tardos: An approximation algorithm for the generalized assignment problem, Mathematical programming, Series A, 62 (1993),

Thanks!