Need how to implement the adaptive parameter tuning feature of WSO in MATLAB, specifically the morale (Wi) update
2 views (last 30 days)
Show older comments
I need to implement the adaptive parameter tuning feature of WSO in MATLAB, specifically the morale (Wi) update
0 Comments
Accepted Answer
recent works
on 31 Dec 2023
Edited: Walter Roberson
on 31 Dec 2023
I think war strategy optimization you are working
Use vectorized operations and logical indexing to update morale values for all soldiers simultaneously
Wi = Wi0 * exp(-alpha * (1:max_iter)./max_iter);
Wi = Wi(soldier_iter);
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!