Suppose you have one machine and a set of
Now we provide the solution for the problem, considering that we have the following data:
Job (j) | Processing time ( |
Deadline ( |
Profit ( |
---|---|---|---|
1 | 4 | 10 | 2 |
2 | 4 | 15 | 5 |
3 | 5 | 5 | 3 |
4 | 6 | 10 | 4 |
1 --> 4 --> 2 --> 3