• 沒有找到結果。

CHAPTER 4 The Proposed Algorithm

4.8 An Example

In this section, an example is given to illustrate the proposed scheduling algorithm.

This is a simple example to show how the proposed algorithm can be used to find the scheduling with the minimum total tardiness under the mold constraint. Assume a scheduling requirement to be solved is that eight jobs are assigned on three machines to process while using four molds. Table 4.7 shows the profiles of the eight jobs to be scheduled. Table 4.8 shows the profiles of the four molds and table 4.9 shows the

Table 4.7 The property of the eight jobs

Job 1 2 3 4 5 6 7 8

Processing Time 5 4 6 4 7 3 6 4

Mold 3,4 2,3,4 1,4 1,3 1,2 1,2,4 2,3 3

Table 4.8 The amount of each mold

Mold 1 2 3 4

Number of molds 1 2 2 1

Table 4.9 The adoptable molds for each machine

Machine A B C

Adoptable molds 1, 3 1, 3, 4 2,3,4

STEP 1: P individuals are randomly generated as the initial population according to the

mentioned encoding scheme. Each individual thus represents a possible schedule. For example, assume p is set at six for simplicity. Assume the six initially generated individuals are shown in Table 4.10.

STEP 2: Adjust the individuals by the designed adjustment operators for improving the

structures of chromosomes. The result is shown in Table 4.11.

Table 4.10 The six initial chromosomes in the example

ID Chromosomes

C1 4A1-7B3-3C4-1A3-8B3-6C2-5B1-2A3 C2 6A1-1B4-2C3-5A2-4C3-7B3-8C3-3C4 C3 8A3-3B4-5C2-1A3-4B1-2C3-7A3-6B1 C4 2A3-6B4-4C2-7B3-8A3-3C4-1A3-5B1 C5 1A3-3B1-7C2-4A3-2B4-5C2-8A3-6A1 C6 3A1-1B4-7C2-4B3-5A2-6C4-2B4-8C3

Table 4.11 The improved chromosomes by the designed adjustment operators

ID Adjusted Chromosomes

C1 4A1-1B3-5C2-7A3-8B3-6C2-3B4-2A3 C2 6A1-1B4-2C3-5A2-4C3-7B3-8C3-3C4 C3 8A3-3B1-5C2-1A3-4B1-2C3-7A3-6B1 C4 7A3-6B1-5C2-4B1-8A3-2B3-3C4-1A3 C5 1A3-3B1-7C2-4A3-5B1-2C4-8A3-6B1 C6 3A1-1B3-4C2-6C2-2B3-5A1-8C3-7B3

STEP 3: The fitness value of each chromosome is then calculated for the makespan

schedule. Take chromosome C1 as an example. The chromosome C1 is shown in Figure 4.14. The makespan of chromosome C1 is calculated as 21. The fitness values of all the chromosomes in the population are calculated with their results shown in Table 4.12.

Figure 4.14 The schedule presented by chromosome C1

Table 4.12 The fitness values of all the chromosomes in the population

ID L

C1 21

C2 24

C3 18

C4 19

C5 19

C6 18

STEP 4: Execute the adopted crossover operation on the population. Assume that the

two chromosomes C1 and C2 are randomly chosen by the crossover operator to

generate offsprings. Assume that the crossover point a is randomly set at 1,

STEP 5: The reverse mutation is executed to generate possible offspring. Assume that

the chromosome C5 is selected to execute the mutation operator. The following offspring chromosome is generated as follows.

The selected chromosome:

C5: 1A3-3B1-7C2-4A3-5B1-2C4-8A3-6B1 The chromosome generated from mutation:

C5t’:6B1, 8A3, 2C4, 5B1, 4A3, 7C2, 3B1, 1A3

STEP 6: The offspring chromosomes are adjusted by the designed adjustment operator.

Assume that there are six newly generated offspring chromosomes reproduced from STEP 4 and STEP 5. The newly generated offspring chromosomes are shown in Table 4.13 and their fitness values are then evaluated.

Table 4.13 The generated offspring chromosomes

ID Newly generated chromosomes L

C1t’ 4A3-2B4-5C2-1A3-6B4-3B4-7C3-8A3 16

STEP 7 to 9: The best chromosomes are selected as the next generation. The same

procedure is then executed again until the termination criterion is satisfied.

The best chromosome in the last generation is then outputted as the best scheduling result.

CHAPTER 5

Experimental Results

This chapter describes the experiments that were made to show the performance of the proposed GA-based algorithm for scheduling on unrelated parallel machines with the mold constraints. The following Table 5.1 shows the environment of the given experiments. Three parameters are considered to define the problem, number of jobs, number of machines, and number of molds. The experiments show the comparison of the proposed GA-based scheduling algorithms with and without the adjustment operators.

