Академический Документы
Профессиональный Документы
Культура Документы
This paper presents a hybrid algorithm, Shuffled Complex Evolution with Quantum Particle Swarm
Optimization abbreviate as SP-QPSO for solving mechanical constrained design optimization problems.
In recent years, researches’ interest in solving constrained optimization problems by Evolutionary
Algorithms. Quantum Particle Swarm Optimization (QPSO) is a variant of standard Particle Swarm
Optimization (PSO) algorithm and enhances the local search ability of the algorithm over feasible space.
Although QPSO is easier to implement, more intelligent and efficient than the standard PSO, but due to
its strategy, the efficiency of the QPSO algorithm's performance in solving complex and high-
dimensional problems has decreased. Normalization of constraints is crucial for the efficient
permanence of the algorithm. A growing number of researchers have proposed different strategies for
handling constraints. For solving constrained optimization problems, adaptive constraint-handling
techniques are very promising as they use information from the population during the search to adjust
different penalty parameters for each constraint without tuning any type of user defined penalty
parameter. In this paper, a novel parameter free adaptive penalty is employed to handle constraints in
the search region. The efficiency of SP-QPSO algorithm is numerically investigated using five engineering
design problems which have different natures of objective functions, constraints and decision variables
with up to six variables and six constraints. The experimental results are analyzed in comparison with
those reported in the literature. The computational results demonstrate that the proposed algorithm
has potential to achieve better solutions, compared with conventional PSO and other optimization
algorithms in terms of searching efficiency and computational time.
Keywords:
INTRODUCTION
The advancements in technology make the human life easier which brings new problems to the
optimization field. In real world applications of engineering field, designers are mostly simulating the
systems that have complicated structures that lead to more complex systems (Mazhoud, Hadj-Hamou,
Bigeon, & Joyeux, 2013). These systems are required to be optimized. There are two types of
optimization problems: constrained (Meng & Hongjian, n.d.; Y Wang, Cai, & Zhou, 2009) and
unconstrained problems (Liang, Qin, Suganthan, & Baskar, 2006). In the early stage, designers are
dealing with problems which are mostly constrained; therefore it is mandatory to develop an efficient
optimization method that can satisfy all the constraints.
Choosing an appropriate algorithm for optimization is very critical as optimization algorithms are
problem dependents (Yeniay, 2005). Evolutionary Algorithms (EAs) are stochastic population-based
optimization algorithms (Dong & Wang, 2014) that enable a group of populations to adopt themselves
to the surrounding environments. EAs are efficient and more flexible for solving constrained
optimization problems since they only require knowing the objective function. The rest of the
information such as differentiability; continuity of objective function or constraints are not required
(Kaveh & Talatahari, 2009; Mernik & Brest, 2006). According to literature, EAs are developed for solving
unconstrained problems and Penalty techniques are the most common techniques used by EAs to
convert constrained problems to unconstrained optimization problems (Rocha & Fernandes, 2009) .
Subject to g j ( ⃗x ) ≤ 0 j =1, … , p
hi (⃗x ) = 0 i = p +1, … , m
where f (⃗x ) is a real objective or criterion function defined on a feasible set, and the solution
inequality constraint and hi ( ⃗x ) shows the i th equality constraint and there are p inequality and m− p
equality constraints. Both the objective function and constraints of COPs could be either linear or
nonlinear. Vector x is a feasible solution of the problem if it satisfies all the constraints and the feasible
region is constituted by all of the feasible solutions. An inequality constraint of the mathematical form
as: g j ( x ) ≥ 0 is not restrictive and can be converted to the −g j ( x ) ≤ 0 (J. Sun et al., 2007). Also to make it
more convenient, in this paper the equality constrained is converted to inequality as: |h i ( x )−ε ≤ 0 ;
Where the value of ε for these numerical experiments is set to 10−4 or 10−3 which depends on the
COP is a central research topic in the field of optimization (Xiao, Huang, Cheng, He, & Niu, 2014).
However optimizing constrained problems is different from unconstrained problems. In unconstrained
problems, optimizer focuses on objective function to detect the global optimum but in COPs, the
optimizer tries to solve the objective function and discover the global optimum subject to some
constraints. In fact unconstrained optimization sometimes can be a sub-step in the process of solving
constrained optimization. Therefore, optimizing COPs is the process of finding optimum solutions
considering a set of specified constraints that have to be satisfied (Garg, 2014). Traditional Mathematical
Programming (MP) techniques are always the first option to solve optimization problems (Mezura-
Montes, E., & Flores-Mendoza, 2009). These methods are efficient enough to solve simple optimization
problems but engineering problems in real world are complex derivatives, their results are affected by
changing the initial values, and they require large amount of computation memory. Hence, MP
techniques will lose their efficiency as they mostly get trapped in local optimum solutions which make
them difficult to be applied on complex optimization problems (Mezura-Montes, E., & Flores-Mendoza,
2009). According to literature studies, one suitable algorithm to solve the constrained engineering
problems is Heuristic Methods (Fang, Sun, Ding, Wu, & Xu, 2010). Evolutionary Algorithms (EAs) are one
of the heuristic methods which have been successfully used for past two decades and became very
popular in different areas of optimization such as science and engineering. The EA algorithm generates
solutions near to the global optima. Moreover it has a simple algorithm as they do not need the
derivatives of objective function and constraints; hence EAs are more powerful and efficient than the
traditional numerical methods (Zbigniew Michalewicz, 1992; Xiao et al., 2014). However, the main
limitation of the algorithm is that EAs are originally presented to solve unconstrained optimization
problems (Poli, 2007). As it was discussed earlier, unconstrained problem could be a sub-step in the
process of optimizing COPs. Therefore, by using constraint-handling techniques (Rocha & Fernandes,
2009), EAs can be extended to constrained optimization problems.
According to the previous studies, for solving these optimization problems several algorithms are
introduced which penalty methods is the most well-known technique to overcome constrained
problems (Ali, Golalikhani, & Zhuang, 2014; Rocha & Fernandes, 2009). Based on the operation of the
penalty method, if one or more constraints are violated, the objective function will be penalized. Penalty
method penalizes the objective function by incorporating the constraints into objective function and
therefore, the constrained problem will be transformed to an unconstrained problem. In addition, the
penalty method plus objective function will be minimized by using algorithms of unconstrained
problems. Penalty methods are simple and easy to implement (Mallipeddi & Suganthan, 2008). The
strength of this approach is that they are generic and can be applied to any type of constrained
problems (including linear or non-linear) (Jadaan, Rajamani, & Rao, 2009). The penalty method is a
generic constraint-handling technique which can be easily applied to solve most of the optimization
problems. But this property of the approach fails in terms of the performance when it comes to the
efficiency analysis (Zbigniew Michalewicz & Schoenauer, 1996). Hence, penalty parameter is the
common critical issue that must be considered in all penalty methods since it plays a significant role in
increasing the efficiency of the approach’s performance (Zbigniew Michalewicz & Schoenauer, 1996).
Hence, choosing the appropriate penalty parameter which depends on the optimization problems, can
direct the search process of the optimization algorithm towards the constrained optimum and experts
are still attempting to find the suitable updating rule for penalty parameter (Ali et al., 2014). According
to the literature, there are some studies done in finding the right approach for calculating the penalty
parameter such as Death penalty method (Zbigniew Michalewicz & Schoenauer, 1996), Static penalty
method (Zbigniew Michalewicz & Schoenauer, 1996), Multi-level penalty methods (Homaifar, Qi, & Lai,
1994) , Dynamic penalty methods (Joines & Houck, 1994) , and etc.
In the past, constraint-handling mechanism has been applied on several optimization algorithms (Coello
Coello, 2002). As it was mentioned earlier, Evolutionary Algorithms are very popular for solving COPs
using penalty methods. For instance, Particle Swarm Optimization (J. Kennedy & Eberhart, 1995;
Mazhoud et al., 2013), which showed an efficient performance in solving engineering problems, and it
attracted attentions of the optimization and engineering communities. Kennedy and Eberhart (1995)
introduced the standard PSO as an evolutionary computation technique with the mechanism of
individual improvement, population cooperation and competition (He & Wang, 2007; He, Qie and Wang,
2007; J. Kennedy & Eberhart, 1995). PSO is one of the swarm intelligence algorithms for global
optimization over continuous search spaces (Fang et al., 2010). The algorithm is initially inspired by
observing the social manner of animals (birds, fishes) (Mazhoud et al., 2013). PSO has a flexible
mechanism which randomly generates the first population of candidate solutions. It is well-balanced
which increases the global (neighbor’s experience) and local (particle’s own experience) exploration
abilities of the algorithm. In PSO algorithm, particle indicates solution. Each particle updates their
velocity and position towards the global best position based on its own history and other particles’
histories. It cooperates and shares information among population (Poli, 2007). PSO has 3 important
parameters which affect the performance of the algorithm that have to be adjusted. These parameters
are: initial weight and two acceleration coefficients. Because of the strength points of standard PSO,
such as ease of implementation and inexpensive computation cost, it received the attention of the
researchers and optimizers which resulted in huge number of different variants of the standard PSO
algorithm to be proposed and implemented (Fang et al., 2010; He & Wang, 2007; Zbigniew Michalewicz,
1992; Poli, 2007).
Sun improved the PSO algorithm so that it produces the new particle near the weighted position of the
previous best particle and the global best particle (Sun, Lai, & Wu, 2011). This variant of PSO is called
quantum-behaved particle swarm optimization (QPSO) (J. S. J. Sun, Xu, & Feng, 2004). The difference
between QPSO and standard PSO algorithm is that QPSO does not have a velocity and position vector
for particles, instead it has a wave function. Therefore, variant QPSO has fewer parameters than PSO to
adjust. These algorithms performed well in low dimension problems but because the evolutionary
algorithms are random therefore the efficiency of their performance in searching complex and high-
dimensional spaces is decreased (Chu, Gao, & Sorooshian, 2011a).
So, to solve complex high-dimensional problems a novel strategy, SP-UCI is proposed (Chu et al., 2011a).
Bellman was first to introduce the problem of dimension increment of the search space using the term
“curse of dimensionality’’ (Bellman, 1961). SP-UCI algorithm is inspired by the shuffled complex
evolution-University of Arizona (SCE-UA) method (Beskow, Mello, Norton, & da Silva, 2011; Q.Y. Duan
V.K. Gupta, 1993). SPUCI divides the population to group of complexes, and each of the complexes is
considered as local area of the search space. For the exploration of feasible region and good
convergence toward the global optimum, SPUCI algorithm monitors the lost dimensions of the space
which is spanned by the particles in a population (complex), and restores them. This process starts by
performing local search on each complex. Checking the lost dimensions during the process of
optimization helps the algorithm to have an efficient performance in high dimensional problem space.
Global search is performed by replacing the information from similar local searches. According to the
results (Chu et al., 2011a), SP-UCI algorithm has an efficient performance in complex and problems with
high dimensionality, due to its monitoring ability for the lost dimensions through the process of
searching for global optimum (Chu et al., 2011a).
In this paper, a novel hybrid of two common EAs, QPSO and SP-UCI algorithms called SP-QPSO algorithm
using parameter-free penalty method is proposed for solving constrained engineering design
optimization problems. However, in order to increase the optimizer’s performance, the Centroidal
Voronoi Tessellations (CVT) method for point initialization, is applied on the SP-QPSO to assure that
points visit the entire search space. The proposed SP-QPSO algorithm is tested on a standard
benchmarks engineering design problems which are selected from (Barbosa & Lemonge, 2003;
Mazhoud et al., 2013); they are used to evaluate the efficiency of the SP-QPSO’s performance as
compared with the results of native EAs such as QPSO and SP-UCI algorithms.
The remaining part of the paper is organized as follows. In section 2, procedural steps of proposed
SP-QPSO and penalty based techniques in solving COPs are presented. The experimental results
based on well-known engineering design optimization problems and its comparison is presented in
Section 3. Section 4 concludes the paper and also the potential future works of the proposed
2. Hybrid SP-QPSO
In this section, the procedural steps of hybrid SP-QPSO algorithm, parameter-free adaptive penalty
technique for constraint handling technique are depicted.
The procedural steps of the proposed hybrid SP-QPSO algorithm are as follows:
Step 1: Initialize the number of complex, number of points in each complex, sample size and
dimension of the problem.
Step 2: Initialize sample points using Halton step method of Centroidal Voronoi Tessellations
(CVT) over the feasible space using a generator. The search space can be partitioned into
sections evenly and sort the points based on their calculated function value.
Step 3: Apply dimensionality check for rough fitness landscapes in high dimensional space.
Step 4: Store the population points in an array and divide the array into complexes.
Step 5: Apply QPSO strategy on each complex, so that each complex looks for the optimum
function value.
Step 6: Checking the probability of trapping in local minima by applying the multi-normal
resampling.
Step 7: Shuffling and replacing the complexes into an array and sorting it.
To select various penalties for each constraint during the process of searching for the global best point,
an adaptive scheme is implemented that utilizes population information such as, the mean of the
objective function and the level of violation of each constraint (Lemonge & Barbosa, 2004). The reason is
that higher penalty coefficient values should be allocated for constraints which are more difficult to be
satisfied. The number of elements violating a given constraint and the amount of violation is the
indication of the above-mentioned constraint difficulties. The j th coefficient is represented by k j. The
proposed fitness function is (Barbosa & Lemonge, 2003):
f ( x ) if x is feasible
F ( x )=
{ m
f ( x ) + ∑ k j v j ( x ) otherwise
j=1
(6)
Where the penalty parameter (k ¿ ¿ j) ¿at each generation is defined as follows (Barbosa & Lemonge,
2003):
k j=¿ (7)
pop
∑ f ( x i) pop
i=1
k j=
m pop 2 ∑ v j (x i ) (8)
[
∑ ∑ vl ( x )
l=1 i=1
i
] i =1
Where the mean of the objective function values in the current population is represented by ¿ f ( x ) >¿
and the violation of the lth constraint averaged over the current population is defined by ¿ v l ( x )> ¿.
“Pop” is denoting the population size. The adaptive penalty method (Wright & Farmani, 2001) is used
without any type of pre-defined penalty parameter to be incorporated with hybrid SP-QPSO, QPSO and
SPUCI algorithms, which efficiently handles constraints and dynamically adjusts the penalty during the
optimization.
Five mechanical engineering case study problems are used to assess the performance of the
proposed algorithm. The details of five case study problems namely, Tension/compression
spring design problem, speed reducer design problem, Welded beam design problem, Pressure
vessal design problem and three-bar truss design problem are taken from Garg, 2016. The
statistical significance results from experiments on the five case study problems in terms of the
best, the mean, the worst, and the standard deviation of the objective value of the solutions
obtained by SP-UCI, QPSO and SP-QPSO algorithms are presented in Table 2. Table 3-7 presents
a comparison of the results by the proposed algorithm and others from the literature (CPSO)
(HPSO), Accelerate the Adaptive Trade-off Model (AATM), Model based on the t(hymus-
derived) cell( T-CELL), Constraint Violation with Interval Particle Swarm Optimization (CVI-PSO),
Hybrid Shuffled Complex Evolution with Quantum Particle Swarm Optimization(SP-QPSO). 82).
Table 8-12 presents the final values of the design variables for the five case study problems (all
solutions are feasible). The summary of statistical results obtained from the proposed algorithm is
shown in Table 13.
Table 2 Statistical results for engineering design case study problems
Table 9 Design variables found for for Pressure Vessel design problem
1 5.65
1 5.65
0.9
BestFitness
0.9
BestFitness
BestFitness
BestFitness
0.8 5.6
0.8 5.6
0.7
0.7
0.6 5.55
0.6 5.55
0.5
0.5
0.4 5.5
0.4 5.5
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 60 80 100 120 140 160 180 200 220 240
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 60 80 100 120 140 160 180 200 220 240
Iteration Iteration
Iteration Iteration
BestFitness
-4
BestFitness
7.948
BestFitness
-4
BestFitness
7.948
7.947
7.947 -4.5
-4.5
7.946
7.946
-5
7.945 -5
7.945
7.944
7.944 -5.5
-5.5
7.943
7.943
-6
-60 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
00 100 200 300 400 500 600 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
100 200 300 400 500 600 Iteration
Iteration Iteration
Iteration
9
QPSO
QPSO problems
9
8.95
8.95
Problem Results of SP-QPSO
BestFitness
BestFitness
8.9
8.9
8.85
8.85 Best Median Mean Worst SD
Tension/compression spring design
8.8
8.8
0.00250025 0.00250025 0.00250025 0.00250025 5.68318E-17
problem 8.75
8.75
Pressure vessel design problem 8.7
5885.268 5885.268397 5885.269435 5885.282344 0.003212602
8.7
Welded beam design problem 1.244675202 1.39052735 1.597138 2.001221 0.323085
0 1000 2000 3000 4000 5000 6000
0 1000 2000 3000 4000 5000 6000
Three bar truss design problem 263.8950835 263.8958127
Iteration
Iteration 263.8957807 263.8959127 0.000169173
Speed reducer design problem 2801.27748 2808.256754 2808.3918 2816.032413 4.609711989
Figure 1. Convergence curves of the proposed algorithm for case study problems a) Welded
beam design problem, b) Three bar truss design problem, c) speed reducer design problem,
d) Tension/compression spring design problem, e) Pressure vessal design problem
4. Conclusion
The hybrid SP-QPSO makes use of parameter free adaptive penalty method used for solving five
mechanical engineering benchmark case study problems. Simulation results based on five
robustness of the SP-QPSO over QPSO and SPUCI. From the experimental results, SP-QPSO found
better solutions compared to some newer and more sophisticated approaches with lower mean
value (over 1000 runs) and standard deviation, and requiring fewer function evaluations. The
statistical tests results confirm the better performance of SP-QPSO in terms of mean value and
number of function evaluations. Moreover, the small values for standard deviations may indicate
the robustness and stability of the proposed algorithm. Comparison with three different meta-
heuristics demonstrates that SP-QPSO with the embedded adaptive penalty method is extremely
effective and efficient at locating optimal solutions. The obtained results show that the proposed
algorithm offers better solutions than other optimizers considered in this research in terms of
objective function values for some problems and the number of function evaluations
References
B. Xin, J. Chen, J. Zhang, H. Fang, Z. Peng, Hybridizing differential evolution and particle swarm
optimization to design powerful optimizers: a review and taxonomy, IEEE Transactions on
Systems Man and Cybernetics Part C: Applications and Reviews 42 (5) (2012) 744–767.
C.A.C. Coello, Theoretical and numerical constraint handling techniques used with evolutionary
algorithms: a survey of the state of the art, Comput.Methods Appl. Mech. Eng. 191 (2002) 1245–1287.
C.A.C. Coello, Theoretical and numerical constraint-handling techniques used with evolutionary
algorithms: a survey of the state of the art, Computer Methods in Applied Mechanics and Engineering
191 (2002) 1245–1287.
Cagnina, L. C., Esquivel, S. C., & Coello Coello, C. A. (2011). Solving constrained optimization problems
with a hybrid particle swarm optimization algorithm. Engineering Optimization, 43(8), 843–866.
Chootinan, P. and Chen, A., 2006. Constraint handling in genetic algorithms using a gradient-based
repair method. Computers and Operations Research, 33 (8), 2263–2281.
Coello Coello CA. Theoretical and numerical constraint-handling techniques used with evolutionary
algorithms: a survey of the state of the art. Computer Methods Appl Mech Eng2002;191(11): 1245–87.
Courant R. Variational methods for the solution of problems of equilibrium and vibrations. Bull Am Math
Soc1943;49(1):23.
Dong, Y., Tang, J.F., Xu, B.D., and Wang, D., 2005. An application of swarm optimization to nonlinear
programming. Computers and Mathematics with Applications, 49 (11–12), 1655–1668.
Du, Q., Emelianenko, M., Ju, L.: Convergence of the Lloyd Algorithm for Computing Centroidal Voronoi
Tessellations. SIAM Journal on Numerical Analysis 44(1), 102–119 (2006)
Du, Qiang, Vance Faber, and Max Gunzburger. "Centroidal Voronoi tessellations: applications and
algorithms." SIAM review 41.4 (1999): 637-676.
Erwie Zahara & Chia-Hsin Hu (2008) Solving constrained optimization problems with hybrid particle
swarm optimization, Engineering Optimization, 40:11, 1031-1049, DOI:10.1080/03052150802265870.
Fan, S.K. and Zahara, E., 2007. A hybrid simplex search and particle swarm optimization for
unconstrained optimization. European Journal of Operational Research, 181 (2), 527–548.
Garg, H. A hybrid PSO-GA algorithm for constrained optimization problems. Appl. Math. Comput. 2016,
274, 292–305. [CrossRef]
H. Liu, Z.X. Cai, Y. Wang, Hybridizing particle swarm optimization with differential evolution for
constrained numerical and engineering optimization, Appl. Soft Comput. 10 (2) (2010) 629–640.
Kaveh A, Talatahari S. Particle swarm optimizer, ant colony strategy and harmony search scheme
hybridized for optimization of truss structures, Computers and Structures, Nos. 5-6, 87(2009) 267-83.
Kaveh, A., T. Bakhshpoori, and E. Afshari. "Hybrid PSO and SSO algorithm for truss layout and size
optimization considering dynamic constraints."Structural Engineering and Mechanics 54.3 (2015): 453-
474.
Liu, H., Cai, Z., & Wang, Y. (2010). Hybridizing particle swarm optimization with differential evolution for
constrained numerical and engineering optimization. Applied Soft Computing Journal, 10(2), 629–640.
http://doi.org/10.1016/j.asoc.2009.08.031
Nema S, Goulermas J Y, Sparrow G, Helman P. A hybrid cooperative search algorithm for constrained
optimization. Structural and Multidisciplinary Optimization, 2011, 43(1): 107-119
Q. He, L. Wang, A hybrid particle swarm optimization with a feasibility-based rule for constrained
optimization, Appl. Math. Comput. 186 (2007) 1407–1422
Sheikhalishahi, M., Ebrahimipour, V., Shiri, H., Zaman, H., & Jeihoonian, M. (2013). A hybrid GA–PSO
approach for reliability optimization in redundancy allocation problem. The International Journal of
Advanced Manufacturing Technology, 68(1-4), 317-338.
Taherzadeh, Ghazaleh, and Chu Kiong Loo. "Comparison of Applying Centroidal Voronoi Tessellations
and Levenberg-Marquardt on Hybrid SP-QPSO Algorithm for High Dimensional Problems." In Advances
in Swarm Intelligence, pp. 332-341. Springer International Publishing, 2014.
Y.G. Fu, M.Y. Ding, C.P. Zhou, Phase angle-encoded and quantum-behaved particle swarm
optimization applied to three-dimensional route planning for UAV, IEEE Trans. Syst. Man Cybern.
A: Syst. Hum. 42 (2) (2012) 511–526.