| Version 2.0.2 (R2006b) Genetic Algorithm and Direct Search Toolbox™ Software Release Notes | ![]() |
This table summarizes what's new in version 2.0.2 (R2006b):
| 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 | No |
New features and changes introduced in this version are described here:
The new syntax is more efficient both with speed and memory. This is done by changing the way linear and bound constraints are stored and passed to a search function. The following describes the new calling syntax:
function [successSearch,xBest,fBest,funccount] =
searchfcntemplate(fun,x,A,b,Aeq,beq,lb,ub, ...
optimValues,options)
For more information on how to use the new search function syntax, see Structure of the Search Function in the Genetic Algorithm and Direct Search Toolbox™ User's Guide. To see a template that you can view and edit, type
edit searchfcntemplate
at the Command Window.
Using your search functions in Version 2.0.2. In previous versions, a search function required the following calling syntax:
function [successSearch,nextIterate,optimState] =
searchfcntemplate(fun,iterate,tol,A,L,U, ...
funeval,maxfun,searchoptions,objfcnarg, ...
iterlimit,factors)
If you have a search function written for use in a previous release, the function performs correctly in Version 2.0.2 but returns a warning. Custom search functions written in a previous version need to be updated with the new syntax. In later versions, this syntax may cause a warning or error.
Converting your search functions to the Version 2.0.2 syntax. The searchConversion utility function is provided to convert your search functions from previous releases to the new syntax of Version 2.0.2. For more information on obtaining and using the conversion function, see this technical support solution.
![]() | Version 2.1 (R2007a) Genetic Algorithm and Direct Search Toolbox™ Software | Version 2.0.1 (R2006a) Genetic Algorithm and Direct Search Toolbox™ Software | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |