Solve the instance of the scheduling problem given in Figure 16.7, but with each penalty
$w_i$ replaced by$80 - wi$ .
1 | 2 | 3 | 4 | 5 | 6 | 7 | |
---|---|---|---|---|---|---|---|
4 | 2 | 4 | 3 | 1 | 4 | 6 | |
10 | 20 | 30 | 40 | 50 | 60 | 70 |
Show how to use property 2 of Lemma 16.12 to determine in time
$O(|A|)$ whether or not a given set$A$ of tasks is independent.
Inserting by deadline.