Next Article in Journal
When Easy Becomes Boring and Difficult Becomes Frustrating: Disentangling the Effects of Item Difficulty Level and Person Proficiency on Learning and Motivation
Next Article in Special Issue
Towards a Multidisciplinary Approach on Creating Value: Sustainability through the Supply Chain and ERP Systems
Previous Article in Journal
Non-Conscious vs. Deliberate Dynamic Decision-Making—A Pilot Experiment
Previous Article in Special Issue
The Relation of Shadow Systems and ERP Systems—Insights from a Multiple-Case Study
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Using Optimization Models for Scheduling in Enterprise Resource Planning Systems

OTH Regensburg, Innovation and Competence Centre for Production Logistics and Factory Planning, PO box 120327, Regensburg 93025, Germany
Systems 2016, 4(1), 15; https://doi.org/10.3390/systems4010015
Submission received: 12 December 2015 / Revised: 15 January 2016 / Accepted: 25 February 2016 / Published: 1 March 2016
(This article belongs to the Special Issue Enterprise Resource Planning Systems)

Abstract

:
Companies often use specially-designed production systems and change them from time to time. They produce small batches in order to satisfy specific demands with the least tardiness. This imposes high demands on high-performance scheduling algorithms which can be rapidly adapted to changes in the production system. As a solution, this paper proposes a generic approach: solutions were obtained using a widely-used commercially-available tool for solving linear optimization models, which is available in an Enterprise Resource Planning System (in the SAP system for example) or can be connected to it. In a real-world application of a flow shop with special restrictions this approach is successfully used on a standard personal computer. Thus, the main implication is that optimal scheduling with a commercially-available tool, incorporated in an Enterprise Resource Planning System, may be the best approach.

1. Introduction

Operative production planning and scheduling in Enterprise Resource Planning Systems are incorporated in hierarchical production planning, consisting of master production scheduling, material requirements planning (MRP), and scheduling (see Kurbel [1] or Vollmann [2]). Since capacity considerations in master production scheduling and material requirements planning cause incorrect estimations of lead times, out-of-stock and tardiness, respectively, can be substantially reduced by scheduling. Due to the so called “no free lunch theorem” (see Wolpert and Macready [3]), the performance of an algorithm can only be high if (correct) problem-specific knowledge is used (about the structure of the optimization problem). This explains why there are still many publications about scheduling algorithms for specific production systems. This fits to the observation that companies produce small batches on specially-designed production systems which are changed from time to time. Thus, such production systems have special technological restrictions. For example, in cell manufacturing, a buffer could be non-existent due to limited space and storage facilities. So, in recent years, a considerable amount of research for no-buffer (blocking) scheduling problems and for no-wait scheduling problems are published. However, real-world problems often have more restrictions; for example, a limited amount of production aids such that they are even more difficult to schedule. Therefore, it is very time consuming to get an appropriate algorithm: either by developing a new one or by finding one in the literature (since the information about the runtime is, if published, usually outdated, satisfying a runtime restriction can just be tested by an implementation of the algorithm.).
This paper proposes that a linear optimization model is developed for a scheduling problem and it is solved with a commercially-available tool. Several tools are available. In this paper, the tool ILOG, which is available in the SAP system, is used. As an alternative, Baker uses, in [4], the Risk Solver Platform (RSP), which is an Excel add-in, developed by Frontline Systems, Inc. (Incline Village, NV, USA). Thus, an appropriate tool is either available in an Enterprise Resource Planning Systems (ILOG is in the SAP system, for example) or can be connected to it.
The approach is applied on permutation flow shop problems with technology restrictions. A real-world example serves as a test problem. As usual, in industrial practice, the planning is executed in a rolling-horizon environment. For this, a production-planning and control (PPC) system simulation is implemented. In this simulation, a customer order arrival process is generated. Material requirements planning (as usual) determines production orders. These are scheduled by the approach at the company site, by priority rules and by solving an optimization model. Because a standard personal computer is used, this real-world application shows that optimal scheduling is applicable in industrial practice. With each new generation of hardware (or improved software for solving an optimization model) more complex scheduling problems can be optimally solved under the conditions at the company site. For research this means that optimal solutions can serve as a benchmark—not only for small test problems. Thus, the main implication is that optimal scheduling with a commercially-available tool, incorporated in an Enterprise Resource Planning System, will, in the future, be more often the best approach.
This paper is organized as follows. First, the real-word problem is explained (Section 2). An optimization model is developed (Section 3) and a literature review about published optimal and heuristic solutions is given (Section 4). This section also explains the priority rules which serve as comparison to the optimal scheduling. Then, simulation of the rolling horizon planning together with the input data is presented and computational results are analyzed (Section 5). Some conclusions are given at the end (Section 6).

2. Real-World Problem

