Azzera filtri
Azzera filtri

[HELP] fmincon to ga

6 visualizzazioni (ultimi 30 giorni)
E K
E K il 31 Lug 2012
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.

Risposta accettata

Sean de Wolski
Sean de Wolski il 31 Lug 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 Commenti
Sean de Wolski
Sean de Wolski il 1 Ago 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
Nouhaila Lazaar il 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,

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by