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 [15]. 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, [1113], the Genetic Algorithm [1416], 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, [1922].

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.

(1) Initialization: Generate a population ;
(2) ;
(3) for   :    do
(4)  Compute ;
(5)  Sort in ascending order of (for minimization);
(6)  Create new population ;
(7)  for each   do
(8)    set of runners where both the size of the set and the distance for each runner (individually)
     are proportional to , the normalized objective value
(9)      {append to population};
(10) end for
(11)    {new population};
(12) end for
(13) Return   , the population of solutions.

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.

(1) Initialization: Maximum number of generations; NP population size; trial run
(2) if     then
(3)  Create a random population of plants , using (4) and gather the best solutions.
(4) end if
(5) while     do
(6)  Use population formed by gathering all best solutions from previous runs.
  Calculate value for each column of (see Section 3).
(7) end while
(8) Evaluate the population. In case of the algorithm does not need to evaluate the population,
(9) Set number of runners, , ,
(10) while ( ) or ( ) do
(11)  Create :
(12)  for   to   do
(13)   for   to   do
(14)    if     then
(15)     if     then
(16)      Generate a new solution according to (5);
(17)       Evaluate it and store it in ;
(18)     end if
(19)     if     then
(20)      Generate a new solution according to (6);
(21)       Evaluate it and store it in ;
(22)     end if
(23)    else
(24)     for   :    do
(25)      if ( ) or ( ) then
(26)       update the th entry of , , according to (7);
(27)      end if
(28)      Evaluate new solution and store it in ;
(29)     end for
(30)    end if
(31)   end for
(32)  end for
(33)  Add to current population;
(34)  Sort the population in ascending order of the objective values;
(35)  Update current best;
(36) end while
(37) Return: Updated population.

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.