Parllel particle swarm optimization with simulink
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I have set up a particle swarm optimization to optimise the parameters of a Simulink model. In my cost function I call the simulation with the sim command, read constants and input data from the workspace and used the result of the simulation to calculate an error. This error should be minimised by the PSO. Unfortunately, the optimisation on my PC is very time-consuming, which is why I would like to speed it up by parallelising it (first locally then on a cluster). My question is whether it is at all possible to parallelise the alogrithm with a simullink model in the cost function and if so, how I have to prepare/set up the model, since simply loading data from the workspace no longer works. Thank you very much in advance!
Best
Lukas
1 个评论
Alvaro
2023-1-27
How did you set up PSO? Did you build your custom version in Simulink or are you using particleswarm inside a MATLAB function block?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Particle Swarm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!