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:
Here, si(t) is job i's slack at the current time t, di is its due time, and pi(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.
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:
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.
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:
B has the smallest slack, so it starts first. Its completion time is:
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:
D now has the smallest slack and is available, so it starts at hour 2. Its completion time is:
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 ________:
A has the smaller slack. It runs from hour 3 until:
At hour 7, C is the only remaining order. Its slack is:
C remains eligible despite its negative slack. It starts immediately and finishes at:
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 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 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.
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 |