Sequencing Model
Sequencing Model
Graphical method
Algorithm:
Step 1: Use the x-axis to represent the processing time for job 1 and the y-axis to
represent the process time for job 2.
Step 2: Mark the machine time for the two jobs and their corresponding axes as per
the given technological order.
Note that in such a graph moving horizontally will imply that job 1 is
being processed while job 2 remains idle. Moving vertically will imply
that job 2 is processed while job 1 remains idle. Diagonal movement along
45° line to the horizontal (line with slope 1) will imply that both the jobs 1
and 2 are being processed simultaneously. Since each machine can process
only one job at a time, overlapping region for the machines should be
determined first and movement across them should be avoided.
Step 3: An optimal path is the shortest one (that minimises the idle time for job 1 in
the horizontal movement or the shortest one that minimises the idle time for job 2
in the vertical movement) consisting of horizontal, vertical and 45° lines from the
origin to the end. Obviously, we must choose such a combination in which
diagonal movement is maximum possible.
Step 4: Compute the total elapsed time by adding processing time of job 1 + idle
time of job 1.
Sequencing Model
The selection of the appropriate order in which waiting customers may be served is
called sequencing. A practical situation may correspond to an industry producing a
number of products, each of which is to be processed through different machines,
of course, finite in number.
Suppose there are n jobs to perform, each of which requires processing on some
or all of m different machines. The effectiveness (that is, cost, time, mileage, and
henceforth) can be measured for any given sequence of job at each machine, and
the most suitable sequence is to be selected (which optimises the effectiveness
measure) among all (n!)m theoretically possible sequences.
Definition
Suppose there are n jobs (1, 2, 3, …, n) each of which has to be processed one at a
time at each of m machines A, B, C, … The order of processing each job through
machines is given (for example, job 1 is processed through machines, in the
order A, C, B). The time that each job must require on each machine is known. The
problem is to find a sequence (n!)m number of all possible sequences (or
combinations or order) for processing the jobs so that the total elapsed time for all
the jobs will be minimum.
Mathematically, let
Notation:
Terminology:
Number of machines: It means the service facilities through which a job must
pass before it is completed.
Processing order: It refers to the order (sequence) in which given machines are
required for completing the job.
Idle time on a machine: It is the time for which a machine does not have a
process; it is idle time from the end of job (i – 1) to the start of job i.
Total elapsed time: It is the time interval between starting the first job and
completing the last job including the idle time (if any) in a particular order by the
given set of machines.
No passing rule: It refers to the rule of maintaining the order in which jobs are
to be processed on given machines. For example, if n jobs are to be processed on
two machines M1 and M2 in the order M1 M2, then each job should go to
machine M1 first and then to M2.
Assumptions
Step 1: List the jobs along with their processing times in a table as follows:
Step 2: Examine the columns for processing time on machines A and B, and find
the smallest processing time in each column, that is, find out min (t1j, t2j) for all j
Step 3: (a) If the smallest processing time is for the first machine A, then place the
corresponding job in the first available position in the sequence. If it is for the
second machine, then place the corresponding job in the last available position in
the sequence.
(b) If there is a tie in selecting the minimum of all the processing times, then
there may be three situations:
1. Minimum among all processing times is same for the machine, that is, min
(t1j, t2j) = t1k = t2r, then process the kth job first and the rth job last.
2. If the tie for the minimum occurs among processing times t1j on
machine A only, then select the job corresponding to the smallest job
subscript first.
3. If the tie for the minimum occurs among processing times t2j on
machine B, then select the job corresponding to the largest job subscript
last.
Step 4: Remove the assigned jobs from the table. If the table is empty, stop and go
to step 4. Otherwise, go to step 2.
Step 5: Calculate idle time for machine A and B.
1. Idle time for machine A = (Total elapsed time) – (Time when the last job
in a sequence finishes in machine A)
2. Idle time for machine B = Time at which the first job in a sequence
Step 6: The total elapsed time to process all jobs through two machines is given by
Total elapsed time = Time when nth job in a sequence finishes on machine B.
There is no general procedure available for obtaining optimal sequence in this case.
Johnson’s method can be extended to cover special cases when either one or both
of the following conditions hold:
1. The minimum time on machine A ≥ the maximum time on machine B.
2. The minimum time on machine C ≥ the maximum time on machine B.
If this problem with the prescribed ordering GH is solved, the resulting optimal
sequence will also be optimal for the original problem.
Processing n Jobs Through m Machines
Step 5: In addition to conditions given in Step 4, if T2j + T3j + … + T(m – 1) = C (a fixed
positive constant) for all j = 1, 2, …, n, then determine the optimal sequence
for n jobs and two machines M1 and Mm in the order M1 Mm by using the Jhonson’s
algorithm.
Suppose there are two jobs, job 1 and job 2, each of which is to be processed
on n machines M1, M2, … Mn.
Graphical method
Algorithm:
Step 1: Use the x-axis to represent the processing time for job 1 and the y-axis to
represent the process time for job 2.
Step 2: Mark the machine time for the two jobs and their corresponding axes as per
the given technological order.
Note that in such a graph moving horizontally will imply that job 1 is being
processed while job 2 remains idle. Moving vertically will imply that job 2 is
processed while job 1 remains idle. Diagonal movement along 45° line to the
horizontal (line with slope 1) will imply that both the jobs 1 and 2 are being
processed simultaneously. Since each machine can process only one job at a
time, overlapping region for the machines should be determined first and
movement across them should be avoided.
Step 3: An optimal path is the shortest one (that minimises the idle time for job 1 in
the horizontal movement or the shortest one that minimises the idle time for job 2
in the vertical movement) consisting of horizontal, vertical and 45° lines from the
origin to the end. Obviously, we must choose such a combination in which
diagonal movement is maximum possible.
Step 4: Compute the total elapsed time by adding processing time of job 1 + idle
time of job 1.
General assumptions