PII: S0957-4174(17)30794-7
DOI: 10.1016/j.eswa.2017.11.035
Reference: ESWA 11678
Please cite this article as: Hirad Assimi, Ali Jamali, A hybrid algorithm coupling genetic programming
and Nelder-Mead for topology and size optimization of trusses with static and dynamic constraints,
Expert Systems With Applications (2017), doi: 10.1016/j.eswa.2017.11.035
This is a PDF file of an unedited manuscript that has been accepted for publication. As a service
to our customers we are providing this early version of the manuscript. The manuscript will undergo
copyediting, typesetting, and review of the resulting proof before it is published in its final form. Please
note that during the production process errors may be discovered which could affect the content, and
all legal disclaimers that apply to the journal pertain.
ACCEPTED MANUSCRIPT
Highlights
• Genetic programming used for truss optimization with static and dy-
namic constraints
T
rithm
IP
• The proposed algorithm performed on discrete sizing optimization of
trusses
CR
• The proposed approach outperformed other reported methods in most
of the cases
US
AN
M
ED
PT
CE
AC
1
ACCEPTED MANUSCRIPT
T
Hirad Assimia , Ali Jamalia,∗
IP
a
Faculty of Mechanical Engineering, University of Guilan, P.O. Box: 3756, Rasht, Iran
CR
Abstract
US
Truss optimization aims to provide the lightest truss to gain the maximum
benefit out of available resources. Truss optimization may subject to static
and dynamic constraints. Static constraints include structural kinematic
AN
stability, maximum allowable stress in truss members, maximum allowable
deflection in the truss nodes and critical buckling load. However, dynamic
constraints impose limits on the natural frequency of the desired truss to
avoid the destructive resonance phenomenon. Taking both static and dy-
M
namic constraints into account may lead to growth in the search space but
dwindling its feasible region; the search space becomes very non-convex and
may subterfuge the solver to trap in a local optimum. Another design con-
ED
the truss nodes) and optimal cross-sectional areas for its members subject to
design constraints. It also benefits from a Nelder-Mead local search operator
to improve the competence and true convergence of the algorithm. Our algo-
CE
rithm has been applied to some numerical examples considering both types
of continuous and discrete design variables; It proved its efficiency to find
better solutions (lighter trusses) in comparison with other methods in the
AC
∗
Corresponding author
Email addresses: assimi@msc.guilan.ac.ir (Hirad Assimi),
ali.jamali@guilan.ac.ir (Ali Jamali)
1. Introduction
T
Truss optimization problems have been attracted numerous researchers
IP
in late decades to develop more efficient methods. They aim to provide a
preliminary and quick design for further analysis to implement in the real-
CR
world. Truss optimization classifies into three categories: topology optimiza-
tion looks for the optimal connectivity among the truss nodes; size opti-
mization assigns the optimal cross-section areas for the members and shape
optimization seeks the optimum geometric coordinates for the truss nodes in
the design space (Deb, 2001).
US
Truss optimization problems commonly aim to minimize its structural
AN
weight subject to some design constraints. Numerous studies have been
done to optimize truss structures subject to static constraints such as max-
imum stress and deflection in the truss in the last three decades (Yang and
Soh, 1998, Deb, 2001, Li et al., 2007, Mortazavi and Toğan, 2017). Some
M
Miguel, 2012, Kaveh and Mahdavi, 2015, Kaveh and Ilchi Ghazaan, 2015,
Farshchin et al., 2016a,b). Changing the configuration and size of a truss af-
fect its vibration modes and natural frequencies. Many real-world structures
PT
3
ACCEPTED MANUSCRIPT
Studies which incorporate both static and dynamic constraints are scarce.
Xu et al. applied a parabolic interpolation method called 1-D search method
for this purpose (Xu et al., 2003). They proposed an imaginary bar approach
and topology group method to handle this problem. Kaveh et al. (Kaveh
and Zolghadr, 2013) utilized charged search system algorithm and Savsani et
T
al. applied teaching learning based optimization algorithm and its modified
IP
version for truss optimization subject to both static and dynamic constraints
(Savsani et al., 2016). They later proposed various algorithms utilizing the
random mutation operator for this purpose and incorporated discrete design
CR
variables (Savsani et al., 2017).
Considering both types of constraints turns the search space into a highly
nonlinear and non-convex search space that increases the probability of be-
US
ing swamped in local optimums of the search space. The nature of frequency
constraints are implicit with respect to the design variables and switching
the vibration modes can bring up a challenge to reach the convergence by
the solver (Grandhi, 1993). As the search space grows larger and becomes
AN
more complex, it requires a competent method and a global optimization al-
gorithm to deal with this problem. Evolutionary algorithms have been used
effectively in solving truss optimization problems (Hare et al., 2013). How-
M
et al., 2014, Gholaminezhad et al., 2016, Jamali et al., 2016). Genetic Pro-
gramming has been also employed for optimizing and evolving some opti-
mization methods (Koohestani and Poli, 2014, Fajfar et al., 2017). Genetic
CE
4
ACCEPTED MANUSCRIPT
T
convergence of the algorithm to the optimum solution. This alteration op-
IP
erator proposed to overcome the drawback of stationary elements in genetic
programming individuals when no mathematical operator is present in its
function set.
CR
It is noticeable that all studies as mentioned earlier, employ GP for opti-
mization of trusses subject to static constraints. In this paper, we investigate
the efficiency of GP in solving the highly nonlinear and very nonconvex prob-
US
lem of truss optimization with static and dynamic constraints. This paper
proposes a hybrid genetic programming algorithm using a Nelder-Mead local
search operator besides the conventional genetic operators (such as crossover
and mutation). We also consider two different types of design variables as
AN
continuous and discrete design variables to incorporate fabricational con-
straints.
M
Section 2 states the problem and its governing equations; it also expresses
the design considerations and constraints. Section 3 provides the flowchart
of the proposed algorithm and describes its features in details. Section 4
ED
5
ACCEPTED MANUSCRIPT
Nodes in the ground structure categorize into essential and optional types.
Essential nodes include truss nodes that must be present in the optimum de-
sign; these nodes either support the structure, carry the forces or lumped
masses. In contrast, optional nodes are not mandatory to exist in the final
optimum design, and they may get incorporated to prevent the truss turning
T
into a mechanism or better distribution of the stresses through the members.
IP
Sizing and topology truss optimization problem aims to minimize the cost
of a structure by finding the optimal connectivity table among its truss nodes
CR
while it preserves or eliminates truss members from the ground structure. It
intends to distribute the stress throughout the present members and simulta-
neously, it seeks the optimum size of the cross-section areas for each member
to reduce the cost of the truss.
US
The problem of sizing and topology of truss optimization can be stated
as follows (Xu et al., 2003),
AN
m
X n
X
Minimize f (A) = ρi Ai li + cj i = 1, 2, ..., m, j = 1, 2, ..., n
M
i=1 j=1
G3 ≡ σi ≤ σimax i = 1, 2, .., m
cr
G4 ≡ σi ≤ σi i = 1, 2, .., m for compressive members
max
G5 ≡ δj ≤ δj j = 1, 2, .., n
PT
G8 ≡ Ai ∈ [Amin
i , Amax
i ] i = 1, 2, ...m
(1)
AC
f (A) denotes the structural cost of the truss, and it sums the structural
weight of the truss members with the cost of its nodes, and it depends di-
rectly on the cross-section areas of the members. It should be noted that the
cost functions excludes the lumped masses on the truss nodes. Ai , li and ρi ,
cj denote the cross-section area, length, material density of the ith member
6
ACCEPTED MANUSCRIPT
and mass of the jth node, respectively. Design variables include the cross-
sectional areas of the truss members. Ai denotes the size of the cross-section
area of ith member. Design variables can be continuous or discrete. Con-
tinuous design variables incorporate a range of numbers from a lower limit
(Amin ) to an upper bound (Amax ); but, discrete design variables consider a
T
i i
set of available cross-section areas to choose from; it aims to satisfy existing
IP
provisions in design codes and to incorporate fabricational constraints.
σi , σicr and σimax signify the stress in ith member,the critical buckling
CR
load of the ith member and maximum allowable stress in the truss defined
by the problem, respectively. fk , fkmax denote the kth natural frequency and
its maximum limit; and fl and flmin denote the lth natural frequency and its
cient.
The constraints from the Equation 1 are inspired from (Deb, 2001) and
PT
7
ACCEPTED MANUSCRIPT
where P is defined:
9
10
if G1 is violated,
108 if G2 is violated in first step,
107 if G2 is violated in the second step,
T
P = Pm
105
( | hG3i i | Otherwise.
Pm i=1 P
IP
+ i=1 | hG4i i | + nj=1 | hG5j i |
P P
+ k=1 | hG6k i | + l=1 | hG7l i |)
CR
(4)
The following defines each of the design constraints:
1. constraint G1: This constraint tests the suitability of a truss. It
US
checks if the truss includes all essential nodes of the ground structure.
If a truss violates this constraint, it assigns a huge penalty to the truss
structural cost according to Equation 4.
2. constraint G2: If a truss loses stability can turn into a mechanism and
AN
it is undesirable for the designer. One method to verify the stability of
a truss is checking the positive definiteness of its stiffness matrix. This
process is computationally expensive, but Deb and Gulati (Deb, 2001)
M
suggested a two stage approach to handle this issue. In the first stage,
Grubler criterion evaluates the degrees of freedom in the truss, and if it
returns a positive value, it ensures that the structure is a mechanism;
ED
structural cost.
3. constraint G3-G7: These constraints check static and dynamic char-
acteristics of a truss. Constraint G3 checks if stress in a truss member
CE
8
ACCEPTED MANUSCRIPT
T
It’s noticeable that if a truss violates each of the constraints G1-G2, it
IP
gets penalized and no further calculation is done.
CR
Figure 1 illustrates the proposed hybrid genetic programming (HGP) al-
gorithm and this section expresses the features of the algorithm.
US
1. Ground strucutre: In the first step, the designer inputs the known
data of the design space to the algorithm. These data include the
AN
geometric coordination of nodes, the possible connectivity table among
nodes, load conditions, lumped masses and specifying the essential and
optional nodes.
2. Initial population: In this step, Genetic programming generates an
M
for truss optimization problem, the function and terminal sets are con-
sidered as follows to produce the candidate solutions.
AC
where Ai denotes the size of cross-sectional area of the ith truss member
and Nj (xj , yj , zj ) indicates the geometric coordinates of the jth node
in the design space. Figure 2 (a) depicts a sample tree generated using
9
ACCEPTED MANUSCRIPT
T
2.5 m 2.5 m 2.5 m
Tree #1
IP
F1
Truss #1
1.5 m
F2
Tree #2
2.5 m
Truss #2
Input
CR
Y F2 F1 User
X
Truss #PS Tree #PS Added mass
[K][δ]=[F]
US Parents Offsprings
AN
? kg [K][M]
Weight calculation Static and modal analysis Crossover operator
M
Selected tree
No Termination
criterion
ED
satisfied? Offspring
Generated
Genetic programming individual subtree
Yes
PT
CE
Optimum design
AC
10
ACCEPTED MANUSCRIPT
A1
A5 A6
A7 A2 A3 A9
T
A8 N1 N1 N2 A4 N2 N2 A10
IP
N5 N3 N3 N4 N4 N6
(a)
CR
1
(5) (6)
8 9
(1)
7
5
US 6
10
(4)
AN
2 (2) 3 (3) 4
(b)
M
Figure 2: Illustration of a genetic programming individual in tree form (a) and in truss
form.
ED
each tree into a structure. Soh and yang (Soh and Yang, 2000) proposed
an efficient mapping scheme for this purpose. This scheme preserves
the mandatory feature of decoding a tree to a truss in 1-to-1 mapping
and is fully described in (Soh and Yang, 2000) . HGP decodes each of
the trees into a truss by the provided scheme. Figure 2 (b) depicts a
sample tree decoded into truss format by this mapping method.
11
ACCEPTED MANUSCRIPT
T
member and cost of each node but, lumped masses are excluded.
IP
5. Static and modal analysis: After assigning the cost of each truss,
HGP employs static and dynamic analysis on each truss to penalize
each truss if it violates any design considerations. HGP uses OpenSEES
CR
to perform the finite element analysis. OpenSEES provides various
types of elements and solvers to handle complex structural problems(Mazzoni
et al., 2006).
US
6. Genetic operators (Crossover and Mutation): Genetic operators
empower genetic programming to explore the search space and excel the
competence of its population through the evolution process. Crossover
operator takes two parents from the initial population based on a pro-
AN
portionate fitness-based method such as tournament and probability
of crossover (pc ). It cuts each parent from a random location of the
tree and swaps the sliced fragments of two parents with each other to
M
12
ACCEPTED MANUSCRIPT
T
an N-dimensional problem. Each vertex of this simplex can be shown
IP
as a vector, and it evaluates the objective function on each of its ver-
tices (test points). Then it sorts the test points in order that N + 1th
test point has the worst value in optimization problem. In next step,
CR
Nelder-Mead finds the centroid of the simplex (x̄). Nelder-Mead em-
ploys the reflection operator and finds a new point (xr ) based on the
centroid and the worst point. Based on some conditions, it employs
US
other operators such as expansion, contraction and reduction to im-
prove the objective function value in the test points. This process goes
on till a termination criterion such as reaching a threshold in the test
points gets satisfied. More information about the Nelder-Mead proce-
AN
dure and its functions can be found in (Nelder and Mead, 1965, Han
and Neumann, 2006, Yang, 2010) Figure 3 depicts a schematic of the
Nelder-Mead operators to improve the solutions.
M
this operator for problems with continuous design variables and other
problems with discrete design variables require no change in their cross-
section areas since they choose cross-sections from a set of predefined
CE
available cross-sections.
8. Termination criterion and designation of final result: After per-
forming genetic operators and local search operator on its population,
AC
13
ACCEPTED MANUSCRIPT
x2
T
V2
xe
IP
x2
xr
x1
CR
x VN+1
xc xN+1
xN+1
x1
(a)
US (b)
4. Numerical examples
ED
the structural weight of the truss including the weight of the members and
cost of each node; but, it excludes the lumped masses into the calculation.
The members are supposed as tabular with buckling coefficient (ki ) as 4 in
AC
Equation 2 and cost of each node (cj ) is assumed as 5 kg (Kaveh and Zol-
ghadr, 2013). The results obtained by HGP are compared to reports available
in the literature (Xu et al., 2003, Kaveh and Zolghadr, 2013, Savsani et al.,
2016, 2017) .
14
ACCEPTED MANUSCRIPT
T
for i to P S do
Decode each individual
Evaluate fitness of each individual
IP
Select parents
if rand ≤ pc then
Perform crossover
CR
end if
if rand ≤ pm then
Perform mutation
end if
if rand ≤ pnm then
Perform Nelder-Mead local search operator:
US
while Termination criterion not satisfied do
Generate a simplex polytope with N + 1 vertices in N dimensions
Evaluate objective function at vertices
Reorder the vertices based on its rank
f (x1 ) ≤ f (x2 ) · · · ≤ f (xN +1 )
AN
Measuring the centroid of the simplex
Perform reflection on the worst vertex and finding new point (xr )
if f (x1 ) ≤ f (xr ) < f (xN ) then
xN +1 ← xr
end if
M
xN +1 ← xr
end if
if f (xr ) > f (xN ) then
Perform contraction to find the new point (xc )
end if
PT
end if
end while
end if
Form a pool including operators offspring
Select population for the next generation (NewPop)
AC
Pop ← NewPop
Gen = Gen + 1
end for
end while
Return The best individual
15
ACCEPTED MANUSCRIPT
T
30 times the algorithm has been run independently to obtain robust and re-
IP
liable results; the best run has been presented as the final result of HGP.
All problems are implemented in the Matlab environment and finite element
analysis is performed by OpenSEES. The codes are executed on a computer
CR
having configuration: Core 2 Duo CPU @2.53 GHz, RAM 4 GB. Genetic pro-
gramming is a computationally expensive method; the most expensive parts
include generation of the initial population, evaluation the fitness of popu-
US
lation, performing secondary operators and selection of individuals for the
next generation. Employing a local search operator may increase the total
computational time of the algorithm but empowers it to converge to a better
solution. The obtained results by HGP are also compared with the SOGP al-
AN
gorithm introduced in (Assimi et al., 2017). It should be noticed that in truss
optimization problems subject to static and dynamic constraints with dis-
crete variables, no change in cross-sections is feasible because the optimizer
M
cordingly, the results of both algorithm will be identical and only one has
been reported in the corresponding tables.
et al., 2003, Savsani et al., 2017). However, both cases are common in some
design considerations: both cases subject to the maximum allowable verti-
cal displacement with 10 mm in nodes 5 and 6 (δ5y&6y ); They also consider
the limit on the first natural frequency with f1 ≥ 30 Hz as the dynamic
constraint.
16
ACCEPTED MANUSCRIPT
1.5 m
13
F2 11 16 17
6 7 9 14
5
T
(1) (4)
4 8 10
2 15
3
IP
18 20
19
2.5 m
1 21
CR
Y
(7) (8)
X 22 (5) 23 (6) 24
Added mass
F2
US
Figure 5: the ground structure of 24-bar planar truss.
F1
AN
4.1.1. Case 1: continuous variables
Truss members subject to the maximum allowable stress of 172.43 MPa
M
(Xu et al., 2003); the modulus of elasticity and density are 6.9 × 1010 Pa
and 2740 kg/m3 , respectively. Cross-section areas ranges from 1 cm2 to 40
cm2 and the truss undergoes two multiple load conditions which are listed in
ED
Table 1.
Figure 6 illustrates the improvement of the best result obtained by HGP
during the evolution process. It initiated with 453.9534 kg and converged
with 119.0855 kg at iteration 78. Figure 7 represents the solution topology
PT
F1 F2
24-bar Case1 Load condition 1 5 × 104 N 0N
Load condition 2 0 N 5 × 104 N
AC
17
ACCEPTED MANUSCRIPT
500
T
MS-TLBO (Savsani et al., 2016)
This Study
Best weight (kg)
350
IP
300
CR
250
200
150
100
0 50 100 150
US
200 250 300 350 400 450 500
AN
Iteration
Figure 6: The improvement of the best solution during the run for 24-bar planar truss
case 1.
M
obtained by HGP; it contains nine truss members and six nodes; in other
words, HGP identified 14 truss members and two nodes as redundant ele-
ED
ments, and the fundamental frequency of the solution design; it also compares
the obtained result by HGP with other results reported in the literature. It
states that HGP found a lighter truss than 1-D search method (Xu et al.,
CE
2003), PSO and CSS (Kaveh and Zolghadr, 2013), TLBO (Savsani et al.,
2016) and MS-TLBO (Savsani et al., 2016). HGP improved the best-known
result obtained by MS-TLBO by replacing member 9 with a larger cross-
AC
18
ACCEPTED MANUSCRIPT
12
16
7 14
9
8
T
15
IP
CR
22 24
US
Figure 7: Optimal truss for 24-bar planar truss case 1 and case 2.
Table 2: comparison on optimal design parameters for the 24-bar planar truss case 1 by
various algorithms
AN
1-D search CSS PSO TLBO MS-TLBO SOGP HGP
method (Xu et al., 2003) (Kaveh and Zolghadr, 2013) (Kaveh and Zolghadr, 2013) (Savsani et al., 2016) (Savsani et al., 2016) (Assimi et al., 2017) This study
2
A7 (cm ) 11.0000 19.2000 20.1000 19.0214 18.9992 19.0214 18.9992
A8 (cm2 ) 9.5100 3.0000 14.8000 2.9134 2.8997 2.9134 2.8997
A9 (cm2 ) 15.0000 1.4000 Removed 1.7381 1.7727 1.5271 1.7738
A12 (cm2 ) 36.5000 4.0000 2.4000 4.5314 4.5233 4.5014 4.5233
A13 (cm2 ) Removed 14.1300 14.9000 13.8208 13.8848 13.8100 13.8838
M
respectively (Savsani et al., 2017). Discrete design variables are selected from
PT
obtained by HGP which is identical to the solution layout found in the case 1.
Table 4 lists the design parameters of the solution design; it also compares
the obtained result by HGP with other results reported in the literature. It
states that HGP found a lighter truss than all various algorithms presented
in (Savsani et al., 2017) without violating the constraints and the design
19
ACCEPTED MANUSCRIPT
T
2 0.9097 34 24.9677
IP
3 1.2645 35 25.0322
4 1.6129 36 26.9677
5 1.9806 37 27.2258
CR
6 2.5226 38 28.9677
7 2.8516 39 29.6128
8 3.6323 40 30.9677
9
10
11
3.8839
4.9419
5.0645
US41
42
43
32.0645
33.0322
37.0322
AN
12 6.4129 44 46.5806
13 6.4516 45 51.4193
14 7.9226 46 55.0322
15 8.1677 47 59.9999
M
16 9.4000 48 69.9999
17 10.0839 49 74.1943
18 10.4516 50 87.0966
ED
19 11.6129 51 89.6772
20 12.8387 52 91.6127
21 13.7419 53 99.9998
22 15.3548 54 103.2256
PT
23 16.9032 55 109.0320
24 16.9677 56 121.2901
25 18.5806 57 128.3868
CE
26 18.9032 58 141.9352
27 19.9354 59 147.7416
28 20.1935 60 158.0642
AC
29 21.8064 61 170.9674
30 22.3871 62 180.6448
31 22.9032 63 193.5480
32 23.4193 64 216.1286
20
ACCEPTED MANUSCRIPT
1000
920
This Study
840
760
T
Best weight (kg)
680
IP
600
520
CR
440
360
280
200
0 50 100 150
US
200 250
Iteration
300 350
Figure 8: The improvement of the best solution during the run for 24-bar planar truss
400 450 500
AN
case 2.
obtained by MHTS, PVS, and MPVS algorithms; but, HGP selected differ-
ent cross-section areas for members 8, 9, 12, 22 and 24 and provided a better
solution. Table 4 also shows that HGP demonstrated reasonable computa-
ED
tional time with population size of 200 in comparison with other methods in
(Savsani et al., 2017) with population size of 50.
PT
CE
AC
21
AC
CE
Table 4: comparison on optimal design parameters for the 24-bar planar truss case 2 by various algorithms
TLBO MTLBO MHTS MWWO PVS MPVS HGP
(Savsani et al., 2017) (Savsani et al., 2017) (Savsani et al., 2017) (Savsani et al., 2017) (Savsani et al., 2017) (Savsani et al., 2017) This study
PT
A2 (cm2 ) 0.7161 Removed Removed Removed Removed Removed Removed
A5 (cm2 ) 0.7161 Removed Removed Removed Removed Removed Removed
2
A7 (cm ) 18.5806 18.5806 18.5806 18.5806 18.9032 18.5806 18.5806
A8 (cm2 ) 6.4516 6.4129 6.4516 6.4129 6.4129 6.4516 6.4129
ED
A9 (cm2 ) 6.4129 3.8839 1.9806 6.4129 1.2645 1.6129 1.2645
A12 (cm2 ) 3.8839 2.5226 2.5226 3.6323 2.5226 2.5226 2.8516
A14 (cm2 ) Removed 1.2645 2.5226 Removed 2.8516 2.5226 2.5226
2
A15 (cm ) 3.6323 4.9419 6.4129 3.6323 6.4129 6.4129 6.4129
M
22
A16 (cm2 ) Removed Removed 19.9354 Removed 19.9354 19.9354 19.9354
A17 (cm2 ) 10.0839 10.0839 Removed 10.0839 Removed Removed Removed
A19 (cm2 ) 0.7161 Removed Removed Removed Removed Removed Removed
A20 (cm2 ) 6.4129 6.4516 Removed 6.4129 Removed Removed Removed
2
A21 (cm ) 10.4516 10.0839 Removed 10.0839 Removed Removed Removed
A22 (cm2 ) Removed 0.9097 1.6129 0.7161 1.6129 1.6129 1.2645
AN
A24 (cm2 ) 8.1677 7.9226 0.9097 8.1677 0.9097 1.2645 1.6129
Best weight (kg) 243.2922 227.3884 226.3047 229.0035 226.1573 225.8168 225.2700
f1 (Hz) 30.1568 30.0719 30.0763 30.2718 30.0048 30.0152 30.3033
δ5y (mm) 3.2037 2.8467 2.3577 3.2142 2.1874 2.3277 2.2739
ACCEPTED MANUSCRIPT
T
limitations. Case 1 and 2 discuss this benchmark by employing continuous
IP
design variables but with different maximum allowable displacement in nodes.
Case 3 considers the discrete design variables to be selected from a set of
available cross-section areas. All cases are subject to a common dynamic
CR
constraint for the first and second natural frequencies as follows: f1 ≥ 60
and f2 ≥ 100 (Xu et al., 2003, Savsani et al., 2017). Xu et al. (2003) applied
their algorithm to this benchmark with nodal displacement constraint of 10
US
mm in node four. Inspection of its solution design shows that it violates the
nodal displacement constraint with 58 mm. Kaveh et al. reconfigured this
benchmark into two cases, one with the nodal displacement of 10 mm and
AN
the other with the deflection of 58 mm (Kaveh and Zolghadr, 2013).
(Xu et al., 2003) and the modulus of elasticity and density are 6.9 × 1010 Pa
2m 2m
ED
13 15
2m
PT
7 8 9
14 16
(4)
3 4
(6) F1
CE
(5)
17 19 F2
2m
10 11 12
AC
18 20
5 6
(9) (8) (7)
Added mass
23
ACCEPTED MANUSCRIPT
750
T
600 This Study
Best weight (kg)
IP
550
500
CR
450
400
350
300
0 50 100 150
US
200 250 300 350 400 450 500
AN
Iteration
Figure 10: The improvement of the best solution during the run for 20-bar planar truss
case 1.
M
and 2740 kg/m3 , respectively. Cross-section areas ranges from 1 cm2 to 100
cm2 and the truss undergoes two multiple load conditions which are listed in
ED
words, HGP identified 12 truss members and three nodes as redundant ele-
ments in the design space.
Table 5 lists the design parameters of the solution design; it also compares
AC
the obtained result by HGP with other results reported in the literature.
It states that HGP found a better result than PSO and CSS (Kaveh and
Zolghadr, 2013), TLBO and MS-TLBO (Savsani et al., 2016) and provided
a lighter truss.
24
ACCEPTED MANUSCRIPT
13 15
T
IP
CR
11
18
5
US 20
AN
Figure 11: Optimal truss for 20-bar planar truss case 1 and case 2.
M
Table 5: comparison on optimal design parameters for the 20-bar planar truss case 1 by
various algorithms
CSS PSO TLBO MS-TLBO SOGP HGP
ED
(Kaveh and Zolghadr, 2013) (Kaveh and Zolghadr, 2013) (Savsani et al., 2016) (Savsani et al., 2016) (Assimi et al., 2017) This study
2
A1 (cm ) 39.9200 44.0500 44.6461 43.3431 45.2592 43.4298
A5 (cm2 ) 49.2800 42.0800 42.3940 43.3459 42.4262 43.3459
A8 (cm2 ) 46.4100 42.1800 43.0649 43.4298 43.3431 43.3431
A11 (cm2 ) 41.2000 46.7500 45.5652 43.3709 46.2942 43.3431
A13 (cm2 ) 59.0300 63.6100 59.1147 61.3545 60.2075 61.6438
A15 (cm2 ) 63.1500 59.5400 66.8233 61.9340 61.3404 61.6438
PT
25
ACCEPTED MANUSCRIPT
740
T
This Study
Best weight (kg)
500
IP
440
CR
380
320
260
200
140
0 50 100 150
US
200 250 300 350 400 450 500
AN
Iteration
Figure 12: The improvement of the best solution during the run for 20-bar planar truss
case 2.
M
Table 6: comparison on optimal design parameters for the 20-bar planar truss case 2 by
various algorithms
1-D search CSS PSO TLBO MS-TLBO SOGP HGP
ED
method (Xu et al., 2003) (Kaveh and Zolghadr, 2013) (Kaveh and Zolghadr, 2013) (Savsani et al., 2016) (Savsani et al., 2016) (Assimi et al., 2017) This study
2
A1 (cm ) 53.3800 14.7400 15.6700 15.1964 14.4998 16.6133 14.4987
A4 (cm2 ) Removed Removed 12.7600 Removed Removed Removed Removed
A5 (cm2 ) 3.0200 19.2200 18.4100 19.2765 19.0352 19.0352 19.0347
A8 (cm2 ) 53.3800 19.3300 22.3400 19.2599 19.0419 19.0352 19.0347
A11 (cm2 ) 3.0400 19.0300 14.6600 19.3129 19.0366 19.0352 19.0347
A13 (cm2 ) 42.1200 20.5900 19.1900 20.9239 20.5043 20.5043 20.5042
A15 (cm2 ) 71.9700 20.5500 26.6600 20.5347 20.5048 20.5043 20.5042
PT
Table 6 lists the design parameters of the solution design and asserts that
AC
HGP found a lighter truss in comparison with other methods in the literature
such as PSO and CSS (Kaveh and Zolghadr, 2013), TLBO and MS-TLBO
(Savsani et al., 2016).
26
ACCEPTED MANUSCRIPT
Table 7: comparison on optimal design parameters for the 20-bar planar truss case 3 by
various algorithms
TLBO MTLBO MHTS MWWO PVS MPVS HGP
(Savsani et al., 2017) (Savsani et al., 2017) (Savsani et al., 2017) (Savsani et al., 2017) (Savsani et al., 2017) (Savsani et al., 2017) This study
2
A1 (cm ) 13.7419 13.7419 15.3548 20.1935 16.9032 15.3548 15.3548
A2 (cm2 ) 0.7161 Removed Removed Removed Removed Removed Removed
A4 (cm2 ) 13.7419 13.7419 13.7419 16.9032 13.7419 13.7419 13.7419
T
A5 (cm2 ) 16.9677 16.9032 16.9032 16.9032 13.7419 15.3548 15.3548
A8 (cm2 ) 15.3548 13.7419 13.7419 22.3871 16.9032 15.3548 15.3548
A9 (cm2 ) 0.7161 Removed Removed Removed Removed Removed Removed
A11 (cm2 ) 16.9032 16.9032 16.9677 12.8387 13.7419 15.3548 15.3548
IP
2
A13 (cm ) 22.9032 21.8064 22.3871 18.5806 19.9354 21.8064 21.8064
A15 (cm2 ) 18.5806 19.9354 18.5806 21.8064 21.8064 19.9354 19.9354
A18 (cm2 ) 19.9354 20.1935 18.9032 22.3871 22.3871 19.9354 19.9354
A20 (cm2 ) 21.8064 22.3871 23.4193 18.9032 20.1935 22.3871 22.3871
Best weight (kg) 342.8615 335.4113 335.7534 351.8429 335.4113 335.0404 335.0404
CR
f1 (Hz) 64.9482 65.3759 65.2803 65.6465 65.4716 65.3335 65.3335
f2 (Hz) 114.3366 114.3824 114.3286 116.9238 114.4201 114.4593 114.4593
δ4y (mm) 9.9991 9.9909 9.9986 9.7684 9.9909 9.9951 9.9951
Mean time (sec) 28.76 22.56 26.91 11.76 27.97 22.51 29.92
words, HGP identified 11 truss members and two nodes as redundant ele-
ments in the design space.
the solution design found by HGP with other results reported in the litera-
ture. It states that HGP reached the solution identical to what reported by
MPVS (Savsani et al., 2017) in topology and sizing of cross-section areas;
CE
it seems that it is the global optimum for this problem; it also provided a
lighter truss in comparison with other algorithms excluding MPVS. Table
7 also shows that HGP demonstrated reasonable computational time with
AC
27
ACCEPTED MANUSCRIPT
900
850
This Study
800
750
T
700
Best weight (kg)
IP
650
600
550
CR
500
450
400
350
300
1 50 100 150
US
200 250 300 350 400 450 500
AN
Iteration
Figure 13: The improvement of the best solution during the run for 20-bar planar truss
case 3.
M
groups using symmetry. The nonstructural lumped mass on top nodes (nodes
1-4) is 2270 kg. This problem has been studied for two different types of
ED
28
ACCEPTED MANUSCRIPT
T
13 15
IP
8
CR
4
US 11
AN
18 20
5
M
29
ACCEPTED MANUSCRIPT
T
IP
(4)
16
18 15
CR
11 4
(1) 17 9
13 (8) 10 (3)
1.524 m
12
1 14
3
(5)
6
US
(2)
(12)
7
8
(7)
1.524 m
5 2
19
AN
21
(9) (6)
(16) (11)
1.524 m
20
M
37
39
(13) (10)
ED
(20) (15)
1.524 m
38
55
57
(17)
PT
(14)
(19)
56
3.0
48 8m Z
m 3.04
Y
CE
30
ACCEPTED MANUSCRIPT
1000
950 PSO (Kaveh and Zolghadr, 2013)
900 TLBO (Savsani et al., 2016)
CSS (Kaveh and Zolghadr, 2013)
850
MS-TLBO (Savsani et al., 2016)
800
T
This Study
Best weight (kg)
750
IP
700
650
CR
600
550
500
450
400
0 50 100 150
US
200 250
Iteration
300 350 400 450 500
AN
Figure 16: The improvement of the best solution during the run for 72-bar spatial truss
case 1
It states that HGP found a lighter truss than PSO and CSS (Kaveh and
Zolghadr, 2013), TLBO and MS-TLBO (Savsani et al., 2016). The evident
difference between the deflection of node four along x-direction for the so-
CE
depicts the displacement in nodes of the solution design, and it states that
no violation of nodal displacement occurred.
31
ACCEPTED MANUSCRIPT
(1) (2)
T
(5) (6)
IP
CR
(9) (10)
US (13) (14)
Z
AN
X
(17) (18)
Table 9: comparison on optimal design parameters for the 72-bar spatial truss case 1 by
various algorithms
Group Members CSS PSO TLBO MS-TLBO SOGP HGP
(Kaveh and Zolghadr, 2013) (Kaveh and Zolghadr, 2013) (Savsani et al., 2016) (Savsani et al., 2016) (Assimi et al., 2017) This study
PT
32
ACCEPTED MANUSCRIPT
T
IP
CR
Maximum displacement in x direction for both loadings
Maximum displacement in y direction for both loadings
7
5
US Maximum displacement
6.35 mm
AN
Displacement (mm)
4
M
2
ED
0
PT
1 2 3 4
Node number
Figure 18: Nodal displacements for optimal truss of 72-bar spatial truss case 1.
CE
AC
33
ACCEPTED MANUSCRIPT
T
Figure 19 illustrates the improvement of the best result obtained by HGP
IP
during the evolution process. It initiated with 1051.6626 kg and converged
with 541.6028 kg at iteration 282. Figure 20 represents the solution topology
obtained by HGP; it consists of 54 truss members categorized into ten groups
CR
and 20 nodes; in other words, HGP identified 18 truss members or 6 groups
as redundant elements in the design space.
US
Table 10 lists the design parameters of the solution design; it also com-
pares the obtained result by HGP with other results reported in the litera-
ture. It states that HGP found a better truss than all other algorithms. It
AN
states that HGP also improved the best-known result obtained by MPVS by
replacing member 1 with a smaller cross-section area and member 9 with a
larger cross-section area.
Figure 21 depicts the displacement in nodes of the solution design, and it
M
with other methods in (Savsani et al., 2017) with population size of 100.
PT
CE
AC
34
AC
CE
PT
Table 10: comparison on optimal design parameters for the 72-bar spatial truss case 2 by various algorithms
Group Members TLBO MTLBO MHTS MWWO PVS MPVS HGP
(Savsani et al., 2017) (Savsani et al., 2017) (Savsani et al., 2017) (Savsani et al., 2017) (Savsani et al., 2017) (Savsani et al., 2017) This study
G1 (cm2 ) 2.8516 2.8516 3.6323 2.5226 2.8516 2.8516 2.5226
ED
A1 − A4
G2 (cm2 ) A5 − A12 3.6323 3.6323 3.6323 3.6323 3.6323 3.6323 3.6323
G3 (cm2 ) A13 − A16 2.8516 2.8516 2.8516 2.8516 2.8516 2.8516 2.8516
G4 (cm2 ) A17 − A18 5.0645 5.0645 5.0645 5.0645 5.0645 5.0645 5.0645
G5 (cm2 ) 2.8516 2.8516 2.8516 3.6323 2.8516 2.8516 2.8516
G6 (cm2 )
A19 − A22
3.6323 3.6323
M 3.6323 3.6323 3.6323 3.6323 3.6323
35
A23 − A30
G9 (cm2 ) A37 − A40 4.9419 4.9419 4.9419 4.9419 4.9419 4.9419 5.0645
G10 (cm2 ) A41 − A48 3.6323 3.6323 3.6323 3.6323 3.6323 3.6323 3.6323
G13 (cm2 ) A55 − A58 3.8839 3.8839 3.8839 4.9419 3.8839 3.8839 3.8839
G14 (cm2 ) A59 − A66 3.6323 3.6323 3.6323 3.6323 3.6323 3.6323 3.6323
Best weight (kg) 542.5877 542.5877 546.3281 549.8213 542.5877 542.5877 541.6028
f1 (Hz) 4.0197 4.0197 4.0297 4.2390 4.0197 4.0197 4.0217
AN
f3 (Hz) 6.8520 6.8520 6.8509 6.8518 6.8520 6.8520 6.8525
Max Displacement (mm) 2.9086 2.9086 2.9173 2.6914 2.9086 2.9086 2.8948
Mean time (sec) 99.59 50.86 74.09 33.73 91.58 55.44 37.37
ACCEPTED MANUSCRIPT
US
CR
IP
T
ACCEPTED MANUSCRIPT
1000
950
This Study
900
T
850
Best weight (kg)
800
IP
750
700
CR
650
600
US
550
500
1 50 100 150 200 250 300 350 400 450 500
Iteration
AN
Figure 19: The improvement of the best solution during the run for 72-bar spatial truss
case 2
M
(1) (2)
ED
(5) (6)
PT
(9) (10)
CE
(13) (14)
AC
(18) X
(17)
36
ACCEPTED MANUSCRIPT
T
IP
CR
Maximum displacement in x direction for both loadings
Maximum displacement in y direction for both loadings
7
6 US Maximum displacement
6.35 mm
AN
5
Displacement (mm)
4
M
2
ED
0
1 2 3 4
PT
Node number
Figure 21: Nodal displacements for optimal truss of 72-bar spatial truss case 2.
CE
AC
37
ACCEPTED MANUSCRIPT
5. Conclusion
In this paper, a hybrid genetic programming (HGP) algorithm proposed
to deal with the topology and sizing optimization problem of trusses sub-
ject to both static and dynamic constraints. HGP produced a random-blind
T
initial population composed of trees; each tree represented a truss. HGP
performed finite element analysis on its population and got its individuals
IP
penalized if each violated any of the design considerations. HGP applied
crossover and mutation to its population to explore the search space and
CR
improve the competence of its population by breeding new offsprings. HGP
also employed a Nelder-Mead local search operator to enhance the true con-
vergence of the algorithm. This operator empowered HGP to look for a
better set of design variables in the vicinity of the found solution. It also
US
provided the benefit of improving all design variables in an iterative process.
The evolution process iterated till a termination criterion got satisfied and
the lightest truss found in evolution designated as the final solution design.
AN
We applied our approach to some numerical examples for both types of con-
tinuous and discrete design variables. Obtained results by HGP compared
with other studies reported in the literature and HGP reached better re-
sults in the most of the cases. The genetic programming natural feature of
M
resembling its individuals in tree form lead to tuning the tree parameters
and structure simultaneously and empowered it to find redundant elements
in the design space. HGP also reached better solutions than SOGP in the
ED
Acknowledgment
The authors gratefully acknowledge Prof. Nader Nariman-zadeh for the
AC
38
ACCEPTED MANUSCRIPT
References
Assimi, H., Jamali, A., and Nariman-zadeh, N. (2017). Sizing and topology
optimization of truss structures using genetic programming. Swarm and
Evolutionary Computation.
T
Bellagamba, L. and Yang, T. (1981). Minimum-mass truss structures
IP
with constraints on fundamental natural frequency. AIAA Journal,
19(11):1452–1458.
CR
Branch, M. A. and Grace, A. (1998). Optimization Toolbox: for Use with
MATLAB: User’s Guide: Version 1. Math works.
US
optimization of truss structure. Automation in Construction, 69:21–33.
Fajfar, I., Puhan, J., and Bűrmen, Á. (2017). Evolving a nelder–mead algo-
rithm for optimization with genetic programming. Evolutionary computa-
tion.
PT
Farshchin, M., Camp, C. V., and Maniat, M. (2016b). Optimal design of truss
structures for size and shape with frequency constraints using a collabora-
AC
Fenton, M., McNally, C., Byrne, J., Hemberg, E., McDermott, J., and
O’Neill, M. (2014). Automatic innovative truss design using grammati-
cal evolution. Automation in Construction, 39(C):59–69.
39
ACCEPTED MANUSCRIPT
Fenton, M., McNally, C., Byrne, J., Hemberg, E., McDermott, J., and ONeill,
M. (2016). Discrete planar truss optimization by node position variation
using grammatical evolution. IEEE Transactions on Evolutionary Com-
putation, 20(4):577–589.
T
Gholaminezhad, I., Assimi, H., Jamali, A., and Vajari, D. A. (2016). Uncer-
tainty quantification and robust modeling of selective laser melting process
IP
using stochastic multi-objective approach. The International Journal of
Advanced Manufacturing Technology, 86(5-8):1425–1441.
CR
Gomes, H. M. (2011). Truss optimization with dynamic constraints using a
particle swarm algorithm. Expert Systems with Applications, 38(1):957–
968.
US
Grandhi, R. (1993). Structural optimization with frequency constraints - A
review. AIAA Journal, 31(12):2296–2303.
AN
Grandhi, R. V. and Venkayya, V. B. (1988). Structural optimization with
frequency constraints. AIAA Journal, 26(7):858–866.
40
ACCEPTED MANUSCRIPT
Kaveh, A. and Ilchi Ghazaan, M. (2015). Optimal design of dome truss struc-
tures with dynamic frequency constraints. Structural and Multidisciplinary
Optimization, 53(3):605–621.
T
for optimum discrete design of truss structures. Computers & Structures,
139(C):43–53.
IP
Kaveh, A. and Mahdavi, V. R. (2015). A hybrid CBO-PSO algorithm for
CR
optimal design of truss structures with dynamic constraints. Applied Soft
Computing, 34:260–273.
puting, 13(5):2727–2734. US
sidering static and dynamic constraints using the CSS. Applied Soft Com-
Kelner, V., Capitanescu, F., Léonard, O., and Wehenkel, L. (2008). A hybrid
AN
optimization technique coupling an evolutionary and a local search algo-
rithm. Journal of Computational and Applied Mathematics, 215(2):448–
456.
M
Li, L. J., Huang, Z. B., and Liu, F. (2009). A heuristic particle swarm op-
timization method for truss structures with discrete variables. Computers
& Structures, 87(7-8):435–443.
CE
Li, L. J., Huang, Z. B., Liu, F., and Wu, Q. H. (2007). A heuristic particle
swarm optimizer for optimization of pin connected structures. Computers
& Structures, 85(7-8):340–349.
AC
Mazzoni, S., McKenna, F., Scott, M. H., Fenves, G. L., and others (2006).
OpenSees command language manual. Pacific Earthquake Engineering
Research (PEER) Center.
41
ACCEPTED MANUSCRIPT
Mortazavi, A. and Toğan, V. (2017). Sizing and layout design of truss struc-
T
tures under dynamic and static constraints with an integrated particle
swarm optimization algorithm. Applied Soft Computing, 51:239–252.
IP
Nelder, J. A. and Mead, R. (1965). A simplex method for function minimiza-
CR
tion. The computer journal, 7(4):308–313.
US
Savsani, V. J., Tejani, G. G., and Patel, V. K. (2016). Truss topology op-
timization with static and dynamic constraints using modified subpop-
ulation teaching-learning-based optimization. Engineering Optimization,
AN
48(11):1990–2006.
Savsani, V. J., Tejani, G. G., Patel, V. K., and Savsani, P. (2017). Modified
meta-heuristics using random mutation for truss topology optimization
M
Wang, D., Zhang, W. H., and Jiang, J. S. (2004). Truss optimization on shape
and sizing with frequency constraints. AIAA Journal, 42(3):622–630.
42
ACCEPTED MANUSCRIPT
Xu, B., Jiang, J., Tong, W., and Wu, K. (2003). Topology group concept for
truss topology optimization with frequency constraints. Journal of Sound
and Vibration, 261(5):911–925.
T
Methodologies for Design Optimization of Trusses” by Jiaping Yang and
Chee-Kiong Soh. Journal of Structural Engineering, 124(8):980–981.
IP
Yang, X.-S. (2010). Engineering optimization: an introduction with meta-
CR
heuristic applications. John Wiley & Sons.
43