CP Objectives: Makespan, Tardiness, Weighted Sums

Standard objective functions used in constraint-programming scheduling models: the makespan CmaxC_{\max}, total tardiness Tj\sum T_j, and weighted sums such as wjTj\sum w_j T_j and wjCj\sum w_j C_j. Students learn to compute each objective from a given schedule.

Step 1 of 157%

Tutorial

Makespan

A constraint-programming model for a scheduling problem needs an objective function that ranks feasible schedules. The most common one is the makespan.

The makespan is the time at which the last job in a schedule finishes. Given nn jobs with completion times C1,C2,,CnC_1, C_2, \ldots, C_n, the makespan is

Cmax=maxj=1,,nCj.C_{\max} = \max_{j=1,\ldots,n} C_j.

Minimizing CmaxC_{\max} packs all the work into the shortest overall schedule.

For instance, if four jobs finish at C1=8, C2=11, C3=6, C4=11C_1 = 8,\ C_2 = 11,\ C_3 = 6,\ C_4 = 11, then

Cmax=max(8,11,6,11)=11.C_{\max} = \max(8,\, 11,\, 6,\, 11) = 11.

When jobs run in sequence on the same machine starting at t=0t = 0, each completion time equals the running total of processing times up to and including that job. With parallel machines, CmaxC_{\max} is the latest finish across all machines.

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle