Simulated Annealing for Constrained Optimization

Continuous constrained optimization using simulated annealing.

You are now following this Submission

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.

Cite As

Xin-She Yang (2026). Simulated Annealing for Constrained Optimization (https://www.mathworks.com/matlabcentral/fileexchange/29739-simulated-annealing-for-constrained-optimization), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Please use the latest version as the update (a more robust version is provided)

1.0.0.0