Abstract
This paper proposes the use of enhanced comprehensive learning particle swarm optimization (ECLPSO), combined with a Gaussian local search (GLS) technique, for the simultaneous optimal size and shape design of truss structures under applied forces and design constraints. The ECLPSO approach presents two novel enhancing techniques, namely perturbation-based exploitation and adaptive learning probability, in addition to its distinctive diversity of particles. This prevents the premature convergence of local optimal solutions. In essence, the perturbation enables the robust exploitation in the updating velocity of particles, whilst the learning probabilities are dynamically adjusted by ranking information on the personal best particles. Based on the results given by ECLPSO, the GLS technique takes data from the global best particle and personal best particles in the last iteration to generate samples from a Gaussian distribution to improve convergence precision. A combination of these techniques results in the fast convergence and likelihood to obtain the optimal solution. Applications of the combined GLS-ECLPSO method are illustrated through several successfully solved truss examples in two- and three-dimensional spaces. The robustness and accuracy of the proposed scheme are illustrated through comparisons with available benchmarks processed by other meta-heuristic algorithms. All examples show simultaneous optimal size and shape distributions of truss structures complying with limit state design specifications.
    1. Introduction
Structural optimization uses computing techniques toward sustainability that achieves not only economical designs of structures and infrastructures (minimum resource consumption) but also ones with integrity (public safety and functionality). Over the past decades, this field has gained increasing interest and achievements in scientific research and engineering applications. Structural optimization has been successfully applied to the designs of many structures, including trusses, beams, plates, and shells. Among them, the optimal design of truss structures is generally divided into the three main problems, namely size, shape, and/or topology optimizations. Specifically, size optimization considers cross-sectional areas of truss members as variables, whilst shape optimization takes nodal coordinates as the design variables. Topology optimization determines whether to remove or maintain discrete elements (volume fraction control) within the domain. The simultaneous optimization of size and shape provides a more economical design than its individual (either size or layout) counterparts. The seminal work of Haftka and Grandhi [], including the comprehensive reviews [,,,], laid the groundwork for methods and applications in shape optimization. The generic formulation of these problems minimizes an objective function (e.g., total volume or weight presenting the cost of a structure), subjected to the constraints describing design, ultimate (permissible) strength, and/or serviceability criteria.
Mathematical programming-based approaches [,,] develop the optimality criteria techniques for the solutions of general optimization problems that involve the calculation of implicit gradient functions. This poses difficulties, especially when considering challenging non-convex (and/or non-smooth) optimization problems. The presence of such conditions often leads to pitfalls such as the premature convergence of local optimal solutions, and the performance of standard solution techniques depends on specific parametric initialization.
With the bypassing of differential (gradient) operations in mathematics, meta-heuristic optimization methods, based on nature-inspired techniques, have been recently developed to approximate the solutions of optimization programs. For instance, Wu and Chow [] utilized a genetic algorithm (GA) for the combined size and layout optimization of truss structures involving discrete size and continuous configuration variables. Soh and Yang [] adopted the GA to perform simultaneous size and shape optimization of steel bridge trusses. Kaveh and Talatahari [] carried out a layout optimization using an improved charged system search (CSS) algorithm. Miguel and Miguel [] employed the two meta-heuristic harmony search (HS) and firefly algorithm (FA) methods to process the simultaneous size and geometry optimization of steel trusses under dynamic constraints. Ho-Huu et al. [] proposed a new version of differential evolution (DE) for layout optimization of discrete size trusses under displacement and stress conditions. Azad et al. [] employed a modified big bang-big crunch algorithm to simultaneously solve the size and shape optimization of truss structures under dynamic excitations. Ho-Huu et al. [] developed a novel DE to process the size and shape optimization problems for truss structures with frequency constraints. Nguyen-Van et al. [] hybridized the DE and symbiotic organisms search (SOS) methods to concurrently improve the solution for size and shape truss optimization under multiple frequency constraints. Inspired by the success of AlphaGo, Luo, et al. [] applied a Markov decision process (MDP) model, and a two-stage Monte Carlo tree search (MCTS) for the optimal truss layout, simultaneously considering topology, geometry, and bar sizes.
Meta-heuristic algorithms generally consist of a series of trial-and-error processes to find the optimal solution of optimization problems within the constructed population. The word “meta” describes beyond or higher level [,]. The meta-heuristic algorithm is classified as a population-based (or trajectory-based) technique, containing two subpopulation exploitation and exploration phases [,]. The exploitation ability searches for solutions in a local area by using information of the good local solution. Meanwhile, the exploration constructs the search space on global positions to produce the global optimum. Reaching a good balance between the exploration and exploitation of sample positions is important for any meta-heuristic method, to escape the premature convergence of local optima, increasing the likelihood of accurate optima.
As described in no-free-lunch theorems [], no meta-heuristic method ensures the optimality of solutions in the presence of non-convex and/or non-smooth conditions often encountered when solving practical-scale problems. Three underlying drawbacks are addressed. First, a standard meta-heuristic algorithm is often trapped into local optima leading to the premature convergence of inaccurate design solutions or even failure to attend. Second, the final design depends on the preset initial parameters, as well as some stochastic (random) values constructed during the optimization process, yielding unreliable (nonrepetitive) design solutions. Third, solving complex problems (in the presence of non-convex and/or non-smooth variable domains) requires a high number of particles and numerical simulations. The performance of algorithms is rather problem-dependent. An approach providing a good optimal design in one application does not necessarily yield an optimal solution in another.
Many meta-heuristic algorithms have been introduced with underlying exploitation and exploration abilities. The particle swarm optimization (PSO) [], being a swarm-intelligence approach, emulates the movement or social behavior of a bird flock. The PSO constructs a set of particles in the population, where their positions are iteratively updated through the movement (velocity functions) learnt from the global best particle. However, the premature local optima are often encountered by the standard PSO method, as its social update components do not sufficiently work. Various new techniques have been incorporated with the original PSO to enhance its global search ability and overcome local optimal pitfalls.
Our recent work successfully applied a variant version of the PSO, called comprehensive learning particle swarm optimization (CLPSO), for the design of steel structures []. In the CLPSO [], the learning technique enables cross-positions between the sets of best swarm particles in each dimensional space, leading to the likelihood of overcoming locally optimal searches and premature termination of undesired non-optimal but feasible solutions. The proposed scheme followed a learning probability function that defined the cooperative responses among swarm populations. However, this strategy did not improve the exploitation ability to perform deep local searches around the best global position.
To improve the searching mechanism and exploitation ability of standard CLPSO, this paper proposes an enhanced CLPSO (ECLPSO), combined with a Gaussian local search (GLS), termed the GLS-ECLPSO method to perform simultaneous size and shape optimization of structures under applied forces. The two enhancing techniques [] underlying the ECLPSO, namely normative knowledge and new adaptive learning probability, were incorporated with the CLPSO. The former technique determines whether the algorithm needs to improve its exploitation ability using perturbation-based exploitation, whilst the latter replaces the original learning probability with new functions, letting individual particles learn from ranking information of the personal best positions in search spaces. The enhanced exploitation and exploration abilities underpinning the ECLPSO, therefore, obtain improved optimal solutions, even when considering challenging non-convex optimization problems.
In addition to the ECLPSO, the GLS applies a bell-curved shape of Gaussian distribution to exploit the particles in a central field, further improving solution optimality. The GLS adopts information from the global best particle and samples from personal best particles to better converge on an accurate optimal solution. Random particles are constructed around the global best position based on the Gaussian distribution function. We illustrate applications of the proposed GLS-ECLPSO method using a few optimal size and shape designs of two- and three-dimensional truss structures. The results show superior performance in capturing the accurate optimal design for truss structures with modest computing efforts compared with standard techniques.
2. Size and Shape Optimization Problem
This section describes the simultaneous size and shape optimization problem that minimizes the cost function, described by the total weight  of (planar or space) truss structures simultaneously subjected to ultimate strength and serviceability conditions. The structural optimization contains the size (cross-sectional area) variables  of ne members (viz., ) and the shape variables, including the member lengths , written as functions of unknown nodal coordinates, , for . The practical design classifies the ng independent groups of members, consisting of similar sizes using technological constraints [,], namely  for . The self-evident matrix  collects binary parameters indicating either the m-th member lying within (viz., ) or outside () the g-th group.
The optimization formulation is therefore written in terms of the unknown (independent) design area variables  and nodal coordinates , as follows:
      
        
      
      
      
      
    
      where  is the m-th member length. For each g-th member group, the material properties define the density , minimum available area size , and maximum area size . The design constraints,  for , imply the permissible stress (e.g., ) and serviceability (limited displacement and/or natural frequency, viz., ) criteria. The static (stress, ) and kinematic (serviceability, ) responses are described as functions of design variables, namely cross-sectional areas (a) and nodal coordinates (x,y,z).
