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 14:30
Use the multiplier method to incrases £258 by 43%
Answers: 1
question
Mathematics, 21.06.2019 20:00
Write the point-slope form of the line passing through (2, -12) and parallel to y=3x.
Answers: 2
question
Mathematics, 21.06.2019 20:40
The graph of a function f(x)=(x+2)(x-4). which describes all of the values for which the graph is negative and increasing? all real values of x where x< -2 all real values of x where -2
Answers: 2
question
Mathematics, 22.06.2019 00:00
One of the complementary angles is 4 degrees mor than the other. find the angles (recall that complementary angles are angles whose sum is 90 degrees.) which of the following can not be used to solve the problem if x represents one of the angles? a. 2x-4=90 b. 2x+4=90 c. x+4=90
Answers: 1
You know the right answer?
For each of the following sequences and "volumes, " decide whether the knapsack problem is superincr...
Questions
question
Chemistry, 26.05.2021 21:50
question
Health, 26.05.2021 21:50
question
Spanish, 26.05.2021 21:50
question
Mathematics, 26.05.2021 21:50
question
Chemistry, 26.05.2021 21:50
question
Mathematics, 26.05.2021 21:50
question
Chemistry, 26.05.2021 21:50
question
Health, 26.05.2021 21:50
Questions on the website: 13722360