CoMet Exercises Scheduling
CoMet Exercises Scheduling
1. Six jobs must be scheduled on a single machine. Each job has a specific
processing time and a priority (weight). A manager wants to schedule the
jobs to minimize the weighted sum of completion times. The data are as
follows:
j 1 2 3 4 5 6
pj 10 5 6 8 8 10
wj 8 5 4 6 7 7
2. In the previous exercise, assume the jobs have no priority (weight). What
rule should you use to minimize the sum of (unweighted) completion times?
What would be the solution? And the objective function value?
3. Five jobs must be scheduled on a single machine trying to respect strict due
dates. The processing times and the due dates are as follows:
j 1 2 3 4 5
pj 5 6 7 5 4
dj 20 10 8 25 21
j 1 2 3 4 5
pj 6 8 6 10 4
rj 2 24 8 14 2
Page 1 of 3
Computational Methods - 2023/2024 Carlo Filippi - DEM - UniBS
j 1 2 3 4 5
pj 6 8 6 10 4
rj 2 24 8 14 2
j 1 2 3 4 5 6 7 8
pj 4 12 6 7 11 8 9 3
j 1 2 3 4 5 6 7 8
pj 4 12 6 7 11 8 9 3
Page 2 of 3
Computational Methods - 2023/2024 Carlo Filippi - DEM - UniBS
Solutions:
1. We apply the Weighted Shortest Processing Time rule. The sequence is 2-5-
1-4-6-3. The weighted sum of completion times is 961.
3. We apply the Earliest Due Date rule. The sequence is 3-2-1-5-4. The maxi-
mum lateness is 3.
4. We apply the Earliest Release Time rule. The sequence is 1-5-3-4-2. The
maximum completion time is 36.
5. We apply the Earliest Completion Time rule. The sequence is 5-1-3-4-2. The
sum of completion times is 100.
6. We apply the Longest Processing Time rule. We assign 2-3-8 (or 2-3) to
Machine 1; 5-4 (or 5-4-8) to Machine 2; 7-6-1 to Machine 3. The maximum
completion time is 21.
Page 3 of 3