How to track optimization process?

19 views (last 30 days)
Wendy
Wendy on 19 Jun 2014
Answered: Aysegul GORDEBIL on 3 Mar 2020
Hi all,
I am solving a problem using genetic algorithm for the first time. The optimization code has been running for a while, but I am not sure if it is working properly. Is there a way to track the progress of GA optimization in Matlab?
Thank you, Wendy

Answers (2)

Alan Weiss
Alan Weiss on 19 Jun 2014
Probably the best way is to include a plot function in your options. You can also ask for iterative display. Unfortunately, you have to do either or both of those before you call ga.
Alan Weiss
MATLAB mathematical toolbox documentation

Aysegul GORDEBIL
Aysegul GORDEBIL on 3 Mar 2020
This video will be beneficial to understand how to track the GA process. This is a sequel of a problem-solving video for the GA optimized PID tuning.

Community Treasure Hunt

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

Start Hunting!