Truss optimization using PSO

Truss optimization using particle swarm algorithm.
171 Downloads
Updated 17 Jun 2023

View License

Particle Swarm Optimization Algorithm
Truss optimization using particle swarm algorithm.
This code applies the PSO algorithm to 4 standard trusses, including two two-dimensional trusses (ten-membered and 3-membered trusses) and two three-dimensional trusses (25-membered and 72-membered trusses).
This code can be used to optimize all kinds of trusses, and you only need to enter the specifications of the desired trusses in the relevant files.
This code also shows the value of Non Penalized weight so that students can better understand the concept of the penalty function and observe its changes along the optimization path.
Note that the code provided by "EDUCATIONAL FREEWARE FOR ENGINEERING STATICS & DYNAMICS, L. SILVERBERG" is used here to analyze the trusses.

Cite As

Mehdi Ghasri (2024). Truss optimization using PSO (https://www.mathworks.com/matlabcentral/fileexchange/131129-truss-optimization-using-pso), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.2.0

Fixing some errors in the 2013 version

2.1.0