Table 5.1 The environment of the given experiments CPU Intel(R) Core(TM) i5-3450 @3.10GHz 3.50GHz

RAM 8.0 GB

OS Microsoft windows 7 (64 bits) Program tools Microsoft visual C#

Some related parameters for the proposed GA-based scheduling algorithm are shown in Table 5.2 as follows.

Table 5.2 The parameters for the proposed GA-based scheduling algorithm

Generation 100

Population 50

Mutation probability pm 0.03

Setup time 5

Since it is difficult to find a proper real-world dataset to exam the proposed scheduling algorithm in the following experiments, the synthetic datasets are thus considered as being adopted in the experiments. For this reason, a schedule dataset generator is then made to produce the synthetic datasets of the following experiments.

A screen shot of the schedule dataset generator is shown in Figure 5.1. The properties of the synthetic datasets can be set such as the attributes of a project, the mutation modes, and the attributes of machines, jobs and molds.

Figure 5.1 The schedule dataset generator

The experiments are implemented by Microsoft Visual C#, and the screen shot of the scheduling program executing our proposed scheduling algorithm and the simple GA without the adjustment operators is shown in Figure 5.2.

Figure 5.2 The screen shot of the scheduling program after the running the proposed algorithm

In the first experiment, the job numbers are set at 20, 40, 60, 80 and 100, the machine number and the mold number are both set at 10. A set of molds between one to eight and the respective processing time are then randomly assigned to each job. Both methods are run 100 times and their makespan are kept. The averages of the makespan of the two GA-based scheduling algorithms for different numbers of jobs are shown in Figure 5.3.

Figure 5.3 The average makespan of the schedules by the two GA-based scheduling algorithms for different numbers of jobs

From Figure 5.3, it can be observed that the more number of jobs the higher the makespan to complete the assigned jobs. Moreover, it is easily seen that the proposed algorithm with the adjustment operator achieved a better result than without the adjustment operator. The proposed adjustment operators can thus obviously improve the scheduling results.

In the second experiment, we devote time on the comparison with the makespan of the two GA-based scheduling algorithms for different numbers of machines, and the results are shown in Figure 5.4. In the experiments, the job number is set at 50, and the mold number is set at 10. The makespan of both methods are tested for different

one to eight molds and its processing time. Both methods are run 100 times and their makespan are kept. The averages of the makespan of the two GA-based scheduling algorithms for different numbers of machines are then shown in Figure 5.4.

Figure 5.4 The makespan of the schedules by the two GA-based scheduling algorithms for different numbers of machines

From Figure 5.4, it can also be easily seen that the proposed algorithm with the adjustment operator acquired a better result than that without the adjustment operator for any number of machines.

Next, the makespan of the two GA-based scheduling algorithms for different numbers of molds are shown in Figure 5.5. In the experiments, the job number is set at

0

50, the machine number is set at 10and the mold numbers are set at 5, 10, 15 and 20.

Each job is then randomly assigned a set of one to eight molds and its processing time.

Figure 5.5 The makespan of the schedules by the two GA-based scheduling algorithms for different numbers of molds

From the comparison of results, it is easily observed that the proposed algorithm with the adjustment operator has the best makespan than that without the adjustment operator for the number of molds.

From Figures 5.3, 5.4 and 5.5, we find the results with the adjustment operators are better than those without it. The adjustment operators do obviously improve the scheduling results on the machines with the mold constraints.

0

experiment is made for comparing the GA-based scheduling algorithms with, and without, the adjustment operators along different ratios of the mold set-up time, and the average job processing time. The properties of the experiment are shown in Table 5.3.

Table 5.3 The parameter settings of data set

Parameter Value

The number of job 25

The number of machine 4

The number of mold 5

A job average the process time 31.2 A job average the number of using molds 2.82 A machine average the suitable molds 2.5

The average of the number of molds 2.2

Figure 5.6 shows the results of the GA-based scheduling algorithms with and without the adjustment operators. The Y-axis represents the average makespan of the 100 times experiment, and X-axis represents the ratios of the mold setup time, and the average job processing time is set around 31.2.When the mold set-up time is set at 300, the ratio is thus as 1:10. It can be observed that the adjustment operators are more effective to reduce the makespan as the mold set-up time is much larger than the job processing time.

Figure 5.6 Comparisons along different ratios of the mold set-up time and the average job processing time

0 200 400 600 800 1000 1200 1400

10:1 5:1 1:1 1:5 1:10

with Adjustment without Adjustment

CHAPTER 6

Conclusions and Future Work

