Genetic Algorithm for Truss Optimization Problem
Version 2.0.0 (23,9 ko) par
ibrahim aydogdu
This method uses a Genetic Algorithm to solve the Truss problem via the GA optimization tool.
- Fix (Multiload Handling): Fixed an indexing error in ga_fitness_function.m where flattening the stress matrix caused out-of-bound errors during multiple load cases. The function now iterates explicitly over load cases and members.
- Fix (Variable Mapping): Corrected the mapping of the Compression Limit (Sigmac) vector. It now correctly uses the Group ID (GR) to assign specific stress limits to members, rather than defaulting to the first element.
- Improvement (Output Consistency): Updated run_ga_multiple.m to calculate statistics (Mean/StdDev) based on the Penalized Weight for all runs (feasible and infeasible). This ensures the ga_history_results.csv data matches the summary in FeasibilityPerformance.txt exactly.
- Fix (CSV Formatting): Implemented unique(..., 'last') for the evaluation axis generation. This removes duplicate rows at the budget limit (e.g., iteration 40) while preserving the final and best converged value.
Citation pour cette source
ibrahim aydogdu (2026). Genetic Algorithm for Truss Optimization Problem (https://fr.mathworks.com/matlabcentral/fileexchange/182262-genetic-algorithm-for-truss-optimization-problem), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2021b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
GA/2-D
GA/3-D
GA/3-D/old
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 2.0.0 | This update addresses critical indexing errors in the fitness function evaluation and harmonizes the statistical reporting between CSV logs and text summaries. |
||
| 1.0.0 |
