Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following variant of the knapsack problem. Given are n items with costs ci and volumes vi, and a lower bound on the volume

Consider the following variant of the knapsack problem. Given are n items with costs ci and volumes vi, and a lower bound on the volume V . Find a minimum cost set of items, such that the total volume is at least V. you should solve it it's the normal knapsack problem, but with an additional lowerbound that the knapsack should be filled AT LEAST
here are some test cases that you can use:
Example: In normal Knapsack, the solution would be Item A, because of the 100 profit.
* However, because of the lowerbound of 85, Item A cannot be chosen.
* The solution here is therefore Item B + Item C */
where item A = (cost: 100, volume:80)
item B = (cost: 40, volume:45)
item C = (cost: 40, volume:45)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Knowledge Discovery In Databases

Authors: Gregory Piatetsky-Shapiro, William Frawley

1st Edition

0262660709, 978-0262660709

More Books

Students also viewed these Databases questions

Question

Define a derivative instrument as per U.S. GAAP and as per IFRS.

Answered: 1 week ago

Question

4. What are the current trends in computer software platforms?

Answered: 1 week ago