MATLAB: Genetic Algorithm and Direct Search Toolbox

genetic algorithmoptimizationtoolbox

If i want to optimize a problem using genetic algorithm ,what is the appropriate,
is it use : the type of matlab code in this link <http://codem.group.shef.ac.uk/index.php/ga-toolbox >
or using the optimization tool ( Genetic Algorithm and Direct Search Toolbox) ,or this is related to the nature of the problem ,
any information is helpful for me,I have read lots of article but i am still confused about it.

Best Answer

I think that it depends on WHY you want to optimize a problem using the genetic algorithm. If it is to get a good answer to a tough optimization problem that has a nonsmooth objective function, then I think that the best thing to do in most cases is to use patternsearch instead.
However, if your goal is to investigate genetic algorithms, not to solve a particular problem the best way, then I am not sure that I can give you good advice, because I only know about MATLAB products. Our ga genetic algorithm solver is flexible, and allows you to customize it in a wide variety of ways; see Genetic Algorithm Options. But perhaps other genetic algorithm solvers have similar flexibility.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation