How to track optimization process?

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

Antworten (2)

Alan Weiss
Alan Weiss am 19 Jun. 2014

1 Stimme

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 am 3 Mär. 2020

0 Stimmen

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.

Gefragt:

am 19 Jun. 2014

Beantwortet:

am 3 Mär. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by