Products & Services Solutions Academia Support User Community Company

Learn more about Genetic Algorithm and Direct Search Toolbox   

Performing a Simulated Annealing Optimization

Calling simulannealbnd at the Command Line

To call the simulated annealing function at the command line, use the syntax

[x fval] = simulannealbnd(@objfun,x0,lb,ub,options)

where

The results are given by:

The command-line function simulannealbnd is convenient if you want to

Using Simulated Annealing from the Command Line provides a detailed description of using the function simulannealbnd and creating the options structure.

Using the Optimization Tool

To open the Optimization Tool, enter

optimtool('simulannealbnd')

at the command line, or enter optimtool and then choose simulannealbnd from the Solver menu.

You can also start the tool from the MATLAB Start menu as pictured:

To use the Optimization Tool, you must first enter the following information:

You can enter bounds for the problem in the Constraints pane. If the problem is unconstrained, leave these fields blank.

To run the simulated annealing algorithm, click the Start button. The tool displays the results of the optimization in the Run solver and view results pane.

You can change the options for the simulated annealing algorithm in the Options pane. To view the options in one of the categories listed in the pane, click the + sign next to it.

For more information,

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS