Research Article

Bike-Sharing Fleet Allocation Optimization Based on Demand Gap and Cycle Rebalancing Strategies

Algorithm 2

The multicycle rebalancing strategy.
Input: Number of data periods , Number of bikes at station at the beginning of a cycle , Rental demand of period , Returning demand of period , Station capacity
Output: Rebalancing amount Divide periods into subcycles, each cycle has periods;
for to do
for to do
  Implement SCRS
end
ifthen
  get the number of bikes of station at the end of cycle ;
  ifthen
   the unloading amount at the station is ; station belongs to the set of unloading stations
  else ifthen
   the unloading amount at station is ; station belong to the set of normal stations
  else
   station belongs to the set of normal stations
  Conduct rebalancing amount between problem stations in sequence from near to far;
  ifthen
   station belongs to the set of normal stations
  end
  whiledo
   Conduct rebalancing amount between problem stations and normal stations in sequence fron near to far
  end
end
end
return