Question: Consider a modified version of the Activity Selection problem in which each activity has a profit , in addition to a start time and finish
Consider a modified version of the Activity Selection problem in which each activity
has a profit
in addition to a start time
and finish time
The goal is no longer to maximize the number of activities scheduled, but instead to maximize the total profit of the activities scheduled. That is we wish to choose a set
of mutually compatible activities such that
is maximized.
For example, given four jobs with the following start time, finish time, and profit values,
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
