[HELP] fmincon to ga
4 views (last 30 days)
Show older comments
Hi guys,
I have a o object function that i write for fmincon.
What should i change to minimize same object function by a ga(genetic algorithm) any tips,suggestions will be amazingly help me.
I explained the functions/problem/object (fitness) function better in comments below.
0 Comments
Accepted Answer
Sean de Wolski
on 31 Jul 2012
You shouldn't have to change anything!
In fact you can use ga as the coarse minimization method and then use fmincon as a 'HybridFcn' for the finer tuned minimization after ga has gotten close.
doc gaoptimset
10 Comments
Sean de Wolski
on 1 Aug 2012
This is why I suggest maybe using a 'HybridFcn'. Let ga find the valley that contains the global minimum and then use fmincon to hone in on the minimum of this valley really quickly.
Nouhaila Lazaar
on 3 Nov 2020
Hello,
I want to do the same thing, have you managed to do it? Actually, when I use ga, the program doesn't find a feasible point, I couldn't solve the problem. Can you please tell me what options I can use to solve my problem? Any suggestion will be helpful.
Thank you in advance,
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!