Research Article
Bike-Sharing Fleet Allocation Optimization Based on Demand Gap and Cycle Rebalancing Strategies
Algorithm 1
The single-cycle rebalancing strategy.
| Input: The number of bikes at the end of period of station , Demand gap of period of station , Station capacity | | Output: Rebalancing amount | | for to do | | station classification | | ifthen | | the unloading amount at station is , station belongs to the set of unloading stations | | else ifthen | | the loading amount at station is , station belongs to the set of loading stations | | else | | station belongs to the set of normal stations | | end | | Conduct rebalancing amount between problem stations in sequence from near to far; | | for to do | | ifthen | | station belongs to the set of normal stations | | end | | whiledo | | Conduct rebalancing amount between problem stations and normal stations in sequence from near to far | | end | | return |
|