Question: EXPLAIN AS DETAILED, AND DO NOT COPY PASTE PREVIOUS SOLUTIONS, THANK YOU. Suppose that you are given a set T of projects where each project

EXPLAIN AS DETAILED, AND DO NOT COPY PASTE PREVIOUS SOLUTIONS, THANK YOU.
Suppose that you are given a set T of projects where each project tT is associated with - a positive integer et denoting the amount of effort (e.g., the amount of time or energy) required to complete the project t, and - a positive integer pt denoting the profit gained by completing the project t. Given a positive integer c denoting the maximum amount of effort that you can spend on these projects, the goal is to find the largest amount of profit that you can make by completing a subset of these projects such that the total amount of effort spent to complete the projects is at most c. 1. (50 points) State the decision version of this optimization problem: Input? Output? 2. (50 points) Prove that the decision version is in NP
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
