Research Article
Discrete Particle Swarm Optimization with Scout Particles for Library Materials Acquisition
Algorithm 1
Greedy solution method.
Algorithm Greedy: | Sort all materials in nonincreasing order of the ratio ; | for to do | while (the upper bound on the number of materials in language is not exceeded, ) | while (the upper bound on the number of materials in category is not exceeded, ) | Sort the departments that propose material in nonincreasing order of | Let () be the sorted sequence; | for to do | if (budget is not exhausted) | Set | endfor | Calculate the residual budget of all departments with by | deducing the apportioned cost of material . | endwhile | endwhile | endfor |
|