| Version 2.1 (R2007a) Genetic Algorithm and Direct Search Toolbox™ Software Release Notes | ![]() |
This table summarizes what's new in version 2.1 (R2007a):
| New Features and Changes | Version Compatibility Considerations | Fixed Bugs and Known Problems | Related Documentation at Web Site |
|---|---|---|---|
Yes | 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:
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:
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.
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.
![]() | Version 2.2 (R2007b) Genetic Algorithm and Direct Search Toolbox™ Software | Version 2.0.2 (R2006b) Genetic Algorithm and Direct Search Toolbox™ Software | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |