Research Article

Bike-Sharing Static Rebalancing by Considering the Collection of Bicycles in Need of Repair

Algorithm 3

Hybridization of DPSO with VNS.
Input: Based data of bike system, DPSO parameters
Output: The best optimization solution (routes of the bike system)
Begin
 Initialize the population of the swarm, known as Pop and the relative parameters i.e., max iteration
Apply the initial particle swarm algorithm to represent each particle in
 Calculate the personal best particle in and obtain the personal best of each particle, stored in
 Calculate the global best particle in and obtain the global best of each particle, stored in
While   do
  Begin
   Update particles using Eq. (21) and Eq. (22)
Apply the initial particle swarm algorithm to evaluate the updating particles
Apply the Local search algorithm(VNS) to optimize the personal best particles
Update the Global best
end