Question: Will rate instantly. Please answer fast ( 2 5 pts ) The GEOMETRIC - KNAPSACK problem is a variant of the Knapmark problem in which

Will rate instantly. Please answer fast (25 pts) The GEOMETRIC-KNAPSACK problem is a variant of the Knapmark problem in which our knapsack is a 2 D rectangle and the weight constraint is replaced by a packing, constraint, as follows. The input is a set of n items I={x_1,..., x_n} where each item x_1 has a value x_i v, a height x_i h and a width x_i, w, and a rectangle R=[0, W]\times [0, H] representing your knapsack. (The instance can then be represented by the triple (I, W, H).) We wish to choose a subset of items I^' I such that. I^' can be packed into the knapsack while maximizing _x_4^* x_i v.(a) Formulate the decision version of GEOMETRIC-KNAPSACK. (b) Is the problem in NP? Justify. You can assume that, given two rectangles in R^2 we can decide whether their interior intersect in O(1) time. (c) Prove that GEOMETRIC-KNAPSACK is NP-hard by reducing from an NP-complete problem. (Hint: there are multiple options here: You may want to reduce from SUBSET-SUM, 0-1 KNAPSACK or RECTANGLE-PACKING. Recall that you need to show the reduction which is a poly-time algorithm that convert an instance into the other, and you must show both sides of the correctness.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!