This is the source code for the algorithm Motion-Encoded Particle Swarm Optimization (MPSO). The current implementation is for the optimal search of a lost target with the focus on Unmanned Aerial Vehicles (UAV). However, it can be modified to apply to other optimization problems. Details of this algorithm can be found in the paper: Manh Duong Phung, Quang Phuc Ha, "Motion-encoded particle swarm optimization for moving target search using UAVs", Journal of Applied soft computing, Volume 97, Part B, pp. 106705, 2020. Link to the paper: https://doi.org/10.1016/j.asoc.2020.106705
To run the program, download all the source files and execute "MPSO_MAIN.m" in MATLAB.
Note: The Statistics and Machine Learning Toolbox needs installing to run the code.
Manh Duong Phung, Quang Phuc Ha. “Motion-Encoded Particle Swarm Optimization for Moving Target Search Using UAVs.” Applied Soft Computing, Volume 97, Part B, pp. 106705, 2020, doi:10.1016/j.asoc.2020.106705.
Yes, you can put the functions PathFromMotion() and PlotSolution() inside the loop for the swarm (for i=1:nPop). Please be aware that given the size of the population, it may take a lot of time to plot the whole swarm. However, you can customize it to your need. Cheers.
May I ask,is there a way to see animation of the swarm? maybe I can put plot command in functions where you have each swarm as points on 2D plane? Thank you.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!