Mathematical Problems in Engineering

Volume 2014, Article ID 627416, 10 pages

http://dx.doi.org/10.1155/2014/627416

## A Plant Propagation Algorithm for Constrained Engineering Optimisation Problems

^{1}Department of Mathematical Sciences, University of Essex, Colchester CO4 3SQ, UK^{2}Department of Mathematics, Abdul Wali Khan University, Mardan KPK, Pakistan

Received 17 February 2014; Accepted 6 April 2014; Published 7 May 2014

Academic Editor: Changzhi Wu

Copyright © 2014 Muhammad Sulaiman et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Optimisation problems arising in industry are some of the hardest, often because of the tight specifications of the products involved. They are almost invariably constrained and they involve highly nonlinear, and non-convex functions both in the objective and in the constraints. It is also often the case that the solutions required must be of high quality and obtained in realistic times. Although there are already a number of well performing optimisation algorithms for such problems, here we consider the novel Plant Propagation Algorithm (PPA) which on continuous problems seems to be very competitive. It is presented in a modified form to handle a selection of problems of interest. Comparative results obtained with PPA and state-of-the-art optimisation algorithms of the Nature-inspired type are presented and discussed. On this selection of problems, PPA is found to be as good as and in some cases superior to these algorithms.

#### 1. Introduction

Optimisation problems in design engineering are often highly nonlinear, constrained and involving continuous as well as discrete variables [1–5]. It is also often the case that some of the constraints are active at the global optimum [6]. This means that feasible approximate solutions are that much harder to find. There is a variety of algorithms for these problems, some exact, and others approximate. In the exact category, one can name Branch-and-Bound, [7], Recursive Quadratic Programming, [8], the Cutting Plane Algorithm [9], Bender’s decomposition [10]. Of the approximate variety, one can name Simulated Annealing, [11–13], the Genetic Algorithm [14–16], and the Particle Swarm Optimisation algorithm, [17, 18], to name a few. The latter category is often referred to as the metaheuristic algorithms. In general, they are characterised by two aspects of the search: exploration of the overall search space and exploitation of good areas in order to find local optima, [19–22].

A new metaheuristic, the Plant Propagation Algorithm (PPA), has recently been introduced [23]. PPA is nature inspired [19, 23, 24]; it emulates the way plants, in particular the strawberry plant, propagate. A basic PPA has been described and tested on single objective as well as multiobjective continuous optimization problems in [23]. The test problems, though standard, were of low dimension. The results showed that PPA has merits and deserves further investigation on higher dimensional problem instances as well as problems arising in practice, for these are often very challenging. PPA is attractive because, among other things, it is simple to describe and implement; it also involves only few parameters that need arbitrary setting unlike most other metaheuristics. Here, it will be tested on constrained optimisation problems arising in engineering. The paper is organised as follows. Section 2 describes PPA. Section 3 presents a modified version to handle constrained problems. Section 4 records the results obtained with PPA and a number of other heuristics. In Section 5 a conclusion and ideas for further investigation are given. The paper includes appendices that describe the problems considered.

#### 2. The Strawberry Algorithm as PPA

The Strawberry algorithm is an exemplar PPA which can be seen as a multipath following algorithm unlike Simulated Annealing (SA) [13, 25], for instance, which is a single path following algorithm. It can, therefore, be perceived as a generalisation of SA and other path-following algorithms [26].

Exploration and exploitation are properties that effective global optimisation algorithms have [19, 24, 26]. Exploration refers to the property of covering the search space, while exploitation refers to the property of searching nearer to good solutions for local optima.

Consider what a strawberry plant and possibly any plant which propagates through runners will do to optimize its survival. If it is in a good spot of the ground, with enough water, nutrients, and light, then it is reasonable to assume that there is no pressure on it to leave that spot to guarantee its survival. So, it will send many short runners that will give new strawberry plants and occupy the neighbourhood as best they can. If, on the other hand, the mother plant is in a spot that is poor in water, nutrients, light, or any one of these necessary for a plant to survive, then it will try to find a better spot for its offspring. Therefore, it will send few runners further afield to explore distant neighbourhoods. One can also assume that it will send only a few, since sending a long runner is a big investment for a plant which is in a poor spot. We may further assume that the quality of the spot (abundance of nutrients, water, and light) is reflected in the growth of the plant. With this in mind and the following notation, PPA can be described as follows.