The problem is a modification of a partly-automated production line at Fiedler Andritz in Regensburg, Germany, to produce filters (baskets) with a lot size of one. They are mainly sold to customers directly or assembled in other products. All filters have unified construction. They differ in varying heights of the baskets and there exist different designs.
The production line consists of four stations which are shown in Figure 1. Station 1 assembles six single batons (called consoles) on an assembly ground plate to a skeleton of a filter basket. Baton profiles are assembled into the provided slots of the filter basket skeletons. At the plunge station a wire coil is contrived in the device of a lining machine. The lining machine straightens the wire and inserts batons into the slots. To ensure stability, a worker installs span belts in inflow filter baskets and span cores in outflow filter baskets. To install a span core is more time consuming; this is the only difference in the processing times between and outflow filter baskets. There are enough span belts but just one span core for each outflow filter type. Then, the filter basket is lifted from the assembly ground plate and is transported to the welding station, at which the baton profiles are welded on the filter basket skeletons. The completed filter basket leaves the production line. Prior to this, the span medium is removed. An overhead travelling crane lifts a filter basket out of a station, transports it to the next station and inserts it directly in this station. This is just possible if this station is free. So, there is no buffer in the production line. Due to other operational issues, the crane can just be moved if all stations are inactive. Since an operation cannot be interrupted, the transport has to be performed after the completion of all operations on the stations in the flow shop. Due to further operational issues this restriction has to also applied be for the first and the last station; note, that the crane loads S1 and unloads S4 as well. In summary, all stations are loaded and unloaded with filters during a common process and this process starts with the last station S4, followed by station S3, S2, until station S1 is reached. It is allowed that a station is empty; then this station is skipped (may be partially) in this process.
The processing times of the 10 filter types for inflow (if) and outflow (of) are listed in Table 1. The duration of loading (unloading) a station is negligible compared to the duration of the operation as well as it is independent of the allocation (or loading) of the other stations and it is included in the duration of the operation.
Single filters (lot size 1) are sold to customers directly or assembled in other products. In both cases, these products are components in a large product. Thus, the due dates of the demands are in the future. This also happens due to contracts with customers about filter types in the future. For demands of single filters material requirements planning determine production orders. With “just in time” production a storage of these expensive filters are avoided as much as possible. The production orders are scheduled by a simple priority rule. Each working day consists of one shift with a net working time of seven hours—there are breaks of in total one hour in each shift. Material requirements planning is executed before each shift for all known demands. The priority rule is executed on the queue of waiting orders if the first station in the production line becomes idle.
The general (single) scheduling problem consists of M stations and a pool of N jobs, which may change at any time, with known earliest possible starting times being, respectively, release dates a i ( 1 i N ) and due dates f i ( 1 i N ) , as well as duration t i , j of operation ( o i , j ) j ( 1 j M ) of job i ( 1 i N ) , which is worked on station j. Critical at the customer site is the tardiness of a customer order and the tardiness of a filter which will be assembled in other products should be as small as possible. Thus, minimizing total tardiness and analyzing average tardiness ( T M e a n ) and standard deviation of tardiness ( T σ ) is in line with other studies; see Mouelhi-Chibani and Pierreval [5] or Rajendran and Alicke [6] for generated scheduling problems, as well as Voß and Witt [7] for a real-world application.
The time between two consecutive executions of the load process is determined by the maximum of the duration of the operations on the stations in the flow shop; this is called cycle time. This “load”-restriction, the no-buffer condition, and the capacity of the stations are the main restrictions. Set-up times are relatively small compared to operation times and they are included in operation times.
The no-buffer condition means a relaxation of the scheduling problem with the (above) “load”-restriction. A good survey of scheduling problems with the no-buffer condition was given by Hall and Sriskandarajah [8]. There it is proved that this problem is NP-hard in the strong sense for more than two stations. Thus, the problem class with this real-world application as an example is NP-hard in the strong sense as well.

3. A Linear Optimization Model

3.1. Literature Review

There are two main approaches (see Sundaramoorthy and Maravelias [9]): sequence-based models (a sequence of jobs is determined) or discrete time models (those discrete periods are determined, in which the jobs are completed). In many cases, the modeling of restrictions, especially for a limited storage capacity, require more complicated constraints for sequence-based models than for discrete time models. On the other hand, sequence-based models have normally shorter run times. In the literature there are two ways to express such a sequence: in the so-called assignment formulation the key decision variable ( x i , p ) is set to 1, if job i is at position p in the permutation, and in the so called precedence formulation the key decision variable ( x i , p ) is set to 1, if job i precedes job p in the sequence. Due to Gupta et al. [10] the assignment formulation requires less computation time than the precedence formulation. In their study makespan is minimized. As can be seen below, for the class of problems regarded in this paper restrictions can be formulated by quite simple constraints, so that a sequence-based model seems to be the best choice. Nevertheless, in many papers, see Gicquel et al. [11] for example, an integer model with discrete time periods is used. If general precedence constraints occur then flow shop problems are modelled by the well-known resource constrained scheduling problem (RCPSP, sometimes referred to as a project shop; see e.g., Morton and Pentico [12]); an example is in Voß and Witt [7]. Thus, the following model extends the ones in the literature by restrictions ensuring the “load”-restriction, restrictions for the special treatment of the first and the last cycles, restrictions for the rolling planning environment, and restrictions to ensure that a span core is used not more than once.

3.2. Model