Whilst the pin-connected trusses form the focus of this study, applications on more general beam and frame structures can also be considered. In fact, the optimization problem in Equation (1) remains rigorous, where the constraints  describe the permissible stresses and/or limited displacements at some specified locations. In contrast to pin-connected trusses, stresses are additionally presented by the generalized flexural forces at member ends. A similar set of design variables (a,x,y,z) is processed.
The formulation in Equation (1) belongs to a challenging class of nonlinear programming (NLP) problems in the presence of non-convex and non-smooth constraints []. This can be converted to an unconstrained nonlinear equation using the penalty function measuring the constraint violations by: 
      
        
      
      
      
      
    
      where  is a constraint penalty function and ε a positive penalty scalar. The solution to the unconstrained nonlinear formulation in Equation (2) presents the optimal size and shape design of structures written in Equation (1). The ECLPSO method combined with the GLS strategy was developed to provide a solution to the problem in Equation (2).
3. Enhanced Comprehensive Learning Particle Swarm Optimization
3.1. Comprehensive Learning PSO
Similar to standard PSO algorithms [], the CLPSO method [] randomly constructs the swarm population of np particles in a stochastic fashion, namely  for  of the design variables  in nd dimensions. The iterative procedures are performed to update the new position  of the p-th generic particle by
        
      
        
      
      
      
      
    
        where the new velocity  defines changes in the particle position  from the current to next step iteration. The velocity  of the p-th particle satisfies the following random function: 
      
        
      
      
      
      
    
        where the acceleration weight c1 attracts  toward the best position  (viz., ones associated with the best objective value at its own p-th particle for all time steps); c2 is the acceleration weight associated with searches around the global best position ;  and  are the random numbers uniformly selected within the interval of [0, 1]; and w is the inertia weight controlling the excessive momentum in particles.
Comprehensive learning [] determines the best position  in Equation (3) through the new learning exemplar . For the p-th particle, the learning exemplar  is initialized at the best location . At the d-th dimension, the location of the best particle  is indicated by the particle index f(d) through the learning probability searches across all np particles. The exemplar  then explores for each d-th dimension its new  from one of the two best particles , where . Each of  and  is randomly selected from the , namely . The index f(d) is set to either f1(d) or f2(d) associated with the more optimal objective function, . The new exemplar at the d-th dimension is updated by . All nd dimensions are explored to yield the new direction  of the p-th particle. A schematic expression of the comprehensive learning strategy constructing the updating position  of the p-th particle is depicted in Figure 1.
      
    
    Figure 1.
      Comprehensive learning for the updating position .
  
For each p-th particle, the comprehensive searches permit its best exemplars  to learn from those of other particles in the same dimension. This feature enables the CLPSO to construct a diverse (better-quality) swarm and have global exploration ability of search spaces. The CLPSO assists particles in avoiding local optima pitfalls, and therefore, increases the likelihood of capturing accurate optimal design solutions.
In comprehensive learning, the exemplar at each dimension is randomly selected according to the learning probability function Pcp, described in Equation (5) []. More explicitly, for each d-th dimension, the learning probability function Pcp determines the new learning position of the exemplar  of the p-th particle, only when the random number within an interval [0, 1] (called rand) is less than the value of the function Pcp. Otherwise, the exemplar remains at its best position, namely . In a special case when all exemplars of the p-th particle are at their current best values , the new position  takes one of its exemplars randomly learnt from another particle  at the same d-th dimension. The comprehensive learning strategy iteratively processes the best position  (i.e., ) of the p-th particle, updated in Equations (2) and (3) for all nd dimensions.
The function Pcp takes different values for different particles that do not vary during the optimization iteration. For instance, the values of Pcp in Equation (5) for np = 20, 30, 40, and 50 particles are plotted in Figure 2.
        
      
        
      
      
      
      
    
      
    
    Figure 2.
      Learning probability function Pcp.
  
The CLPSO performs comprehensive learning when the objective function does not consecutively improve for more than refreshing gap, rgap (e.g., rgap = 5), iterations []. The comprehensive searches for the new learning location f(d) are described by the flowchart in Figure 3.
      
    
    Figure 3.
      Comprehensive learning procedure for new learning locations f(d).
  
3.2. Perturbation-Based Exploitation
To improve the exploitation ability of particles, an enhanced version of the CLPSO [], called the ECLPSO, implements a normative knowledge structure, detailed in Table 1. The normative knowledge adopts a dimensional interval to all personal best positions of the population. To employ perturbation-based exploitation, a certain condition in the normative knowledge is made for the decision of when the exploitation is performed effectively, and which region is focused.
       
    
    Table 1.
    Normative knowledge.
  
The two lower  and upper  bounds to all personal best positions  at the d-th dimension are defined by:
      
        
      
      
      
      
    
      
        
      
      
      
      
    
The perturbation-based exploitation improves the exploitation and accuracy of the CLPSO algorithm. This is applied to the standard CLPSO when the conditions stated in Equation (8) are satisfied. Then, the velocity is updated by Equation (9), now incorporating the perturbation-based exploitation term [].
        
      
        
      
      
      
      
    
      
        
      
      
      
      
    
        where  and  are the maximum and minimum positions at the d-th dimension, respectively; α is the relative ratio (which equals to 0.01); β is the small absolute bound (which is set as 2); η is the perturbation coefficient (which is constructed randomly from a normal distribution with the mean value of 1 and standard deviation of 0.65); and wPbE is the inertia weight (which is set as 0.5).
Each p-th particle moves toward  with a perturbation term of , where  at the d-th dimension. The perturbation term can be considered in two ways. First, it is obvious that , and the perturbation term is proportional to a normative interval size of . The smaller the interval size, the smaller the perturbation. Second, for the global optimal at the d-th dimension (i.e.,  is often close to the normative interval center of ), the perturbation term is proportional to the distance between  and , namely  being closer to the interval center.
As a result, the velocity in Equation (9) adaptively determines the local search granularity based on the interval size as well as the distance between exemplar position and the interval center of the dimension. As Equation (9) pulls each particle toward some position other than the position of the d-th dimension, a better solution can be expected around the interval. When the description in Equation (8) is not satisfied, the standard velocity given in Equation (4) is adopted. The perturbation-based exploitation process is depicted in Figure 4.
      
    
    Figure 4.
      Perturbation-based local search process.
  
3.3. Adaptive Learning Probability
Learning probabilities primarily capture an exemplar index in the CLPSO algorithm. Based on the particle index, these do not generally vary during the design iteration. The static learning probability often causes some difficulties in converging to an optimal solution. The ECLPSO method proposes a new adaptive learning probability function that is dynamically adjusted according to ranking information from a set of personal best particles []. The new adaptive learning probabilities in Equation (10) are adopted for the replacement of Equation (5) from the standard CLPSO:
      
        
      
      
      
      
    
        where
        
      
        
      
      
      
      
      is a positive scalar of 0.05 and  is the number of dimensions (i.e., when Equation (8) is satisfied before or during an iteration iter). Similar to Equation (5), the new function in Equation (10) incorporates the ranking parameter  that is defined by sorting the personal best fitness value in an ascending order. When the particle presents the best fitness value compared with others, its rank reads the value of 1 (Kp = 1). On the other hand, its rank reads the total number of population np (Kp = np) when the particle shows the worst fitness value.
To avoid premature solution convergence, an adjustment to  in Equation (11) is required to for a good balance between exploration and exploitation of search spaces. More explicitly, a small  value provides good exploration, whilst a large value supports exploitation procedures. In Equation (11),  reads the minimum value, when . Otherwise,  takes the maximum value, when . The presence of adaptive learning probability therefore enhances the exploitative ability of the population and accelerates solution convergence. This yields the main computational advantage of the ECLPSO, which overcomes the poor exploitation problem in standard CLPSO schemes.
4. Gaussian Local Search Strategy
The nature of the Gaussian distribution, unlike uniformity, is a bell-curved shape. It exploits more weights in the central field and improves the chance of finding accurate optimal solutions. The Gaussian (called normal) distribution denoted by  is characterized by the mean µ and variance σ2 values, as follows:
      
        
      
      
      
      
    
The present ECLPSO method applies the GLS strategy to define the deep local searches around  and . The GLS maps out the positions , within the interval of [, ] at the d-th dimension. A series of the new locations  are constructed based on the Gaussian probability density function to test the global best . In essence, the best global  remains rigorous when its objective function  continues to present the most optimum, viz., . Otherwise, the new global best position is updated by , associated with .
The exemplars  generated using the Gaussian probability density function in Equation (12), with the mean  and variance  values for 1000 random samples, are depicted in Figure 5, where
      
      
        
      
      
      
      
    
      
    
    Figure 5.
      (a) GLS strategy with mean µ and variance σ2 and (b)  constructed around .
  
The figure graphically illustrates the GLS strategy that constructs a series of samples  with a normal distribution around .
The ECLPSO method is turned into the GLS scheme when the current iteration iter reaches 80% of the total number of iterations (max_iter), namely iter ≥ 0.8 × max_iter. The positions  given in Equation (13) replace the velocities  and the positions  to construct the next position. The GLS scheme performs precise local searches around the global best , and therefore enhances the exploitative ability underlying the ECLPSO. The total number of iterations, max_iter, is preset to a sufficiently large value that ensures convergence to accurate optimal solutions.
5. Optimization Procedure
The combined ECLPSO and GLS, or GLS-ECLPSO, method, is summarized by the flowchart in Figure 6. The pseudocode is provided in the following section.
      
    
    Figure 6.
      GLS-ECLPSO procedure.
  
- STEP 0: Initial swarm population
- Construct the initial swarm population for .
 - Perform the comprehensive learning searches.
 
 - STEP 1: Enhanced CLPSO
- Determine the velocities in Equation (9) if the conditions in Equation (8) satisfy; otherwise, the velocities read Equation (4).
 - Update the new positions in Equation (3) and associated objective functions .
 - Determine the best position of the p-th particle. If there is no improvement in for more than rgap consecutive swarm iterations, perform the comprehensive learning searches for the new p-th best position .
 - Determine the global best position over the entire swarm population.
 - Reiterate the ECLPSO processes in STEP 1. When iter ≥ 0.8 × max_iter, perform the GLSs at STEP 2.
 
 - STEP 2: Gaussian local searches
- Perform the GLSs to construct the samples in Equation (13) using the Gaussian distribution function in Equation (12).
 - Test the global best position . If , update .
 - Repeat STEP 2 until iter = max_iter.
 
 
6. Illustrative Examples
The applications of the proposed GLS-ECLPSO method are illustrated for the optimal size and shape designs of planar and spatial truss structures. Four examples [,,,,,,,,,], consisting of different geometries and sizes, have generally been adopted to validate the accuracy and robustness of various meta-heuristic algorithms. These were formulated as the challenging non-convex and non-smooth NLP problems in Equation (1). The presence of permissible (buckling) stress and serviceability conditions with discrete area variables posed the major difficulty in processing such a problem. For each example, the solutions (including the total design weight, total number of analyses. and statistical values) collected from 25 independent GLS-ECLPSO solves were reported and compared with those available in the literature. The proposed GLS-ECLPSO algorithm was encoded as a Python code, made available for download at https://github.com/thuchula6792/GLS-ECLPSO (accessed on 6 September 2022).
6.1. Example 1: 15-Bar Cantilever Truss
The first example considered a 15-bar planar truss structure [], subjected to a vertical load (10 kips) at node 8, as shown in Figure 7. The structure was discretized into 15 pin-connected members and 8 nodes (ng = 23; ne = 15; and nn = 8). All structural members were subjected to the stress limits of ±25 ksi in tension and compression.
      
    
    Figure 7.
      Example 1: 15-bar planar truss.
  
The material properties adopted had a density of 0.1 lb-in−3 and modulus of elasticity of 104 ksi. Member sizes were solely selected from a discrete set of available areas, and nodal coordinate variables were  for , as detailed in Table 2. For practical designs, a symmetric layout was imposed as a design criterion in the optimization problem. The NLP problem in Equation (1) consisted of 23 design variables , namely 15 unknown member sizes (in2-unit) and 8 unknown nodal x-y coordinates (in-unit). 
       
    
    Table 2.
    Example 1: design variables and constraints.
  
The proposed GLS-ECLPSO algorithm was performed on the total 20 particles (i.e., np = 20; max_iter = 300), and successfully obtained the optimal solution of the truss. As detailed in Table 3, the computed minimum total weight of W(a) = 74.1723 lb presented the least value, compared with the reference methods [,,,]. The optimal layout of the designed truss, which varied from its original shape, is depicted in Figure 8.
       
    
    Table 3.
    Example 1: optimal size and shape design solutions.
  
      
    
    Figure 8.
      Example 1. optimal shape solution.
  
All 25 independent designs strictly complied with the imposed constraints. The maximum stress developed was 24.9964 ksi, as shown in Figure 9. The statistical values in Table 3 show that the proposed GLS-ECLPSO captured the most minimum weight with a small standard deviation (namely, SD = 3.22 lb).
      
    
    Figure 9.
      Example 1: permissible and designed member stresses.
  
The convergence of designed total weights, defined by the unconstrained nonlinear function in Equation (2), was plotted in Figure 10 for both the best and mean values to the optimal solutions. This illustrated that the GLS-ECLPSO quickly converged to the minimum weight of the structure as it approached the first 200 iterations of the maximum preset 300 iterations.
      
    
    Figure 10.
      Example 1: solution convergence.
  
6.2. Example 2: 18-Bar Planar Truss
The 18-bar planar truss [] in Figure 11 was applied by the vertical forces of 20 kips at nodes 8, 6, 4, 2, and 1. The structure was modeled as 18 pin-connected members with 11 nodes (i.e., ng = 12; ne = 18; and nn = 11). The material properties adopted had a density of 0.1 lb-in−3 and modulus of elasticity of 104 ksi. The member sizes were solely selected from the available set of discrete areas. Similar area conditions of members within the groups are specified in Table 4. The structure was designed under buckling constraints, with a buckling coefficient of K = 4 in compression and a permissible tensile stress of 25 ksi.
      
    
    Figure 11.
      Example 2: 18-bar planar truss.
  
       
    
    Table 4.
    Example 2: design variables and constraints.
  
The nodal coordinates  for  at the top-chord members and two restrained points were unvaried, whilst those for  at the bottom-chord were designed for an optimal layout. This led to a total of twelve design variables , consisting of four unknown member sizes (in2-unit) and eight unknown nodal x-y coordinates (in-unit).
The simultaneous size and shape optimization was formulated as the non-convex and non-smooth NLP problem in Equation (1). The GLS-ECLPSO method constructed the total 20 particles with the algorithmic parameters of max_iter = 300. The minimum weight of W(a) = 4175.1425 lb was successfully determined. All constraints on permissible and buckling forces developed for design members were strictly complied with, as shown in Figure 12. The corresponding optimal layout and normalized buckling force ratios are depicted in Figure 13.
      
    
    Figure 12.
      Example 2: permissible and designed member stresses.
  
      
    
    Figure 13.
      Example 2: optimal design solution with (a) optimal shape and (b) normalized buckling force ratio.
  
The optimal solution presented a total weight value that was 8% less than those reported in the literature [,,,]. Table 5 summarizes the optimal solutions, as well as the statistical values obtained from 25 independent runs. In essence, the small standard deviation of 57.32 lb is addressed. This illustrates the superior performance of the proposed method in obtaining accurate and reliable optimal design solutions that are insensitive to the underlying algorithmic random parameters. Good convergence to the (best and mean) optimal design solutions was shown in the first 200 iterations, as shown in Figure 14.
       
    
    Table 5.
    Example 2: optimal size and shape design solutions.
  
      
    
    Figure 14.
      Example 2: solution convergence.
  
6.3. Example 3: 47-Bar Tower Truss
The third example designed the simultaneous shape and member sizes of a 47-bar tower truss in Figure 15 []. Three different load cases (viz., each case involved similar forces applied at either node 17 or 22, or both nodes) were considered (see Table 6), and the design was subjected to three multiple load cases. The presence of multiple load cases was considered by assigning each member stress and each nodal displacement with their associated maximum (critical) responses developed under the envelop of three load cases.
      
    
    Figure 15.
      Example 3: 47-bar tower truss.
  
       
    
    Table 6.
    Example 3: design variables and constraints.
  
The material properties had a density of 0.3 lb-in−3 and modulus of elasticity of 3 × 104 ksi, with permissible stresses of 20 ksi in tension and 15 ksi in compression.
The structure was discretized into 47-pin-connected members and 22 nodes (ng = 44; ne = 47; and nn = 22). A symmetric layout about the y-axis was imposed and led to a total of 44 design variables , including 27 unknown member sizes (in2-unit) and 17 unknown nodal x-y coordinates (in-unit). Six specific nodes, namely 1 and 2 at supports and 15–17 and 22 at the tower arms, were restrained to their original locations. The design solely selected the member sizes from the set of discrete areas with an incremental step of 0.1 in2 and determined the nodal coordinates  for  in the presence of stress constraints, where the Euler’s buckling load of 3.96 EA.L−2 was enforced to all members.
The proposed GLS-ECLPSO method generated a total of 20 particles (viz., np = 20, max_iter = 1500) and successfully converged to the minimum total weight of W(a) = 1799.8757 lb for the best designed truss structure. The optimal design strictly satisfied the permissible stress conditions, drawn in Figure 16. The associated optimal layout with normalized buckling load ratios developed within the members are plotted in Figure 17.
      
    
    Figure 16.
      Example 3: permissible and designed member stresses.
  
      
    
    Figure 17.
      Example 3: optimal design solution with (a) optimal shape and (b) normalized buckling force ratio.
  
