Artificial Intelligence Applications in Engineering (MUH-920), week 5 of 14: interactive lab

Evolution lab: Genetic algorithms, differential evolution and Pareto fronts

Prof. Dr. Utku Kose, Süleyman Demirel University

Part A shows one generation of a genetic algorithm at a time, with every tournament, crossover and mutation [1]. Part B builds the trial vectors of differential evolution one by one [2]. Part C runs a genetic algorithm and differential evolution side by side on selectable test landscapes and on the constrained beam problem, with controls for population size, mutation, crossover and selection pressure, and repeats each run over several seeds [1, 2]. Part D compares penalty functions with Deb's feasibility rules on the beam [3], and Part E sorts any set of designs into Pareto fronts with crowding distances [4]. Part F samples beam designs, marks the dominated ones and draws the Pareto front of mass and deflection; selecting a point on the front shows its dimensions [4].

Part A: One generation of a genetic algorithm

A real-coded genetic algorithm minimises a function of one variable. Each press of the button creates the next generation and lists every tournament, the blend crossover and the Gaussian mutation with their numbers; the table ranks the population and gives each rank its probability of winning a tournament, P(r) = ((N − r + 1)^k − (N − r)^k)/N^k. The second objective has several valleys, so premature convergence can be watched [1, 5].

Part B: Differential evolution vector by vector

Each press processes one target vector: the three partners, the difference vector scaled by F, the mutant, the binomial crossover with its random numbers and the selection. The chart draws the step from the first partner to the mutant and the trial vector, so the self-adapting step size of the method becomes visible as the population contracts [2].

Part C: Two algorithms, one landscape

Genetic algorithm
Differential evolution

Part D: Penalties and feasibility rules on the beam

Two beam designs are evaluated with all constraint values. A penalty weight that is too small lets an infeasible design win, while Deb's feasibility rules decide without any weight. The chart shows the feasible region between the stress, deflection and slenderness limits and the optimum derived in the lecture [3, 6].

Part E: Pareto fronts and crowding distances

Enter any designs with their mass and deflection. The table lists which designs dominate each one, sorts all of them into fronts as NSGA-II does and computes the crowding distances with every term shown; the dashed curve is the analytic front of the beam [4].

Part F: Pareto front of beam designs

Grey dots are dominated designs, orange dots form the non-dominated set. Click near an orange dot to inspect the design.

References

[1] Goldberg, D. E. (1989). Genetic Algorithms in Search, Optimization, and Machine Learning. Addison-Wesley.

[2] Storn, R., & Price, K. (1997). Differential evolution: A simple and efficient heuristic for global optimization over continuous spaces. Journal of Global Optimization, 11(4), 341-359. https://doi.org/10.1023/A:1008202821328

[3] Deb, K. (2000). An efficient constraint handling method for genetic algorithms. Computer Methods in Applied Mechanics and Engineering, 186(2-4), 311-338. https://doi.org/10.1016/S0045-7825(99)00389-8

[4] Deb, K., Pratap, A., Agarwal, S., & Meyarivan, T. (2002). A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE Transactions on Evolutionary Computation, 6(2), 182-197. https://doi.org/10.1109/4235.996017

[5] Eiben, A. E., & Smith, J. E. (2015). Introduction to Evolutionary Computing (2nd ed.). Springer. https://doi.org/10.1007/978-3-662-44874-8

[6] Gere, J. M., & Goodno, B. J. (2013). Mechanics of Materials (8th ed.). Cengage Learning.

[7] Wolpert, D. H., & Macready, W. G. (1997). No free lunch theorems for optimization. IEEE Transactions on Evolutionary Computation, 1(1), 67-82. https://doi.org/10.1109/4235.585893