Two programs are attached: sa_demo demonstrates how the simualted annealing works for simple functions, while sa_mincon solves a welded beam design problem using simulated annealing, which can easily be used to solve other constrained optimization problems in engineering design.
Xin-She Yang (2022). Simulated Annealing for Constrained Optimization (https://www.mathworks.com/matlabcentral/fileexchange/29739-simulated-annealing-for-constrained-optimization), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!