The computed results, including member areas, nodal coordinates, and statistical values given by 25 independent solves, were summarized in Table 7. The most minimum design was achieved compared with those reported in the literature [,,,,]. Moreover, the small standard deviation of 89.53 lb described the reliability of the proposed method in repetitively obtaining accurate designs under population-based random parameters. The fast convergence to the best and mean designed total weights of the structure is depicted in Figure 18 and presents the superior performance of the GLS-ECLPSO method in capturing the near-optimal solution for the non-convex and non-smooth NLP problem in Equation (1).
       
    
    Table 7.
    Example 3: optimal size and shape design solutions.
  
      
    
    Figure 18.
      Example 3: solution convergence.
  
6.4. Example 4: 25-Bar Space Truss
The final example considered the 25-bar space (three-dimensional) truss structure [] shown in Figure 19 that was subjected to applied load regimes listed in Table 8. The material properties employed throughout had a density of 0.1 lb-in−3 and a modulus of elasticity of 104 ksi. The simultaneous size and shape optimization of this structure determined its optimal layout and distribution of member areas under the design criteria, stating the allowable stresses of 40 ksi in both tension and compression, as well as limited displacements of 0.35 in all x-y-z directions at nodes 1 to 6, simultaneously.
      
    
    Figure 19.
      Example 4: 25-bar space truss.
  
       
    
    Table 8.
    Example 4: design variables and constraints.
  
The structure was modeled as 25-pin-connected members with 10 nodes (i.e., ng = 13; ne = 25; and nn = 10). The governing NLP problem in Equation (1) consisted of 13 design variables , including 8 unknown member sizes (in2-unit) and 5 unknown coordinates  (in-unit) at nodes 4 and 8. The member sizes were selected solely from the set of discrete areas, and the nodal coordinates were imposed with the conditions stated in Table 8.
The GLS-ECLPSO approach with the total 20 particles (np = 20, max_iter = 300) successfully determined the least minimum total weight of W(a) = 118.045 lb, compared with the designs given in the literature [,,,,]. The plots in Figure 20 illustrated the satisfaction of permissible stresses and limited displacements at nodes 1 to 6. The diagram also showed the limited displacement conditions governing the optimal design. Contrary to the displacements, the member stresses were far from the permissible values.
      
    
    Figure 20.
      Example 4: constraint satisfaction of (a) permissible member stresses and (b) limited displacements at nodes 1 to 6.
  
As detailed in Table 9, the standard deviation associated with the 25 independent design runs was only 4.2 lb, which indicated good performance of the proposed method in reliably obtaining the optimal size and shape designs for the class of problems considered. The optimal layout corresponding to the best design is plotted in Figure 21, presenting geometric variation from its original shape. Good convergence to the best and mean values of the total weights in Figure 22 was observed for a series of GLS-ECLPSO processes. It showed that optimal solutions were achieved in the first 280 iterations of the total preset 300 iterations in the algorithm.
       
    
    Table 9.
    Example 4: optimal size and shape design solutions.
  
      
    
    Figure 21.
      Example 4: optimal shape solution.
  
      
    
    Figure 22.
      Example 4: solution convergence.
  
6.5. Discussions of the Results
From all the successfully solved design examples, we discuss three main findings.
(i) The proposed GLS-ECLPSO method incorporated various enhanced search techniques especially designed for different purposes. The perturbation-based local searches enhanced the standard CLPSO using normative information to perform robust exploitative searches (i.e., updating the particle velocity) over the appropriate locations within a feasible domain. The adaptive learning probability enabled dynamic adjustment from the ranking of personable best particles, improving the capability to eliminate the poor exploitation of search spaces. The GLS scheme generated samples in a Gaussian distribution around the global best particle, and thus enhanced explorative searches. A combination of these techniques provided an enhanced likelihood of obtaining an accurate optimal design for simultaneous size and shape optimization of the problems considered, which were casted as challenging convex and/or non-smooth programs.
(ii) The optimal solutions computed by the proposed GLS-ECLPSO are summarized in Table 10, where the lowest minimum weights reported in the literature [,,,,,,,,,] are collected. The superior performance of our proposed design method is shown. The lowest minimum weights (indicating that it was the most optimal solution) were obtained by the GLS-ECLPSO approach, compared with the best results found in the literature, namely D-ICDE [], SCPSO [], CA-ICEA [], and D-ICDE [] for Examples 1 through 4, respectively. The associated member stresses (buckling forces) and nodal displacements strictly complied with the imposed limits, and hence reported zero percent constraint violation. Moreover, the statistical values collected from the 25 independent designs solved by the proposed method (see Table 3, Table 5, Table 7 and Table 9) showed a small standard deviation for all the examples processed, indicating high reliability of the GLS-ECLPSO approach in repeatedly determining accurate optimal designs for the class of structures considered, being insensitive to the underlying population-based random parameters.
       
    
    Table 10.
    Result summary for least minimum weight designs.
  
