SlideShare a Scribd company logo
Job Shop Scheduling




                      1
Job shop environment:

• m machines, n jobs
• objective function
• Each job follows a predetermined route
• Routes are not necessarily the same for each job
• Machine can be visited once or more than once
(recirculation)




                                                     2
Job Shop Problem
                 Network Formulation
• Let us consider the example with 4 m/c & 3 jobs
• The route of the jobs as well as their processing times are given
  below
       Job    m/c sequence      Processing time
       1      1- 2 -3           P11=10 P21=8 P31=4
       2      2-1-4-3           P22=8 P12=3 P42=5 P32=6
       3      1-2-4             P13=4 P23=7 P43=3

  where Pij  job J processed on m/c i


                                                                 3
Construction of the Network


        1,1     2,1      3,1
    0


    0
S       2,2     1,2      4,2   3,2   T
    0



        1,3     2,3      4,3



                                     4
Problem : Jm | | Cmax
  Node (i, j) represents the operation of jth job on ith machine
• Pij processing time of job j on machine i
• G = (N, A∪B)
• A: Solid (Conjunctive) arcs represent the                precedence
  relationships between operation of a single job.
          (i, j ) → ( k , j ) ∈ A

• Operation (i, j) precedes (k, j)




                                                                   5
• B: Broken (Disjunctive) arcs represent the precedence
  relationships between operation of a single machine.
• Disjunctive arcs B represent conflicts on machines.
• Two operations (i, j) and (i, l) are connected by two arcs going
  in opposite direction.
• Two dummy nodes S and T representing source and sink.
• Arcs from S to all first operations of jobs.
• Arcs from all last operations of jobs to T

• A feasible schedule corresponds to a selection of at most one
  (disjunctive) broken arcs from each such pair such that the
  resulting directed graph is acyclic

                                                                     6
How to construct a feasible schedule?

Select D - a subset of disjunctive arcs (one from each pair) such
that the resulting directed graph G(D) has no cycles.
Graph G(D) contains conjunctive arcs + D.
D represents a feasible schedule.
A cycle in the graph corresponds to a schedule that is infeasible.




                                                                     7
10                    8
                    1,1                 2,1                   3,1
          0                                                         4

         0                8         3                   5           6
     S        2,2             1,2             4,2             3,2       T

          0                                                    3
                               4               7
                    1,3                 2,3             4,3



•   The makespan of a feasible schedule is determined by the longest path
    in G(D) from S to T.

• Minimise makespan: find a selection of disjunctive arcs that
  minimises the length of the longest path (the critical path).

                                                                            8
Selection

• A subset D ⊂ B is called a selection if it contains from
  each pair of disjunctive arcs exactly one.

• A selection D is feasible if the resulting directed graph
  G (D) = (N, A ∪ D) i.e. graph with conjunctive and selected
  disjunctive arcs is acyclic.




                                                            9
Remarks

1.   A feasible selection leads to a sequence in which
     operations have to be processed on machines.
2.   Each feasible selection leads to a feasible schedule.




                                                        10
Ex.
      Machines – M1, M2, M3
      Jobs   J1   where (3, 1)  (2, 1)  (1, 1)
             J2   where (1, 2)  (3, 2)
             J3   where (2, 3)  (1, 3)  (3, 3)

      Duration
             P31 = 4       P21 = 2        P11 = 1
             P12 = 3       P32 = 3
             P23 = 2       P13 = 4        P33 = 1

                                                    11
Feasible Selection


           3,1             2,1        1,1


u          1,2             3,2              v


           2,3             1,3        3,3


        Represents conjunctive arcs
        Selection
                                                12
M1                    J3   J 1 J2


Corresponding 
                  M2         J1   J3
Schedule



                  M3    J1                            J2   J3

                             5         10        15             20


  Make Span Cmax = 20

                                                                     13
Selection for given schedule


           3,1          2,1    1,1


u          1,2          3,2          v


           2,3          1,3    3,3


        Selection
                                         14
M1    J2                 J1    J3



M2   J3           J1




M3         J1      J2               J3

                   5           10    12


          Make Span Cmax =12

                                          15
Disjunctive Programming Formulation
Minimizing            Cmax
Subject to
                  y   kj
                           − y ≥ Pij for all
                              ij               (i, j ) → (k , j ) ∈ A
where yij denotes starting time of operation (i, j)

 Cmax − y ≥ Pij for all (i, j ) ∈ N
         ij


  y
                                  }
              −y ≥ p
         ij      il          il
                                        for all (i, l) & (i, j)
 or
                                          i = 1, 2, …..,m
  y      il
              − y ≥ Pij
                 ij


y   ij
         ≥ 0 for all        (i, j ) ∈N
                                                                    16
• Some ordering must exists among operation of different job
  that are processed on same machine.


• Solution procedures for Jm / Cmax are based either on
  enumerative or heuristic.

• No standard solution procedure available that will work
  satisfactory.
• Two popular heuristic algorithms: (i) schedule generation
  algorithm. (ii) shifting bottleneck heuristic algorithm;


                                                           17
Algorithm for Non Delay Schedule Generation

PS - A partial schedule containing t scheduled operations
            t




S - The set of schedulable operations at stage t corresponding
    t


    to a given PS                t




σ       J       - The earliest time at which operation   J ∈ St   could be started

φ   J           - The earliest time at which operation   J ∈ St    could be
                  completed



                                                                               18
σ   j    is determine by the completion time of the direct
predecessor of operation J and latest completion time on the
machine required by operation J

– The larger of these quantities is   σ   J




