MATLAB Answers

why it takes too long time to run firefly algorithm?

1 view (last 30 days)
sandy jeak
sandy jeak on 4 Jun 2017
Edited: Jan on 18 Dec 2018
I am using firefly algorithm to get optimal values of PID parameters for my system . I am using a simulink model simulating controller and plant . the problem here that when i run the algorithm it takes too long time may be 3 or 4 hours to run only 100 iterations how can I speed up the algorithm ?
  2 Comments
Jan
Jan on 18 Dec 2018
Use the profiler to find the bottleneck. Maybe you are running out of memory and the slow disk swapping is responsible. Or you store temporary files on a slow network drive. The readers cannot guess what happens on your computer and of course they cannot recommend to use the hidden tool fireflyMuchFaster, which is revealed for insiders only.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!