help minium of a n-variables function in m-variables (m<n) (genetic algorithm, fmincon).
Ältere Kommentare anzeigen
i have a function f: = (i = 1 to n) Σ [R (a, b, c, d, e, T (i)) - H (i)]
where R is a mixed function that depends on a, b, c, d, e, and T (i) where a, b, c, d, e are greater than zero.
f also depends also on H(i)
I suppose that the vectors T (i) and H (i) are the input data.
I would like to minimize this quantity as a function of Θ = (a, b, c, d, e) using the genetic algorithm GA along with fmincon.
the problem is that I can not define f in the right way to let him take T (i) and H (i) input and to minimize only with respect to Θ = (a, b, c, d, e).
The main problem is that I can not find a way to define f that "fix" T (i) and H (i) so as to minimize in 5 variables instead of 7.
Can you help me to define the function f in the right way and then to use GA and fmincon in the right way?
Thank you so much
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Genetic Algorithm finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!