– The potential finish time   φ =σ +t
                                 J            J   J




    where   t is processing time of operation J
             J




Here (i, j, k) represents job i operation J on machine k



                                                           19
Algorithm
 Step 1 – Let t = 0 and PS t = {φ}
           S t includes all operations with no predecessor.

 Step 2 – Determine   σ
                             *
                                 = min    {σ }
                                            j    and the machine
                                                                   *
                                                                   m
                                     S
                                   J∈ t


                     σ
                         *
          on which           could be realized
                                                                       *
 Step 3 – For each operation J ∈ S t that requires machine m
            and for whichσ J ∈σ
                                *
                                   create a new partial schedule
 in                                     PS t
                σJ
          which operation J is added to       and started at
          time
                                                                       20
Step 4 – For each new partial schedule PS t +1 created in step 3,
         update the data set as follows
     (a) Remove operation J from S t
     (b) Form S t +1 by adding the direct successor of operation J
         to S t
     (c) Increment t by 1

Step 5 – Return to step 2 for each PS t +1 created in step 3 and
         continue in this fashion until all non delay schedules
         have been generated.

    The quality of the solution obtained by the heuristic
     mainly depends on the effectiveness of priority rules
     which are used in them.
                                                                   21
A Sample Set of Priority Rules
1.   SPT – Select the job with min. processing time

2.   FCFS – Select the operation that entered S t earliest

3.   MWKR – (Most work remaining) – Select the operation
     associated with the job having the most work remaining to be
     processed

4.   MOPNR – (Most operation remaining) – Select the
     operation that has the largest number of successor operation

5.   Random – Select the operation at random

                                                               22
Ex. Find the schedule using non delay schedule generation
heuristic with following primary rules

    First level priority rule – MWKR (Most work remaining)

    Second level priority rule – SPT

    Third level priority rule – Random order




                                                         23
Processing time                        Routing

              Operation                     Operation
          1         2         3             1       2       3
Job                               Job
  1   2         3         4         1   1       2       3

 2    4         4         1        2    3       2       1

 3    2         2         3        3    2       3       1

 4    3         3         1        4    1       3       2




                                                                24
At    t=0             PS 0 = {φ}                             Job Operation



     S       0
                 = ( ,1,1), (2,1,3), (3,1,2 ), (4,1,1)}
                  {1

     σ 111 = σ 213 = σ 312 = σ 411 = 0                                M/c



     σ                                      = Min{
                                                 σ}
         *
             =0           Since    σ
                                        *
                                                         J
                                                S
                                              J∈ t



     σ       =σ
                  *
         J            for all J ∈   S   0


 *Therefore, priority rule must be               σ  → Earliest time at
                                                     J

  involved to select among all                   which operation J ∈ S t
  four operation [MWKR]                          could be started

                                                                             25
R1 = 9            R2 = 9           R3 = 7   R4 = 7

MWKR = 9 is not unique.

This is occurring for job 1 and job 2

Now, a tie breaking rules is needed

SPT is used as tie breaking rule

Now t111 < t213



                                                     26
This means PS1 consists of operation {(1, 1, 1)} started at
time 0
PS1 = {(1, 1, 1)}
f1 = 2, f2 = 0, f3 = 0


        M/c1   (1, 1, 1)


        M/c2


        M/c3



                           2   4     6
                                                              27
S   1
         = {(1,2,2 ), ( 2,1,3), (3,1,2 ), ( 4,1,1)}

 σ       = Min{   σ ,σ ,σ ,σ }
     *
                      122     213      312      411


         = Min{2,0,0,2}
         =0

At this stage σ J  =σ
                        *
                        for two operations in S 1. Thus priority
rule must be involved to choose between (2, 1, 3) and (3, 1, 2)



                                                              28
By applying MWKR, we get R2 = 9 R3 = 7 since R2 > R3
(2, 1, 3) is added to PS1 to form
PS2 = {(1, 1, 1), (2, 1, 3)}
f1 = 2, f2 = 0, f3 = 4


           M/c1   (1, 1, 1)


           M/c2


           M/c3          (2, 1, 3)


                              2      4   6
                                                       29
Now

  S   2
          = {(1,2,2 ), ( 2,2,2 ), ( 3,1,2 ), ( 4,1,1)}


  σ       = Min{σ 122 ,σ 222 ,σ 312 ,σ 411}
      *




          = Min{ 2,4,0,2}
          =0                      Operation 1 of job 2 is to
                                  be completed in M/c 3




                                                               30
*The minimum is for σ 312 & it is unique. Add this to partial
 schedule PS3
PS3 = {(1, 1, 1), (2, 1, 3), (3, 1, 2)}
f1 = 2, f2 = 2, f3 = 4


         M/c1   (1, 1, 1)


         M/c2   (3, 1, 2)


         M/c3         (2, 1, 3)


                            2     4       6
                                                          31
S   3
        = {(1,2,2 ), ( 2,2,2 ), ( 3,2,3), ( 4,1,1)}


σ       = Min{σ 122 ,σ 222 ,σ 323 ,σ 411}
    *




        =Min{2,4,4,2}
        =2



                                                      32
σ       =σ
                               *
• At this stage       J            for two operation
• Thus priority rule must e involved to choose between (1, 2, 2)
  and (4, 1, 1)
                R1 = 7        R4 = 7
• MWKR is not unique.
• Now SPT is used as tie breaker & t122 = t411

• After it is resolved randomly in favor of (4, 1, 1)

  PS4 = {(1, 1, 1), (2, 1, 3), (3, 1, 2), (4, 1, 1)}
  f1 = 5, f2 = 2, f3 = 4

                                                             33
S4 = {(1, 2, 2), (2, 2, 2), (3, 2, 3), (4, 2, 3)}

σ   122
          =2   σ   222
                         =4   σ   323
                                        =4       σ   423
                                                           =5


                                               Operation 1 of job 4 in
                                               M/c 1 takes 5 minutes


σ         = Min{
               σ ,σ ,σ ,σ }
      *
                     122      222        323        423


          = Min{2,4,4,5}
          =2


                                                                         34
• Now (1, 2, 2) is added to PSt
• Thus PS5 = {(1, 1, 1), (2, 1, 3), (3, 1, 2), (4, 1, 1), (1, 2, 2)}
  f1 = 5, f2 = 5, f3 = 4
   Now S5 = {(1, 3, 3), (2, 2, 2), (3, 2, 3), (4, 2, 3)}


   σ   133
             =5   σ   222
                            =5         σ   323
                                                 =4    σ    423
                                                                  =5


    σ        = Min{
                  σ ,σ ,σ ,σ }
        *
                      133        222         323      423


            = Min{5,5,4,5}
            =4
                                                                       35
• This minimum corresponds to (3, 2, 3) only partial schedule

  PS6 = {(1, 1, 1), (2, 1, 3), (3, 1, 2), (4, 1, 1), (1, 2, 2), (3, 2, 3)}

• In this way we have to proceed to 3 × 4 = 12 stage to complete
  the entire schedule

  The final schedule is given as

  P12 = {(1, 1, 1), (2, 1, 3), (3, 1, 2), (4, 1, 1), (1, 2, 2), (3, 2, 3)
         (2, 2, 2), (2, 3, 1), (4, 2, 3), (3, 3, 1), (1, 3, 3), (4, 3, 2)}




                                                                        36
M/c1   (1, 1, 1)       (4, 1, 1)                      (2, 3, 1)    (3, 3, 1)

                   2               5               9          10           13

M/c2   (3, 1, 2)       (1, 2, 2)       (2, 2, 2)      (4, 3, 2)

                   2

M/c3     (2, 1, 3)        (3, 2, 3)       (4, 2, 3)      (1, 3, 3)




                                                                                37
Further Reading

1. Scheduling,   Theory, Algorithms, and Systems, Michael Pinedo,
     Prentice Hall, 1995, or new: Second Addition, 2002
     Chapter 6
or

2. Operations Scheduling with Applications in Manufacturing
     and Services, Michael Pinedo and Xiuli Chao, McGraw Hill, 2000
     Chapter 5




                                                                      38
THANKS




         39

More Related Content

What's hot

Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
Amit Kumar Rathi
 
Scheduling
SchedulingScheduling
Learning Curves in Production Management
Learning Curves in Production ManagementLearning Curves in Production Management
Learning Curves in Production Management
Joshua Miranda
 
Quadratic programming (Tool of optimization)
Quadratic programming (Tool of optimization)Quadratic programming (Tool of optimization)
Quadratic programming (Tool of optimization)
VARUN KUMAR
 
Job sequencing with deadlines(with example)
Job sequencing with deadlines(with example)Job sequencing with deadlines(with example)
Job sequencing with deadlines(with example)
Vrinda Sheela
 
Operations Research - The Dual Simplex Method
Operations Research - The Dual Simplex MethodOperations Research - The Dual Simplex Method
Operations Research - The Dual Simplex Method
Hisham Al Kurdi, EAVA, DMC-D-4K, HCCA-P, HCAA-D
 
Transportation model and assignment model
Transportation model and assignment modelTransportation model and assignment model
Transportation model and assignment model
priyanka yadav
 
Sequential Models - Meaning, assumptions, Types and Problems
Sequential Models - Meaning, assumptions, Types and ProblemsSequential Models - Meaning, assumptions, Types and Problems
Sequential Models - Meaning, assumptions, Types and Problems
Sundar B N
 
Solving linear programming model by simplex method
Solving linear programming model by simplex methodSolving linear programming model by simplex method
Solving linear programming model by simplex method
Roshan Kumar Patel
 
simplex method
simplex methodsimplex method
simplex method
Dronak Sahu
 
Solving Degenaracy in Transportation Problem
Solving Degenaracy in Transportation ProblemSolving Degenaracy in Transportation Problem
Solving Degenaracy in Transportation Problem
mkmanik
 
Scheduling ppt @ DOMS
Scheduling ppt @ DOMSScheduling ppt @ DOMS
Scheduling ppt @ DOMS
Babasab Patil
 
Linear programing problem
Linear programing problemLinear programing problem
Linear programing problem
Sazzad Hossain, ITP, MBA, CSCA™
 
Linear programing
Linear programingLinear programing
Linear programing
Aniruddh Tiwari
 
Assignment problem
Assignment problemAssignment problem
Assignment problem
Anggy Herny Anggraeni
 
Optimal Solution by MODI Method
Optimal Solution by MODI MethodOptimal Solution by MODI Method
Optimal Solution by MODI Method
DrDeepaChauhan
 
Chapter 4 Duality & sensitivity analysis.pdf
Chapter 4 Duality & sensitivity analysis.pdfChapter 4 Duality & sensitivity analysis.pdf
Chapter 4 Duality & sensitivity analysis.pdf
Tsegay Berhe
 
Approximation algorithms
Approximation  algorithms Approximation  algorithms
Approximation algorithms
Bipesh Raj Subedi
 

What's hot (20)

Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
 
Scheduling
SchedulingScheduling
Scheduling
 
Lecture28 tsp
Lecture28 tspLecture28 tsp
Lecture28 tsp
 
Learning Curves in Production Management
Learning Curves in Production ManagementLearning Curves in Production Management
Learning Curves in Production Management
 
Quadratic programming (Tool of optimization)
Quadratic programming (Tool of optimization)Quadratic programming (Tool of optimization)
Quadratic programming (Tool of optimization)
 
Job sequencing with deadlines(with example)
Job sequencing with deadlines(with example)Job sequencing with deadlines(with example)
Job sequencing with deadlines(with example)
 
Operations Research - The Dual Simplex Method
Operations Research - The Dual Simplex MethodOperations Research - The Dual Simplex Method
Operations Research - The Dual Simplex Method
 
Sequencing
SequencingSequencing
Sequencing
 
Transportation model and assignment model
Transportation model and assignment modelTransportation model and assignment model
Transportation model and assignment model
 
Sequential Models - Meaning, assumptions, Types and Problems
Sequential Models - Meaning, assumptions, Types and ProblemsSequential Models - Meaning, assumptions, Types and Problems
Sequential Models - Meaning, assumptions, Types and Problems
 
Solving linear programming model by simplex method
Solving linear programming model by simplex methodSolving linear programming model by simplex method
Solving linear programming model by simplex method
 
simplex method
simplex methodsimplex method
simplex method
 
Solving Degenaracy in Transportation Problem
Solving Degenaracy in Transportation ProblemSolving Degenaracy in Transportation Problem
Solving Degenaracy in Transportation Problem
 
Scheduling ppt @ DOMS
Scheduling ppt @ DOMSScheduling ppt @ DOMS
Scheduling ppt @ DOMS
 
Linear programing problem
Linear programing problemLinear programing problem
Linear programing problem
 
Linear programing
Linear programingLinear programing
Linear programing
 
Assignment problem
Assignment problemAssignment problem
Assignment problem
 
Optimal Solution by MODI Method
Optimal Solution by MODI MethodOptimal Solution by MODI Method
Optimal Solution by MODI Method
 
Chapter 4 Duality & sensitivity analysis.pdf
Chapter 4 Duality & sensitivity analysis.pdfChapter 4 Duality & sensitivity analysis.pdf
Chapter 4 Duality & sensitivity analysis.pdf
 
Approximation algorithms
Approximation  algorithms Approximation  algorithms
Approximation algorithms
 

Viewers also liked

Job shop scheduling problem using genetic algorithm
Job shop scheduling problem using genetic algorithmJob shop scheduling problem using genetic algorithm
Job shop scheduling problem using genetic algorithm
Aerial Telecom Solutions (ATS) Pvt. Ltd.
 
Don't do release planning
Don't do release planningDon't do release planning
Don't do release planning
Lital Hassine
 
Wt4603 unit4 week5
Wt4603 unit4 week5Wt4603 unit4 week5
Wt4603 unit4 week5
JOE LYSTER
 
Basic Machine Shop Processes
Basic Machine Shop ProcessesBasic Machine Shop Processes
Basic Machine Shop Processes
Whitney Mike Segura
 
Operations Scheduling
Operations SchedulingOperations Scheduling
Operations Schedulingsenthil.G
 
Release planning in Scrum
Release planning in ScrumRelease planning in Scrum
Release planning in Scrum
Arne Åhlander
 
Manegerial planing &amp; descion making
Manegerial planing &amp; descion makingManegerial planing &amp; descion making
Manegerial planing &amp; descion making
Shimelis Birhanu
 
Operation scheduling
Operation schedulingOperation scheduling
Operation schedulingsai precious
 
Workshop tools & machines
Workshop tools & machinesWorkshop tools & machines
Workshop tools & machinesmrdtwilson
 
SAP Production Planning
SAP Production PlanningSAP Production Planning
SAP Production Planning
Rupesh Brahmankar
 
Production planning & control & Forecasting
Production planning & control & ForecastingProduction planning & control & Forecasting
Production planning & control & Forecasting
Jenıstön Delımä
 
Production Planning and Control
Production Planning and ControlProduction Planning and Control
Production Planning and ControlSwatanu Satpathy
 
Global Countertop Demand is forecast to rise 2.3% yearly through 2021: Manufa...
Global Countertop Demand is forecast to rise 2.3% yearly through 2021: Manufa...Global Countertop Demand is forecast to rise 2.3% yearly through 2021: Manufa...
Global Countertop Demand is forecast to rise 2.3% yearly through 2021: Manufa...
Ajjay Kumar Gupta
 

Viewers also liked (18)

Job shop scheduling problem using genetic algorithm
Job shop scheduling problem using genetic algorithmJob shop scheduling problem using genetic algorithm
Job shop scheduling problem using genetic algorithm
 
Don't do release planning
Don't do release planningDon't do release planning
Don't do release planning
 
Wt4603 unit4 week5
Wt4603 unit4 week5Wt4603 unit4 week5
Wt4603 unit4 week5
 
job shop 111
job shop 111job shop 111
job shop 111
 
Basic Machine Shop Processes
Basic Machine Shop ProcessesBasic Machine Shop Processes
Basic Machine Shop Processes
 
Operations Scheduling
Operations SchedulingOperations Scheduling
Operations Scheduling
 
Production planning and_control-an_introduction
Production planning and_control-an_introductionProduction planning and_control-an_introduction
Production planning and_control-an_introduction
 
Release planning in Scrum
Release planning in ScrumRelease planning in Scrum
Release planning in Scrum
 
Manegerial planing &amp; descion making
Manegerial planing &amp; descion makingManegerial planing &amp; descion making
Manegerial planing &amp; descion making
 
Operation scheduling
Operation schedulingOperation scheduling
Operation scheduling
 
Workshop tools & machines
Workshop tools & machinesWorkshop tools & machines
Workshop tools & machines
 
Ch17 scheduling
Ch17 schedulingCh17 scheduling
Ch17 scheduling
 
SAP Production Planning
SAP Production PlanningSAP Production Planning
SAP Production Planning
 
scheduling
schedulingscheduling
scheduling
 
Production planning & control & Forecasting
Production planning & control & ForecastingProduction planning & control & Forecasting
Production planning & control & Forecasting
 
Workshop practise
Workshop practiseWorkshop practise
Workshop practise
 
Production Planning and Control
Production Planning and ControlProduction Planning and Control
Production Planning and Control
 
Global Countertop Demand is forecast to rise 2.3% yearly through 2021: Manufa...
Global Countertop Demand is forecast to rise 2.3% yearly through 2021: Manufa...Global Countertop Demand is forecast to rise 2.3% yearly through 2021: Manufa...
Global Countertop Demand is forecast to rise 2.3% yearly through 2021: Manufa...
 

Similar to job scheduling

Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...
Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...
Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...
Shizuoka Inst. Science and Tech.
 
Application of branch and bound technique for nx3 flow shop scheduling, in wh...
Application of branch and bound technique for nx3 flow shop scheduling, in wh...Application of branch and bound technique for nx3 flow shop scheduling, in wh...
Application of branch and bound technique for nx3 flow shop scheduling, in wh...Alexander Decker
 
Chapter One.pdf
Chapter One.pdfChapter One.pdf
Chapter One.pdf
abay golla
 
11.optimal three stage flow shop scheduling in which processing time, set up ...
11.optimal three stage flow shop scheduling in which processing time, set up ...11.optimal three stage flow shop scheduling in which processing time, set up ...
11.optimal three stage flow shop scheduling in which processing time, set up ...Alexander Decker
 
Optimal three stage flow shop scheduling in which processing time, set up tim...
Optimal three stage flow shop scheduling in which processing time, set up tim...Optimal three stage flow shop scheduling in which processing time, set up tim...
Optimal three stage flow shop scheduling in which processing time, set up tim...Alexander Decker
 
CLIM Fall 2017 Course: Statistics for Climate Research, Spatial Data: Models ...
CLIM Fall 2017 Course: Statistics for Climate Research, Spatial Data: Models ...CLIM Fall 2017 Course: Statistics for Climate Research, Spatial Data: Models ...
CLIM Fall 2017 Course: Statistics for Climate Research, Spatial Data: Models ...
The Statistical and Applied Mathematical Sciences Institute
 
11.machines constrained flow shop scheduling processing time, setup time each...
11.machines constrained flow shop scheduling processing time, setup time each...11.machines constrained flow shop scheduling processing time, setup time each...
11.machines constrained flow shop scheduling processing time, setup time each...Alexander Decker
 
11.machines constrained flow shop scheduling processing time, setup time each...
11.machines constrained flow shop scheduling processing time, setup time each...11.machines constrained flow shop scheduling processing time, setup time each...
11.machines constrained flow shop scheduling processing time, setup time each...
Alexander Decker
 
Machines constrained flow shop scheduling processing time, setup time each as...
Machines constrained flow shop scheduling processing time, setup time each as...Machines constrained flow shop scheduling processing time, setup time each as...
Machines constrained flow shop scheduling processing time, setup time each as...Alexander Decker
 
CHAPTER 7.pdfdjdjdjdjdjdjdjsjsjddhhdudsko
CHAPTER 7.pdfdjdjdjdjdjdjdjsjsjddhhdudskoCHAPTER 7.pdfdjdjdjdjdjdjdjsjsjddhhdudsko
CHAPTER 7.pdfdjdjdjdjdjdjdjsjsjddhhdudsko
SydneyJaydeanKhanyil
 
Asymptotic Notation
Asymptotic NotationAsymptotic Notation
Asymptotic Notation
sohelranasweet
 
Analysis of Algorithum
Analysis of AlgorithumAnalysis of Algorithum
Analysis of Algorithum
Ain-ul-Moiz Khawaja
 
Dynamic shear stress evaluation on micro turning tool using photoelasticity
Dynamic shear stress evaluation on micro turning tool using photoelasticityDynamic shear stress evaluation on micro turning tool using photoelasticity
Dynamic shear stress evaluation on micro turning tool using photoelasticitySoumen Mandal
 
2_1 Edit Distance.pptx
2_1 Edit Distance.pptx2_1 Edit Distance.pptx
2_1 Edit Distance.pptx
tanishamahajan11
 
Phase diagram at finite T & Mu in strong coupling limit of lattice QCD
Phase diagram at finite T & Mu in strong coupling limit of lattice QCDPhase diagram at finite T & Mu in strong coupling limit of lattice QCD
Phase diagram at finite T & Mu in strong coupling limit of lattice QCD
Benjamin Jaedon Choi
 
A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...narmo
 
Higher-order Factorization Machines(第5回ステアラボ人工知能セミナー)
Higher-order Factorization Machines(第5回ステアラボ人工知能セミナー)Higher-order Factorization Machines(第5回ステアラボ人工知能セミナー)
Higher-order Factorization Machines(第5回ステアラボ人工知能セミナー)
STAIR Lab, Chiba Institute of Technology
 
Lec7
Lec7Lec7

Similar to job scheduling (20)

Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...
Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...
Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...
 
Application of branch and bound technique for nx3 flow shop scheduling, in wh...
Application of branch and bound technique for nx3 flow shop scheduling, in wh...Application of branch and bound technique for nx3 flow shop scheduling, in wh...
Application of branch and bound technique for nx3 flow shop scheduling, in wh...
 
Chapter One.pdf
Chapter One.pdfChapter One.pdf
Chapter One.pdf
 
11.optimal three stage flow shop scheduling in which processing time, set up ...
11.optimal three stage flow shop scheduling in which processing time, set up ...11.optimal three stage flow shop scheduling in which processing time, set up ...
11.optimal three stage flow shop scheduling in which processing time, set up ...
 
Optimal three stage flow shop scheduling in which processing time, set up tim...
Optimal three stage flow shop scheduling in which processing time, set up tim...Optimal three stage flow shop scheduling in which processing time, set up tim...
Optimal three stage flow shop scheduling in which processing time, set up tim...
 
CLIM Fall 2017 Course: Statistics for Climate Research, Spatial Data: Models ...
CLIM Fall 2017 Course: Statistics for Climate Research, Spatial Data: Models ...CLIM Fall 2017 Course: Statistics for Climate Research, Spatial Data: Models ...
CLIM Fall 2017 Course: Statistics for Climate Research, Spatial Data: Models ...
 
11.machines constrained flow shop scheduling processing time, setup time each...
11.machines constrained flow shop scheduling processing time, setup time each...11.machines constrained flow shop scheduling processing time, setup time each...
11.machines constrained flow shop scheduling processing time, setup time each...
 
11.machines constrained flow shop scheduling processing time, setup time each...
11.machines constrained flow shop scheduling processing time, setup time each...11.machines constrained flow shop scheduling processing time, setup time each...
11.machines constrained flow shop scheduling processing time, setup time each...
 
Machines constrained flow shop scheduling processing time, setup time each as...
Machines constrained flow shop scheduling processing time, setup time each as...Machines constrained flow shop scheduling processing time, setup time each as...
Machines constrained flow shop scheduling processing time, setup time each as...
 
CHAPTER 7.pdfdjdjdjdjdjdjdjsjsjddhhdudsko
CHAPTER 7.pdfdjdjdjdjdjdjdjsjsjddhhdudskoCHAPTER 7.pdfdjdjdjdjdjdjdjsjsjddhhdudsko
CHAPTER 7.pdfdjdjdjdjdjdjdjsjsjddhhdudsko
 
Asymptotic Notation
Asymptotic NotationAsymptotic Notation
Asymptotic Notation
 
Robot maptalk
Robot maptalkRobot maptalk
Robot maptalk
 
Lifting 1
Lifting 1Lifting 1
Lifting 1
 
Analysis of Algorithum
Analysis of AlgorithumAnalysis of Algorithum
Analysis of Algorithum
 
Dynamic shear stress evaluation on micro turning tool using photoelasticity
Dynamic shear stress evaluation on micro turning tool using photoelasticityDynamic shear stress evaluation on micro turning tool using photoelasticity
Dynamic shear stress evaluation on micro turning tool using photoelasticity
 
2_1 Edit Distance.pptx
2_1 Edit Distance.pptx2_1 Edit Distance.pptx
2_1 Edit Distance.pptx
 
Phase diagram at finite T & Mu in strong coupling limit of lattice QCD
Phase diagram at finite T & Mu in strong coupling limit of lattice QCDPhase diagram at finite T & Mu in strong coupling limit of lattice QCD
Phase diagram at finite T & Mu in strong coupling limit of lattice QCD
 
A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...
 
Higher-order Factorization Machines(第5回ステアラボ人工知能セミナー)
Higher-order Factorization Machines(第5回ステアラボ人工知能セミナー)Higher-order Factorization Machines(第5回ステアラボ人工知能セミナー)
Higher-order Factorization Machines(第5回ステアラボ人工知能セミナー)
 
Lec7
Lec7Lec7
Lec7
 

Recently uploaded

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 

Recently uploaded (20)

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 

job scheduling

  • 2. Job shop environment: • m machines, n jobs • objective function • Each job follows a predetermined route • Routes are not necessarily the same for each job • Machine can be visited once or more than once (recirculation) 2
  • 3. Job Shop Problem Network Formulation • Let us consider the example with 4 m/c & 3 jobs • The route of the jobs as well as their processing times are given below Job m/c sequence Processing time 1 1- 2 -3 P11=10 P21=8 P31=4 2 2-1-4-3 P22=8 P12=3 P42=5 P32=6 3 1-2-4 P13=4 P23=7 P43=3 where Pij  job J processed on m/c i 3
  • 4. Construction of the Network 1,1 2,1 3,1 0 0 S 2,2 1,2 4,2 3,2 T 0 1,3 2,3 4,3 4
  • 5. Problem : Jm | | Cmax Node (i, j) represents the operation of jth job on ith machine • Pij processing time of job j on machine i • G = (N, A∪B) • A: Solid (Conjunctive) arcs represent the precedence relationships between operation of a single job. (i, j ) → ( k , j ) ∈ A • Operation (i, j) precedes (k, j) 5
  • 6. • B: Broken (Disjunctive) arcs represent the precedence relationships between operation of a single machine. • Disjunctive arcs B represent conflicts on machines. • Two operations (i, j) and (i, l) are connected by two arcs going in opposite direction. • Two dummy nodes S and T representing source and sink. • Arcs from S to all first operations of jobs. • Arcs from all last operations of jobs to T • A feasible schedule corresponds to a selection of at most one (disjunctive) broken arcs from each such pair such that the resulting directed graph is acyclic 6
  • 7. How to construct a feasible schedule? Select D - a subset of disjunctive arcs (one from each pair) such that the resulting directed graph G(D) has no cycles. Graph G(D) contains conjunctive arcs + D. D represents a feasible schedule. A cycle in the graph corresponds to a schedule that is infeasible. 7
  • 8. 10 8 1,1 2,1 3,1 0 4 0 8 3 5 6 S 2,2 1,2 4,2 3,2 T 0 3 4 7 1,3 2,3 4,3 • The makespan of a feasible schedule is determined by the longest path in G(D) from S to T. • Minimise makespan: find a selection of disjunctive arcs that minimises the length of the longest path (the critical path). 8
  • 9. Selection • A subset D ⊂ B is called a selection if it contains from each pair of disjunctive arcs exactly one. • A selection D is feasible if the resulting directed graph G (D) = (N, A ∪ D) i.e. graph with conjunctive and selected disjunctive arcs is acyclic. 9
  • 10. Remarks 1. A feasible selection leads to a sequence in which operations have to be processed on machines. 2. Each feasible selection leads to a feasible schedule. 10
  • 11. Ex. Machines – M1, M2, M3 Jobs J1 where (3, 1)  (2, 1)  (1, 1) J2 where (1, 2)  (3, 2) J3 where (2, 3)  (1, 3)  (3, 3) Duration P31 = 4 P21 = 2 P11 = 1 P12 = 3 P32 = 3 P23 = 2 P13 = 4 P33 = 1 11
  • 12. Feasible Selection 3,1 2,1 1,1 u 1,2 3,2 v 2,3 1,3 3,3 Represents conjunctive arcs Selection 12
  • 13. M1 J3 J 1 J2 Corresponding  M2 J1 J3 Schedule M3 J1 J2 J3 5 10 15 20 Make Span Cmax = 20 13
  • 14. Selection for given schedule 3,1 2,1 1,1 u 1,2 3,2 v 2,3 1,3 3,3 Selection 14
  • 15. M1 J2 J1 J3 M2 J3 J1 M3 J1 J2 J3 5 10 12 Make Span Cmax =12 15
  • 16. Disjunctive Programming Formulation Minimizing Cmax Subject to y kj − y ≥ Pij for all ij (i, j ) → (k , j ) ∈ A where yij denotes starting time of operation (i, j) Cmax − y ≥ Pij for all (i, j ) ∈ N ij y } −y ≥ p ij il il for all (i, l) & (i, j) or i = 1, 2, …..,m y il − y ≥ Pij ij y ij ≥ 0 for all (i, j ) ∈N 16
  • 17. • Some ordering must exists among operation of different job that are processed on same machine. • Solution procedures for Jm / Cmax are based either on enumerative or heuristic. • No standard solution procedure available that will work satisfactory. • Two popular heuristic algorithms: (i) schedule generation algorithm. (ii) shifting bottleneck heuristic algorithm; 17
  • 18. Algorithm for Non Delay Schedule Generation PS - A partial schedule containing t scheduled operations t S - The set of schedulable operations at stage t corresponding t to a given PS t σ J - The earliest time at which operation J ∈ St could be started φ J - The earliest time at which operation J ∈ St could be completed 18
  • 19. σ j is determine by the completion time of the direct predecessor of operation J and latest completion time on the machine required by operation J – The larger of these quantities is σ J – The potential finish time φ =σ +t J J J where t is processing time of operation J J Here (i, j, k) represents job i operation J on machine k 19
  • 20. Algorithm Step 1 – Let t = 0 and PS t = {φ} S t includes all operations with no predecessor. Step 2 – Determine σ * = min {σ } j and the machine * m S J∈ t σ * on which could be realized * Step 3 – For each operation J ∈ S t that requires machine m and for whichσ J ∈σ * create a new partial schedule in PS t σJ which operation J is added to and started at time 20
  • 21. Step 4 – For each new partial schedule PS t +1 created in step 3, update the data set as follows (a) Remove operation J from S t (b) Form S t +1 by adding the direct successor of operation J to S t (c) Increment t by 1 Step 5 – Return to step 2 for each PS t +1 created in step 3 and continue in this fashion until all non delay schedules have been generated.  The quality of the solution obtained by the heuristic mainly depends on the effectiveness of priority rules which are used in them. 21
  • 22. A Sample Set of Priority Rules 1. SPT – Select the job with min. processing time 2. FCFS – Select the operation that entered S t earliest 3. MWKR – (Most work remaining) – Select the operation associated with the job having the most work remaining to be processed 4. MOPNR – (Most operation remaining) – Select the operation that has the largest number of successor operation 5. Random – Select the operation at random 22
  • 23. Ex. Find the schedule using non delay schedule generation heuristic with following primary rules First level priority rule – MWKR (Most work remaining) Second level priority rule – SPT Third level priority rule – Random order 23
  • 24. Processing time Routing Operation Operation 1 2 3 1 2 3 Job Job 1 2 3 4 1 1 2 3 2 4 4 1 2 3 2 1 3 2 2 3 3 2 3 1 4 3 3 1 4 1 3 2 24
  • 25. At t=0 PS 0 = {φ} Job Operation S 0 = ( ,1,1), (2,1,3), (3,1,2 ), (4,1,1)} {1 σ 111 = σ 213 = σ 312 = σ 411 = 0 M/c σ = Min{ σ} * =0 Since σ * J S J∈ t σ =σ * J for all J ∈ S 0 *Therefore, priority rule must be σ → Earliest time at J involved to select among all which operation J ∈ S t four operation [MWKR] could be started 25
  • 26. R1 = 9 R2 = 9 R3 = 7 R4 = 7 MWKR = 9 is not unique. This is occurring for job 1 and job 2 Now, a tie breaking rules is needed SPT is used as tie breaking rule Now t111 < t213 26
  • 27. This means PS1 consists of operation {(1, 1, 1)} started at time 0 PS1 = {(1, 1, 1)} f1 = 2, f2 = 0, f3 = 0 M/c1 (1, 1, 1) M/c2 M/c3 2 4 6 27
  • 28. S 1 = {(1,2,2 ), ( 2,1,3), (3,1,2 ), ( 4,1,1)} σ = Min{ σ ,σ ,σ ,σ } * 122 213 312 411 = Min{2,0,0,2} =0 At this stage σ J =σ * for two operations in S 1. Thus priority rule must be involved to choose between (2, 1, 3) and (3, 1, 2) 28
  • 29. By applying MWKR, we get R2 = 9 R3 = 7 since R2 > R3 (2, 1, 3) is added to PS1 to form PS2 = {(1, 1, 1), (2, 1, 3)} f1 = 2, f2 = 0, f3 = 4 M/c1 (1, 1, 1) M/c2 M/c3 (2, 1, 3) 2 4 6 29
  • 30. Now S 2 = {(1,2,2 ), ( 2,2,2 ), ( 3,1,2 ), ( 4,1,1)} σ = Min{σ 122 ,σ 222 ,σ 312 ,σ 411} * = Min{ 2,4,0,2} =0 Operation 1 of job 2 is to be completed in M/c 3 30
  • 31. *The minimum is for σ 312 & it is unique. Add this to partial schedule PS3 PS3 = {(1, 1, 1), (2, 1, 3), (3, 1, 2)} f1 = 2, f2 = 2, f3 = 4 M/c1 (1, 1, 1) M/c2 (3, 1, 2) M/c3 (2, 1, 3) 2 4 6 31
  • 32. S 3 = {(1,2,2 ), ( 2,2,2 ), ( 3,2,3), ( 4,1,1)} σ = Min{σ 122 ,σ 222 ,σ 323 ,σ 411} * =Min{2,4,4,2} =2 32
  • 33. σ =σ * • At this stage J for two operation • Thus priority rule must e involved to choose between (1, 2, 2) and (4, 1, 1) R1 = 7 R4 = 7 • MWKR is not unique. • Now SPT is used as tie breaker & t122 = t411 • After it is resolved randomly in favor of (4, 1, 1) PS4 = {(1, 1, 1), (2, 1, 3), (3, 1, 2), (4, 1, 1)} f1 = 5, f2 = 2, f3 = 4 33
  • 34. S4 = {(1, 2, 2), (2, 2, 2), (3, 2, 3), (4, 2, 3)} σ 122 =2 σ 222 =4 σ 323 =4 σ 423 =5 Operation 1 of job 4 in M/c 1 takes 5 minutes σ = Min{ σ ,σ ,σ ,σ } * 122 222 323 423 = Min{2,4,4,5} =2 34
  • 35. • Now (1, 2, 2) is added to PSt • Thus PS5 = {(1, 1, 1), (2, 1, 3), (3, 1, 2), (4, 1, 1), (1, 2, 2)} f1 = 5, f2 = 5, f3 = 4 Now S5 = {(1, 3, 3), (2, 2, 2), (3, 2, 3), (4, 2, 3)} σ 133 =5 σ 222 =5 σ 323 =4 σ 423 =5 σ = Min{ σ ,σ ,σ ,σ } * 133 222 323 423 = Min{5,5,4,5} =4 35
  • 36. • This minimum corresponds to (3, 2, 3) only partial schedule PS6 = {(1, 1, 1), (2, 1, 3), (3, 1, 2), (4, 1, 1), (1, 2, 2), (3, 2, 3)} • In this way we have to proceed to 3 × 4 = 12 stage to complete the entire schedule The final schedule is given as P12 = {(1, 1, 1), (2, 1, 3), (3, 1, 2), (4, 1, 1), (1, 2, 2), (3, 2, 3) (2, 2, 2), (2, 3, 1), (4, 2, 3), (3, 3, 1), (1, 3, 3), (4, 3, 2)} 36
  • 37. M/c1 (1, 1, 1) (4, 1, 1) (2, 3, 1) (3, 3, 1) 2 5 9 10 13 M/c2 (3, 1, 2) (1, 2, 2) (2, 2, 2) (4, 3, 2) 2 M/c3 (2, 1, 3) (3, 2, 3) (4, 2, 3) (1, 3, 3) 37
  • 38. Further Reading 1. Scheduling, Theory, Algorithms, and Systems, Michael Pinedo, Prentice Hall, 1995, or new: Second Addition, 2002 Chapter 6 or 2. Operations Scheduling with Applications in Manufacturing and Services, Michael Pinedo and Xiuli Chao, McGraw Hill, 2000 Chapter 5 38
  • 39. THANKS 39

Editor's Notes

  1. Automated Scheduling, School of Computer Science and IT, University of Nottingham
  2. Automated Scheduling, School of Computer Science and IT, University of Nottingham
  3. Automated Scheduling, School of Computer Science and IT, University of Nottingham
  4. Automated Scheduling, School of Computer Science and IT, University of Nottingham