File list (Check if you may need any files):
MATLAB Codes for PSO
....................\Knapsack Problem (Integer)
....................\..........................\CreateModel.m
....................\..........................\CreateRandomSolution.m
....................\..........................\MyCost.m
....................\..........................\ParseSolution.m
....................\..........................\pso.m
....................\Knapsack Problem (Real)
....................\.......................\CreateModel.m
....................\.......................\CreateRandomSolution.m
....................\.......................\MyCost.m
....................\.......................\pso.m
....................\Simple PSO
....................\..........\pso.m
....................\..........\Sphere.m