Planning and Scheduling in Manufacturing and Services Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson What is Scheduling About? Applied operations research Models Algorithms Solution using computers Implement algorithms Draw on common databases Integration with other systems June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 2 Application Areas Procurement and production Transportation and distribution Information processing and communications June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 3 Manufacturing Scheduling Short product life-cycles Quick-response manufacturing Manufacture-to-order More complex operations must be scheduled in shorter amount of time with less room for errors! June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 4 Scope of Course Levels of planning and scheduling Long-range planning (several years), middle-range planning (1-2 years), short-range planning (few months), scheduling (few weeks), and reactive scheduling (now) These functions are now often integrated June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 5 Scheduling Systems Enterprise Resource Planning (ERP) Materials Requirement Planning (MRP) Common for larger businesses Very common for manufacturing companies Advanced Planning and Scheduling (APS) Most recent trend Considered advanced feature of ERP June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 6 Scheduling Problem Allocate scarce resources to tasks Combinatorial optimization problem Maximize profit Subject to constraints Mathematical techniques and heuristics June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 7 Our Approach Scheduling Problem Problem Formulation Model Solve with Computer Algorithms Conclusions June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 8 Scheduling Models Project scheduling Job shop scheduling Flexible assembly systems Lot sizing and scheduling Interval scheduling, reservation, timetabling Workforce scheduling June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 9 General Solution Techniques Mathematical programming Enumerative methods Linear, non-linear, and integer programming Branch-and-bound Beam search Local search Simulated annealing/genetic algorithms/tabu search/neural networks. June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 10 Scheduling System Design Order master file Databases Shop floor data collection Database Management Schedule generation Automatic Schedule Generator Schedule Editor User interfaces Performance Evaluation Graphical Interface User June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 11 LEKIN Generic job shop scheduling system User friendly windows environment C++ object oriented design Can add own routines June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 12 Advanced Topics Uncertainty, robustness, and reactive scheduling Multiple objectives Internet scheduling June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 13 Topic 1 Setting up the Scheduling Problem Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson Modeling Three components to any model: Decision variables Objective function This is what we can change to affect the system, that is, the variables we can decide upon E.g, cost to be minimized, quality measure to be maximized Constraints June 28, 2016 Which values the decision variables can be set to Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 15 Decision “Variables” Three basic types of solutions: A sequence: a permutation of the jobs A schedule: allocation of the jobs in a more complicated setting of the environment A scheduling policy: determines the next job given the current state of the system June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 16 Model Characteristics Multiple factors: Number of machine and resources, configuration and layout, level of automation, etc. Our terminology: Resource = machine (m) Entity requiring the resource = job (n) June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 17 Notation Static data: Processing time (pij) Release date (rj) Due date (dj) Weight (wj) Dynamic data: Completion time (Cij) June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 18 Machine Configuration Standard machine configurations: Single machine models Parallel machine models Flow shop models Job shop models Real world always more complicated. June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 19 Constraints Precedence constraints Routing constraints Material-handling constraints Storage/waiting constraints Machine eligibility Tooling/resource constraints Personnel scheduling constraints June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 20 Other Characteristics Sequence dependent setup Preemptions preemptive resume preemptive repeat Make-to-stock versus make-to-order June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 21 Objectives and Performance Measures Throughput (TP) and makespan (Cmax) Due date related objectives Work-in-process (WIP), lead time (response time), finished inventory Others June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 22 Throughput and Makespan Throughput Defined by bottleneck machines Makespan Cmax max C1 , C2 ,..., Cn Ci max Ci1 , Ci 2 ,..., Cim , i 1,..., n Minimizing makespan tends to maximize throughput and balance load June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 23 Due Date Related Objectives Lateness L j C j d j Minimize maximum lateness (Lmax) Tardiness T j max C j d j ,0 Minimize the weighted tardiness n w T j 1 June 28, 2016 j j Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 24 Due Date Penalties Tardiness Lateness Lj Tj Cj Cj dj dj Late or Not In practice Uj 1 Cj dj June 28, 2016 Cj dj Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 25 WIP and Lead Time Work-in-Process (WIP) inventory cost Minimizing WIP also minimizes average lead time (throughput time) Minimizing lead time tends to minimize the average number of jobs in system Equivalently, we can minimize sum of the completion times: n C i 1 June 28, 2016 n j w C j 1 j j Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 26 Other Costs Setup cost Personnel cost Robustness Finished goods inventory cost June 28, 2016 Lecture Notes for Planning and Scheduling Prepared by Siggi Olafsson 27