The Knapsack Problem
|
|
- Jasmin Mills
- 6 years ago
- Views:
Transcription
1 The Knapsack Problem René Beier Max-Planck-Institut für Informatik Saarbrücken, Germany René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 1
2 The Knapsack Problem Given n items with weights w 1,...,w n profits p 1,..., p n and a knapsack of capacity b. Find a subset K {1,2,...,n} such that the capacity is not exceeded, i.e., satisfy w i b, i K and the profit is maximized, i.e., maximize p i. i K René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 2
3 Is it difficult? Worst Case: Knapsack is difficult (NP-hard) René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 3
4 Is it difficult? Worst Case: Knapsack is difficult (NP-hard) Average Case: Knapsack is easy... René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 3
5 Is it difficult? Worst Case: Knapsack is difficult (NP-hard) Average Case: Knapsack is easy... Example: Uniform Distribution, 1 Mio items Preprocessing: Finding optimal solution: 850 ms 10 ms René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 3
6 Is it difficult? Worst Case: Knapsack is difficult (NP-hard) Average Case: Knapsack is easy... Example: Uniform Distribution, 1 Mio items Preprocessing: Finding optimal solution: 850 ms 10 ms Key concepts: Core algorithms, Sparse Dynamic Programming René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 3
7 uniform random instance profit weight René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 4
8 ... find the best knapsack filling profit weight René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 5
9 ... find the best knapsack filling capacity 5 4 profit weight René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 5
10 ... find the best knapsack filling capacity 5 4 profit weight René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 5
11 ... find the best knapsack filling profit weight René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 5
12 Dominating Sets A subset K [n] is called dominating set if p(k) > p(j), for all J [n] with w(j) w(k). René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 6
13 Dominating Sets A subset K [n] is called dominating set if p(k) > p(j), for all J [n] with w(j) w(k). dominating set = Pareto-optimal solution René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 6
14 Dominating Sets A subset K [n] is called dominating set if p(k) > p(j), for all J [n] with w(j) w(k). dominating set = Pareto-optimal solution A list with all dominating sets can be calculated efficiently... René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 6
15 The Nemhauser/Ullmann algorithm (1969) after adding elements 1 to i 1 René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 7
16 The Nemhauser/Ullmann algorithm (1969) now add element i w i p i René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 7
17 The Nemhauser/Ullmann algorithm (1969) compute upper envelope w i p i René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 7
18 The Nemhauser/Ullmann algorithm (1969) continue with next element René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 7
19 running time analysis q i... # dominating sets over items {1,...,i}. running time T = O ( n i=1q i 1 ) ( n i=1 ) E[T ] = O E[q i 1 ] René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 8
20 running time analysis q i... # dominating sets over items {1,...,i}. running time T = O ( n i=1q i 1 ) ( n i=1 ) E[T ] = O E[q i 1 ] Lemma: For uniform random instances it holds i 1,E[q i ] 16i 3 René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 8
21 running time analysis q i... # dominating sets over items {1,...,i}. running time T = O ( n i=1q i 1 ) ( n i=1 ) E[T ] = O E[q i 1 ] Lemma: For uniform random instances it holds i 1,E[q i ] 16i 3 thus E[T ] = O ( n i=1i 3 ) = O ( n 4) René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 8
22 average case analysis - uniform distribution proof idea: show that the expected step size is large K K René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 9
23 average case analysis - uniform distribution proof idea: show that the expected step size is large K n/2 K We show E[ K K > 0] 1 32n 2. René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 9
24 average case analysis - uniform distribution We show Pr [ K 1 16n 2 K > 0 ] 1 2. This implies E[ K K > 0] 1 32n 2. René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 10
25 average case analysis - uniform distribution We show Pr [ K 1 16n 2 K > 0 ] 1 2. This implies E[ K K > 0] 1 32n 2. Let S 1,...,S 2 n denote the subsets in non-decreasing order of weight. Let K be the k-th subset in this order, i.e., K = S k. profit subsets S 1 S 2 S 3 S 4 S 5 S 6 S 7 S 8 S 9 S k René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 10
26 average case analysis - uniform distribution Pr [ K 1 16n 2 ] K > 0 = Pr [ j < k : p(s j ) p(s k ) 1 16n 2 j < k : p(s j ) p(s k ) ] = = René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 11
27 average case analysis - uniform distribution Pr [ K 1 16n 2 ] K > 0 = Pr [ j < k : p(s j ) p(s k ) 1 16n 2 j < k : p(s j ) p(s k ) ] = Pr [ j : p(s j \ S k ) P(S k \ S j ) 1 16n 2 j : p(s j \ S k ) P(S k \ S j ) ] = René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 11
28 average case analysis - uniform distribution [ Pr K 1 16n 2 ] K > 0 = Pr [ j < k : p(s j ) p(s k ) 1 16n 2 j < k : p(s j ) p(s k ) ] = Pr [ j : p(s j \ S k ) P(S k \ S j ) 1 16n 2 j : p(s j \ S k ) P(S k \ S j ) ] = Pr [ j : p(s j \ S k ) U j 1 16n 2 j < k : p(s j \ S k ) U j ] René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 11
29 average case analysis - uniform distribution [ Pr K 1 16n 2 ] K > 0 = Pr [ j < k : p(s j ) p(s k ) 1 16n 2 j < k : p(s j ) p(s k ) ] = Pr [ j : p(s j \ S k ) P(S k \ S j ) 1 16n 2 j : p(s j \ S k ) P(S k \ S j ) ] = Pr [ j : p(s j \ S k ) U j 1 16n 2 j < k : p(s j \ S k ) U j ] } {{ } polytope A } {{ } polytope B René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 11
30 average case analysis - uniform distribution Let l = S k. W.l.o.g. S k = {n l + 1,...,n}. We obtain the (n l)-dimensional polytopes: A = B = { (p 1... p n l ) [0,1] n l j < k : p i U j 1 i S j \S k 16n 2 { } (p 1... p n l ) [0,1] n l j < k : p i U j i S j \S k } René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 12
31 average case analysis - uniform distribution Let l = S k. W.l.o.g. S k = {n l + 1,...,n}. We obtain the (n l)-dimensional polytopes: A = B = { (p 1... p n l ) [0,1] n l j < k : p i U j 1 i S j \S k 16n 2 { } (p 1... p n l ) [0,1] n l j < k : p i U j i S j \S k } Pr [ ] [ ] j < k : U j 1 4n Pr i K : pi 1 4n 1 4. Fix U j 1 4n. René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 12
32 average case analysis - uniform distribution Let l = S k. W.l.o.g. S k = {n l + 1,...,n}. We obtain the (n l)-dimensional polytopes: A = B = { (p 1... p n l ) [0,1] n l j < k : p i U j 1 i S j \S k 16n 2 { } (p 1... p n l ) [0,1] n l j < k : p i U j i S j \S k } Pr [ ] [ ] j < k : U j 1 4n Pr i K : pi 1 4n 1 4. Fix U j 1 4n. We will argue that Pr[A B] = vol(a) vol(b) 3 4. René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 12
33 average case analysis - uniform distribution Let l = S k. W.l.o.g. S k = {n l + 1,...,n}. We obtain the (n l)-dimensional polytopes: A = B = { (p 1... p n l ) [0,1] n l j < k : p i U j 1 i S j \S k 16n 2 { } (p 1... p n l ) [0,1] n l j < k : p i U j i S j \S k } Pr [ ] [ ] j < k : U j 1 4n Pr i K : pi 1 4n 1 4. Fix U j 1 4n. We will argue that Pr[A B] = vol(a) vol(b) 3 4. This implies Pr [ K 1 16n 2 K > 0 ] 1 2. René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 12
34 the polytopes y 1 1 x René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 13
35 the polytopes y 1 x + y A A 1 4n 1 x René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 13
36 the polytopes y 1 x + y A δ δ δ = 1 16n 2 A 1 4n x + y A δ 1 x René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 13
37 the polytopes 1 A B 1 René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 13
38 the polytopes B ε := B shrinked by factor 1 ε in each dimension. 1 1 ε A B B ε 1 ε 1 René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 13
39 the polytopes B ε := B shrinked by factor 1 ε in each dimension. 1 1 ε A B B ε A for ε = 1 4n. B ε 1 ε 1 René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 13
40 the polytopes B ε := B shrinked by factor 1 ε in each dimension. 1 1 ε A B B ε A for ε = 1 4n. B ε 1 ε 1 vol(a) vol(b ε ) = (1 ε) n k vol(b) (1 εn) vol(b) 3 4 vol(b) René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 13
41 Complexity measures Worst case: Adversary has full control (e.g. p i := w i ) René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 14
42 Complexity measures Worst case: Adversary has full control (e.g. p i := w i ) Average case: Adversary has no control (e.g. p i uniformly random) René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 14
43 Complexity measures Worst case: Adversary has full control (e.g. p i := w i ) Average case: Adversary has no control (e.g. p i uniformly random) Smoothed complexity: Adversary has limited control 1. adversary fixes some instance X with norm at most 1 (w i [0,1]) 2. Instance X is randomly perturbed with parameter δ. (p i := p i + r[0,δ]) 3. Smoothed complexity is expected running time w.r.t. random perturbation. (function of n and δ) René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 14
44 New Result General Distributions Suppose weights are chosen by an adversary. Suppose profits are chosen independently according to arbitrary, possibly different probability distributions with finite mean. Let µ denote the maximum expected profit. Let φ denote the supremum of the profit density functions. Then the Nemhauser/Ullmann algorithm has expected running time O(µφn 5 ). φ density function René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 15 x
45 The Core Concept René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 16
46 optimal fractional solution: Dantzig s relaxation (1957) profit weight René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 17
47 optimal fractional solution: Dantzig s relaxation (1957) Linear time (Balas and Zemel, 1980) profit weight René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 17
48 core algorithms (Balas and Zemel, 1980) René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 18
49 core algorithms integrality gap = integrality gap René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 19
50 core algorithms loss of an element loss René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 20
51 Lueker s result (1982) Ε[ ] = Θ log 2 n ( n ) René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 21
52 implications for core algorithms René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 22
53 implications for core algorithms Apply the Nemhauser/Ullmann algorithm to core elements Profits follow a uniform distribution with density 1/ k number of core elements expected running time of Nemhauser/Ullmann is O(k 5 / ) ( log 2 ) n = Θ ; k 2 n = Θ(log 2 n) n René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 23
54 implications for core algorithms Apply the Nemhauser/Ullmann algorithm to core elements Profits follow a uniform distribution with density 1/ k number of core elements expected running time of Nemhauser/Ullmann is O(k 5 / ) ( log 2 ) n = Θ ; k 2 n = Θ(log 2 n) n O(npolylog(n)) René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 23
55 some problematic details... not all core items have sufficient randomness René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 24
56 some problematic details... not all core items have sufficient randomness 1 F G G 1 1/N profit A B F 1/N 0 G weight 1 René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 24
57 some problematic details... not all core items have sufficient randomness number of core items René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 24
58 some problematic details... not all core items have sufficient randomness number of core items integrality gap is not known Choose large core region s.t. P [failure] n 5 in case of failure: compute second list of dominating sets for remaining items Combine two lists in linear time (Horowitz and Sahni 74) René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 24
59 δ-correlated instances 1 profit Q δ/2 0 weight 1 René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 25
60 δ-correlated instances 1 profit δ/2 Q E[ ] = O( δ n log2 n δ ) running time: O( n δ polylog n δ ) 0 weight 1 René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 25
The Knapsack Problem. n items with weight w i N and profit p i N. Choose a subset x of items
Sanders/van Stee: Approximations- und Online-Algorithmen 1 The Knapsack Problem 10 15 W n items with weight w i N and profit p i N Choose a subset x of items Capacity constraint i x w i W wlog assume i
More informationThe Knapsack Problem. 28. April /44
The Knapsack Problem 20 10 15 20 W n items with weight w i N and profit p i N Choose a subset x of items Capacity constraint i x w i W wlog assume i w i > W, i : w i < W Maximize profit i x p i 28. April
More informationCS264: Beyond Worst-Case Analysis Lecture #18: Smoothed Complexity and Pseudopolynomial-Time Algorithms
CS264: Beyond Worst-Case Analysis Lecture #18: Smoothed Complexity and Pseudopolynomial-Time Algorithms Tim Roughgarden March 9, 2017 1 Preamble Our first lecture on smoothed analysis sought a better theoretical
More informationCS264: Beyond Worst-Case Analysis Lecture #15: Smoothed Complexity and Pseudopolynomial-Time Algorithms
CS264: Beyond Worst-Case Analysis Lecture #15: Smoothed Complexity and Pseudopolynomial-Time Algorithms Tim Roughgarden November 5, 2014 1 Preamble Previous lectures on smoothed analysis sought a better
More informationSmoothed Analysis of Integer Programming
Smoothed Analysis of Integer Programming Heiko Röglin and Berthold Vöcking Department of Computer Science RWTH Aachen roeglin,voecking}@cs.rwth-aachen.de Abstract. We present a probabilistic analysis of
More informationDecision Making Based on Approximate and Smoothed Pareto Curves
Decision Making Based on Approximate and Smoothed Pareto Curves Heiner Ackermann, Alantha Newman, Heiko Röglin, Berthold Vöcking RWTH Aachen, Lehrstuhl für Informatik I, D-52056 Aachen, Germany Abstract
More informationMATH 409 LECTURES THE KNAPSACK PROBLEM
MATH 409 LECTURES 19-21 THE KNAPSACK PROBLEM REKHA THOMAS We now leave the world of discrete optimization problems that can be solved in polynomial time and look at the easiest case of an integer program,
More informationApproximating the Stochastic Knapsack Problem: The Benefit of Adaptivity
Approximating the Stochastic Knapsack Problem: The Benefit of Adaptivity Brian C. Dean Michel X. Goemans Jan Vondrák June 6, 2008 Abstract We consider a stochastic variant of the NP-hard 0/1 knapsack problem
More informationLower Bounds for the Smoothed Number of Pareto optimal Solutions
Lower Bouns for the Smoothe Number of Pareto optimal Solutions Tobias Brunsch an Heiko Röglin Department of Computer Science, University of Bonn, Germany brunsch@cs.uni-bonn.e, heiko@roeglin.org Abstract.
More informationCarathéodory Bounds for Integer Cones
Carathéodory Bounds for Integer Cones Friedrich Eisenbrand, Gennady Shmonin Max-Planck-Institut für Informatik Stuhlsatzenhausweg 85 66123 Saarbrücken Germany [eisen,shmonin]@mpi-inf.mpg.de 22nd September
More informationComputing Equilibria for Congestion Games with (Im)perfect Information
Computing Equilibria for Congestion Games with Im)perfect Information Rene Beier Artur Czumaj Piotr Krysta Berthold Vöcking Abstract We study algorithmic questions concerning a basic microeconomic congestion
More informationCS264: Beyond Worst-Case Analysis Lecture #14: Smoothed Analysis of Pareto Curves
CS264: Beyond Worst-Case Analysis Lecture #14: Smoothed Analysis of Pareto Curves Tim Roughgarden November 5, 2014 1 Pareto Curves and a Knapsack Algorithm Our next application of smoothed analysis is
More informationKnapsack. Bag/knapsack of integer capacity B n items item i has size s i and profit/weight w i
Knapsack Bag/knapsack of integer capacity B n items item i has size s i and profit/weight w i Goal: find a subset of items of maximum profit such that the item subset fits in the bag Knapsack X: item set
More information1 Column Generation and the Cutting Stock Problem
1 Column Generation and the Cutting Stock Problem In the linear programming approach to the traveling salesman problem we used the cutting plane approach. The cutting plane approach is appropriate when
More informationApproximating the Stochastic Knapsack Problem: The Benefit of Adaptivity
Approximating the Stochastic Knapsack Problem: The Benefit of Adaptivity Brian C. Dean Michel X. Goemans Jan Vondrák May 23, 2005 Abstract We consider a stochastic variant of the NP-hard 0/1 knapsack problem
More informationRelative Improvement by Alternative Solutions for Classes of Simple Shortest Path Problems with Uncertain Data
Relative Improvement by Alternative Solutions for Classes of Simple Shortest Path Problems with Uncertain Data Part II: Strings of Pearls G n,r with Biased Perturbations Jörg Sameith Graduiertenkolleg
More information20. Dynamic Programming II
Quiz Solution 20. Dynamic Programming II Subset sum problem, knapsack problem, greedy algorithm vs dynamic programming [Ottman/Widmayer, Kap. 7.2, 7.3, 5.7, Cormen et al, Kap. 15,35.5] n n Table Entry
More informationCore problems in bi-criteria {0, 1}-knapsack problems
Computers & Operations Research 35 (2008) 2292 2306 www.elsevier.com/locate/cor Core problems in bi-criteria {0, }-knapsack problems Carlos Gomes da Silva b,c,, João Clímaco a,c, José Rui Figueira d, a
More informationAn Improved Approximation Algorithm for Virtual Private Network Design
An Improved Approximation Algorithm for Virtual Private Network Design Friedrich Eisenbrand Fabrizio Grandoni Abstract Virtual private network design deals with the reservation of capacities in a network,
More informationApproximation Algorithms for Orthogonal Packing Problems for Hypercubes
Approximation Algorithms for Orthogonal Packing Problems for Hypercubes Rolf Harren 1 Max-Planck-Institut für Informatik, Campus E 1 4, 66123 Saarbrücken, Germany Abstract Orthogonal packing problems are
More information2001 Dennis L. Bricker Dept. of Industrial Engineering The University of Iowa. Reducing dimensionality of DP page 1
2001 Dennis L. Bricker Dept. of Industrial Engineering The University of Iowa Reducing dimensionality of DP page 1 Consider a knapsack with a weight capacity of 15 and a volume capacity of 12. Item # Value
More informationCOSC 341: Lecture 25 Coping with NP-hardness (2)
1 Introduction Figure 1: Famous cartoon by Garey and Johnson, 1979 We have seen the definition of a constant factor approximation algorithm. The following is something even better. 2 Approximation Schemes
More information0-1 Knapsack Problem
KP-0 0-1 Knapsack Problem Define object o i with profit p i > 0 and weight w i > 0, for 1 i n. Given n objects and a knapsack capacity C > 0, the problem is to select a subset of objects with largest total
More informationModel Counting for Logical Theories
Model Counting for Logical Theories Wednesday Dmitry Chistikov Rayna Dimitrova Department of Computer Science University of Oxford, UK Max Planck Institute for Software Systems (MPI-SWS) Kaiserslautern
More informationClustering Perturbation Resilient
Clustering Perturbation Resilient Instances Maria-Florina Balcan Carnegie Mellon University Clustering Comes Up Everywhere Clustering news articles or web pages or search results by topic. Clustering protein
More informationApproximating the Stochastic Knapsack Problem: The Benefit of Adaptivity
MATHEMATICS OF OPERATIONS RESEARCH Vol. 33, No. 4, November 2008, pp. 945 964 issn 0364-765X eissn 1526-5471 08 3304 0945 informs doi 10.1287/moor.1080.0330 2008 INFORMS Approximating the Stochastic Knapsack
More informationStochastic Matching in Hypergraphs
Stochastic Matching in Hypergraphs Amit Chavan, Srijan Kumar and Pan Xu May 13, 2014 ROADMAP INTRODUCTION Matching Stochastic Matching BACKGROUND Stochastic Knapsack Adaptive and Non-adaptive policies
More informationBalanced Allocation Through Random Walk
Balanced Allocation Through Random Walk Alan Frieze Samantha Petti November 25, 2017 Abstract We consider the allocation problem in which m (1 ε)dn items are to be allocated to n bins with capacity d.
More informationU.C. Berkeley CS294: Beyond Worst-Case Analysis Handout 3 Luca Trevisan August 31, 2017
U.C. Berkeley CS294: Beyond Worst-Case Analysis Handout 3 Luca Trevisan August 3, 207 Scribed by Keyhan Vakil Lecture 3 In which we complete the study of Independent Set and Max Cut in G n,p random graphs.
More informationKey words. computational geometry, proximity, dynamic data structures, randomization
SIAM J. COMPUT. c 1998 Society for Industrial and Applied Mathematics Vol. 27, No. 4, pp. 1036 1072, August 1998 007 RANDOMIZED DATA STRUCTURES FOR THE DYNAMIC CLOSEST-PAIR PROBLEM MORDECAI GOLIN, RAJEEV
More information1 The Knapsack Problem
Comp 260: Advanced Algorithms Prof. Lenore Cowen Tufts University, Spring 2018 Scribe: Tom Magerlein 1 Lecture 4: The Knapsack Problem 1 The Knapsack Problem Suppose we are trying to burgle someone s house.
More informationA General Framework for Designing Approximation Schemes for Combinatorial Optimization Problems with Many Objectives Combined into One
OPERATIONS RESEARCH Vol. 61, No. 2, March April 2013, pp. 386 397 ISSN 0030-364X (print) ISSN 1526-5463 (online) http://dx.doi.org/10.1287/opre.1120.1093 2013 INFORMS A General Framework for Designing
More informationLP based heuristics for the multiple knapsack problem. with assignment restrictions
LP based heuristics for the multiple knapsack problem with assignment restrictions Geir Dahl and Njål Foldnes Centre of Mathematics for Applications and Department of Informatics, University of Oslo, P.O.Box
More informationProject in Computational Game Theory: Communities in Social Networks
Project in Computational Game Theory: Communities in Social Networks Eldad Rubinstein November 11, 2012 1 Presentation of the Original Paper 1.1 Introduction In this section I present the article [1].
More informationLecture 13 March 7, 2017
CS 224: Advanced Algorithms Spring 2017 Prof. Jelani Nelson Lecture 13 March 7, 2017 Scribe: Hongyao Ma Today PTAS/FPTAS/FPRAS examples PTAS: knapsack FPTAS: knapsack FPRAS: DNF counting Approximation
More informationDecision Making Based on Approximate and Smoothed Pareto Curves
Decision Making Based on Approximate and Smoothed Pareto Curves Heiner Ackermann, Alantha Newman, Heiko Röglin, and Berthold Vöcking Department of Computer Science RWTH Aachen {ackermann,alantha,roeglin,voecking}@cs.rwth-aachen.de
More informationarxiv: v1 [math.oc] 3 Jan 2019
The Product Knapsack Problem: Approximation and Complexity arxiv:1901.00695v1 [math.oc] 3 Jan 2019 Ulrich Pferschy a, Joachim Schauer a, Clemens Thielen b a Department of Statistics and Operations Research,
More information3.4 Relaxations and bounds
3.4 Relaxations and bounds Consider a generic Discrete Optimization problem z = min{c(x) : x X} with an optimal solution x X. In general, the algorithms generate not only a decreasing sequence of upper
More informationStochastic optimization Markov Chain Monte Carlo
Stochastic optimization Markov Chain Monte Carlo Ethan Fetaya Weizmann Institute of Science 1 Motivation Markov chains Stationary distribution Mixing time 2 Algorithms Metropolis-Hastings Simulated Annealing
More informationApproximation Algorithms for 3D Orthogonal Knapsack
Month 200X, Vol.21, No.X, pp.xx XX J. Comput. Sci. & Technol. Approximation Algorithms for 3D Orthogonal Knapsack Florian Diedrich 1, Rolf Harren 2, Klaus Jansen 1, Ralf Thöle 1, and Henning Thomas 3 1
More informationAn Improved Construction of Progression-Free Sets
An Improved Construction of Progression-Free Sets Michael Elkin Ben-Gurion University + 1 The Problem Numbers i, j, l form an arithmetic triple if i = j+l 2 or j = i+l 2 or l = i+j 2. A subset S {1,2,...,
More informationOn bilevel machine scheduling problems
Noname manuscript No. (will be inserted by the editor) On bilevel machine scheduling problems Tamás Kis András Kovács Abstract Bilevel scheduling problems constitute a hardly studied area of scheduling
More informationNP-Completeness. f(n) \ n n sec sec sec. n sec 24.3 sec 5.2 mins. 2 n sec 17.9 mins 35.
NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979. NP-Completeness 1 General Problems, Input Size and
More informationChapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.
Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved. 1 Approximation Algorithms Q. Suppose I need to solve an NP-hard problem. What should
More informationOnline Scheduling with Bounded Migration
Online Scheduling with Bounded Migration Peter Sanders Universität Karlsruhe (TH), Fakultät für Informatik, Postfach 6980, 76128 Karlsruhe, Germany email: sanders@ira.uka.de http://algo2.iti.uni-karlsruhe.de/sanders.php
More informationAdvanced Analysis of Algorithms - Midterm (Solutions)
Advanced Analysis of Algorithms - Midterm (Solutions) K. Subramani LCSEE, West Virginia University, Morgantown, WV {ksmani@csee.wvu.edu} 1 Problems 1. Solve the following recurrence using substitution:
More informationWhere are the hard knapsack problems?
Computers & Operations Research 32 (2005) 2271 2284 www.elsevier.com/locate/dsw Where are the hard knapsack problems? David Pisinger Department of Computer Science, University of Copenhagen, Universitetsparken
More informationSparse Legendre expansions via l 1 minimization
Sparse Legendre expansions via l 1 minimization Rachel Ward, Courant Institute, NYU Joint work with Holger Rauhut, Hausdorff Center for Mathematics, Bonn, Germany. June 8, 2010 Outline Sparse recovery
More informationCS6999 Probabilistic Methods in Integer Programming Randomized Rounding Andrew D. Smith April 2003
CS6999 Probabilistic Methods in Integer Programming Randomized Rounding April 2003 Overview 2 Background Randomized Rounding Handling Feasibility Derandomization Advanced Techniques Integer Programming
More informationSmall (Explicit) Extended Formulation for Knapsack Cover Inequalities from Monotone Circuits
Small (Explicit) Extended Formulation for Knapsack Cover Inequalities from Monotone Circuits Abbas Bazzi Samuel Fiorini Sangxia Huang Ola Svensson & Samuel Fiorini Tony Huynh Stefan Weltge Extended formulations
More informationCSE541 Class 22. Jeremy Buhler. November 22, Today: how to generalize some well-known approximation results
CSE541 Class 22 Jeremy Buhler November 22, 2016 Today: how to generalize some well-known approximation results 1 Intuition: Behavior of Functions Consider a real-valued function gz) on integers or reals).
More informationA Dynamic Programming Heuristic for the Quadratic Knapsack Problem
A Dynamic Programming Heuristic for the Quadratic Knapsack Problem Franklin Djeumou Fomeni Adam N. Letchford March 2012 Abstract It is well known that the standard (linear) knapsack problem can be solved
More informationDynamic-Programming-Based Inequalities for the Unbounded Integer Knapsack Problem
INFORMATICA, 2016, Vol. 27, No. 2, 433 450 433 2016 Vilnius University DOI: http://dx.doi.org/10.15388/informatica.2016.93 Dynamic-Programming-Based Inequalities for the Unbounded Integer Knapsack Problem
More informationTopics in Theoretical Computer Science April 08, Lecture 8
Topics in Theoretical Computer Science April 08, 204 Lecture 8 Lecturer: Ola Svensson Scribes: David Leydier and Samuel Grütter Introduction In this lecture we will introduce Linear Programming. It was
More informationOn the knapsack closure of 0-1 Integer Linear Programs. Matteo Fischetti University of Padova, Italy
On the knapsack closure of 0-1 Integer Linear Programs Matteo Fischetti University of Padova, Italy matteo.fischetti@unipd.it Andrea Lodi University of Bologna, Italy alodi@deis.unibo.it Aussois, January
More informationCS 6901 (Applied Algorithms) Lecture 3
CS 6901 (Applied Algorithms) Lecture 3 Antonina Kolokolova September 16, 2014 1 Representative problems: brief overview In this lecture we will look at several problems which, although look somewhat similar
More informationQuery and Computational Complexity of Combinatorial Auctions
Query and Computational Complexity of Combinatorial Auctions Jan Vondrák IBM Almaden Research Center San Jose, CA Algorithmic Frontiers, EPFL, June 2012 Jan Vondrák (IBM Almaden) Combinatorial auctions
More informationConnectedness of Efficient Solutions in Multiple. Objective Combinatorial Optimization
Connectedness of Efficient Solutions in Multiple Objective Combinatorial Optimization Jochen Gorski Kathrin Klamroth Stefan Ruzika Communicated by H. Benson Abstract Connectedness of efficient solutions
More informationLecture 11 October 7, 2013
CS 4: Advanced Algorithms Fall 03 Prof. Jelani Nelson Lecture October 7, 03 Scribe: David Ding Overview In the last lecture we talked about set cover: Sets S,..., S m {,..., n}. S has cost c S. Goal: Cover
More informationLecture : Lovász Theta Body. Introduction to hierarchies.
Strong Relaations for Discrete Optimization Problems 20-27/05/6 Lecture : Lovász Theta Body. Introduction to hierarchies. Lecturer: Yuri Faenza Scribes: Yuri Faenza Recall: stable sets and perfect graphs
More informationa 1 a 2 a 3 a 4 v i c i c(a 1, a 3 ) = 3
AM 221: Advanced Optimization Spring 2016 Prof. Yaron Singer Lecture 17 March 30th 1 Overview In the previous lecture, we saw examples of combinatorial problems: the Maximal Matching problem and the Minimum
More informationEvolutionary Algorithms and Dynamic Programming
Evolutionary Algorithms and Dynamic Programming arxiv:1301.4096v1 [cs.ne] 17 Jan 2013 Benjamin Doerr, Anton Eremeev, Frank Neumann, Madeleine Theile, Christian Thyssen January 18, 2013 Abstract Recently,
More informationRandom Variable. Pr(X = a) = Pr(s)
Random Variable Definition A random variable X on a sample space Ω is a real-valued function on Ω; that is, X : Ω R. A discrete random variable is a random variable that takes on only a finite or countably
More informationA Heuristic Algorithm for General Multiple Nonlinear Knapsack Problem
A Heuristic Algorithm for General Multiple Nonlinear Knapsack Problem Luca Mencarelli mencarelli@lix.polytechnique.fr Poster Session: Oral Presentations Mixed-Integer Nonlinear Programming 2014 Carnegie
More informationKNAPSACK PROBLEMS WITH SETUPS
7 e Conférence Francophone de MOdélisation et SIMulation - MOSIM 08 - du 31 mars au 2 avril 2008 - Paris - France Modélisation, Optimisation et Simulation des Systèmes : Communication, Coopération et Coordination
More informationILP Formulations for the Lazy Bureaucrat Problem
the the PSL, Université Paris-Dauphine, 75775 Paris Cedex 16, France, CNRS, LAMSADE UMR 7243 Department of Statistics and Operations Research, University of Vienna, Vienna, Austria EURO 2015, 12-15 July,
More informationOptimal Auctions with Correlated Bidders are Easy
Optimal Auctions with Correlated Bidders are Easy Shahar Dobzinski Department of Computer Science Cornell Unversity shahar@cs.cornell.edu Robert Kleinberg Department of Computer Science Cornell Unversity
More informationGoldreich-Levin Hardcore Predicate. Lecture 28: List Decoding Hadamard Code and Goldreich-L
Lecture 28: List Decoding Hadamard Code and Goldreich-Levin Hardcore Predicate Recall Let H : {0, 1} n {+1, 1} Let: L ε = {S : χ S agrees with H at (1/2 + ε) fraction of points} Given oracle access to
More informationNote that r = 0 gives the simple principle of induction. Also it can be shown that the principle of strong induction follows from simple induction.
Proof by mathematical induction using a strong hypothesis Occasionally a proof by mathematical induction is made easier by using a strong hypothesis: To show P(n) [a statement form that depends on variable
More informationPolyhedral Approaches to Online Bipartite Matching
Polyhedral Approaches to Online Bipartite Matching Alejandro Toriello joint with Alfredo Torrico, Shabbir Ahmed Stewart School of Industrial and Systems Engineering Georgia Institute of Technology Industrial
More informationarxiv: v1 [cs.ds] 15 Jan 2018
Approximating the Incremental Knapsack Problem Federico Della Croce a,b, Ulrich Pferschy c, Rosario Scatamacchia a, arxiv:1801.04801v1 [cs.ds] 15 Jan 2018 a Dipartimento di Ingegneria Gestionale e della
More informationNETS 412: Algorithmic Game Theory March 28 and 30, Lecture Approximation in Mechanism Design. X(v) = arg max v i (a)
NETS 412: Algorithmic Game Theory March 28 and 30, 2017 Lecture 16+17 Lecturer: Aaron Roth Scribe: Aaron Roth Approximation in Mechanism Design In the last lecture, we asked how far we can go beyond the
More informationAn Ins t Ins an t t an Primer
An Instant Primer Links from Course Web Page Network Coding: An Instant Primer Fragouli, Boudec, and Widmer. Network Coding an Introduction Koetter and Medard On Randomized Network Coding Ho, Medard, Shi,
More information8 Knapsack Problem 8.1 (Knapsack)
8 Knapsack In Chapter 1 we mentioned that some NP-hard optimization problems allow approximability to any required degree. In this chapter, we will formalize this notion and will show that the knapsack
More informationIntroduction Long transparent proofs The real PCP theorem. Real Number PCPs. Klaus Meer. Brandenburg University of Technology, Cottbus, Germany
Santaló s Summer School, Part 3, July, 2012 joint work with Martijn Baartse (work supported by DFG, GZ:ME 1424/7-1) Outline 1 Introduction 2 Long transparent proofs for NP R 3 The real PCP theorem First
More informationSmoothed Analysis of Binary Search Trees
Smoothed Analysis of Binary Search Trees Bodo Manthey a,,1, Rüdiger Reischuk b a Universität des Saarlandes, Informatik Postfach 151150, 66041 Saarbrücken, Germany b Universität zu Lübeck, Institut für
More informationSymmetry and hardness of submodular maximization problems
Symmetry and hardness of submodular maximization problems Jan Vondrák 1 1 Department of Mathematics Princeton University Jan Vondrák (Princeton University) Symmetry and hardness 1 / 25 Submodularity Definition
More informationALTERNATIVE PERSPECTIVES FOR SOLVING COMBINATORIAL OPTIMIZATION PROBLEMS
ε-optimization SCHEMES AND L-BIT PRECISION: ALTERNATIVE PERSPECTIVES FOR SOLVING COMBINATORIAL OPTIMIZATION PROBLEMS JAMES B. ORLIN, ANDREAS S. SCHULZ, AND SUDIPTA SENGUPTA September 2004 Abstract. Motivated
More informationPropagating Knapsack Constraints in Sublinear Time
Propagating Knapsack Constraints in Sublinear Time Irit Katriel, Meinolf Sellmann, Eli Upfal, and Pascal Van Hentenryck Brown University, PO Box 191, Providence, RI 2912 {irit,sello,eli,pvh}@cs.brown.edu
More informationNash Equilibrium: Existence & Computation
: & IIIS, Tsinghua University zoy.blood@gmail.com March 28, 2016 Overview 1 Fixed-Point Theorems: Kakutani & Brouwer Proof of 2 A Brute Force Solution Lemke Howson Algorithm Overview Fixed-Point Theorems:
More informationOn the Power of Robust Solutions in Two-Stage Stochastic and Adaptive Optimization Problems
MATHEMATICS OF OPERATIONS RESEARCH Vol. xx, No. x, Xxxxxxx 00x, pp. xxx xxx ISSN 0364-765X EISSN 156-5471 0x xx0x 0xxx informs DOI 10.187/moor.xxxx.xxxx c 00x INFORMS On the Power of Robust Solutions in
More informationSemi-Infinite Relaxations for a Dynamic Knapsack Problem
Semi-Infinite Relaxations for a Dynamic Knapsack Problem Alejandro Toriello joint with Daniel Blado, Weihong Hu Stewart School of Industrial and Systems Engineering Georgia Institute of Technology MIT
More informationNP Completeness and Approximation Algorithms
Chapter 10 NP Completeness and Approximation Algorithms Let C() be a class of problems defined by some property. We are interested in characterizing the hardest problems in the class, so that if we can
More informationDynamic Programming: Interval Scheduling and Knapsack
Dynamic Programming: Interval Scheduling and Knapsack . Weighted Interval Scheduling Weighted Interval Scheduling Weighted interval scheduling problem. Job j starts at s j, finishes at f j, and has weight
More informationPacking Resizable Items with Application to Video Delivery over Wireless Networks
Packing Resizable Items with Application to Video Delivery over Wireless Networks Sivan Albagli-Kim Leah Epstein Hadas Shachnai Tami Tamir Abstract Motivated by fundamental optimization problems in video
More informationAdaptive Policies for Online Ad Selection Under Chunked Reward Pricing Model
Adaptive Policies for Online Ad Selection Under Chunked Reward Pricing Model Dinesh Garg IBM India Research Lab, Bangalore garg.dinesh@in.ibm.com (Joint Work with Michael Grabchak, Narayan Bhamidipati,
More information1 Maximizing a Submodular Function
6.883 Learning with Combinatorial Structure Notes for Lecture 16 Author: Arpit Agarwal 1 Maximizing a Submodular Function In the last lecture we looked at maximization of a monotone submodular function,
More informationOn the Power of Robust Solutions in Two-Stage Stochastic and Adaptive Optimization Problems
MATHEMATICS OF OPERATIONS RESEARCH Vol. 35, No., May 010, pp. 84 305 issn 0364-765X eissn 156-5471 10 350 084 informs doi 10.187/moor.1090.0440 010 INFORMS On the Power of Robust Solutions in Two-Stage
More informationFast algorithms for collision and proximity problems involving moving geometric objects
Fast algorithms for collision and proximity problems involving moving geometric objects Prosenjit Gupta Ravi Janardan Michiel Smid August 22, 1995 Abstract Consider a set of geometric objects, such as
More information1 Distributional problems
CSCI 5170: Computational Complexity Lecture 6 The Chinese University of Hong Kong, Spring 2016 23 February 2016 The theory of NP-completeness has been applied to explain why brute-force search is essentially
More informationApproximation numbers of Sobolev embeddings - Sharp constants and tractability
Approximation numbers of Sobolev embeddings - Sharp constants and tractability Thomas Kühn Universität Leipzig, Germany Workshop Uniform Distribution Theory and Applications Oberwolfach, 29 September -
More informationCOT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748
COT 6936: Topics in Algorithms! Giri Narasimhan ECS 254A / EC 2443; Phone: x3748 giri@cs.fiu.edu https://moodle.cis.fiu.edu/v2.1/course/view.php?id=612 Gaussian Elimination! Solving a system of simultaneous
More informationIntroduction to Bin Packing Problems
Introduction to Bin Packing Problems Fabio Furini March 13, 2015 Outline Origins and applications Applications: Definition: Bin Packing Problem (BPP) Solution techniques for the BPP Heuristic Algorithms
More informationA General Framework for Designing Approximation Schemes for Combinatorial Optimization Problems with Many Objectives Combined Into One
A General Framework for Designing Approximation Schemes for Combinatorial Optimization Problems with Many Objectives Combined Into One Shashi Mittal Andreas S. Schulz Abstract In this paper, we present
More informationRecoverable Robust Knapsacks: Γ -Scenarios
Recoverable Robust Knapsacks: Γ -Scenarios Christina Büsing, Arie M. C. A. Koster, and Manuel Kutschka Abstract In this paper, we investigate the recoverable robust knapsack problem, where the uncertainty
More informationHeuristic and exact algorithms for the max min optimization of the multi-scenario knapsack problem
Computers & Operations Research ( ) www.elsevier.com/locate/cor Heuristic and exact algorithms for the max min optimization of the multi-scenario knapsack problem Fumiaki Taniguchi, Takeo Yamada, Seiji
More informationCS 6783 (Applied Algorithms) Lecture 3
CS 6783 (Applied Algorithms) Lecture 3 Antonina Kolokolova January 14, 2013 1 Representative problems: brief overview of the course In this lecture we will look at several problems which, although look
More informationGreedy vs Dynamic Programming Approach
Greedy vs Dynamic Programming Approach Outline Compare the methods Knapsack problem Greedy algorithms for 0/1 knapsack An approximation algorithm for 0/1 knapsack Optimal greedy algorithm for knapsack
More informationarxiv: v1 [math.oc] 1 Apr 2017
Inverse Fractional Knapsack Problem with Profits and Costs Modification arxiv:1704.00145v1 [math.oc] 1 Apr 2017 Kien Trung Nguyen Huynh Duc Quoc We address in this paper the problem of modifying both profits
More informationLocal Maxima and Improved Exact Algorithm for MAX-2-SAT
CHICAGO JOURNAL OF THEORETICAL COMPUTER SCIENCE 2018, Article 02, pages 1 22 http://cjtcs.cs.uchicago.edu/ Local Maxima and Improved Exact Algorithm for MAX-2-SAT Matthew B. Hastings Received March 8,
More information