Already, the no-buffer restriction means that all feasible schedules are a permutation of the N jobs of the scheduling problem. The problem is modeled as an assignment problem with additional restrictions.
Parameters:
M:
number of stations; 1 j M .
N:
number of jobs; 1 i N .
NE:
number of artificial jobs; 1 i N .
a i :
release date of job i for all 1 i N .
f i :
due date of job i for all 1 i N .
o i , j :
operation j of job i ( 1 i N ) which is worked on station j for all 1 i N and 1 j M .
t i , j :
duration of operation j of job i ( o i , j ) which is worked on station j for all 1 i N and 1 j M
Decision variables:
x i , p :
position of job i in the permutation: job i is at position p for all 1 i , p N .
(Decision) variables for intermediate results:
F T p , j :
upper bound of the realised finish time of the job at position p in a permutation on station j for all 1 p , j N .
F T p , 0 :
release date of the job at position p for all 1 p N .
S T p , j :
earliest starting time for job p in a permutation on station j for all 1 p N ; i.e., S T p , j = F T p 1 , j .
S R T p , j :
realized starting and finish time of the job at position p in a permutation on station j for all 1 p , j N .
F R T p , j :
realized starting and finish time of the job at position p in a permutation on station j for all 1 p , j N .
T y p p , k O F :
job at position p in the permutation has type k and is an outflow filter for all 1 p N and for all 1 k 10 .
T p :
upper bound for the tardiness of the job at position p for all 1 p N .
Restrictions:
(1)
x i , p = { 1 , j o b     i    i s     a t     p o s i t i o n     p     i n     t h e     p e r m u t a t i o n 0 , o t h e r w i s e for all 1 i , p N .
Each job i and each position p is handled once:
(2)
p = 1 N x i , p = 1 for all 1 i N .
(3)
i = 1 N x i , p = 1 for all 1 p N .
The “load”-restriction is ensured as follows. For each job there is a timeframe in which the execution takes place; by (4, 5). The jobs, which are together in a cycle, have the same timeframe; by (6–8).
In a timeframe the capacity restriction is ensured by (4) (remember: F T p , j is an upper bound of the realized finish time of the job at position p in a permutation on station j):
(4)
F T p , j 1 + i = 1 N t i , j x i , p F T p , j for all 1 p N and for all 1 j M (remember: F T p , 0 is the release date of the job at position p).
Linear inequalities (5) ensure that the orders of jobs on each station are identical:
(5)
F T p 1 , j + i = 1 N t i , j x i , p F T p , j for all 1 p N and for all 1 j M with F T 0 , j being the availability of station j for all 1 j M .
Now, all jobs in a cycle should have identical timeframes:
(6)
F T p + ( j 1 ) , M ( j 1 ) = F T p + j , M j for all 1 p N M + 1 and for all 1 j M 1 .
At the beginning ( 1 p M 1 ) and at the end ( N M + 2 p N 1 ) of a permutation, not all stations are occupied. So, the linear inequalities are adapted as follows.
For 1 p M 1 restriction (6) is:
(7)
F T 1 + ( j 1 ) , ( M p ) ( j 1 ) = F T 1 + j , ( M p ) ( j 1 ) 1 for all 1 p < ( M 1 ) and for all 1 j < M p .
and for N M + 2 p N 1 restriction (6) is:
(8)
F T p + ( j 1 ) , M ( j 1 ) = F T p + j , M j for all N M + 1 < p < N and for all 1 j N p .
So, F T p 1 , j is the earliest starting time for job p in a permutation on station j, as decision variable S T p , j ( = F T p 1 , j ) . With the following linear inequalities, additional decision variables for the real processing times (remember: S R T p , j and F R T p , j are realized starting and finishing time of the job at position p in a permutation on station j) are set correctly in the timeframe of a cycle and each job starts at the beginning of a cycle.
(9)
S R T p , j + i = 1 N t i , j x i , p = F R T p , j F T p , j for all 1 p N .
(10)
S T p , j = S R T p , j for all 1 j M .
Note: The idle time of a job in a cycle can be used to start later, for example, if a worker is not available. Set up times can be integrated if needed.
Just one span core for each outflow filter type (used on the consecutive stations S3 and S4) means that there occurs no two consecutive orders in a permutation having the same outflow filter type. To ensure this, the type of an order in position p in the permutation is determined by:
(11)
T y p p , k O F = { 1 , j o b      a t     p o s i t i o n     p     i n      t h e     p e r m u t a t i o n     h a s      t y p e     k     a n d     i s     a n     o u t f l o w     f i l t e r 0 , o t h e r w i s e for all 1 p N and for all 1 k 10 .
The above condition is not met, if T y p p , k O F + T y p p + 1 , k O F > 1 for one k, 1 k 10 , and one p, 1 p N .
Thus, the condition is met by
(12)
T y p p , k O F + T y p p + 1 , k O F 1 for all 1 p < N 1 and for all 1 k 10 .
(13)
x i , p { 0 , 1 } for all 1 i N and for all 1 p N .
(14)
T y p p , k O F { 0 , 1 } for all 1 p N and for all 1 k 10 .
Linear inequalities (15, 16) ensure upper bounds for the variable tardiness ( T p ) .
(15)
T p 0 for all 1 p N .
(16)
T p F T p , M i = 1 N f i x i , p for all 1 p N .
Then
(17)
Minimize ( p = 1 N T p )
minimizes the average tardiness.
An empty station in a cycle is achieved by an artificial order i whose duration time on each station is zero, and whose release date is less than the release dates of all normal jobs, so i can start immediately. With a large due date, no tardiness occur; so, i does not affect the objective function (17). That this is beneficial is analyzed in the section “results and discussion”.
For the linear inequalities, which affects the cycles—as (6–8), there is a distinction between the first (M − 1) cycles, the last (M − 1) cycles and the ones in between. This implies a minimum number of jobs—i.e., of N. A smaller number (of N) of jobs is extended by one or more artificial jobs. For the sake of simplicity, there are always (M − 1) artificial jobs at the beginning and (M − 1) artificial jobs at the end of the to be determined permutation; i.e., the decision variable x. This is achieved with the linear inequalities
(18)
x p , p = 1 for all 1 p ( M 1 )
in the case of the (M − 1) artificial jobs at the beginning and
(19)
x N + ( M 1 ) + N E + p , N + ( M 1 ) + N E + p = 1 for all 1 p ( M 1 )
in the case of the (M − 1) artificial jobs at the end, where NE is the number of artificial jobs with each of them an empty station in a cycle is realized.

3.3. Model Extension for a Rolling Planning Environment

The entire planning hierarchy is executed in a rolling planning environment. This means (for all scheduling procedures) that a sequence of scheduling problems are solved. Each solution of a single scheduling problem is added to a permutation P of the jobs scheduled so far. The starting point is a sequence S of jobs—determined by material requirements planning. The jobs of one single scheduling problem (i.e., workload) consists of those jobs in S. The actual permutation P is extended by the permutation of the jobs due to the first c cycles, c N , also c 1 , in an optimal solution, which are not already in P. Assume that p is the period in which the last of these c cycles is finished. Then the next workload consists of the jobs from S with a release date less than or equal to p + r and which are not already in P, of course. For a production line of M stations this means for the calculation of the new solution (NS): The last (M − 1)-jobs in P (A1, …, AM − 1) are partially part of the first (M − 1) cycles of NS. A1, …, AM − 1 determine a minimum length of the first (M − 1) cycles of NS. For cycle j, 1 j ( M 1 ) , of these cycles, this minimum length is the maximum of the durations of the jobs in A1, …, AM − 1 which are executed in cycle j and it is denoted by T Z B j . In addition, these first (M − 1) cycles of NS determine the (realized) due dates of A1, …, AM − 1 which is denoted by S E T i for job Ai, 1 i ( M 1 ) .
The model is extended as follows:
Parameters:
P: Permutation of the jobs scheduled so far due to the rolling planning environment.
A1, …, AM − 1: last (M − 1)-jobs in P.
T Z B j : lower bound for the duration of cycle j for all 1 j ( M 1 ) .
Note: the other parameters of the model in Section 3.2 are filled by the release procedure explained above.
(Decision) variables for intermediate results:
S E T i : due date of job Ai for all 1 i ( M 1 ) .
Restrictions:
The following restrictions—see (20)—ensure that the first (M − 1) cycles are longer than T Z B j . In our approach, the jobs A1, …, AM − 1 are not scheduled, but substituted by the above mentioned artificial jobs. So, the positions M until (M+ M − 1− 1) have to be regarded and the finishing time is, related to station 1, i.e., ( F T ( M 1 ) + j , 1 ) . This corresponds to the first (M − 1) cycles of NS—without the (M − 1) artificial jobs. Then the linear inequalities
(20)
T Z B j F T ( M 1 ) + j , 1 F T ( M 1 ) + ( j 1 ) , 1 for all 1 j ( M 1 )
are needed.
Since the first (M-1) cycles of the new solution (NS)—again (as with T Z B j ) without the (M − 1) artificial jobs—can increase the (realized) due dates of A1, …, AM − 1, so that their adapted delay have to be integrated in the objective function. With S E T i being the due date of the job which is finished in cycle i (of NS) – i.e., Ai—the linear inequalities (21, 22) ensure upper bounds for the variable tardiness ( T i ) or ( T A i ) , respectively.
(21)
T i 0 for all 1 i ( M 1 ) .
(22)
T i F T ( M 1 ) + i , 1 S E T i for all 1 i ( M 1 ) .
Then, the sum of these tardiness variables has to be added in the objective function:
(23)
Minimize ( p = 1 N T p + i = 1 M 1 T i ) .
Technically, T Z B j is calculated by the scheduling algorithm as the maximum of the durations of the jobs in A1, …, AM − 1 which are executed in cycle j. For this, there exists a so called simulation algorithm which simulates the execution of a permutation of jobs on the flow shop. This simulation algorithm can be used to ensure restrictions outside the optimization model; then the simulation algorithm ensures a feasible schedule and calculates the correct completion times for example. This is helpful for restrictions in industrial practice which are difficult to formulate by a linear inequality (or linear inequalities) or for a linear inequality (or linear inequalities) which increases the runtime significantly.
The rolling planning environment implies that there are linear inequalities which ensures that no job starts before its realized date (i.e., S R T p , 1 release date of p) and that the availability of the stations are met (i.e., S R T 1 , j availability of the station j).

4. Optimal and Heuristic Scheduling

Since the scheduling problem is NP-hard (in the strong sense, see above), research over the last decades focuses increasingly on heuristic methods—from simple priority rules to sophisticated metaheuristics. For flow shop scheduling, the development of the research is traced in Gupta et al. [10]. In more detail, Vallada et al. [13], even though it is focused on heuristics and metaheuristics, provides a careful review of previous research.
As said earlier, the real application is close to the class of no-buffer (blocking) scheduling problems. Solutions for the no-buffer (blocking) scheduling problems are presented in various papers already. Just one example for the blocking flow shop scheduling with makespan criterion is the paper of Wang et al. [14]. They propose a harmony search algorithm together with a new NEH heuristic (Nawaz et al. [15], which several researchers name as best constructive heuristic to minimize the makespan in the flow shop with blocking (see Framinan et al. [16] as one example only), based on the reasonable premise, that the jobs with less total processing times should be given higher priorities.
To the best of my knowledge, just a few studies investigate algorithms for the total tardiness objective (for flow shops with blocking). Ronconi and Henriques [17] describe several versions of a local search. First, with the NEH algorithm they explore specific characteristics of the problem. A more comprehensive local search is developed by a GRASP-based (greedy randomized adaptive search procedure) search heuristic.
Optimal solutions are often achieved by a branch-and-bound algorithm, normally, with a lower bound (-s) which reduces the number of nodes significantly. This algorithm is a heuristic if the CPU time of a run is limited. An example for the total tardiness objective is the work of Ronconi and Armentano [18]; a more effective one is presented in Ronconi [19], but for minimizing makespan.
Exact methods, like branch and bound approaches—for alternatives see Brucker andKnust [20]—can just be applied to problems with a small number of stations; for a review see e.g., Brucker [21]. For example, Kim [22] described a branch and bound algorithm for minimizing mean tardiness in two machine flow shops. Typically, for a small number of stations lower bounds for pruning the search tree (i.e., reducing the search (space)) are developed (and often proven), see e.g., Gharbi et al. [23]. As shown in the literature, see e.g., Brucker [21], the performance criteria affect the complexity of algorithms for scheduling problems. In this sense minimizing makespan is the easiest problem; for example, the two-machine flow shop problem with minimizing makespan is solved in polynomial time by the Johnson algorithm but the 2 machine flow shop problem with minimizing mean tardiness is NP hard. So, it can be expected that additional requirements from industrial practice cause additional runtime consumption.
For flowshop problems, in general, a careful review is provided in the recent paper of Baker [4]. My own search about the last two years show that there is nothing to add. Especially, due to Baker [4], the most effective branch and bound algorithm for the flow shop tardiness problem is developed by Chung, Flynn, and Kirca [24]. The review in Baker [4] says: “Kim [22] examined problems with different values of m and was able to solve problems as large as 14 4 and 13 8 within a time limit of 1 h. Roughly a decade later, Chung, Flynn, and Kirca [24] also considered different values of m and were able to solve most problems containing 15 jobs (and as many as 8 machines), but several 20-job instances in their testbed went unsolved. Instead of using a time limit, they terminated their algorithm on the basis of nodes visited in the branch-and-bound (BB) algorithm, using a limit of four million nodes. Based on the results of these studies, the state of the art among specialized BB algorithms appears to be the solution of problems with up to about 15 jobs and 8 machines. Clearly, improvements in hardware have occurred since the Chung paper appeared, but that does not necessarily mean that we should expect to solve much larger problems today.”
Using priority rules for scheduling is still state of the art in industrial practice; see, for example, El-Bouri [25] or Chiang and Fu [26], and is used at Fiedler Andritz in Regensburg as well. Thus, in this paper, optimal scheduling is compared with established priority rules from the literature. As is known, tardiness is improved by assigning jobs with a small slack; the slack for job i is defined by f i t t t i , where t is the current time and f i is the due date of job i and t t i is the sum of the processing times of the operations of job i—or an alternative assessment of the lead time. Investigations (see e.g., Engell et al. [27]) show that for many job shop problems the rules CR + SPT = { f i t t t i , f i t t t i > 0 t t i ,               f i t t t i 0 , t t i means the shortest processing time (SPT) rule, ODD, which is identical with the EDD-rule (i.e., earliest due date) for the class of job shop problems in this investigation, and S L / O P N = f i t t t i M (where a low value is always preferred) are Pareto optimal to the average, the variance, and the maximum tardiness (see Engell et al. [27]). This explains why SL/OPN and CR+SPT are often used as benchmark; according to Raghu and Rajendran [28] other combinations deliver worse results for flow shop problems. In addition, newer rules are regarded. One is RR, originally defined in Raghu and Rajendran [22] and used, slightly modified, in Rajendran and Holthaus [29]. The priority index is ( f i t t t i ) e η + e η t t i , with utilization level η of the entire flow shop defined by η = b b + j , with b being the busy time and j being the idle time of the entire flow shop, and the job with the lowest priority index is processed next. The other rule (RM) is based on the development of a weighted slack-based scheduling rule in Rachamadugu and Morton [30]. Modifications of this rule deliver very good results for flow shop and job shop problems with weighted tardiness criteria (see Vepsatainen and Morton [31]). The rule was successfully adapted to resource-constrained project scheduling problems (RCPSP) in Voß and Witt [7]. Since there is no weight in our problem, the priority index is 1 π i e k t ¯ ( f i t t t i ) , with resource costs π i , motivated by Voß and Witt [7], and k is an empirically determined “look-ahead” parameter. As local processing time costing we use π i l = t t i , called RM local, and as global processing time we use π i g = i U t t t i , where U t is the set of unfinished jobs in the pool of orders, including job i, called RM global; note that, in the literature, additional costs are regarded (see Lawrence and Morton [30]).

5. Results and Discussion

In the real-world application the number of demands per period is between 3 and 9 and there are long sequences of successive periods with a similar number of demands. By scheduling with FIFO this causes a lead time for part types 1 to 5, which is almost always below one period, and a lead time for part types 6 to 10, which is always below two periods. Thus, these values are used as lead times in the material requirements planning. The hierarchical planning of material requirements planning followed by optimal scheduling is denoted by MRP-OS and, if priority rules are used for scheduling, it is denoted by MRP-Rule with the name of the rule in brackets, e.g., MRP-Rule (SL/OPN) in the case of the SL/OPN rule. Both alternatives are simulated in a rolling environment. From an optimal schedule just the first order is finally assigned on the production line; i.e., parameter C, see Section 3, is 1. This minimizes the impact of uncertain demand.
The number of demands per period are clustered in five cases: Case 1 between 3 to 5, Case 2 between 5 and 6, Case 3 between 6 and 8, Case 4 between 8 or 9, and a randomly-generated number between 3 to 9. In addition, the demand at the customer site over the last two years is used. These different workloads per period cause different number of late jobs in case of scheduling with the “first-in-first-out” priority rule. Approximately, they are 30% with Case 1, 48% with Case 2, 71% with Case 3, and 82% with Case 4. With all demand scenarios and parameter settings a steady state for both performance criteria— T M e a n and T σ —is reached by a simulation horizon of less than 2500 periods. Therefore, in all experiments a simulation horizon of 3000 periods is used; in the case of historical data, they are repeated. To avoid errors from start-up and rundown, the first and the last 10 periods are disregarded. In literature, an alternative is applied, which is implemented as well: the length of the warm-up period of the simulation model is determined using the MSER-5 heuristics of White, Cobb, and Spratt [32] and cut off. In addition, confidence intervals are calculated; for example, using the overlapping batch means heuristic proposed by Meketon and Schmeiser [33] combined with the optimal batch size heuristic from Song [34]. Since a steady state is always achieved, confidence intervals are not needed.
In this investigation optimal scheduling is executed by IBM-ILOG—version 12.6.2—and the tests are executed on a PC with an Intel 3.3 GHz CPU and 64 GB of RAM. ILOG is often used in academic and industrial practice. Probably, Excel is more accepted in industrial practice. With the Excel add-in Risk Solver Platform (RSP) the optimal model can be implemented, as Baker [4] shows; RSP is developed by Frontline Systems, Inc. (Incline Village, NV, USA) and is available with several textbooks and is widely used by students and practitioners. Thus, OS is feasible in industrial practice.
In the literature the sensitivity of the optimal schedule (OS) to changes in the (forecasted) demands which is characteristic for a rolling planning environment is addressed—see for example Bredström et al. [35]. In a preliminary investigation this effect is analyzed for the real-world application. For this, OS is applied on the above explained different workloads with the parameter setting r = 0 (this means that just the jobs with a release date in the actual period are released (of course the entire workload contains the backlog as well)), with r = 1 (compared to r = 0 also demand in the following period is known) and with r = 2 (i.e., an additional period is regarded as well). Since mean tardiness is optimized, just this criteria is analyzed.
Table 2 contains the relative difference to r = 1: “+” means a higher value (worse) and “−” means a lower value (better). The results with r = 0 are significantly worse than the ones with r = 1. Moreover, the results for r = 2 are very close to the ones of r = 1. The high time pressure in Case 4 shows that a larger release horizon occasionally causes a decrease of the mean tardiness, but overall—i.e., after a full simulation—the number of tardy jobs is slightly smaller. Thus, a much higher runtime due to a larger release horizon is not beneficial and r = 1 is used for the demand scenarios.
The results by the priority rules and the optimal scheduling are shown in Figure 2. The values for T m e a n determines a sequence of rules, which is in accordance with the results in literature, like Voß and Witt [7], Raghu and Rajendran [28], Rajendran and Holthaus [29], Lawrence and Morton [36], and Engell et al. [27].
In accordance with the expectation (see Engell et al. [27]) CR + SPT delivers a small T M e a n at the expense of a higher T R M S and the opposite is true for SL/OPN. As said earlier, the first behavior is typical for a SPT-based rule, and the second for a slack-based rule. The other three rules, RR, local RM, and global RM, avoid large T M e a n and T R M S , respectively, which is in accordance with the results in the literature, but they do not always deliver the best value. Nevertheless, the rule RR combines the rules SPT and slack better than the CR + SPT rule. Further experiments indicate that the application of the exponential function on the slack in the (two versions of the) RM rule, partially modified by constants, uses the slack more effective than the other slack-based rules and delivers good results even if it is beneficial to prefer the job with the smallest processing time. However, this is not enough to ensure that both RM rules deliver better results than RR—indeed half of the figures for RR are better than the ones for RM local. The better processing time costing of RM global compared to RM local results in RM global always delivering the best results.

6. Conclusions

This paper presents an optimization model for a real world flow shop scheduling problem with specific restrictions, which are not covered by the restrictions in the classification of scheduling problems normally used in literature (see e.g., Brucker [21]). This optimization model is solved in a rolling planning environment (called OS) as at the company site. The best solution—i.e., real optimal solution—is achieved if all orders (of the entire simulation in our case) are known. In this case, such an optimal solution is nearly delivered by OS in a runtime which is acceptable for this company. So, this paper presents an application of a solver of linear optimization problems on a real-world problem. Baker [4] expects that such a procedure will be applied in the future more often.
Further studies indicate that in the general case (especially, the job shop problem) there is typically a relatively larger deviation between the schedule delivered by OS and the one to the (real) optimal solution—together with a strong deviation in the performance criteria. This is caused by a higher sensitivity (of the optimal schedule) to changes in the (forecasted) demands than in this study. As a consequence, the needed horizon of known (and unchanged) orders to eliminate this effect is longer. With tuning the material requirements planning the sensitivity of the optimal schedule to the uncertain demand is significantly reduced. Thus, this paper contributes to a robust scheduling in a rolling environment. An extension of this approach to the general job shop problem or the realization of other ideas, may be derived from the ones of Stadtler [37] who solved this problem for the single uncapacitated lot-sizing problem or a control of workload, for which, typically, a release procedure is used, are left to future investigations.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. Kurbel, K. Enterprise Resource Planning and Supply Chain Management: Functions; Business Processes and Software for Manufacturing Companies Springer Berlin: Berlin, Germany, 2013. [Google Scholar]
  2. Vollmann, T.E. Manufacturing Planning and Control Systems for Supply Chain Management, 6th ed.; McGraw-Hill Higher Education and McGraw-Hill (distributor): New York, NY, USA, 2010. [Google Scholar]
  3. Wolpert, D.H.; Macready, W.G. No Free Lunch Theorems for Search; Technical Report, 1997 No. SFI-TR-95-02-010; Santa Fe Institute: Sante Fe, NM, USA.
  4. Baker, K. Computational results for the flowshop tardiness problem. Comput. Indust. Eng. 2013, 64, 812–816. [Google Scholar] [CrossRef]
  5. Mouelhi-Chibani, W.; Pierreval, H. Training a neural network to select dispatching rules in real time. Comput. Indust. Eng. 2010, 58, 249–256. [Google Scholar] [CrossRef]
  6. Rajendran, C.; Alicke, K. Dispatching in flowshops with bottleneck machines. Comput. Indust. Eng. 2007, 52, 89–106. [Google Scholar] [CrossRef]
  7. Voß, S.; Witt, A. Hybrid Flow Shop Scheduling as a Multi-Mode Multi-Project Scheduling Problem with Batching Requirements: A Real-World Application. Int. J. Product. Econ. 2007, 105, 445–458. [Google Scholar] [CrossRef]
  8. Hall, N.G.; Sriskandarajah, C. A survey of machine scheduling problems with blocking and no-wait in process. Oper. Res. 1996, 44, 510–525. [Google Scholar] [CrossRef]
  9. Sundaramoorthy, A.; Maravelias, C.T. Modeling of storage in batching and scheduling of multi stage processes. Ind. Eng. Chem. Res. 2008, 47, 6648–6660. [Google Scholar] [CrossRef]
  10. Gupta, R.; Jatinder, N.D.; Stafford, E.F., Jr. Flowshop scheduling research after five decades. Eur. J. Oper. Res. 2006, 169, 699–711. [Google Scholar] [CrossRef]
  11. Gicquel, C.; Hege, L.; Minoux, M.; van Canneyt, W. A discrete time exact solution approach for a complex hybrid flow-shop scheduling problem with limited-wait constraints. Comput. Oper. Res. 2012, 39, 629–636. [Google Scholar] [CrossRef]
  12. Morton, T.; Pentico, D. Heuristic Scheduling Systems: With Applications to Production Systems and Project Management; Wiley: New York, NY, USA, 1993. [Google Scholar]
  13. Vallada, E.; Ruiz, R.; Minella, G. Minimising total tardiness in the m-machine flowshop problem: A review and evaluation of heuristics and metaheuristics. Comput. Oper. Res. 2008, 35, 1350–1373. [Google Scholar] [CrossRef]
  14. Wang, L.; Pan, Q.-K.; Tasgetiren, M.F. A hybrid harmony search algorithm for the blocking permutation flow shop scheduling problem. Comput. Indust. Eng. 2011, 61, 76–83. [Google Scholar] [CrossRef]
  15. Nawaz, M.; Enscore, E.E.; Ham, I. A heuristic algorithm for the m-machine, n-job flow sequencing problem. Omega 1983, 11, 91–95. [Google Scholar] [CrossRef]
  16. Framinan, J.M.; Leisten, R.; Rajendran, C. Different initial sequences for the heuristic of Nawaz, Enscore and Ham to minimize makespan, idletime or flowtime in the static permutation flowshop sequencing problem. Int. J. Product. Res. 2003, 41, 121–148. [Google Scholar] [CrossRef]
  17. Ronconi, D.; Henrique, L. Some heuristic algorithms for total tardiness minimization in a flowshop with blocking. Omega 2009, 37, 272–281. [Google Scholar] [CrossRef]
  18. Ronconi, D.P.; Armentano, V.A. Lower Bounding Schemes for Flowshops with Blocking In-Process. J. Oper. Res. Soc. 2001, 52, 1289–1297. [Google Scholar] [CrossRef]
  19. Ronconi, D.P. A branch-and-bound algorithm to minimize the makespan in a flowshop with blocking. Ann. Oper. Res. 2005, 138, 53–65. [Google Scholar] [CrossRef]
  20. Brucker, P.; Knust, S. Complex Scheduling; Springer Verlag: Osnabrück, Germany, 2011. [Google Scholar]
  21. Brucker, P. Scheduling Algorithms; Springer Verlag: Osnabrück, Germany, 2004. [Google Scholar]
  22. Kim, Y.-D. A new branch and bound algorithm for minimizing mean tardiness in two-machine flowshops. Comput. Oper. Res. 1993, 20, 391–401. [Google Scholar] [CrossRef]
  23. Gharbi, A.; Ladhari, T.; Msakni, M.S.; Serairi, M. The two-machine flowshop scheduling problem with sequence-independent setup times: New Lower Bounding Strategies. Eur. J. Oper. Res. 2013, 231, 69–78. [Google Scholar] [CrossRef]
  24. Chung, C.-S.; Flynn, J.; Kirca, Ö. A branch and bound algorithm to minimize the total tardiness for m-machine permutation flowshop problems. Eur. J. Oper. Res. 2006, 174, 1–10. [Google Scholar] [CrossRef]
  25. El-Bouri, A. A cooperative dispatching approach for minimizing mean tardiness in a dynamic flowshop. Comput. Oper. Res. 2012, 39, 1305–1314. [Google Scholar] [CrossRef]
  26. Chiang, T.-C.; Fu, L.-C. Rule-based scheduling in wafer fabrication with due date-based objectives. Comput. Oper. Res. 2012, 39, 2820–2835. [Google Scholar] [CrossRef]
  27. Engell, S.; Herrmann, F.; Moser, M. Priority rules and predictive control algorithms for on-line scheduling of FMS. In Computer Control of Flexible Manufacturing Systems; Joshi, S.B., Smith, J.S., Eds.; Chapman & Hall: London, UK, 1994; pp. 75–107. [Google Scholar]
  28. Raghu, T.S.; Rajendran, C. An efficient dynamic dispatching rule for scheduling in a job shop. Int. J. Product. Econ. 1993, 32, 301–313. [Google Scholar] [CrossRef]
  29. Rajendran, C.; Holthaus, O. A comparative study of dispatching rules in dynamic flowshops and jobshops. Eur. J. Oper. Res. 1999, 116, 156–170. [Google Scholar] [CrossRef]
  30. Rachamadugu, R.V.; Morton, T.E. Myopic Heuristics for the Single Machine Weighted Tardiness Problem; Carnegie-Mellon University: Pittsburgh, PA, USA, 1982. [Google Scholar]
  31. Vepsatainen, A.P.; Morton, T.E. Priority rules for job shops with weighted tardiness costs. Manag. Sci. 1987, 33, 95–103. [Google Scholar]
  32. White, K.P.J.; Cobb, M.J.; Spratt, S.C. A comparison of five steady-state truncation heuristics for simulation. In Proceedings of the 2000 Winter Simulation Conference, Orlando, FL, USA, 10–13 December 2000; pp. 755–760.
  33. Meketon, M.S.; Schmeiser, B. Overlapping Batch Means: Something for Nothing? In Proceedings of the 1984 Winter Simulation Conference, Dallas, TX, USA, 28–30 November 1984.
  34. Song, W.T. On the estimation of optimal batch sizes in the analysis of simulation output. Eur. J. Oper. Res. 1996, 88, 304–319. [Google Scholar] [CrossRef]
  35. Bredström, D.; Flisberg, P.; Rönnqvist, M. A new method for robustness in rolling horizon planning. Int. J. Product. Econ. 2013, 143, 41–52. [Google Scholar] [CrossRef]
  36. Lawrence, S.; Morton, T. Resource-constrained multi-project scheduling with tardy costs: Comparing myopic, bottleneck, and resource pricing heuristics. Eur. J. Oper. Res. 1993, 64, 168–187. [Google Scholar] [CrossRef]
  37. Stadtler, H. Improved rolling schedules for the dynamic single-level lot-sizing problem. Manag. Sci. 2000, 46, 318–326. [Google Scholar] [CrossRef]
Figure 1. Structure of the production line.
Figure 1. Structure of the production line.
Systems 04 00015 g001
Figure 2. Results by the priority rules and optimal scheduling for the real world application (a) for T M e a n and (b) for T R M S .
Figure 2. Results by the priority rules and optimal scheduling for the real world application (a) for T M e a n and (b) for T R M S .
Systems 04 00015 g002
Table 1. Routings for the real-world application in minutes.
Table 1. Routings for the real-world application in minutes.
Filter TypeStation 1Station 2Station 3Station 4Sum of Processing Times
ifof ifof
165515201095100
230050556015420425
3255125606775515522
42954524525915600614
5135195295313105730748
6753052025305705710
725528520521575820830
8255275195209230955969
950290250263290880893
1027030023524730011051117
Table 2. Relative differences to r = 1 with “+” means a higher value (worse) and “−“ means a lower value (better) for the six demand scenarios.
Table 2. Relative differences to r = 1 with “+” means a higher value (worse) and “−“ means a lower value (better) for the six demand scenarios.
OSCase 1Case 2Case 3Case 4Case 5Historical
r = 020.8%23.9%30.439.1%29.9%32.8%
r = 20%−0.01%−0.01%0.1%00%

Share and Cite

MDPI and ACS Style

Herrmann, F. Using Optimization Models for Scheduling in Enterprise Resource Planning Systems. Systems 2016, 4, 15. https://doi.org/10.3390/systems4010015

AMA Style

Herrmann F. Using Optimization Models for Scheduling in Enterprise Resource Planning Systems. Systems. 2016; 4(1):15. https://doi.org/10.3390/systems4010015

Chicago/Turabian Style

Herrmann, Frank. 2016. "Using Optimization Models for Scheduling in Enterprise Resource Planning Systems" Systems 4, no. 1: 15. https://doi.org/10.3390/systems4010015

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop