Optimization in Industrial SystemsView this Special Issue
A Plant Propagation Algorithm for Constrained Engineering Optimisation Problems
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.
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 . 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, , Recursive Quadratic Programming, , the Cutting Plane Algorithm , Bender’s decomposition . 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 . 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 . 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 .
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 .(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.
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.
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 . 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 . 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  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 . 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.
This work is supported by Abdul Wali Khan University, Mardan, Pakistan, Grant no. F.16-5/P& D/AWKUM/238.
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.
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
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
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
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: Google Scholar
X.-S. Yang, Nature-Inspired Metaheuristic Algorithms, Luniver Press, 2011.
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.View at: Google Scholar
J. Brownlee, Clever Algorithms: Nature-Inspired Programming Recipes, 2011.
G. El-Talbi, Metaheuristics: From Design to Implementation, vol. 74, John Wiley & Sons, 2009.
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 Site | Google Scholar
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: Google Scholar
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
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
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
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