Minimum Slack Time Rule

When several jobs need the same workstation, you need a way to decide which job should start next. The Minimum Slack Time Rule gives priority to the available job with the smallest time buffer before its due time. It combines the time left until a deadline with the work still required, helping you identify jobs that have little room to wait.

Calculate the time buffer

A job's slack time is the time remaining until its due time minus its remaining processing time:


si(t)=di−t−pi(t)s_i(t)=d_i-t-p_i(t)


Here, si(t)s_i(t) is job ii's slack at the current time tt, did_i is its due time, and pi(t)p_i(t) is its remaining processing time. Express all three inputs using the same time unit. Due times and current time must also use the same reference point, such as hours after a workshop opens.


For a job that can finish entirely at one workstation, remaining processing time is the work still required there. If some work is already complete, exclude it. The calculation assumes that the remaining work can proceed continuously once started, without additional delays or unlisted operations.


A time window is divided into remaining processing time and positive slack.


Slack value

Meaning under the stated processing assumptions

Positive

The job could wait for that amount of time and still finish by its due time.

Zero

The job needs to start now and proceed continuously to finish exactly at its due time.

Negative

Even an immediate start would produce completion after its due time.


Negative slack does not necessarily mean that the due time has already passed. A future due time can still be too close to accommodate all the remaining work.



Select the next available job

At a decision point, calculate slack for every job that is ready and able to use the workstation. Select the job with the smallest numerical value:


Next job=available job with the minimum si(t)\text{Next job}=\text{available job with the minimum }s_i(t)


A more negative value takes priority over a less negative value. A job that has not arrived or is waiting for required materials is not yet eligible, even if its calculated slack would be very small.


If jobs have equal minimum slack, the rule alone does not select a unique job. Apply the tie-breaker stated in the scheduling instructions. Without one, report the tie rather than inventing a priority.


These examples use a non-preemptive convention: once a job starts, it continues until completion. A new arrival joins the waiting set but does not interrupt the running job. You make the next selection when the workstation becomes free. Other applications may allow interruptions, so establish that convention before constructing a sequence.

Update slack without assuming priorities reverse

Update the current time and job information at each decision point. A waiting job loses one hour of slack for every hour it waits, provided its due time and remaining work stay unchanged.


However, all unchanged waiting jobs lose the same amount of slack. Subtracting the same elapsed time from each value preserves their relative order. New arrivals, revised due times, or updated processing estimates can change which job has minimum slack.



The rule identifies urgency under its inputs; it does not establish that every deadline is achievable. Several jobs may each have positive slack while still competing for too little shared workstation time.

What to remember

  • Calculate slack as due time minus current time minus remaining processing time.
  • Select the smallest signed slack among available jobs.
  • Follow the stated interruption convention and tie-breaker.
  • Update slack at decision points; changing values do not always mean changing priorities.

Example: Dispatching Workshop Orders

A workshop processes orders on one workstation. Time is measured in hours after opening. Orders A, B, and C are available at hour 0; order D arrives at hour 1. The workstation is initially free. Apply the Minimum Slack Time Rule whenever it becomes free, starting the selected job immediately.


Processing is non-preemptive: an order runs to completion once started. Processing times are known, and there are no setup times, breakdowns, or additional operations.


Order

Available from hour

Processing time

Due at hour

A

0

4 h

8

B

0

2 h

5

C

0

3 h

9

D

1

1 h

4


Each due time is a point on the same clock; for example, A is due eight hours after opening.


An arrival timeline shows orders A, B, and C available at hour zero and order D arriving at hour one.


a) Calculate slack at hour 0 and identify the first order.


Use due time minus current time minus remaining processing time. At hour 0, only A, B, and C are available:


sA(0)=8−0−4=4 hsB(0)=5−0−2=3 hsC(0)=9−0−3=6 h\begin{aligned} s_A(0)&=8-0-4=4\ \text{h}\\ s_B(0)&=5-0-2=3\ \text{h}\\ s_C(0)&=9-0-3=6\ \text{h} \end{aligned}


B has the smallest slack, so it starts first. Its completion time is:


0+2=2 h0+2=2\ \text{h}


D is not included in the initial comparison because it has not arrived. The first processing interval is B from hour 0 to hour 2.


b) Identify the next order when B finishes. Explain how D's arrival affects the decision.


D arrives at hour 1 while B is running. Under the non-preemptive convention, that arrival does not interrupt B. At hour 2, the available waiting orders are A, C, and D:


sA(2)=8−2−4=2 hsC(2)=9−2−3=4 hsD(2)=4−2−1=1 h\begin{aligned} s_A(2)&=8-2-4=2\ \text{h}\\ s_C(2)&=9-2-3=4\ \text{h}\\ s_D(2)&=4-2-1=1\ \text{h} \end{aligned}


D now has the smallest slack and is available, so it starts at hour 2. Its completion time is:


2+1=3 h2+1=3\ \text{h}


The next processing interval is D from hour 2 to hour 3. The arrival changes the set considered at the next decision point.


c) Complete the schedule and interpret any negative slack when an order starts.


At hour 3, A and C remain. Neither has received processing, so their remaining processing times are still ________ and ________:


sA(3)=8−3−4=1 hsC(3)=9−3−3=3 h\begin{aligned} s_A(3)&=8-3-4=1\ \text{h}\\ s_C(3)&=9-3-3=3\ \text{h} \end{aligned}


A has the smaller slack. It runs from hour 3 until:


3+4=7 h3+4=7\ \text{h}


At hour 7, C is the only remaining order. Its slack is:


sC(7)=9−7−3=−1 hs_C(7)=9-7-3=-1\ \text{h}


C remains eligible despite its negative slack. It starts immediately and finishes at:


7+3=10 h7+3=10\ \text{h}


The processing intervals are:

  • B: starts at hour 0 and finishes at hour 2.
  • D: starts at hour 2 and finishes at hour 3.
  • A: starts at hour 3 and finishes at hour 7.
  • C: starts at hour 7 and finishes at hour 10.

The complete sequence is B, then D, then A, then C. C's slack of −1 h-1\ \text{h} at its start means that even immediate, uninterrupted processing finishes one hour after its due time: hour 10 rather than hour 9. Its due time has not yet passed at hour 7; the remaining work simply exceeds the time available.

A packaging job has slack of −2 h-2\ \text{h}, calculated as due time minus current time minus remaining processing time. Its processing estimate is accurate, and it could start immediately and run continuously without further delays. What does this slack value establish?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A print shop compares several available jobs at the same decision time. A job's latest start time is its due time minus its remaining processing duration, assuming uninterrupted processing.


Complete the statement using either earliest or latest: the minimum slack time rule selects the available job with the latest start time.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

At 10:00, a repair workstation becomes free. All four jobs below are available, all due times are today, and no additional setup or processing is required. Which job should start under the Minimum Slack Time Rule?


Job

Remaining processing time

Due time

M

6 h

17:00

N

2 h

14:00

P

1 h

16:00

Q

3 h

18:00

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Extra Practice