passing variable through pattern search iterations
Mostrar comentarios más antiguos
Hi everyone!
I'm using pattern search to solve a minmax problem. I know that pattern search:
1) Starts witha a polling phase where it polls the points in the current mesh by computing their objective function values,
2) it groups all the values of the objective functions and it select the mesh case with highest objective function value,
3) it moves the mesh in the last successful poll point (or it leaves the central mesh point as before) and starts again from 1),
4) this continues untill convergence is reached (possibly).
My question is: Is it possible to pass a variable from the best objective function (point 2) to the next polling phase (point 3)?
Many thanks!
3 comentarios
Ameer Hamza
el 30 de Mzo. de 2020
Can you clarify what the intended outcome is. Are you trying to read the intermediate values of optimization variables after each iteration of pattern search?
Andrea Agosti
el 31 de Mzo. de 2020
Venus liria silva mendes
el 4 de Mayo de 2021
Editada: Venus liria silva mendes
el 5 de Mayo de 2021
Hi everyone
%% Modify options setting
my example problem:
[combination, custototal, exitFlag, Output, population, scores] = ga (@ smc09v7AG_01, n_vars, A, b, Aeq, beq, LB, UB, NON_linear, Integral_variables, settings)
'' population '' I'm not sure if all individuals from all generations or just the last one return. And the "scores" returns the evaluations of each one.
Hope it works!
https://www.mathworks.com/help/gads/genetic-algorithm-options.html
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Direct Search en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!