MATLAB Answers

Genetic Algorithm and Direct Search Toolbox

조회 수: 21(최근 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 <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.

  댓글 수: 0

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

채택된 답변

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

표시 이전 댓글 수: 1
Alan Weiss
Alan Weiss 26 Apr 2018
Generally speaking, it is not clear what it means to optimize a complex-valued function, because complex numbers are not ordered.
If, however, you mean that the control variables are complex, but the objective function is real, then it is easy to split the variables into twice as many real variables, two real variables for each complex number. For more discussion of this (in another context), see Fit a Model to Complex-Valued Data, particularly the later parts of the example.
Alan Weiss
MATLAB mathematical toolbox documentation
Johan Johan
Johan Johan 26 Apr 2018
The real genetic algorithm is extended to complex cases ,do you have any idea what this means?
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