This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Simulated Annealing

Simulated annealing solver for derivative-free unconstrained optimization or optimization with bounds

Use simulated annealing when other solvers don't satisfy you.


expand all

simulannealbndFind minimum of function using simulated annealing algorithm
optimoptionsCreate optimization options
resetoptionsReset options


Optimize Using Simulated Annealing

Minimize Function with Many Local Minima

Presents an example of solving an optimization problem using simulated annealing.

Minimization Using Simulated Annealing Algorithm

This example shows how to create and minimize an objective function using the simulannealbnd solver. It also shows how to include extra parameters for the minimization.

Simulated Annealing Options

Shows the effects of some options on the simulated annealing solution process.

Multiprocessor Scheduling using Simulated Annealing with a Custom Data Type

Uses a custom data type to code a scheduling problem. Uses a custom plot function to monitor the optimization process.

Reproduce Your Results

Explains how to obtain identical results by setting the random seed.

Simulated Annealing Background

What Is Simulated Annealing?

Introduces simulated annealing.

Simulated Annealing Terminology

Explains some basic terminology for simulated annealing.

How Simulated Annealing Works

Presents an overview of how the simulated annealing algorithm works.

Simulated Annealing Options

Describes the options for simulated annealing.