A plant is in spot in dimension . This means . Let be the number of strawberry plants to be used initially, and the PPA algorithm described in pseudo-code Algorithm 1, relies on the following strategy [23].(i)Strawberry plants which are in good spots propagate by generating many short runners.(ii)Those in poor spots propagate by generating few long runners.

It is clear that, in the above description, exploitation is implemented by sending many short runners by plants in good spots, while exploration is implemented by sending few long runners by plants in poor spots.

The parameters used in PPA are the population size which is the number of strawberry plants, the maximum number of generations , and the maximum number of possible runners per plant. is effectively the stopping criterion in this initial version of PPA. The algorithm uses the objective function value at different plant positions , , in a normalised form , to rank them as would a fitness function in a standard genetic algorithm (note that, unlike in the GA, individuals in PPA are clones of the mother plant; they do not improve from generation to generation). The number of plant runners , calculated according to (1) below, has length calculated using the normalised form of the objective value at , each giving a , as calculated with (2) below. After all individuals/plants in the population have sent out their allocated runners, new plants are evaluated and the whole increased population is sorted. To keep the population constant, individuals with lower growth are eliminated. The number of runners allocated to a given plant is proportional to its fitness as in Every solution generates at least one runner and the length of each such runner is inversely proportional to its growth as in (2) below: where is the problem dimension. Having calculated , the extent to which the runner will reach, the search equation that finds the next neighbourhood to explore is

If the bounds of the search domain are violated, the point is adjusted to be within the domain , where and are lower and upper bounds delimiting the search space for the th coordinate.

#### 3. An Effective Implementation of PPA for Constrained Optimization

In this implementation of PPA, the initial population is crucial; we run the algorithm a number of times from randomly generated populations. The best individual from each run forms a member of the initial population. The number of runs to generate the initial population is ; therefore, the population size is . In the case of mixed integer problems, the integer variable values are fixed when they are showing a trend to converge to some values. This trend is monitored by calculating the number of times their values have not changed. When this number is greater than a certain threshold, the variables are fixed for the rest of the run. This strategy seems to work on the problems considered. Let be a general matrix containing the population of a given run. Its rows correspond to individuals. The following equation is used to generate a random population for each of the initial runs: where is the th entry of solution and and are the th entries of the lower and upper bounds describing the search space of the problem and .

In the main body of the algorithm, before updating the population we create a temporary population to hold new solutions generated from each individual in the population. Then we implement three rules with fixed modification parameter , chosen here, as . The first two rules are implemented if the population is initialized randomly. Rule 01 uses the following equation to update the population: where and .

The generated individual is evaluated according to the objective function and is stored in . In rule 02 another individual is created with the same modification parameter as in the following equation: where , . , are mutually exclusive indices and are different from .

The generated individual is evaluated according to the objective function and is stored in . The first two rules are applicable for the number of runs. For the algorithm also tries to recognise entries which are settling to their final values through a counter . If the th entry in current population has a low value, then it is modified by implementing (7); otherwise it is left as it is. The value (for ) that is suggested by experimentation over a number of problems is 4. The following equation is used when modification is necessary: where , , and is different from . To keep the size of the population constant, the extra plants at the bottom of the sorted population are eliminated.

#### 4. Examples of Structural Engineering Optimization Problems

PPA as explained in the pseudo-code Algorithm 1 is extended to cater for constrained optimisation problems to be found in the appendices [6, 27]. This extended version of PPA is fully explained in the pseudo-code Algorithm 2. Note that the penalty function approach is used to handle the constraints [19, 22]. Equations are first transformed into inequality constraints before they are taken into consideration. Table 1 records the parameter values used in the implementation. Column 4 shows the value of used throughout the experiments. This value has been found through experimentation on the problem described in Appendix B. The different runs are represented in Figure 1 where for 40 trials corresponding to the 30000 function evaluations threshold, seems to be the optimal value for this parameter. Other aspects of the extended algorithm such as exploration and exploitation are investigated in Figures 2 and 3. These figures, as one expects, show that the magnitudes of the steps/perturbations of the plant positions, that is the lengths of the runners, get shorter and shorter as the search progresses. Figure 4 is a representation of the convergence of the objective values of the problems described in Appendices A and C. In both cases, these values fluctuate wildly before they settle down to very good approximate values. The numerical results of the experiments on all problems described in Appendices A, through G are compiled in Tables 2, 3, 4, 5, 6, 7, and 8.

#### 5. Conclusion

We have implemented PPA to solve seven well known difficult constrained optimization problems arising in engineering design with continuous domains. PPA found either near best known solutions or optimal ones to all of them. The results are compared to those obtained with other algorithms found in the literature, namely GA (and variants of it, here denoted EC and EP), PSO, HSA (and variants of it namely PHS and IPHS), IP, MP, and BDA. Note that some of the problems have not been solved by all algorithms. For instance, the pressure vessel design problem has not been solved with BDA or MP as far as we know. Similarly the spring compression problem has not been solved with IP and HSA. These gaps in the computational results found in the literature on the considered problems are not substantial to hinder our experimental work and conclusions. Indeed, the recorded evidence in the large majority of cases points to the overwhelming superiority of PPA. Having said that, it must be added that further improvements to PPA and testing are being carried out on a more extensive collection of test problems including discrete ones.

#### Appendices

#### A. Welded Beam Design Optimisation

The welded beam design is a standard test problem for constrained design optimisation [6, 22]. There are four design variables: the width and length of the welded area, the depth and thickness of the main beam. The objective is to minimise the overall fabrication cost, under the appropriate constraints of shear stress , bending stress , buckling load , and maximum end deflection . The optimization model is summarized as follows, where : where

The simple limit or bounds are , and , .

#### B. Pressure Vessel Design Optimisation

Pressure vessels are widely used in our daily life, such as champagne bottles and gas tanks [6, 39]. For a given volume and working pressure, the basic aim of designing a cylindrical vessel is to minimize the total cost. Typically, the design variables are the thickness of the head, the thickness of the body, the inner radius , and the length of the cylindrical section [6]. This is a well-known test problem for optimization, where , and it can be written as

The simple limits on the design variables are

#### C. Spring Design Optimisation

The main objective of this problem [33, 34] is to minimize the weight of a tension/compression spring, subject to constraints of minimum deflection, shear stress, surge frequency, and limits on outside diameter and on design variables. There are three design variables: the wire diameter , the mean coil diameter , and the number of active coils [6]. The mathematical formulation of this problem, where , is as follows:

The simple limits on the design variables are , , and .

#### D. Speed Reducer Design Optimization

The problem of designing a speed reducer [40] is a standard test problem. It consists of the design variables as face width , module of teeth , number of teeth on pinion , length of the first shaft between bearings , length of the second shaft between bearings , diameter of the first shaft , and diameter of the first shaft (all variables continuous except that is integer). The weight of the speed reducer is to be minimized subject to constraints on bending stress of the gear teeth, surface stress, transverse deflections of the shafts, and stresses in the shaft [6]. The mathematical formulation of the problem, where , is as follows:

The simple limits on the design variables are

#### E. Constrained Optimization Problem 1

#### F. Constrained Optimization Problem 2

#### G. Himmelblau’s Optimization Problem

#### Conflict of Interests

The authors have no conflict of interests.

#### Acknowledgments

This work is supported by Abdul Wali Khan University, Mardan, Pakistan, Grant no. F.16-5/P& D/AWKUM/238.

#### References

