Designing of Elastoplastic Adaptive Truss Structures with the Use of Particle Swarm Optimization
Algorithm 1
The particle swarm optimization algorithm. For the basic AIA design problem, the particles represent consecutive elements cross sections; . If, for example, the localization of structural elements is taken into account, is extended accordingly (see Section 4.1).
(1) For each particle :
(2) Initialize with a random value,
(3) Let the particle’s best position will be equal to its initial one:
(4) Assign to each particle its initial velocity so that each component of the vector
is a random number
(5) Calculate the objective function for particle
(6) Update the swarm best solution if
(7) For each particle :
(8) Pick random numbers , from the range
(9) For each component :
(10)
(11)
(12) If then the particle’s best
(13) Update the swarm best solution: if then
(14) If a given termination criterion is not met, go to (7)