Abstract
In order to solve the problem of minimizing power cost and makespan with time-of-use electricity. A genetic algorithm based on individual concentration and similarity vector distance strategy is proposed. The proposed genetic algorithm overcomes premature convergence problem by keeping the fittest individual through computing individual concentration and similarity vector distance. Production power cost reduction is achieved by using right-shift local search algorithm. The effectiveness of the proposed algorithm is illustrated by comparing the proposed algorithm with other scheduling algorithms. The comparative experiments indicate the proposed algorithm has better performance on minimizing power cost as well as makespan.
Introduction
Most of manufacturing systems deal with job-shop scheduling problem. They are extensions of classical job-shop scheduling problems where a set of jobs need to be processed in a group of machines following different routes. Jobs have to be processed by one of the machines at each stage, and objective function is commonly to minimize the makespan. However, the manager should not only consider the makespan, but also the power costs.
Luo et al. use hybrid ant colony algorithm to solve hybrid flow-shop scheduling problem considering time-of-use electricity [1]. Tan et al. integrated response in power demand side with generation in power generation side to established joint optimization model based on global optimization for power cost [2]. Xie et al. used ant colony optimization algorithm for solving the short-term optimization scheduling problem of the cascaded hydroelectricity stations [3]. Besides, there are some researches about Time-of-Use (TOU) price to adjust process time between peak and off-peak period [4, 5, 6, 7]. Until now, there are a very few studies on job-shop scheduling considering TOU electricity price can be found.
Most of the manufacturing process is a multi-stage and there are multiple parallel machines, which belongs to job-shop scheduling problem. As early as 2004, Pfund et al. would prove that the job-shop scheduling problem about maximizing the number of completed product belongs to NP-hard problem [8]. Liu et al., with the minimum of power cost as objective function, established a mixed-integer nonlinear programming model, and a hybrid genetic algorithm (Memetic) is presented [9]. Jiang et al. propose a multi-objective flexible job-shop scheduling problem (FJSP) optimization model where power cost, makespan, processing cost and cost-weighted processing quality were considered [10]. References about energy consumption forecasting model for job-shop scheduling problem are proposed [11, 12, 13, 14, 15]. In summary, on one hand, only little literatures mention about energy consumption model of job-shop problem. On the other hand, traditional genetic algorithm is used to solve scheduling problems, but the traditional genetic algorithm has the problem of early convergence.
Problem definition
The proposed problem is a multi-objective job shop problem which can be stated as followed:
There are a set of jobs Within each job there is a set of operations which need to be processed in a specific order (known as Precedence constraints). Each operation can be processed on any machine and only one operation in a job can be processed at a given time.
In real life manufacturing management, idle machine will not shut down until all products have been processed. It will lead to a great power cost especially in power peak period under Time-of-Use (TOU) electricity price. TOU price means it charge difference electricity price depend on time. It may lead to different production cost. Figure 1 shows different price of electricity in each period of time. 9 pm to 7 am is the non-peak period (the price of electricity is 5.1 yuan per kilowatt hour). 7 am to 11 am and 5 pm to 9 pm is peak electricity (the price of electricity is 9.9 yuan per kilowatt hour). 11 am to 5 pm is the normal part (the price of electricity is 8.1 yuan per kilowatt hour). TOU price can be formulated as follows, where t represents time.
A distribution map of TOU price.
The mathematical model of scheduling problem is described as follows:
Sets:
Parameters:
Variables:
Objective function:
The objective function is divided into two sub-objective functions: makespan and power cost (PC).
The first objective is to minimize power cost (PC)
The second objective is to minimize the makespan
which is the completion time of the last job leaving the system.
All relevant constraints are as follows:
All machines and jobs are simultaneously available at time zero, and there is no machine breakdown. Machines at each stage cannot process operations corresponding to any other stages. The storage or buffer capacity between any two successive stages is unlimited. Each machine can process at most one job at a time. Preemption of jobs is not allowed, i.e., any commenced operation must be completed without interruptions. Each operation should start immediately after the previous operation is finished if at least one machine at the stage is available.
The GA-RS algorithm solves the scheduling problem by two steps instead of using multi-object genetic algorithm. The first step is to minimize the makespan to find the solution, and the second step is to minimize process energy costs (EP) by using right-shift strategy.
Encoding and initialization population
A chromosome that represent GA-RS solution is an array with
For example, a chromosome [1,2,1,3,2,1,3,2,3] represents 3 jobs processing list and the processing sequence is job1 in stage1, job2 in stage1, job1 in stage2, …, job3 in stage3. The machine processing matrix
Fitness function
In this case, we select the excellent individuals by calculating the probability of individual selection by using strategies based on concentration
The last probability based on concentration
On Eq. (6),
We utilize the following crossover strategy on two parent chromosomes to obtain two newly child chromosomes. The procedure of crossover is introduced as follows.
Step1: Radomly selecct two genes for two parents. The selected gene positions are called mapping section.
Step2: Two selected genes exchange. The mapping relationship is map each gene in one parent chromosome with the corresponding gene in another parent chromosome which is on the relative position.
Step3: Repair the offspring by replacing the reduplicate gene outside the mapping section according the mapping relationship.
Suppose two parents are (1, 2, 2, 3, 3, 1, 2, 3, 1) and (2, 1, 2, 3, 2, 1, 1, 3, 3), an example is given in Fig. 2 to show the main step of crossover operation.
Example of crossover operation.
This operator randomly chooses two gene from the individual and then exchanges their positions. Meanwhile a shift-left operation will be added. More solution space could be explored and the change of dropping in the local optimum could be reduced. Figure 3 illustrates the process of mutation.
Example of mutation operation.
The maximum number of generations is set to
Right-shift procedure
Some intelligence algorithms use local search methods to optimize solution results, which help to find good solutions more quickly by increasing search solution space. In this paper, we apply a right-shift procedure instead of local search methods to further improve the quality of solutions obtained by proposed genetic algorithm. The right-shift procedure is used to reduce power cost while remaining the same makespan. It can be observed that some operation can be delayed to power off-peak periods without affecting the makespan. This procedure can reduce the power cost by taking advantage of difference of TOU electricity price. The detail of right-shift procedure is described as followed.
Computational experiments and results
Experimental design
Impact factors affecting the performance of the algorithm are machines
The processing time is uniformly distributed, recorded as
Factors and levels of GA parameter tuning experiments
Factors and levels of GA parameter tuning experiments
ANOVA result in
Multiple comparisons of Pop in
Multiple comparisons of Cr in
Multiple comparisons of Mr in
Results of GA-RS algorithm parameter tuning
Estimated marginal means plot.
The performance of GA algorithm depends on the control parameters, namely, population size (Pop), crossover rate (Cr) and mutation rate (Mr). The factors and levels are listed in Table 1. The GA parameter tuning experiments are applied to test all 81 possible combinations of these factors by using the approach proposed by Ruiz and Maroto in 2006.
The experimental results are analysed by means of a multifactor analysis of variance (ANOVA) by using. statistic software SPSS 22.0. In the univariate model, makespan is the dependent variable. Pop, Cr and Mr are set as fixed factor. All the experiments were carried out at 95% confidence level.
Since all the parameters tunning experimental results are alike, one of experimental results carried on dataset 10 machines and 10 jobs for 10 stages (
makespan convergence pattern of proposed GA-RS algorithm.
Gantt charts of solution without right-shift.
An estimated marginal means is used to select to the best level of the factor for the proposed GA-RS algorithm. It is clearly shown in Fig. 7 that Cr and Pop have a significant impact on Makespan, and Pop
Power cost convergence pattern of proposed GA-RS algorithm.
Gantt charts of solution after right-shift.
In this section, we compare the relative effectiveness of the proposed GA-RS algorithm with traditional genetic algorithm. Firstly, we introduce the strategy of this computational evaluation.
Since we attempt to convert the multi-objective optimization problem into single-objective optimization problem, the GA-RS algorithm is divided into two steps. The first step is to optimize the makespan of JSP problem, and the second step is to optimize the power cost of machine by using right-shift strategy. The experimental is carried on
In the frist step evaluation, Fig. 5 demonstrates the makespan convergence pattern of proposed GA-RS algorithm. With the increasing of generation, the makespan is steadily on the decrease. The convergence stops at generation 48 and the makespan is reduced from 256 to 194. Figure 6 denotes the Gantt charts of solution without right-shift.
In the second step evaluation, Fig. 7 represents the power cost convergence pattern of right-shift strategy. It can be observed that right-shift procedure just delayed the release time of jobs without changing the completion time, in which reducing power cost by adjusting process time in power off-peak period. Figure 8 denotes the Gantt charts of solution after right-shift.
In this section, the performance of proposed GA-RS algorithm is evaluated we compare our proposed GA-RS algorithm with traditional genetic algorithm. Figures 6 and 8 demonstrate the difference of Gantt charts before right-shift procedure and after right-shift procedure. It can be observed that right-shift procedure just delayed the release time of jobs without changing the completion time, in which reducing electric energy consumption by adjusting process time in power off-peak period.
In order to further demonstrate the validity of proposed GA-RS algorithm, we make a comprehensive assessment of job-shop scheduling problem with different experimental data as practical application experiments. The proposed GA-RS algorithm compares with traditional multi-objective genetic algorithm. The traditional multi-objective genetic algorithm converts multi-object optimization problem into single-objective optimization problem, by using relative weights
Comparison of two algorithm with different instances
Comparison of two algorithm with different instances
All the algorithms are coded in Matlab R2012b. An intel Core i5 2.30 GHz CPU computer with 4 GB RAM is used to russn the experiments. The performance of proposed algorithm was evaluated by makespan and power cost, and the experimental results are shown in Table 7, some conclusions can be obtained from Table 7.
When the data scale is small, there are little difference between multi-objective genetic algorithm and GA-RS algorithm. However, with the increasing of data scale, our proposed algorithm outperform than the multi-objective genetic algorithm. It can be explained that when the data scale increase, the idle time of jobs will also increase, which provide the opportunity for right-shift procedure to adjust the process time in power off-peak period to reduce electricity energy cost.
In this paper, we begin the research of minimizing power cost and makespan on job-shop scheduling problem. The problem is formulated by a multi-object optimization of power cost and makespan. For solving this problem, we develop an a genetic algorithm based on individual concentration and similarity vector distance strategy in which a right-shift procedure is applied to adjust off-peak period. The results are as follows.
In terms of job and machine combination, under the same power cost proportion, the power cost can be reduce by increasing machine numbers. In terms of power cost proportion, under the same job and machine combination, the power cost can be reduce by increasing power cost proportion which means more efficient machine are used.
In the future research, there is a need to investigate in several important directions. Firstly, the solutions of the proposed GA-RS approach are encoded only job sequence and machine assignment in a small portion of the search space. Therefore, different solution encoding strategy can be considered for further expand searching space. Secondly, the multi-objective scheduling algorithm may be further improved. The study deals with two objective functions with coefficient. How to make a tradeoff between power cost and makespan is still an open question.
Footnotes
Acknowledgments
This work was supported by Natural Science Foundation of Guangdong Province (no. 2015A030310 340), Science Technology Planning Project of Guangdong Province (no. 2016B010126006, no. 2017A040405058), and the New PearlRiver Star Program of Guangzhou City (no. 201610010035).
