Truss Solver and Genetic Algorithm Optimzer

Version 1.0.0.0 (17.2 KB) by spencer
Solver uses a Direct Stiffness Method. GA modifies X,Y,Z coordinates of nodes and areas of elements.
2.5K Downloads
Updated 6 May 2011

View License

The Evolution of a Truss Structure program contains a truss solver as well as a genetic
algorithm optimizer. The truss solver uses a direct stiffness model to solve for the forces in
each element of the truss and displacements of each node in the truss. Based on the forces
and geometric and material properties, a safety factor for each element is also calculated.
The genetic algorithm optimizer generates a chromosomal representation of a “species” of
truss, and “breeds” individuals of the population by swapping alleles in a single-point-crossover
manner. Population size and mutation rate are set by the user. Individuals are evaluated based
on a “fitness” function, and individuals which have a higher fitness are more likely to be chosen
for mating, and thus more likely to pass on the traits which yield a higher fitness.

Cite As

spencer (2024). Truss Solver and Genetic Algorithm Optimzer (https://www.mathworks.com/matlabcentral/fileexchange/31350-truss-solver-and-genetic-algorithm-optimzer), MATLAB Central File Exchange. Retrieved .

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

Inspired by: Truss Analysis

Inspired: Truss simulation

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0