You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
In the field of artificial intelligence, a genetic algorithm (GA) is a search heuristic that mimics the process of natural selection. This heuristic (also sometimes called a metaheuristic) is routinely used to generate useful solutions to optimization and search problems. Genetic algorithms belong to the larger class of evolutionary algorithms (EA), which generate solutions to optimization problems using techniques inspired by natural evolution, such as inheritance, mutation, selection, and crossover [Reference: Wikipedia].
This code implements the MATLAB Genetic Algorithm (GA) function for optimization of the benchmark 10-bar truss problem with continuous design variables. More details about this problem and a comparison between results of different optimization methods are available in the following papers:
1-Multi-class teaching–learning-based optimization for truss design with frequency constraints
2-Design of space trusses using modified teaching learning based optimization
HelpGA.mp4 explains how to use the code.
Cite As
Mohammad Farshchin (2026). Truss Optimization with MATLAB Genetic Algorithm (GA) Function (https://se.mathworks.com/matlabcentral/fileexchange/51250-truss-optimization-with-matlab-genetic-algorithm-ga-function), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Truss Analysis
General Information
- Version 1.0.0.0 (498 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Description updated
Image added. |