(iii) Whilst a fast convergence to minimum weight solutions (viz., for both best and mean values) was presented in Figure 10, Figure 14, Figure 18 and Figure 22, the proposed GLS-ECLPSO method involved slightly greater numbers of analyses compared with methods cited in the literature. It processed enhanced search strategies, including perturbation exploitative and Gaussian explorative searching schemes. Similar to standard population-based algorithms, the solutions of large-scale problems necessarily require a special high-performance parallel computing framework with sufficient memory storage. In contrast to this, the presence of some machine learning maps out the predictive models of design structures and by-passes the need to iteratively call finite element implementations within a time-consuming meta-heuristic algorithm. This could be a promising solution to robustly handle large-scale optimization problems. This technique is currently under investigation and is an area for future research.
7. Concluding Remarks
This paper presents an efficient meta-heuristic GLS-ECLPSO method that reliably performs optimal size and shape design of truss structures in two- and three-dimensional spaces. The governing formulation is cast as a non-convex and/or non-smooth optimization problem in view of the presence of discrete area variables and permissible stress and/or limited displacement conditions. In essence, two main phases underpinning the proposed approach have been incorporated to enhance a good balance between the exploration and exploitation of search spaces.
The first phase enhances the trajectories of particles in the design space using the information across personal best particles, whilst the comprehensive learning scheme enables cross-positions between the best swarm particles in each dimension. The two perturbation-based exploitation (viz., normative knowledge on bounds of the personal best positions) and adaptive learning probability functions are encoded to achieve good exploitative search ability and fast convergence to the optimal solution. The second phase applies the GLS strategy that generates random (following a Gaussian distribution) particles enveloping the global best particle to test its optimality, and hence, an accurate exploitation procedure. This process avoids premature convergence to local optima.
Four size and shape optimization examples illustrate the accurate optimal design solutions using the proposed method, validating the good performance of the proposed GLS-ECLPSO method. The results are consistent with those reported in the literature. The standard deviation collected from various independent runs presents a small variance. This indicates the reliability of the proposed design method that can achieve optimal solutions, whilst being insensitive to population-based random parameters.
Author Contributions
T.H.V.: methodology, software, validation, writing —original draft preparation; S.T.: conceptualization, methodology, resources, writing—original draft preparation, supervision, and funding acquisition; S.M.: formal analysis, investigation, and data curation; P.T.V.: visualization. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Thailand Science Research and Innovation Fund, Chulalongkorn University (IND66210025). We also acknowledge the support from Chulalongkorn University under the Ratchadaphiseksomphot Endowment Fund and the Second Century Fund.
Data Availability Statement
The data presented in this study are available on request from the corresponding author.
Acknowledgments
The authors would like to sincerely thank the reviewers for their careful reviews and constructive comments on the earlier version of the manuscript.
Conflicts of Interest
The authors declare that the funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.
References
- Haftka, R.T.; Grandhi, R.V. Structural shape optimization—A survey. Comput. Methods Appl. Mech. Eng. 1986, 57, 91–106. [Google Scholar] [CrossRef]
 - Wang, D.; Zhang, W.; Jiang, J. Truss shape optimization with multiple displacement constraints. Comput. Methods Appl. Mech. Eng. 2002, 191, 3597–3612. [Google Scholar] [CrossRef]
 - Hsu, Y.-L. A review of structural shape optimization. Comput. Ind. 1994, 25, 3–13. [Google Scholar] [CrossRef]
 - Salajegheh, E.; Vanderplaats, G.N. Optimum design of trusses with discrete sizing and shape variables. Struct. Multidiscip. Optim. 1993, 6, 79–85. [Google Scholar] [CrossRef]
 - Wang, D.; Zhang, W.; Jiang, J. Truss optimization on shape and sizing with frequency constraints. AIAA J. 2004, 42, 622–630. [Google Scholar] [CrossRef]
 - Rao, S.S. Engineering Optimization: Theory and Practice; John Wiley & Sons: Hoboken, NJ, USA, 2019. [Google Scholar]
 - Kochenderfer, M.J.; Wheeler, T.A. Algorithms for Optimization; MIT Press: Cambridge, MA, USA, 2019. [Google Scholar]
 - Martins, J.R.; Ning, A. Engineering Design Optimization; Cambridge University Press: Cambridge, UK, 2021. [Google Scholar]
 - Wu, S.-J.; Chow, P.-T. Integrated discrete and configuration optimization of trusses using genetic algorithms. Comput. Struct. 1995, 55, 695–702. [Google Scholar] [CrossRef]
 - Soh, C.K.; Yang, J. Optimal layout of bridge trusses by genetic algorithms. Comput. Aided Civ. Infrastruct. Eng. 1998, 13, 247–254. [Google Scholar] [CrossRef]
 - Kaveh, A.; Talatahari, S. An enhanced charged system search for configuration optimization using the concept of fields of forces. Struct. Multidiscip. Optim. 2011, 43, 339–351. [Google Scholar] [CrossRef]
 - Miguel, L.F.F.; Miguel, L.F.F. Shape and size optimization of truss structures considering dynamic constraints through modern metaheuristic algorithms. Expert Syst. Appl. 2012, 39, 9458–9467. [Google Scholar] [CrossRef]
 - Ho-Huu, V.; Nguyen-Thoi, T.; Nguyen-Thoi, M.; Le-Anh, L. An improved constrained differential evolution using discrete variables (D-ICDE) for layout optimization of truss structures. Expert Syst. Appl. 2015, 42, 7057–7069. [Google Scholar] [CrossRef]
 - Azad, S.K.; Bybordiani, M.; Azad, S.K.; Jawad, F.K. Simultaneous size and geometry optimization of steel trusses under dynamic excitations. Struct. Multidiscip. Optim. 2018, 58, 2545–2563. [Google Scholar] [CrossRef]
 - Ho-Huu, V.; Nguyen-Thoi, T.; Truong-Khac, T.; Le-Anh, L.; Vo-Duy, T. An improved differential evolution based on roulette wheel selection for shape and size optimization of truss structures with frequency constraints. Neural Comput. Appl. 2018, 29, 167–185. [Google Scholar] [CrossRef]
 - Nguyen-Van, S.; Nguyen, K.T.; Luong, V.H.; Lee, S.; Lieu, Q.X. A novel hybrid differential evolution and symbiotic organisms search algorithm for size and shape optimization of truss structures under multiple frequency constraints. Expert Syst. Appl. 2021, 184, 115534. [Google Scholar] [CrossRef]
 - Luo, R.; Wang, Y.; Xiao, W.; Zhao, X. AlphaTruss: Monte Carlo Tree Search for Optimal Truss Layout Design. Buildings 2022, 12, 641. [Google Scholar] [CrossRef]
 - Hussain, K.; Salleh, M.N.M.; Cheng, S.; Shi, Y. Metaheuristic research: A comprehensive survey. Artif. Intell. Rev. 2019, 52, 2191–2233. [Google Scholar] [CrossRef]
 - Yang, X.-S. Nature-Inspired Metaheuristic Algorithms; Luniver Press: Cambridge, UK, 2010. [Google Scholar]
 - Hussain, K.; Salleh, M.N.M.; Cheng, S.; Shi, Y. On the exploration and exploitation in popular swarm-based metaheuristic algorithms. Neural Comput. Appl. 2019, 31, 7665–7683. [Google Scholar] [CrossRef]
 - Morales-Castañeda, B.; Zaldivar, D.; Cuevas, E.; Fausto, F.; Rodríguez, A. A better balance in metaheuristic algorithms: Does it exist? Swarm Evol. Comput. 2020, 54, 100671. [Google Scholar] [CrossRef]
 - Wolpert, D.H.; Macready, W.G. No free lunch theorems for optimization. IEEE Trans. Evol. Comput. 1997, 1, 67–82. [Google Scholar] [CrossRef]
 - Eberhart, R.; Kennedy, J. Particle swarm optimization. In Proceedings of the IEEE International Conference on Neural Network, Perth, Australia, 27 November–1 December 1995; pp. 1942–1948. [Google Scholar]
 - Van, T.H.; Tangaramvong, S.; Limkatanyu, S.; Xuan, H.N. Two-phase ESO and comprehensive learning PSO method for structural optimization with discrete steel sections. Adv. Eng. Softw. 2022, 167, 103102. [Google Scholar] [CrossRef]
 - Liang, J.J.; Qin, A.K.; Suganthan, P.N.; Baskar, S. Comprehensive learning particle swarm optimizer for global optimization of multimodal functions. IEEE Trans. Evol. Comput. 2006, 10, 281–295. [Google Scholar] [CrossRef]
 - Yu, X.; Zhang, X. Enhanced comprehensive learning particle swarm optimization. Appl. Math. Comput. 2014, 242, 265–276. [Google Scholar] [CrossRef]
 - Tangaramvong, S.; Tin-Loi, F.; Gao, W. Optimal retrofit of moment resisting frames using braces accounting for geometric nonlinearity and serviceability conditions. Eng. Struct. 2014, 80, 189–199. [Google Scholar] [CrossRef]
 - Tangaramvong, S.; Tin-Loi, F. Optimal performance-based rehabilitation of steel frames using braces. J. Struct. Eng. 2015, 141, 04015015. [Google Scholar] [CrossRef]
 - Gholizadeh, S. Layout optimization of truss structures by hybridizing cellular automata and particle swarm optimization. Comput. Struct. 2013, 125, 86–99. [Google Scholar] [CrossRef]
 - Rahami, H.; Kaveh, A.; Gholipour, Y. Sizing, geometry and topology optimization of trusses via force method and genetic algorithm. Eng. Struct. 2008, 30, 2360–2369. [Google Scholar] [CrossRef]
 - Miguel, L.F.F.; Lopez, R.H.; Miguel, L.F.F. Multimodal size, shape, and topology optimisation of truss structures using the Firefly algorithm. Adv. Eng. Softw. 2013, 56, 23–37. [Google Scholar] [CrossRef]
 - Dede, T.; Ayvaz, Y. Combined size and shape optimization of structures with a new meta-heuristic algorithm. Appl. Soft Comput. 2015, 28, 250–258. [Google Scholar] [CrossRef]
 - Jawad, F.K.J.; Ozturk, C.; Dansheng, W.; Mahmood, M.; Al-Azzawi, O.; Al-Jemely, A. Sizing and layout optimization of truss structures with artificial bee colony algorithm. Structures 2021, 30, 546–559. [Google Scholar] [CrossRef]
 - Hasançebi, O.; Erbatur, F. On efficient use of simulated annealing in complex structural optimization problems. Acta Mech. 2002, 157, 27–50. [Google Scholar] [CrossRef]
 - Kaveh, A.; Zaerreza, A. Size/Layout Optimization of Truss Structures Using Shuffled Shepherd Optimization Method. Period. Polytech. Civ. Eng. 2020, 64, 408–421. [Google Scholar] [CrossRef]
 - Dehghani, M.; Mashayekhi, M.; Sharifi, M. An efficient imperialist competitive algorithm with likelihood assimilation for topology, shape and sizing optimization of truss structures. Appl. Math. Model. 2021, 93, 1–27. [Google Scholar] [CrossRef]
 - Tang, W.; Tong, L.; Gu, Y. Improved genetic algorithm for design optimization of truss structures with sizing, shape and topology variables. Int. J. Numer. Methods Eng. 2005, 62, 1737–1762. [Google Scholar] [CrossRef]
 
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.  | 
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).