subject
Mathematics, 30.07.2019 18:10 mikkilynnpeace1982

For each of the following sequences and "volumes, " decide whether the knapsack problem is superincreasing and how many solutions (if any) it has: (a) {2, 3, 7, 20, 35, 69}, v = 45: (b) {1, 2, 5, 9, 20, 49}, v = 73: (c) {1, 3, 7, 12, 22, 45}, v = 67: (d) {2, 3, 6, 11, 21, 40}, v = 39: (e) {4, 5, 10, 30, 50, 101}, v = 186: (f) {3, 5, 8, 15, 28, 60}, v = 43: the knapsack problem. given a set {v_i} of k positive integers and an integer v, find a k-bit integer n = (epsilon_k - 1 epsilon_k - 2 .. epsilon_1 epsilon_0)_2 (where the epsilon_i elementof {0, 1} are the binary digits of n) such sigma^k - 1_i = 0 epsilon_i v_i = v, if such an n exists. note that there may be no solution n or many solutions, or there might be a unique solution, depending on the k-tuple {v_i} and the integer v. a special case of the knapsack problem is the superincreasing knapsack problem. this is the case when the v_i, arranged in increasing order, have the property that each one is greater than the sum of all of the earlier v_i.

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 19:00
What numbers are included in the set of integers? what numbers are not included?
Answers: 2
question
Mathematics, 21.06.2019 21:10
The table below shows the approximate height of an object x seconds after the object was dropped. the function h(x)= -16x^2 +100 models the data in the table. for which value of x would this model make it the least sense to use? a. -2.75 b. 0.25 c. 1.75 d. 2.25
Answers: 2
question
Mathematics, 21.06.2019 22:30
Fast! find the length of cu. the triangles are similar. show your work.
Answers: 2
question
Mathematics, 22.06.2019 02:00
Which expression represents the total perimeter of her sandwich, and if x = 1.2, what is the approximate length of the crust?
Answers: 2
You know the right answer?
For each of the following sequences and "volumes, " decide whether the knapsack problem is superincr...
Questions
question
Mathematics, 25.01.2022 02:30
question
History, 25.01.2022 02:30
question
Mathematics, 25.01.2022 02:30
question
Advanced Placement (AP), 25.01.2022 02:30
question
Mathematics, 25.01.2022 02:30
Questions on the website: 13722360