Products & Services Solutions Academia Support User Community Company

Learn more about Genetic Algorithm and Direct Search Toolbox   

Version 2.1 (R2007a) Genetic Algorithm and Direct Search Toolbox Software

This table summarizes what's new in version 2.1 (R2007a):

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known ProblemsRelated Documentation at Web Site

Yes
Details below

Yes–Details labeled as Compatibility Considerations, below. See also Summary.

Bug Reports
Includes fixes
None

New features and changes introduced in this version are described here:

New Functions for Simulated Annealing and Threshold Acceptance

The following functions have been added for simulated annealing and threshold acceptance:

simulannealbnd

Perform unconstrained or bound-constrained minimization of a function of several variables using simulated annealing. The default algorithm uses adaptive annealing, but options can be changed to use Boltzmann annealing, fast annealing, and other variants.

threshacceptbnd

Perform unconstrained or bound-constrained minimization of a function of several variables using threshold acceptance.

saoptimset

Create or modify optimization options for simulannealbnd or threshacceptbnd.

saoptimget

Access options for simulannealbnd or threshacceptbnd.

If you are viewing this documentation in the Help browser, the following demos are available:

ga Output Argument exitflag Returns Numeric Value

The third output argument returned by the ga function is now a numeric value. This change is consistent with other optimization solvers in MATLAB and makes it easier to programmatically determine the reason the solver stopped. As in previous versions, the fourth output argument is a structure with the field message containing a string that indicates the reason the solver stopped.

The new syntax is as follows:

[x,fval,exitflag,output] = ga(fitnessfcn, ...)

For more information, including a description of the messages that correspond to the numeric values for each exitflag value, see the ga function reference page in the Genetic Algorithm and Direct Search Toolbox User's Guide for more information.

Compatibility Considerations

In previous versions, the third output argument returned by ga is a string describing the reason the solver stopped.

[x,fval,reason] = ga(fitnessfcn, ...)

If you used the third output argument of the ga function programmatically in a previous release, for example, to compare the value to a string, this code will now produce an error.

  


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