• No results found

Hybrid Fruit Fly Algorithm Based on Bi objective Job shop Scheduling

N/A
N/A
Protected

Academic year: 2020

Share "Hybrid Fruit Fly Algorithm Based on Bi objective Job shop Scheduling"

Copied!
7
0
0

Loading.... (view fulltext now)

Full text

(1)

2018 International Conference on Information, Electronic and Communication Engineering (IECE 2018) ISBN: 978-1-60595-585-8

Hybrid Fruit Fly Algorithm Based on Bi-objective Job-shop Scheduling

Yue-xia ZHANG

*

, Sheng-wang YIN and Jia-cheng JIN

School of Information and Communication Engineering, Beijing Information Science & Technology University, Beijing, China, 100101

*Corresponding author

Keywords: Job-shop, Hybrid step, Global collaboration mechanism, Pareto optimal solution.

Abstract. Job-shop scheduling is one of the most important problems in workshop scheduling and is significant for improving production efficiency. This paper proposes a hybrid fruit fly algorithm based on bi-objective job-shop scheduling. Based on the existing fruit fly optimization algorithm, the paper presents a hybrid step-size olfactory search method to improve search efficiency. It uses the global collaboration mechanism to increase diversity and cooperation of the fruit fly population, to avoid falling into the local optimum and escape premature convergence, and to make the algorithm have more opportunities to jump away from the local extrema. This paper proposes the external essence of a library evolution strategy based on the crowding-distance approach to objectively determine the multi-objective fitness value, and strategically guide the hybrid fruit fly algorithm to evolve to the Pareto fronts. The simulation results show that the algorithm is simple and has strong global optimization ability for effectively solving the bi-objective job-shop scheduling problem.

Introduction

As an abstract model with many practical production-scheduling problems, job-shop scheduling is a typical NP-hard complex optimization problem [1]. In the actual production process, most job-shop scheduling problems are optimized combinations and multiple objective decision-making methods. Therefore, it is of great significance for research on multi-objective optimization in a job-shop.

(2)

optimization algorithm to solve the multi-target job-shop scheduling problem has gradually gained wider attention from both academia and engineering professionals.

The fruit fly optimization algorithm is a kind of swarm intelligence optimization algorithm designed for mimicking the foraging process of a fruit fly [11][12]. The algorithm simulates the olfactory and visual search behavior of fruit flies during foraging: due to their keen sense of smell and vision, fruit flies approach food by constantly updating their positions. This optimization mechanism can be regarded as repeated application of multi-operator operations to the fruit fly population, ceaselessly replacing poor solutions with better results, and eventually allowing the fruit fly population to find the corresponding feasible solution set containing the most optimal or approximate solutions. Compared with other swarm intelligence optimization algorithms, this optimization has characteristics such as a simple process, fewer parameters, stronger robustness, easier to understand, and implementation on a computer; however, it needs to be improved on the issue of easy prematurity. Because a fruit fly optimization algorithm has shown good optimization performance in many applications, it was introduced to solve production-scheduling problems. However, there are relatively few studies applied to job-shop scheduling and fewer studies on the combination of bi-objective job-shop scheduling problems. Therefore, this paper designs a hybrid fruit fly algorithm based on bi-objective job-shop scheduling.

The proposed algorithm is a hybrid step-size olfactory search based on the fruit fly optimization algorithm, which improves search efficiency. The algorithm’s global collaboration mechanism is used for increasing the diversity of the population and cooperation of the fruit fly population to ensure that the algorithm has better prospects so that it can escape from the local extremum to prevent easy prematurity and avoid falling into the local maximum. In addition, it proposes the Euclidean close degree based on the entropy weight of each sub-target as the fitness value allocation strategy, which can objectively determine the multi-objective fitness value and guide the hybrid fruit fly algorithm to evolve into Pareto fronts.

Mathematical Model of Job-shop Scheduling for Double-object Job

General requirements for job-shop scheduling problems[13]: n workpieces have m processes that are processed on m machines. The processing time of workpiece i on machine k is fixed, and the priority of workpiece processing is not considered. Notably, only one workpiece is machined on one machine, and the process is not interrupted. The buffer capacity between machines is infinite. Let Pi k, denote the machining time of workpiece i on machine k, and Ci k, denotes the length of time to complete the machining of workpiece i on machine k. Overall, the job-shop scheduling problem should meet the following constraints.

, , (1 )

i k i k ihk ih

CPMaC . (1)

, , (1 )

j k j k ijk ik

CPMxC . (2)

, 0

i k

C  . (3)

1,if machine machinings workpiece earlier than machine =

0, else

ihk

h i k

a 

 . (4)

1,if workpiece is machined earlier than workpiece on machine

0, else

ijk

i j k

x  

 . (5)

(3)

of the same work process has the order; equation(2) represents the machine’s constraint conditions, namely the same machine processes only one working order at a time; equation(3) represents the completion time variable approximately. Equation(4) indicates the value of the indication variable, and equation(5) shows the indication coefficient.

Overall, the job-shop scheduling problem differs according to the actual production situation. There are multiple optimization objectives: minimizing the maximum completion time of the workpiece, total idle time of the machine, total task delay time, maximum inventory capacity, and total process time. This paper aims to find a process-scheduling scheme for each process on the machine, to minimize the maximum completion time of the workpiece, and minimize total idle time of the machine under constraint conditions. In this paper, the above two sub-objectives are selected to solve the multi-objective optimization scheduling problem. The basic mathematical model for the multi-objective job-shop scheduling problem is described as follows:

1 2

min ,

Yf f . (6)

The mathematical model of each sub-target is as follows: 1) Maximum completion time of the workpiece

Cmax

1 max i| 1, 2, ,

fC in . (7)

2) Total idle time of a machine

2 1 n

i i

i

f C r

 . (8)

Bi-objective Job-shop Scheduling with Hybrid Fruit Fly Algorithm

Coding Method and Population Initialization

Based on the job-shop's hybrid fruit fly optimization algorithm, each scheduling scenario represents one Drosophila individual. Each scheduling scheme uses process-based coding rules, i.e., each scheduling scheme consists of NM elements, which represent the sequence of a process. For example, one of the scheduling solutions of the three workpieces multiplied by three machines is

121331223, and its processing sequence is

J1,1,J2,1,J1,2,J3,1,J3,2,J1,3,J2,2,J2,3,J3,3

. This sequence indicates that

the first process is performed on workpiece 1, followed by the first process of workpiece 2, and then the second process of workpiece 1, which is performed sequentially until process 3 of processing workpiece 3 is completed. Therefore, it can be decomposed into a scheduling method when calculating the following goals. In addition, individuals in the initial population of Drosophila are generated in a random manner.

Mixed-step Olfactory Search Strategy

This paper focuses on the discrete shop-scheduling problem. The solution for this scheduling problem is relatively wide. For getting an optimal solution, it is difficult to achieve a single one-step strategy. Therefore, this paper proposes a mixed-step olfactory search strategy. The mixing step is to generate a variety of step sizes during the iteration of the fruit fly algorithm and to retain the newly generated

Drosophila individuals at a certain probability.

The hybrid step-search strategy produces a variety of step numbers in each iteration because encoding is based on process-based coding, so the step size is generated based on the sequence of the processes. In the mixed-step search strategy, S location of each fruit fly individual in the Drosophila

(4)

comparing fruit flies, the result is removed if it less than a certain probability and retained if the probability is higher.

In the mixed search strategy, S stands for the position selected in the individual encoding of

Drosophila, f represents the set probability, and K represents the number of all the two-two combinations in S. A Drosophila individual is taken as an example to illustrate the whole search process:

(1) Order k=0;

(2) In S, a new fruit fly individual is obtained by selecting two numbers without destroying the sequence of processes, and the target values are calculated. K is saved according to the probability of

f, and 1 is added to the fly;

(3) When k<K, repeat step 2, retain the new Drosophila individual, and search when k=K ends.

Global Collaboration Mechanism

This paper uses the global collaboration mechanism [14] to increase diversity across the Drosophila

population, avoid falling into the local optimum, and to increase cooperation between the Drosophila

populations.

External Essence of Library Evolution Strategy Based on Crowding Distance

When using the fruit fly algorithm to solve multi-objective job-shop problems, it is necessary to consider the balance between global and local search capabilities while pursuing solution efficiency for assuring comprehensiveness of the solution[15]. In the multi-objective fruit fly optimization algorithm, although olfactory search based on random probability is introduced, the possibility of falling into a local optimum exists. In the multi-objective fruit fly optimization algorithm, the quality of the external essence library directly affects the overall optimization effect. Adjusting the solution of the external essence library ensures the diversity of Pareto optimal solution sets. Therefore, this paper proposes a crowding distance strategy. By calculating the crowding distance of Drosophila individuals in the external essence library, Drosophila individuals are searched for in relatively sparse regions to increase the diversity of the Pareto solutions; in turn, this makes the algorithm locally searchable. Thus, global search reaches a dynamically balanced state.

Figure 1 is the method for calculating crowding distance. Suppose there are two small targets f1

and f2, D i

 

dis represents the crowding distance of individuali , D i n

 

. represents the value of

individual i on a small target n with n

f f1, 2

. The crowding distance calculation formula for individual i is as follows:

 dis

 1 . 1  1 . 1

 1 . 2  1 . 2

D iD ifD ifD ifD if . (9)

The size of the crowding distance that is calculated based on the above formula sorts the

Drosophila individuals from big to small, and removes the non-dominated solutions with smaller crowding distances from the elite database to maintain the original size of the elite library.

i i+1 i-1

f1

[image:4.595.241.361.629.737.2]

f2

(5)

Algorithm Flow

This paper aims to solve a bi-objective optimization problem. Based on this, a bi-objective fruit fly optimization algorithm is designed. A mixed-step search strategy was introduced in the algorithm, which increased the possibility of fruit fly search. A global collaboration mechanism is introduced to avoid optimizing optimization into the local optimum.

The selection operation of the dual target fruit fly optimization algorithm introduces the Euclidean

closeness based on the entropy weight of each sub-target as the fitness value allocation strategy. The flow in Figure 2 is shown as:

Initialization algorithm parameters

Calculate the fitness value of individuals in Drosophila

Determine the individual essence and enter the elite database

Olfactory search strategy based on random probability

Whether it reaches the number of iterations

Evaluation of newly generated fruit fly populations

Output Essence Drosophila Individual

Yes

No

Figure 2. Multi-objective fruit fly algorithm flow figure.

Simulation

Simulation examples in this paper were tested using the international standard job-shop scheduling problems, including FT (FT06, FT10), LA (LA26, LA27, and LA28) and ABZ (ABZ5, ABZ6, ABZ7, and ABZ8). The goal of optimization is to minimize the maximum completion time for all workpieces and to minimize the total flow time for all artifacts, and to compare with the intensity Pareto

evolution algorithm. The parameter setting of this algorithm is as follows: take the population size as the maximum number of iterations maxgen = 100.

In order to compare the performance of the algorithm, this paper uses the following two quantitative indicators:

(1)Pareto optimal solution number

This indicator represents the ability of each algorithm to search for optimized solutions. The number of searched optimization solutions can reflect the search ability of this algorithm. Table 1 is the experimental result.

(2) C (A, B)

This indicator can measure the difference in the performance of two algorithms. It is defined as

,

 

b B: a A a, b

C A B

B

   

 , and C(A, B) represents the percentage of the optimal solution of B

algorithm that is dominated by A algorithm in B algorithm. Table 2 is a comparison of the C indicators of the two algorithms, where B represents the algorithm and S represents the intensity Pareto

(6)

Table 1. Number of Pareto optimal solutions obtained by two algorithms.

Problems algorithm of this paper

SPEA algorithm

FT06 3 2

FT10 4 3

LA26 7 8

LA27 6 5

LA28 6 6

ABZ5 6 5

ABZ6 7 5

ABZ7 6 4

ABZ8 9 7

From Table 1, it can be seen that for the two test problems LA26 and LA28, the number of Pareto

optimal solutions obtained by the algorithm search is less than or equal to the Strength Pareto Evolutionary Algorithm (SPEA), respectively. For testing other problems, the algorithm obtains the

Pareto most. Number of optimal solutions is greater than that of the SPEA, and it can be concluded that the ability of the algorithm to search for Pareto optimal solutions is better than that of the SPEA.

Table 2. Contrast results between algorithms based on index C.

Problems C(S,B) C(B,S)

FT06 0.0154 0.0303

FT10 0.0000 0.8000

LA26 0.1856 0.5617

LA27 0.1745 0.4026

LA28 0.1236 0.3568

ABZ5 0.2118 0.0012

ABZ6 0.0789 0.2365

ABZ7 0.0627 0.6953

ABZ8 0.0364 0.2302

From Table 2 it can be seen that among all the problems tested, the C(S, B) of the majority problem is smaller than C (B, S), indicating that the algorithm proposed in this paper is obviously superior to the SPEA. Among these problems, C(S, B) is significantly smaller than C(B, S), such as C(B ,S)-C(S, B)=0.800 in the FT10 problem and C(B, S)-C(S, B)=0.6326 in the ABZ7 problem. In the ABZ8

