|
Algorithm 1. Pseudo-code of SSVUBA |
| Start SSVUBA. |
| 1. |
Input the optimization problem information: Decision variables, constraints, and objective function |
| 2. |
Set the T and N parameters. |
| 3. |
For t = 1:T
|
| 4. |
|
|
| 5. |
|
For i = 1:N
|
| 6. |
|
|
For j = 1:
|
| 7. |
|
|
|
Select a population member randomly to guide the ith population member. , is the Sth row of the population matrix. |
| 8. |
|
|
|
Select one of the variables at random to update. . |
| 9. |
|
|
|
|
| 10. |
|
|
|
If
|
| 11. |
|
|
|
|
|
| 12. |
|
|
|
else |
| 13. |
|
|
|
|
|
| 14. |
|
|
|
end
|
| 15. |
|
|
end
|
| 16. |
|
|
|
| 17. |
|
|
If
|
| 18. |
|
|
|
|
| 19. |
|
|
else
|
| 20. |
|
|
|
|
| 21. |
|
|
end
|
| 22. |
|
end
|
| 23. |
|
Save the best solution so far. |
| 24. |
end
|
| 25. |
Output the best obtained solution. |
| End SSVUBA. |
|
|
|
|
|
|
|
|