Tinaporwal,+08 IJETMR19 A01 626
Tinaporwal,+08 IJETMR19 A01 626
1. Introduction
Job Shop Scheduling (JSS) problems with random processing times under various costs have been
considered by researchers for its subsequent costs of the uncompleted job on its due time, to
minimize the average value of its total costs. The general procedure of heuristic decision-making
rules is used in situations when several jobs are ready to be served on one machine [4-6]. Flow
Shop Scheduling (FSS) with random processing times has been studied by Singer [3] to minimize
the expected total weighted tardiness. Moreover, a simulation-based genetic algorithm for solving
a job shop with random processing times has been proposed by Yoshitomi [7] in order to minimize
the expected makespan. Yoshitomi and Yamaguchi [8] have enhanced this genetic algorithm by
applying a new cross over operator. In these two algorithms, solutions having very high frequency
through all generations are selected as good solutions. Tavakkoli-Moghaddam et al. [9] have also
considered a job shop with random operations, where the time difference between the delivery and
completion of jobs as well as related operational or idle cost of machines that must be minimized.
They have presented a hybrid method consisting of a neural network to generate an initial solution
and a simulated annealing algorithm to improve the quality of the initial solution. Some authors
have developed exact and heuristic algorithms for job shop scheduling problems with the
makespan or mean flow time criterion subject to random processing times, which can take any real
value between known lower and upper bounds [10-12]. Luh et al. [13] have presented a job shop
approach based on a combined Lagrangian relaxation and stochastic dynamic programming by
taking into consideration uncertain arrival times, processing times, due dates, and part priorities,
in order to achieve minimizing of expected job tardiness and earliness cost. Neumann and
Schneider [14] have proposed heuristics based on aggregate schedules for a job shop scheduling
problem with stochastic precedence constraints, where the expected makespan is to be minimized.
In the recent literature, two new criteria have been brought to the attention of researchers for their
consideration: robustness and stability [1]. Robustness means that schedule performance is still
acceptable when something unforeseen happens. However, Stability means that schedule does not
deviate significantly due to disruption and revision. In general, there are two methodologies to deal
with the uncertainty in a scheduling environment: proactive and reactive scheduling. Incorporating
the knowledge of uncertainty at the decision stage, proactive approaches focus on generating more
robust predictive schedules to minimize the effects of disruptions. On the other hand, reactive
scheduling algorithms are implemented at execution time to adjust the schedule according to the
real-time situation when the uncertainty is realized, or disruptions occur. This paper proposes a
proactive approach to generate a long-term initial schedule under uncertainty to jointly determine
the production planning and preventive maintenance to simultaneously optimize system bi-
objective of robustness and stability.
Zhiqiang Lu et al. [2] addressed the problem of finding a robust and stable schedule for a single
machine with availability constraints. The machine suffers unexpected breakdowns and follows
the Weibull failure function.
The mission of the scheduling process is to optimally allocate the suitable equipment to perform
the required jobs over a period to achieve the business goals. Therefore, many efforts have been
devoted to solve most optimal Job Shop Scheduling Problems (JSSP), as most of the researches
aimed at minimizing the maximum completion time. JSSP is an NP-hard problem; so, it is difficult
to find an exact solution in a reasonable computation time [16]. Number of optimization methods
have been developed to solve JSSP, Tabu Search [17, 18], Simulated Annealing [19, 20], Genetic
Algorithms [21, 22], Particle Swarm Optimization [23, 24], Ant Colony Optimization [25, 26],
differential evolution algorithm [27], Memetic Algorithm [28], Mathematical Programming [29,
30], and Goal Programming [31].
Genetic Algorithm has the advantage to solve scheduling problems. It can reach optimal or sub-
optimal solutions. It has gained the advantage of getting the global optimization solution in a huge
population.
Risk analysis in @RISK is known as a quantitative method that seeks to determine the probability
distributions of outcomes resulting from decisions. In general, the techniques in a @RISK risk
analysis encompass four steps:
1) Developing a Model. Define your problem or situation in an Excel model.
2) Identifying Inputs and Outputs. Determine uncertain inputs in the model, specify their
possible values with probability distributions and identify the important outputs you want
to analyze.
3) Analyzing the Model with Simulation. Run many scenarios with sampled values in each
one for the uncertain inputs, to determine the probability distributions of your outputs.
4) Deciding. Use the simulated results and personal preferences to make informed choices.
The first three steps of @RISK help in providing a powerful and flexible set of tools in Excel to
facilitate model building and risk analysis. The results generated by @RISK can then be used by
a decision maker to choose a course of action.
The aim of this paper is to present a job shop scheduling (JSS) optimization model under risk is
developed to minimize the makespan. The model has been built using the Microsoft Excel
spreadsheets and solved using @Risk.
The goal of this model is to Solve a JSS problem where spreadsheet-based commercial genetic
algorithm solver “@Risk” [32] is used to optimize the makespan function in below mentioned
Equation 4.
Classical Job Shop Scheduling Problems (JSSP) considers the allocation of n jobs to m different
machines or equipment. Each job has to undergo multiple operations in various equipment, with
its own set of processing times and routing characteristics. The processing time of each job on an
equipment Phj is known as well as the due date for each job Dj.
3. Model Formulation
Parameters
N: Number of jobs
M: Number of machines
Pji: Processing time for job j on m/c, j = 1, 2, …, N and i = 1, 2, …, M
Dj: Due date of job j, j =1, 2, …, N
SEQ: Processing sequence array
NUMT: No. of machines (tasks) for each job
NUMJ: No. of jobs per machine J
DISJ: Disjunction array.
The objective of this model is to minimize the makespan which has been defined in Equation 1.
3.2. Constraints
In this section, the results of the proposed model application are introduced. In consequence, the
model has been solved using @Risk optimizer which operates in an Intel® Core™ i3-2310M CPU
@2.10 GHz (3 GB of RAM). The GA parameters include; population size N = 50, number of
generations G = 40,000, probability of crossover Pc = 0.5, and probability of mutation Pm = 0.1.
To avoid doubt, it is meaningful to distinguish between the terms “trials” and “iterations” in the
RISK Optimizer process. The overall process involves a sequence of “trials,” where a given set of
adjustable cell values is tested on each trial. For the evaluation of the target cell (and the constraint
cells) for a trial, a standard @RISK simulation is run for a specified number of “iterations.” This
distinction helps in understanding why RISK Optimizer can take some time. For example, it might
require 1000 trials to converge to optimality, and each of these trials might require a 500-iteration
simulation. There will be a lot of computer calculation, especially for complex models.
As in traditional optimizers, constraints can be entered in RISKOptimizer. When the value of the
constrained cell does not change during a simulation, the constraint is called non-probabilistic.
Otherwise, it is called probabilistic. A probabilistic constraint is based on a statistic of the
distribution of the cell’s values, such as “the mean of A1 <= 100.” RISKOptimizer calculates the
statistic at the end of each simulation to decide whether the constraint is satisfied or not.
The model accuracy and capability are verified by solving and analyzing a 5J*4M problem.
The model inputs, processing sequences, and durations are assumed as shown in Tables 1.
Initially, the problem has been solved as a deterministic to set the base of comparison and
discussion for the stochastic solutions. The Gantt chart of the deterministic case is shown in Figure
1.
J1 J2 J3 J4 J5
In Figure 1, the dotted red line represents the critical path operations which include operations
O42, O43, O13, O23, O33, and O53.
It may be noticed in the Gantt chart that there is a slack time of 18 units of time after finishing the
second operation of the second job on the second machine. So that, the effect of changing the
processing time of this operation into stochastic for the optimal makespan will be studied.
The duration P22 is assumed to follow a uniform distribution among a minimum value 27, a
maximum value 33 and random value as shown in Figure 2.
Duration P22
Comparison with Uniform(27,33)
27.28 32.66
5.0% 90.0% 5.0%
4.7% 89.6% 5.7%
0.25
0.20
0.15
0.10
0.05
0.00
26
27
28
29
30
31
32
33
34
Figure 2: Duration distribution of job 2 on machine 2
Figure 3, shows operation finishing time in which it has a uniform distribution. As this operation
is not a critical one form those shown in Figure 1, the optimal makespan remains the same of about
92. It was in the deterministic case as shown in Figure 4.
0.20
0.15
0.10
0.05
0.00
37
38
39
40
41
42
43
44
Make Span1
Mean = 91.9986 (Best RISKOptimizer Trial)
92.00
5.0% 5.0%
120%
100%
80%
60%
40%
20%
0%
86
82
84
88
90
92
94
96
98
100
102
Figure 4: Makespan optimal distribution due to the uncertainty of job 2 duration on machine 2
0.30
0.25
0.20
0.15
0.10
0.05
0.00
17.0
13.5
14.0
14.5
15.0
15.5
16.0
16.5
17.5
18.0
18.5
Figure 5: Duration distribution of job 5 on machine 3
Figure 6 shows the operation finishing time in which it has a uniform distribution shape. As this
operation is one of the critical operations, the optimal makespan will not have a single value as in
the previous case but it will have a probabilistic distribution of uniform shape as shown in Figure
7.
0.30
0.25
0.20
0.15
0.10
0.05
0.00
90.0
90.5
91.0
91.5
92.0
92.5
93.0
93.5
94.0
Make Span 2
Mean = 91.9986 (Best RISKOptimizer Trial)
90.163 93.765
5… 90.0% 5.…
0.35
0.30
0.25
0.20
0.15
0.10
0.05
0.00
90.0
90.5
91.0
91.5
92.0
92.5
93.0
93.5
94.0
Figure 7: Makespan optimal distribution due to uncertainty of job 5 duration on machine 3
In this experiment, the processing times of all jobs are assumed to be stochastic and follow a
normal distribution. Since the normal distribution has two parameters, the standard deviation is
given as a ratio to the mean; the ratio of the standard deviation to the mean is known as the
variability and assumed to be 10%; N (µij, σij) where σij equals 10 % of µij.
Figure 8 shows the distribution of resulted optimal makespan by 10% variability. In addition,
Figure 9 depicts the correlation between the resulted makespan and all other uncertain processing
times in which it is obvious that the most correlated operations to the makespan are those of O53
and O42 which represent the first and last operations of the critical path.
103.27 108.54
5.0% 90.0% 5.0%
0.30
0.25
0.20
0.15
0.10
0.05
0.00
108
111
102
103
104
105
106
107
109
110
112
1.00
P53 0.16
P42
-0.08
-0.07
-0.06
0.05
-0.05
-0.04
-0.03
0.03
-0.01
0.01
0.01
0.01
-0.2
0.0
0.2
0.4
0.6
0.8
1.0
1.2
Coefficient Value
In Figure 10, the change in makespan mean across a range of uncertain processing times is studied
and presented. It is noticed that duration P53 has the greatest effect on the makespan which may
assure the last conclusion in Figure 9.
109
108
107
Make Span
106
P53
105
104
103
0%
100%
70%
10%
20%
30%
40%
50%
60%
80%
90%
Input Percentile%
Figure 10: Change in makespan mean Across Range of Input Values
5. Conclusion
The JSS optimization problem has been successfully solved to optimize the makespan under the
situation of the uncertainty of the processing times of all jobs.
A developed JSS optimization model has been built using the Microsoft Excel spreadsheets and
solved using @Risk solver. A set of four experiments have been conducted to solve the problem
Finally; the accuracy of the model and its effectiveness have been proven through the analysis of
the obtained results.
References
[1] S. Goren and I. Sabuncuoglu, "Robustness and stability measures for scheduling: single-machine
environment," IIE Transactions, vol. 40, pp. 66-83, 2008.
[2] Z. Lu, W. Cui, and X. Han, "Integrated production and preventive maintenance scheduling for a
single machine with failure uncertainty," Computers & Industrial Engineering, vol. 80, pp. 236-
244, 2015.
[3] M. Singer, "Forecasting policies for scheduling a stochastic due date job shop," International
Journal of Production Research, vol. 38, pp. 3623-3637, 2000.
[4] D. Golenko-Ginzburg, S. Kesler, and Z. Landsman, "Industrial job-shop scheduling with random
operations and different priorities," International journal of production economics, vol. 40, pp. 185-
195, 1995.
[5] D. Golenko-Ginzburg and A. Gonik, "Using “look ahead” techniques in job-shop scheduling with
random operations," International journal of production economics, vol. 50, pp. 13-22, 1997.
[6] D. Golenko-Ginzburg and A. Gonik, "Optimal job-shop scheduling with random operations and
cost objectives," International Journal of Production Economics, vol. 76, pp. 147-157, 2002.
[7] Y. Yoshitomi, "A genetic algorithm approach to solving stochastic job‐shop scheduling problems,"
International Transactions in Operational Research, vol. 9, pp. 479-495, 2002.
[8] Y. Yoshitomi and R. Yamaguchi, "A genetic algorithm and the Monte Carlo method for stochastic
job‐shop scheduling," International Transactions in Operational Research, vol. 10, pp. 577-596,
2003.
[9] R. Tavakkoli-Moghaddam, F. Jolai, F. Vaziri, P. Ahmed, and A. Azaron, "A hybrid method for
solving stochastic job shop scheduling problems," Applied mathematics and computation, vol. 170,
pp. 185-206, 2005.
[10] T.-C. Lai, Y. N. Sotskov, N. Y. Sotskova, and F. Werner, "Optimal makespan scheduling with
given bounds of processing times," Mathematical and Computer Modelling, vol. 26, pp. 67-86,
1997.
[11] T. Lai and Y. N. Sotskov, "Sequencing with uncertain numerical data for makespan minimisation,"
Journal of the Operational Research Society, vol. 50, pp. 230-243, 1999.
[12] T.-C. Lai, Y. N. Sotskov, N. Sotskova, and F. Werner, "Mean flow time minimization with given
bounds of processing times," European Journal of Operational Research, vol. 159, pp. 558-573,
2004.
[13] P. B. Luh, D. Chen, and L. S. Thakur, "An effective approach for job-shop scheduling with
uncertain processing requirements," IEEE Transactions on Robotics and Automation, vol. 15, pp.
328-339, 1999.
[14] K. Neumann and W. G. Schneider, "Heuristic algorithms for job‐shop scheduling problems with
stochastic precedence constraints," Annals of Operations Research, vol. 92, pp. 45-63, 1999.
[15] D. Alcaide, A. Rodriguez-Gonzalez, and J. Sicilia, "A heuristic approach to minimize expected
makespan in open shops subject to stochastic processing times and failures," International Journal
of Flexible Manufacturing Systems, vol. 17, pp. 201-226, 2005.
[16] M. R. Garey, D. S. Johnson, and R. Sethi, "The complexity of flowshop and jobshop scheduling,"
Mathematics of operations research, vol. 1, pp. 117-129, 1976.
[17] M. Dell'Amico and M. Trubian, "Applying tabu search to the job-shop scheduling problem,"
Annals of Operations research, vol. 41, pp. 231-252, 1993.
*Corresponding author.
E-mail address: jszahrani@ uqu.edu.sa