View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Simulated Annealing for Constrained Optimization

2.0 | 1 rating Rate this file 17 Downloads (last 30 days) File Size: 5.03 KB File ID: #29739 Version: 1.2

Simulated Annealing for Constrained Optimization


Xin-She Yang (view profile)


16 Dec 2010 (Updated )

Continuous constrained optimization using simulated annealing.

| Watch this File

File Information

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.

MATLAB release MATLAB 7 (R14)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
09 May 2014 Donald Hume

The main loop checks the following:

((T > T_min) && (j <= max_rej) && E_new>F_min)

but as far as I can see j is not incremented in any place and is only set back to zero if a solution is accepted. Any easy fix, but something to note if you plan to use this code.

Comment only
10 Jun 2011 CREOL

CREOL (view profile)

a nice one

07 Feb 2011 1.2

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

Contact us