- X.-S. Yang, “Biology-derived algorithms in engineering optimization,” in
*Handbook of Bioinspired Algorithms and Applications*, S. Olarius and A. Y. Zomaya, Eds., chapter 32, pp. 589–600, Chapman & Hall/CRC Press, 2005. View at Google Scholar - K. Deb,
*Optimization for Engineering Design: Algorithms and Examples*, PHI Learning, 2004. - X.-S. Yang, “Biology-derived algorithms in engineering optimization,” http://arxiv.org/abs/1003.1888.
- H. Wang, A. Liu, X. Pan, and J. Yang, “Optimization of power allocation for multiusers in multi-spot-beam satellite communication systems,”
*Mathematical Problems in Engineering*, vol. 2014, Article ID 780823, 10 pages, 2014. View at Publisher · View at Google Scholar - L. Chen and H.-L. Liu, “An evolutionary algorithm based on the four-color theorem for location area planning,”
*Mathematical Problems in Engineering*, vol. 2013, Article ID 271935, 9 pages, 2013. View at Publisher · View at Google Scholar · View at MathSciNet - L. C. Cagnina, S. C. Esquivel, and C. A. C. Coello, “Solving engineering optimization problems with the simple constrained particle swarm optimizer,”
*Informatica*, vol. 32, no. 3, pp. 319–326, 2008. View at Google Scholar · View at Scopus - E. Sandgren, “Nonlinear integer and discrete programming in mechnical design optimization,”
*Journal of Mechanical Design*, vol. 112, no. 2, pp. 223–229, 1990. View at Google Scholar · View at Scopus - J. Z. Cha and R. W. Mayne, “Optimization with discrete variables via recursive quadratic programming—part 1: concepts and definitions,”
*Journal of Mechanical Design*, vol. 111, no. 1, pp. 124–129, 1989. View at Publisher · View at Google Scholar - J. E. Kelley, Jr., “The cutting-plane method for solving convex programs,”
*Journal of the Society for Industrial & Applied Mathematics*, vol. 8, no. 4, pp. 703–712, 1960. View at Google Scholar · View at MathSciNet - M. L. Balinski and P. Wolfe, “On benders decomposition and a plant location problem,” Tech. Rep. ARO-27, Mathematica, Princeton, NJ, USA, 1963. View at Google Scholar
- N. Metropolis, A. W. Rosenbluth, M. N. Rosenbluth, A. H. Teller, and E. Teller, “Equation of state calculations by fast computing machines,”
*The Journal of Chemical Physics*, vol. 21, no. 6, pp. 1087–1092, 1953. View at Google Scholar · View at Scopus - C. Zhang and H.-P. Wang, “Mixed-discrete nonlinear optimization with simulated annealing,”
*Engineering Optimization*, vol. 21, no. 4, pp. 277–291, 1993. View at Publisher · View at Google Scholar - A. Salhi, L. G. Proll, D. R. Insua, and J. I. Martin, “Experiences with stochastic algorithms for a class of constrained global optimisation problems,”
*Recherche Operationnelle*, vol. 34, no. 2, pp. 183–197, 2000. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus - S.-J. Wu and P.-T. Chow, “Genetic algorithms for nonlinear mixed discrete-integer optimization problems via meta-genetic parameter optimization,”
*Engineering Optimization*, vol. 24, no. 2, pp. 137–159, 1995. View at Publisher · View at Google Scholar - J. H. Holland and J. S. Reitman, “Cognitive systems based on adaptive algorithms,”
*ACM SIGART Bulletin*, no. 63, p. 49, 1977. View at Publisher · View at Google Scholar - K. Lamorski, C. Sławiński, F. Moreno, G. Barna, W. Skierucha, and J. L. Arrue, “Modelling soil water retention using support vector machines with genetic algorithm optimisation,”
*The Scientific World Journal*, vol. 2014, Article ID 740521, 10 pages, 2014. View at Publisher · View at Google Scholar - R. Eberhart and J. Kennedy, “A new optimizer using particle swarm theory,” in
*Proceedings of the 6th International Symposium on Micro Machine and Human Science (MHS '95)*, pp. 39–43, IEEE, Nagoya, Japan, October 1995. View at Scopus - G.-N. Yuan, L.-N. Zhang, L.-Q. Liu, and K. Wang, “Passengers' evacuation in ships based on neighborhood particle swarm optimization,”
*Mathematical Problems in Engineering*, vol. 2014, Article ID 939723, 10 pages, 2014. View at Publisher · View at Google Scholar · View at MathSciNet - X.-S. Yang,
*Nature-Inspired Metaheuristic Algorithms*, Luniver Press, 2011. - C. Blum and A. Roli, “Metaheuristics in combinatorial optimization: overview and conceptual comparison,”
*ACM Computing Surveys*, vol. 35, no. 3, pp. 268–308, 2003. View at Publisher · View at Google Scholar · View at Scopus - V. Gazi and K. M. Passino, “Stability analysis of social foraging swarms,”
*IEEE Transactions on Systems, Man, and Cybernetics B: Cybernetics*, vol. 34, no. 1, pp. 539–557, 2004. View at Publisher · View at Google Scholar · View at Scopus - X.-S. Yang and S. Deb, “Engineering optimisation by Cuckoo search,”
*International Journal of Mathematical Modelling and Numerical Optimisation*, vol. 1, no. 4, pp. 330–343, 2010. View at Publisher · View at Google Scholar · View at Scopus - A. Salhi and E. S. Fraga, “Nature-inspired optimisation approaches and the new plant propagation algorithm,” in
*Proceedings of the The International Conference on Numerical Analysis and Optimization (ICeMATH '11)*, Yogyakarta, Indonesia, 2011. - J. Brownlee,
*Clever Algorithms: Nature-Inspired Programming Recipes*, 2011. - E. H. L. Aarts, J. H. M. Korst, and P. J. M. van Laarhoven, “Simulated annealing,” in
*Local Search in Combinatorial Optimization*, pp. 91–120, 1997. View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - G. El-Talbi,
*Metaheuristics: From Design to Implementation*, vol. 74, John Wiley & Sons, 2009. - M. Jaberipour and E. Khorram, “Two improved harmony search algorithms for solving engineering optimization problems,”
*Communications in Nonlinear Science and Numerical Simulation*, vol. 15, no. 11, pp. 3316–3331, 2010. View at Publisher · View at Google Scholar · View at Scopus - C. A. C. Coello, “Use of a self-adaptive penalty approach for engineering optimization problems,”
*Computers in Industry*, vol. 41, no. 2, pp. 113–127, 2000. View at Publisher · View at Google Scholar · View at Scopus - K. S. Lee and Z. W. Geem, “A new meta-heuristic algorithm for continuous engineering optimization: harmony search theory and practice,”
*Computer Methods in Applied Mechanics and Engineering*, vol. 194, no. 36–38, pp. 3902–3933, 2005. View at Publisher · View at Google Scholar · View at Scopus - M. Mahdavi, M. Fesanghary, and E. Damangir, “An improved harmony search algorithm for solving optimization problems,”
*Applied Mathematics and Computation*, vol. 188, no. 2, pp. 1567–1579, 2007. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus - M. Fesanghary, M. Mahdavi, M. Minary-Jolandan, and Y. Alizadeh, “Hybridizing harmony search algorithm with sequential quadratic programming for engineering optimization problems,”
*Computer Methods in Applied Mechanics and Engineering*, vol. 197, no. 33–40, pp. 3080–3091, 2008. View at Publisher · View at Google Scholar · View at Scopus - Y. Shi and R. Eberhart, “A modified particle swarm optimizer,” in
*Proceedings of the IEEE World Congress on Computational Intelligence, Evolutionary Computation (ICEC '98)*, pp. 69–73, Anchorage, Alaska, USA, May 1998. View at Scopus - A. D. Belegundu and J. S. Arora, “A study of mathematical programming methods for structural
optimization—part I: theory,”
*International Journal for Numerical Methods in Engineering*, vol. 21, no. 9, pp. 1583–1599, 1985. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus - J. S. Arora,
*Introduction to Optimum Design*, Academic Press, 2004. - P. Papalambros and H. L. Li, “A production system for use of global optimization knowledge,”
*Journal of Mechanical Design*, vol. 107, no. 2, pp. 277–284, 1985. View at Google Scholar · View at Scopus - A. Homaifar, C. X. Qi, and S. H. Lai, “Constrained optimization via genetic algorithms,”
*Simulation*, vol. 62, no. 4, pp. 242–254, 1994. View at Google Scholar · View at Scopus - D. B. Fogel, “A comparison of evolutionary programming and genetic algorithms on selected constrained optimization problems,”
*Simulation*, vol. 64, no. 6, pp. 397–404, 1995. View at Google Scholar · View at Scopus - K. Deb, “An efficient constraint handling method for genetic algorithms,”
*Computer Methods in Applied Mechanics and Engineering*, vol. 186, no. 2–4, pp. 311–338, 2000. View at Google Scholar · View at Scopus - X.-S. Yang, “Firefly algorithm, stochastic test functions and design optimisation,”
*International Journal of Bio-Inspired Computation*, vol. 2, no. 2, pp. 78–84, 2010. View at Publisher · View at Google Scholar - J. Golinski, “An adaptive optimization system applied to machine synthesis,”
*Mechanism and Machine Theory*, vol. 8, no. 4, pp. 419–436, 1973. View at Publisher · View at Google Scholar · View at Scopus