Shortest Processing Time (SPT)

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

REPORT

Shortest Processing Time (SPT)

            The shortest processing time rule orders the jobs in the order of increasing
processing times.  Whenever a machine is freed, the shortest job ready at the time will
begin processing.  This algorithm is optimal for finding the minimum total completion
time and weighted completion time.  In the single machine environment with ready time
at 0 for all jobs, this algorithm is optimal in minimizing the mean flow time, minimizing
the mean number of jobs in the system, minimizing the mean waiting time of the jobs
from the time of arrival to the start of processing, minimizing the maximum waiting time
and the mean lateness.

-Disadvantage: Long jobs are push back in schedule and may never get process.

Processing Time – The time required to process jobs. This normally include actual
processing time and set up time.

Completion Time – Time at which the job is completed ( CT = Processing time +


Completion time)

Due Date – Time at which the job is completed.

Lateness – Completion time – Due date.

Tardiness – If lateness is positive it is termed as tardiness.

Flow time – Indicates the waiting time of jobs in a system.

STEPS:

1. To find the Sequence of SPT, look first at the column of processing time and find
the lowest hours and rearrange it based on lowest to highest. In the illustration
the shortest hours to complete is Job no. 2 with 4 hours followed by Job no. 3, 5
and so on.

2. Next is find the completion time using the formula of CT = PT + CT. for job no. 2
completion time is 4 hours, Job no. 3 is 9 hours (5 +4) and so on…..

3. The total completion time is 21. 4 hours.

Ave. Completion time = Sum of Total completion time / Number of jobs


Weighted Shortest Processing Time (WSPT)

            The weighted shortest processing time rule is a variation of the SPT rule.  Let
t[i] and w[i] denote the processing time and the weight associated with the ith job to be
done in the sequence ordered by the WSPT rule.  WSPT sequences jobs such that the
following inequality holds,

             t[1]/w[1] <= t[2]/w[2] <= � <=t[n]/w[n]

            In the single machine environment with ready time set at 0 for all jobs, the
WSPT minimizes the weighted mean flow time.

You might also like