MATLAB Answers

Genetic Algorithm and Direct Search Toolbox

조회 수: 26(최근 30일)
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 < >
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.

채택된 답변

Alan Weiss
Alan Weiss 26 Apr 2018
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
  댓글 수: 4
Salah Djerouni
Salah Djerouni 6 Oct 2020
Alan Weiss ,
Dear docteur ,
I gonna ask a question about the GA optimization ,once the optimization is completed the optimal values selected only the min or max vale from the boundary .what's the probalem in this case .
Please I need help.

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by