In this thesis, we have attempted to solve the scheduling problems that jobs are assigned to multiple unrelated machines with mold constraints. A GA-based scheduling algorithm is proposed for finding the minimum makespan of these problems. In the proposed algorithm, an encoding schema is introduced, and the adjustment operators are also given for improving fitness values of the chromosomes when they are generated. The proposed approach can be easily extended to solve the same problem, as well as the fitness function of the total complete time. Finally, the experimental results show that the adjustment operators are effective in avoiding the mold conflicts and are then able to receive better scheduling results. Thus, it can be shown that the scheduling results with the adjustment operators are much better than those without it.

In the future, we will consider solving more related scheduling problems on tardiness issues by using different strategies. We will continue our research in other related fields.

References

[1] M. B. Aryanezhad, A. Jabbarzadeh, and A. Zareei, "Combination of Genetic Algorithm and LP-metric to Solve Single Machine Bi-Criteria Scheduling Problem", The IEEE International Conference on Industrial Engineering and Engineering Management, pp.

1915-1919, 2009.

[2] J. R. Baker and G. H. McMahon, "Scheduling the General Job-Shop," Management

Science, Vol. 31, No. 5, pp. 594-598, 1985.

[3] W. Bożejko, M. Uchrŏnski, and M. Wodecki, "Multi-machine Scheduling Problem

with Setup Times", Archives of Control Sciences, Vol. 22, No. 4, pp. 441-449, 2012.

[4] P. C. Chang, S. S. Chen, Q. H. Ko, and C. Y. Fan, "A Genetic Algorithm with Injecting Artificial Chromosomes for Single Machine Scheduling Problems", IEEE Symposium on Computational Intelligence in Scheduling, pp. 1-6, 2007.

[5] S. S. Chen, P. C. Chang, S. M. Hsiung, and C. Y. Fan, "A Genetic Algorithm with Dominance Properties for Single Machine Scheduling Problems", IEEE Symposium on Computational Intelligence in Scheduling, pp. 98-104, 2007.

[6] P. C. Chang, S. H. Chen, and K. L. Lin, "Two-Phase Sub Population Genetic Algorithm for Parallel Machine-scheduling Problem," Expert Systems with Applications, Vol. 29, No. 3, pp. 705-712, 2005.

[7] J. H. Chen, L. C. Fu, M. H. Lin, and A. C. Huang, "Petri-Net and GA-Based Approach

to Modeling, Scheduling, and Performance Evaluation for Wafer Fabrication", IEEE Transactions on Robotics and Automation, Vol. 17, No. 5, pp. 619-636, 2001.

[8] C. Y. Cheng., T. L. Chen, L. C. Wang, and Y. Y. Chen, "A Genetic Algorithm for the Multi-Stage and Parallel-Machine Scheduling Problem with Job Splitting – A Case Study for the Solar Cell Industry", International Journal of Production Research, Vol. 51, No. 16, pp.4755-4777, 2013.

[9] T. I. Chien, "Design of Efficient Heuristic Algorithms for Solving Scheduling Problems with Multiple Mold Constraints", Master Thesis, I-Shou University, 2010.

[10] I. C. Choi and D. S. Choi. "A Local Search Algorithm for Job-shop Scheduling Problems with Alternative Operations and Sequence-Dependent Setups", Computers &

Industrial Engineering, Vol. 42, No. 1, pp. 43–58, 2002

[11] N. L. Cramer, "A Representation for the Adaptive Generation of Simple Sequential Programs," The International Conference on Genetic Algorithms, pp. 183-187, 1985.

[12] S. S. Funda and U. Gündüz, "Parallel Machine Scheduling with Earliness and Tardiness Penalties", Computers & Operations Research, Vol. 26, No. 8, pp. 773–787, 1999.

[13]R. L. Graham, "Bounds for Certain Multiprocessing Anomalies," Bell System Technical Journal, Vol. 45, No. 9, pp. 1563–1581, 1966.

[14] J. W. Gu, X. H. Gu, and B. Jiao, "Solving Stochastic Earliness and Tardiness Parallel

Machine Scheduling using Quantum Genetic Algorithm," The 7th World Congress on Intelligent Control and Automation, pp. 4154 - 4159, 2008.

[15] Y. Harrath, J. Kaabi, M. B. Ali, and M. Sassi, "Multi-objective Genetic Algorithm-Based Method for Job Shop Scheduling Problem: Machines Under Preventive and Corrective Maintenance Activities", The 4th Conference on Data Mining and Optimization, pp. 13-17, 2012.

[16] S. Hu, D. Chu, and X. Xu, "A Virus Evolution Genetic Algorithm for Scheduling Problem with Penalties of Independent Tasks on a Single Machine", The WRI Global Congress on Intelligent Systems, Vol.1, pp. 574-578, 2009.

[17] G. D. Huang, P. Ling, and Q. Wang, "A Hybrid Meta-heuristic ACO-GA with an Application in Sports Competition Scheduling", The Eighth ACIS International Conference on Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing, Vol. 3, pp. 611-616, 2007.

[18] S. S. Jou, "Solving Scheduling Problems of Identical Machines with Mold Constraints Based on Genetic Algorithms", Master Thesis, National Kaohsiung Normal University, 2009.

[19] A. Karray, M. Benrejeb, and P. Borne, "New Parallel Genetic Algorithms for the Single-Machine Scheduling Problems in Agro-food Industry", The 2011 International Conference on Communications, Computing and Control Applications, pp. 1-7, 2011.

[20] J. Li, L. Zhang, C. S. Guan, and H. Kise, "A GA-Based Heuristic Algorithm for Non-Permutation Two-Machine Robotic Flow-Shop Scheduling Problem of Minimizing Total Weighted Completion Time", The 2010 IEEE International Conference on Industrial Engineering and Engineering Management, pp. 1281-1285, 2010.

[21] M. Ohki, A. Morimoto, and K. Miyake, "Nurse Scheduling by Using Cooperative GA with Efficient Mutation and Mountain-Climbing Operators", The 3rd International IEEE Conference on Intelligent Systems, pp. 164-169, 2006.

[22] F. F. Ribeiro, S. R. D. Souza, and M. J. F. Souza, "An Adaptive Genetic Algorithm for Solving the Single Machine Scheduling Problem with Earliness and Tardiness Penalties", The 2009 IEEE International Conference on Systems, Man and Cybernetics, pp.698-703, 2009.

[23] D. S. Sanches, O. Morandin, B. D. Muniz, and E.R.R. Kato, "Modeling Strategy by Adaptive Genetic Algorithm for Production Reactive Scheduling with Simultaneous Use of Machines and AGVs", The 2008 International Conference on Computational Intelligence for Modelling Control & Automation, pp. 249-254, 2008.

[24] S. F. Smith, "A Learning System Based on Genetic Adaptive Algorithms", Doctoral Dissertation, University of Pittsburgh, 1980.

[25] C. L. Song, W. G. Shi, and M. Huang, "Multi-Machine Scheduling Problem Based on Genetic Algorithm", Journal of Dalian Railway Institute, Vol. 25, No. 2, 2004 (in

Chinese).

[26] X. Song, Y. L. Zhu, C. Yin, and F. Li, "Study on the Combination of Genetic Algorithms and Ant Colony Algorithms for Solving Fuzzy Job Shop Scheduling Problems", The IMACS Multiconference on Computational Engineering in Systems Applications, pp. 1904-1909, 2006.

[27] É . Tardos and J. Kleinberg, Algorithm Design, Pearson, 2005.

[28] Y. Tsujimura, Y. Mafune, and M. Gen, "Effects of Symbiotic Evolution in Genetic Algorithms for Job-Shop Scheduling", The 34th Annual Hawaii International Conference on System Sciences, Vol. 3, pp. 3026, 2012.

[29] M. C. Wang, Y. Q. Rao, and K. P. Wang, "A Niche Genetic Algorithm for Two-Machine Flow-shop Scheduling with Family Sequence-dependent Setup Times and a Common Due Window", The 2010 IEEE International Conference on Industrial Engineering and Engineering Management, pp. 296-300, 2010.

[30] S. Wang, L. Wang, and Y. Xu, "A Compact Estimation of Distribution Algorithm for Solving Hybrid Flow-Shop Scheduling Problem", The 10th World Congress on Intelligent Control and Automation, pp. 649-653, 2012.

[31] C. Y. Wang, Y. Zhao, and S. Wei, "Genetic Algorithm for the Single Machine Earliness and Tardiness Scheduling Problem with Fuzzy Processing Times", The 29th Chinese Control Conference, pp.1747-1752, 2010.

[32] Y. Wu and B. Li, "Job-Shop Scheduling Using Genetic Algorithm", The IEEE International Conference on Systems, Man, and Cybernetics, Vol. 3, pp. 1994-1999, 1996.

[33] I. Zaidi, M. Mrad, and T. Ladhari, "Genetic Local Search Algorithm for Minimizing the Total Completion Time in Single Machine Scheduling Problem with Release Dates and Precedence Constraints", The 5th International Conference on Modeling, Simulation and Applied Optimization, pp. 1-4. 2013.

[34] X. Zhao, A. Zhang, W. Sun, and J. Liang, "An Improved Genetic Algorithm for Multiple-Machine Scheduling Problem", The International Conference on Management and Service Science, pp.1-4, 2009.

[35] http://en.wikipedia.org/wiki/Evolutionary_biology [36] http://en.wikipedia.org/wiki/Human_evolution [37] http://en.wikipedia.org/wiki/Genetic_engineering [38] http://en.wikipedia.org/wiki/Genetically_modified_food [39] http://en.wikipedia.org/wiki/Eugenics

相關文件