problem, C (B, S)-C(S, B) =0.1938. Thus, it can be concluded that the performance of the algorithm proposed in this paper is obviously better than that of the SPEA.

Summary

The job-shop scheduling problem is a typical combinatorial optimization problem and is a recognized

(7)

Acknowledgement

This research was financially supported by theNational Natural Science Foundation of China (No. 5133403, No.61473039).

References

[1]Garey M R, Johnson D S, Sethi R, The Complexity of Flowshop and Jobshop Scheduling, Mathematics of Operations Research.1(2) (1976) 117-129.

[2]Yong-Chao Zhang, Xin-Yu Shao. Job shop scheduling theory and algorithm, Publishing House of Huazhong University of Science and Technology, 2014.

[3]Sinha A, Saxena D K, Deb K, et al. Using objective reduction and interactive procedure to handle many-objective optimization problems, Applied Soft Computing. 13(1) (2013) 415-427.

[4]Lu-Qiao Fan, Hui-You Chang, Xu-Dong Zhu. An improved job shop scheduling algorithm and its implementation, Computer Integrated Manufacturing Systems. 11(5) (2005) 673-677.

[5]Tao Wang, Yi-Li Fu. Application of an improved genetic algorithm in job shop scheduling, Computer Integrated Manufacturing Systems. 8(5) (2002) 392-395.

[6]Lei D. A Pareto archive particle swarm optimization for multi-objective job shop scheduling, Computers & Industrial Engineering. 54(4) (2008) 960-971.

[7]Sha D Y, Lin H H. A multi-objective PSO for job-shop scheduling problems, Expert Systems with Applications. 37(2) (2010) 1065-1070.

[8]Qian B, Wang L, Huang D X, et al. Scheduling multi-objective job shops using a memetic algorithm based on differential evolution, International Journal of Advanced Manufacturing Technology. 35(9-10) (2008) 1014-1027.

[9]Xiao-Tao LI, Chong Peng. Research on job shop scheduling problem based on hybrid multi-agent genetic algorithm, Journal of Beijing University of Aeronautics and Astronautics. 43(2) (2017) 410-416.

[10]Wen-Peng Zhang, Xing Wang. Application of improved bat algorithm in job shop scheduling problem, Computer Engineering and Applications. 53(8) (2017) 137-140.

[11]Pan W T. A new Fruit Fly Optimization Algorithm: Taking the financial distress model as an example, Knowledge-Based Systems. 26(2) (2012) 69-74.

[12]Yong Zhang, Shu-Fa Xia, Dong-Sheng Tang. Simulation study of fruit fly optimization algorithm for solving multimodal function, Journal of Jinan University Natural Science & Medicine Edition. 35(1) (2014) 82-87.

[13]Dong-Juan Xue, Xi-Long Yin, Ying PAN, Research on discrete manufacturing workshop layout optimization based on flexible job scheduling, Manufacturing Automation. 16 (2015) 68-72.

[14]Xiao-Long Zheng, Ling Wang. Order based fruit fly algorithm for stochastic resource constrained project scheduling problem, Control Theory & Applications. 32(4) (2015) 540-545.

Figure

Figure 1. Formula of crowding distance.

References

Related documents

 Implementation  requires   learning  fundamental  socket  programming  and  client-­‐server  communication,  including  flow   control  and  marshalling  and

Od kada se vode sluţbene statistike u Republici Hrvatskoj moţe se s većom preciznošću pratiti kretanje sigurnosti prometa na hrvatskim cesta što omogućuje

Resources that help meet the pressures and demands faced at work include personal character- istics such as coping skills (for example, problem solving, assertiveness, time

Coca-Cola Bottling Indonesia, Bawen, Jawa tengah yang telah memberikan kesempatan kepada penulis untuk melakukan praktek kerja serta memberikan pengarahan, bimbingan dan

Furthermore, on the cloud automated testing frameworks that used Swarm Intelligence Algorithms such ACA and BCO were able to produce significant reduction in the time required

On a narrower front, in another primary school, the influence of LftM could be seen in participants’ involvement in wider leadership roles in the school, with the head and

quality, individual water concerns and experiences, alternative water use, testing and treatment of public tap water, and current sources of information on drinking

Fig.8: Percent release Vs square root time plots of different formulations of Venlafaxine in combination with HPMC and Sod CMC, Commercial... Sowmya C et