Can I divide the items in the knapsack problem?
-
Actually I got confused because, in one website I saw people dividing the items in to fraction and in one site, I saw that problem is solved keeping in mind that objects can't be divided! What is the actual knapsack problem rule? Update: thank you to all the answerers :)
-
Answer:
Yes you can divide the items and that is the category of Fractional Knapsack problem. And another category of problem is 0/1 knapsack in which either you take the item or ingore it.
Satish Patel at Quora Visit the source
Other answers
There are two different versions of Knapsack problem: 1. Where you have to take objects wholly (0 or 1) 2. Where you can take objects in fractions. 1st is relatively common
Anushka Ved
The one that people normally refer to when they talk about the knapsack problem is called the 0/1 knapsack problem. In this problem, you can either take an item or not. You cannot divide it.
Anonymous
Related Q & A:
- How can i get rid of my constant sinus problem?Best solution by Yahoo! Answers
- Where can I sell expensive items safely?Best solution by Yahoo! Answers
- Where can I find these items?Best solution by Arqade
- Where can i post my items i want to sell at?Best solution by Yahoo! Answers
- Where can I find which items I can write off as a 1099 contractor?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.