Optimisation-Single Machine Scheduling-Genetic Algorithm
Optimisation-Single Machine Scheduling-Genetic Algorithm
1, 2018, 101-110
Received: April. 26, 2018 Accepted: May. 24, 2018 Published: June 1, 2018
Abstract:
In traditional production systems, production is generally based on performance criteria such as total completion time, price and quality.
Energy consumption or environmental impacts of production systems are not often considered. This article deals with a scheduling problem
aiming to increase energy efficiency, which has been noticed by companies in recent years. A mathematical model is set up to minimize the
total energy consumption in a single machine production system. Genetic algorithm method is used to solve this problem. To prove the
efficiency of our model and algorithm, we use the sample problems in the reference paper. According to the test results, our model and
algorithm have been shown to reduce energy consumption by 50% compared to the algorithm in the reference paper.
Keywords:
Energy Consumption, Single Machine, Genetic Algorithm
1. Introduction
Nowadays, competition for energy sources is becoming more intense than previous decade because of the increase in
energy prices and non-renewable resources. Including production, the industrial sector consumes about half of the
total energy produced in the World (Zhang et al., 2016).
Global climate change, limited energy sources, reduction of dependence on fossil fuels and CO2 emissions require
that energy management in production systems be integrated into decision-making processes (Mikhaylidi et al.,
2015). In addition, changes in customer behavior towards greener products and new environmental regulations
contribute to the key role of the energy management strategy in production organizations (Shrouf et al., 2017).
Briefly, various approaches and solutions for energy efficiency in production systems have been started to be
developed in recent years. Measures have been taken to increase efficiency factor components or to avoid inefficient
components. Generally, energy efficiency studies in the literature can be classified under two categories. The first,
studies are aimed at reducing energy consumption through technological advances in production processes
(Neugebauer et al., 2011). The second is the efforts to reduce energy consumption by adjusting the managerial
parameters of the production process called energy efficient production planning. In comparison to technological
infrastructure investments to increase energy efficiency in manufacturing systems, energy efficient production
planning studies are becoming increasingly popular in practice. Because production planning studies usually do not
require large investments. Especially, there has been an increase in the number of scientific publications in this field
in the last decade (Biel and Glock, 2016).
In this study, it is aimed to develop an efficient mathematical model considering energy efficiency for production
systems. A suitable genetic algorithm is proposed for the energy efficient scheduling model.
101
Elif Tarakçı & Abdül Halim Zaim & Oğuzhan Öztaş
The outline of this study is as follows. In section 1, literature review is presented. In section 2, a single-objective
problem is proposed in a production system. In addition, an energy efficient model has been developed that
minimizes energy consumption in the single machine scheduling problem. In section 3 inproves genetic algorithm to
solve the model. In section 4, various problems were used to measure the computational performance of the model.
Finally in section 5, the results are discussed.
2. Literature Review
The first systematic approach to scheduling problems was introduced in the mid-1950s. From past to present,
thousands of articles have been published in the literature on different scheduling problems. (Allahverdi et al., 2008).
In the past, operational and planning decisions in production systems were primarily based on traditional measures
such as cost, quality, flexibility. (Vijayaraghavana and Dornfeld, 2010). The research on energy scheduling is limited.
(Zhang et al., 2016).
Mouzon et al. (2007) is based on the principle that energy consumption is performed by idle-running non-bottleneck
machines. For this purpose, they have developed operational methods that minimize the energy consumption of
production equipment. In other words, they aimed to reduce total energy consumption together with other
production planning targets. In addition, they have proposed a multi-objective mathematical programming model to
reduce the energy consumption and total completion time in the single CNC machine. As a result, when there is
non-bottleneck in the machine, turning on/off operation of the machine can be decreased the idle energy
consumption of the machine.
Mouzon and Yildirim (2008) proposed an NP-hard problem to minimize total energy consumption and total
tardiness. They developed a new greedy randomized meta-heuristic to solve the single machine problem. They used
analytic Hierarchical Process to find the feasible solution from non dominated solutions.
Fang et al. (2011) proposed a multi objective mixed-integer mathematical model with flow-shop scheduling problem
that minimizes makespan, carbon emissions and peak total power consumption.
Dai et al. (2013) have developed an energy-efficient scheduling model for flexible flow shop. A genetic-simulated
annealing algorithm is used to obtain the appropriate solution in the model. Experimental results have shown that
there is a conflicting between makespan and energy consumption.
Liu et al. (2014) have developed a model that aims to reduce total electricity consumption and total weighted
tardiness. The study focuses on the classical job shops in the manufacturing industry. Non-dominated sorting genetic
algorithm method is used to solve 10 * 10 job shop scheduling case study.
Lu et al. (2017) have developed a multi-objective scheduling problem of permutation flow shop that minimizes
makespan and total energy consumption. They used a hybrid multi objective backtracking search algorithm to solve
the problem. For this problem, a new energy saving scenario is presented extending the life of the machines.
Backtracking search algorithm is compared is the two well-known NSGA-II and MOEA/D methods. The results
show that the performance of the backtracking search algorithm method in the study was better.
Assume that the energy consumption per unit time is PI when the machine stays idle. The energy consumption for
turning on and turning off machine is Eon-off. The time for turning on and turning off machine is Ton-off. TBED
is defined as the minimum time of required for turning on/off machine.
Mathematically,
102
Design of a Genetic Algorithmic Approach for Reducing Energy Consumption in Single Machine
Production Systems
There are two important key factors in this problem. First, the job scheduling and start times of jobs (or completion
times) should be determined. Second, it is essential to decide whether to turn on and off the machine between two
consecutive jobs.
Parameters
Decision variables
ET = min ( PI ∑𝑛i=1 ∑𝑛j=1≠i (𝑆j − 𝐶i)) (1 − 𝑌ij) 𝑋ij + ∑ni=1 ∑nj=1≠i (Eon − off) Yij Xij ) (2)
Sj ≥ rj ∀𝑗 = 1,2, … , 𝑛 (5)
Cj = Sj + Pj ∀𝑗 = 1,2, … , 𝑛 (8)
Sj ≥ 0 ∀𝑗 = 1,2, … , 𝑛 (9)
In this model;
Equation (2) aims to minimize the total energy consumption of the machine. Equation (3) indicates that the
machine runs idle if the time between two consecutive jobs is smaller than TBED, otherwise the machine shuts
down. Equation (4) identifies that the sequence of consecutively processed jobs. Equality (5) implies that a job
can not start to be processed in the machine without coming to the production system. Equation (6) imposes that
the starting time of a job must be equal and greater to completion time of a preceding job. Equation (7) ensures
that each job is processed once on the machine. Equation (8) shows that the completion time of a job is equal to
the sum of the processing time and starting time. Equation (9) indicates that the starting time of each job is
greater than zero.
104
Design of a Genetic Algorithmic Approach for Reducing Energy Consumption in Single Machine
Production Systems
Chromosome structure, generation of the initial population, selection strategy, genetic operators and stopping
criterion affecting the performance of the genetic algorithm are explained below.
4.1. Coding
Alphanumeric or real digital coding rather than binary coding is prefered in scheduling problems (Elmas, 2016). In
this problem, each job is represented by an integer. Consecutive integers from 1 to N are generated for N jobs. Each
gene identifies a job. Each chromosome contains genes as the number of jobs. Each chromosome in the search
space gives a solution point.
Function value= Pı ∑ni=1 ∑nj=1≠i (Sj − Ci)) (1 − Yij) Xij + ∑ni=1 ∑nj=1≠i (Eon − off) Yij Xij (10)
Equality (10) represents the total energy consumption of the machine for processing of all jobs. This value consists
of two parts. The first section shows the energy consumption when the machine is idle. The second part calculates
the energy consumption for turning on/off of the machine.
Arbitrary two-job change operators are used in this paper. Two genes are randomly selected according to
determining mutation rate and these genes displace. In this way, new chromosomes are obtained.
4.7. Elitism
Elitism is a strategy for preserving the elite solutions in the evolutionary process. This operator can usually help to
speed up the convergence of genetic algorithms (Zhang and Chiong, 2015). The used elitism strategy is explained
below.
5. Computational Performance
In the literature, Liu et al. (2014) tried to minimize the total carbon dioxide emissions and the total completion time
with First Come First Served rule in a single machine manufacturing system. They achieved some feasible solutions
with NSGA-II method. We used data sets of three-jobs and five-jobs problems in the paper of Liu et al (2014) to
verify our proposed algorithm. We have created job sequences. We evaluated the performance of our model. We
compared solution results of our genetic algorithm and their NSGA-II outcomes. In addition, we considered the
delivery time of all jobs in this paper. Liu et al (2014) used the Ctcf = λ.Etec (λ=0.785 kgCO2/kwh ) formula to
convert energy values to total carbon dioxide emission values. We used same formula to convert total carbon
dioxide emission values to energy values.
Below is a comparative analysis based on the obtained solutions for these problems.
The machine must be switched off when both the on-off energy consumption and the on-off time of the machine
are less than the idle energy consumption and time between the consecutive two jobs. Otherwise, the machine
should not be turned off. According to the data, some feasible solutions were obtained as shown in Table 1.
S1 S2 S3 Y12 Y23 ET
106
Design of a Genetic Algorithmic Approach for Reducing Energy Consumption in Single Machine
Production Systems
Solutions (1) 0 40 60 1 0 8
S2 S1 S3 Y21 Y13 ET
Solutions (2) 40 50 60 0 0 0
S3 S1 S2 Y31 Y12 ET
Solutions (3) 60 80 90 0 0 0
S2 S3 S1 Y23 Y31 ET
Solutions (4) 40 60 80 0 0 4
S1 S2 S3 Y12 Y23 ET
Solutions (1) 10 40 60 0 0 16
S1 S2 S3 Y12 Y23 ET
Solutions (2) 10 40 60 1 0 12
S1 S2 S3 Y12 Y23 ET
Solutions (3) 10 50 60 1 0 8
S1 S2 S3 Y12 Y23 ET
Solutions (4) 40 50 60 0 0 0
Table 1 shows that; Solution (1) of the genetic algorithm and Solution (3) of NSGA-II (Liu et al., 2014) gives same
result value for same job scheduling. This result shows the success of our model and algorithm. In addition, We
achieved zero energy consumption values with different job sequences except First Come First Served rule in
Solution (2) and Solution (3).
In Table 4, we presented some feasible solutions of our algorithm. Solution (4) in our algorithm and Solution (5) in
NSGA-II (Liu et al., 2014) have with same job sequence. The value of solution (4) in our algorithm is better than
solution value Solution (5) in NSGA-II (Liu et al., 2014). We were able to reduce energy consumption by 50%. As a
result, it proves that our model can find much better solutions. Besides, we have created with various job sequences
except First Come First Served rule and found zero energy consumption in Solution (2). The our algorithm
succeeded to achieve a zero energy consumption value by creating an appropriate job sequence with different job
sequences except First Come First Served rule.
108
Design of a Genetic Algorithmic Approach for Reducing Energy Consumption in Single Machine
Production Systems
References
Allahverdi, A., Ng, C. T., Cheng, T. C. E., Kovalyov, M. Y. (2008), ‘’ A survey of scheduling problems with setup
times or costs’’, European Journal of Operational Research, 187, 985–1032.
Biel, K. and Glock, C. H. (2016), ‘’ Systematic literature review of decision support models for energy efficient
production planning’’, Computers & Industrial Engineering, 101, 243–259.
Dai, M., Tang, D., Giret, A., Salido, M. A. and Li, W. D. (2013), ‘’Energy-Efficient Scheduling for a Flexible Flow
Shop Using an Improved Genetic-Simulated Annealing Algorithm’’, Elsevier, Robotics and Computer-
Integrated Manufacturing, 29(5), 418–429.
Elmas, Ç. (2016), ‘’Yapay Zeka Uygulamaları’’, Seçkin Yayıncılık, Ankara.
Fadi Shrouf, S., Bing Gong, B., Joaquin Ordieres-Mer!e., J. (2017), ‘’ Multi-level awareness of energy used in
production processes‘’, Journal of Cleaner Production, 142, 2570-2585.
Fang, K., Uhan, N., Zhao, F., Sutherland, J. W. (2011), ‘’ A new approach to scheduling in manufacturing for power
consumption and carbon footprint reduction’’, Journal of Manufacturing Systems, 30, 234– 240.
Goldberg, D. E. (1989), ‘’Gnetic Algorithms İn Search, Optimization And Machine Learning’’, Addison Wesley
Publishing Company, USA.
Holland, J., H. (1975), ‘’Adaptation In Natural And Artıfıcıal Systems’’, MIT Press, USA.
Elif Tarakçı & Abdül Halim Zaim & Oğuzhan Öztaş
Liu, C. G., Yang, J., Lian, J., Li, W. J., Evans, S., Yin, Y. (2014), ‘’ Sustainable performance oriented operational
decision-making of single machine systems with deterministic product arrival time’’, Journal of Cleaner
Production, 85, 318-330.
Liu, Y., Dong, H., Lohse, N., Petroviç, S. and Gindy, N. (2014), ‘’An Investigation into Minimising Total Energy
Consumption and Total Weighted Tardiness in Job Shops’’, Journal of Cleaner Production, 65, 87–96.
Lu, C., Gao, ., Li, X., Pan, Q., Wang, Q. (2017), ‘’ Energy-efficient permutation flow shop scheduling problem using
a hybrid multi-objective backtracking search algorithm‘’, Journal of Cleaner Production, 144, 228-238.
Mouzon, G., Yildirim, M. B., Twomey, J. (2007), ‘’Operational methods for minimization of energy consumption of
manufacturing equipment’’, International Journal of Production Research, 45(18-19), 4247-4271.
Mouzon, G., and Yildirim, M. B. (2008), ‘‘A Framework to Minimize Total Energy Consumption and Total
Tardiness on a Single Machine A Framework to Minimize Total Energy Consumption and Total Tardiness
on a Single Machine’’, Wichita State University, International Journal of Sustainable Engineering.
Murata, T., Ishıbuchı, H., Tanaka, H. (1996), ’’ Genetic Algorithms For Flowshop Scheduling Problems’’,
Computers ind. Engng, 30(4), 1061-1071.
Neugebauer, R., Wabner, M., Rentzsch, H. and Ihlenfeldt, S. (2011), ’’Structure Principles of Energy Efficient
Machine Tools’’, CIRP Journal of Manufacturing Science and Technology, 4(2), 36–147.
Shrouf, F., Mere, J. O., Sanchez, A. G. and Mier, M. O. (2014) ‘‘Optimizing the Production Scheduling of a Single
Machine to Minimize Total Energy Consumption Costs’’, Journal of Cleaner Production, 67, 197–207.
Vijayaraghavan, A., and Dornfeld, D. (2010), ‘’Automated Energy Monitoring of Machine Tools’’, CIRP Annals -
Manufacturing Technology, 59(1), 21–24.
Yildirim, M. B. and Mouzon, G. (2012), ‘‘Single-Machine Sustainable Production Planning to Minimize Total Energy
Consumption and Total Completion Time Using a Multiple Objective Genetic Algorithm’’, IEEE
Transactions on Engineering Management, 59(4), 585–597.
Zhang, R. and Chiong, R. (2015), ‘‘Solving the energy-efficient job shop scheduling problem: a multi-objective
genetic algorithm with enhanced local search for minimizing the total weighted tardiness and total energy
consumption’’, Journal of Cleaner Production, 1-15.
Zhang, Z., Tang R., Peng, T., Tao, L., Jia, S. (2016), ‘’A method for minimizing the energy consumption of
machining system: integration of process planning and scheduling’’, Journal of Cleaner Production 137,
1647-1662.
110