Sequencing Problem
Sequencing Problem
Introduction:
The selection of an appropriate order for a series of jobs to be done on a finite
number of service facilities, in some pre-assigned order, is called sequencing.
The general sequencing problem may be defined as: Let there be n jobs to be
performed one at a time on on each of m machines. The sequence (order) of the
machines in which each job should be performed is given. The actual or
expected time required by the jobs on each of the machines is also given. The
general sequencing problem, therefore, is to find the sequence out of (n!)m
possible sequences which minimize the total elapsed time between the start of
the job in the first machine and the completion of the job on the last machine.
Assumptions:
• Each job once started on a machine, is to be performed up to completion
on that machine.
• The time taken by each job in changing over from one machine to another
is negligible.
• A job starts on the machine as soon as the job and the machine both are
idle and job is next to the machine and the machine is also next to the job.
Basic Terms:
Number of Machines: It refers to the no. of service facilities through which a job
must pass before it is assumed to be completed.
1
Processing Order: It refers to the order (sequence) in which given machines are
required for completing the job.
Total Elapsed Time: It is the time interval between starting the 1st job and
completing the last job including the idle time in a particular order by the given
set of machines.
Idle time on a machine: It is the time for which a machine does not have a job
to process, i.e. idle time from the end of job (i-1) to the start of jobs i.
No passing rule: It refers to the rule of maintaining the order in which jobs are to
be processed on given machines.
2. Examine the rows for processing times on machines M1 and M2, and find
the smallest processing time in each row, i.e. find out min.(t1j, t2j) for all j.
3. If the smallest processing time is for the first machine M1, then place the
corresponding job in the 1st available position in the sequence, otherwise
place 2nd machine M2.
4. If there is a tie in selecting the minimum of all the processing times, then
there may be 3 situations
a) Minimum among all processing times is same for the machines, i.e.,
min.(t1j, t2j)= t1k = t2r, then process the kth job first and the rth job last.
b) If the tie for minimum occurs among processing times t1j on machine M1
only, then select arbitrarily the job to process first.
c) If the tie for minimum occurs among processing times t2j on machine M2,
then select arbitrarily the job to process last.
2
d) Cross off the jobs already assigned and repeat steps 1 through 4, placing
the remaining jobs next to first or next to last, until all the jobs have been
assigned
Calculate idle time for machines M1 and M2:
Idle time for M1 = Total elapsed time –(time when the last job in a
sequence finishes on M1.
Idle time for M2= Time at which the 1st job in a sequence finishes on
M1 + (time when the jth job in a sequence starts on M2) – {(time
when the (j-1)th job in a sequences finishes on M2)}
Total elapsed time Time when the nth job in a sequence finisheson machine M2
n n
t 2j I2j
j2 j2