Is the following problem NP-Complete?
The Rice bowl problem is to pick the ingredients for your bowl.
You are given a set of ingredients I1 to In. Each ingredient Ii
comes with
a quality qi and a quantity si . You are also given a bowl size S
and a quality goal Q. Can you select a subset of the ingredients
that both fit in the bowl (the sum of their
si is at most S) and have enough quality (the sum of their qi is at
least Q).
I know that this problem is NP-Complete (the knapsack problem can be reduced to it), but I am having difficulty formulating a proper proof for this.
I know that I have to show that the knapsack problem is in np, which can easily be done with a certificate. Next I have to show that the knapsack problem can be reduced to this problem. Lastly I have to simply show that if knapsack is np complete, then this problem is also np complete.
The problem is I can't seem to formulate a formal proof to do the above. Can someone please help out with that?
The Rice bowl problem has two constraints 1)Quality 2)Weight.
This is similar to a multidimensional knapsack problem. If there
is more than one constraint, we get the multidimensional knapsack
problem or m-dimensional knapsack problem. The multidimensional
knapsack problem is obviously a NP Complete problem. 
*In image, m is number of constraints.
Each item j consumes an amount wij from each resource i.
For any fixed m>=2, these problems do admit a pseudo-polynomial time algorithm and a PTAS ( polynomial-time approximation scheme ).
Is the following problem NP-Complete? The Rice bowl problem is to pick the ingredients for your...
Is the following problem NP-Complete? The Rice bowl problem is to pick the ingredients for your bowl. You are given a set of ingredients I1 to In. Each ingredient Ii comes with a quality qi and a quantity si . You are also given a bowl size S and a quality goal Q. Can you select a subset of the ingredients that both fit in the bowl (the sum of their si is at most S) and have enough quality...
Show that the decision version of the knapsack problem is NP-complete. (Hint: In your reduction, make use of the partition problem: given n positive integers, partition them into two disjoint subsets with the same sum of their elements. The partition problem is NP-complete.)
What are the swimlanes in this problem? You are Cathy Apple, internal audit and your task is to produce the flowchart of the accounts payable process. Review the attached transcript of your interview with the manager or a description of the process. Hint: Follow the process described in the videos - Rough out the process on paper then use Excel to produce the final flowchart. Mr. Butts doesn’t mention it to Cathy, but the company uses SAP as its ERP...
Solve the following problem using a system of equations. Show your
solving steps using the addition method and state your final answer
in a sentence. be sure to check your solution.
$10,800 is divided into two investments, one earning 8% simple
interest and the other earning 5% simple interest. After one year,
they earn a combined interest of $795. How much was invested in
each account?
I have also attached an example chart that also needs to be
made as...
You are managing a large scale construction project with hundreds of subprojects, some which have to be completed before others can begin whereas some subprojects can be carried out simultaneously. The project and its subprojects, and the presence of dependencies between subprojects (which subprojects have to be done before which), can be modeled as a connected unweighted directed graph with nodes representing subprojects and directed edges representing dependencies. 42. Which of the following algorithms will allow you to determine if...
There is an old fairy tale where some elves secretly help an old shoemaker finish his work for the day. In this version, the shoemaker and the elves collaborate openly Each day the shoemaker receives n orders for custom-made shoes. In the evening, n elves arrive to help him assemble the shoes. The shoemaker first cuts out the leather pieces for one pair of shoes. Then an elf stitches the pieces together to complete the shoes. For each i, let...
Complete the following steps after reading the ABC Co. Case Study (Version 2) ABC Company Case Analysis: The case study is in bold! The questions are underneath this study. You have been hired by ABC Co. to assess their current financial situation and offer suggestions for potential expansion. ABC has been in business for 6 years and has grown from a sole proprietor to its current status. The business is in a growing industry and sells accessories for technology items....
Comprehensive Problem 6-52 (LO 6-1, LO 6-2, LO 6-3)
[The following information applies to the questions
displayed below.]
Read the following letter and help Shady Slim with his tax
situation. Please assume that his gross income is $172,900 (which
consists only of salary) for purposes of this problem.
December 31, 2019
To the friendly student tax preparer:
Hi, it’s Shady Slim again. I just got back from my 55th birthday
party, and I’m told that you need some more information...
Please complete for Tuesday, we will go through the questions and mark them in class. pg 156 - 4.23, 4.24, 4.26 pg 170 - 4.29, 4.31, pg 171-4.36 pg 175 - 4.59 pg 176- 4.74, 4.75, 4.80 pg 177-4.81, 4.82 pg 188- 5.1, 5.4, 5.5, 5.6, 5.11 - Using Table 5.1 pg 198-5.22, 5.25 pg 203 - 5.29 pg 206 - 5.37 pg 209 - 5.39 pg 2.14 5.61 pg 235-6.11, 6.14, 6.16 156 CHAPTER 4 Introduction to Organic Compounds...
Please Use your keyboard (Don't use handwriting) *******Please re-write my answer I need new and unique answers, please. (Use your own words, don't copy and paste)***** Case Study 1: Should a Computer Grade Your Essays? Would you like your college essays graded by a computer? Well, you just might find that happening in your next course. In April 2013, EdX, a Harvard/MIT joint venture to develop massively open online courses (MOOCs), launched an essay-scoring program. Using artificial intelligence technology, essays...