Contribution. Drawing from the experience gained in a collaboration with Brescia Mobilità
SpA, operating the station-based BSSs in Brescia, Italy (see Angelelli et al. [2022]), in this paper
we study the problem of optimally loading/unloading vehicles that visit the same station at given
time instants of a discrete and finite time horizon. The net users demand at the station is known
(provided by the forecast) at each time instant of the time horizon. The goal is to minimize the
total lost demand of bikes and free stands. The station is characterized by an initial inventory
stock and a known capacity. Likewise, each vehicle is characterized by a capacity and an initial
load of bikes. We model the optimization problem, that accounts for the interaction of the
operations of the vehicles, as a mixed integer linear programming problem whose linear relaxation
is shown to always have an integer solution. We then present a solution algorithm that runs in
linear time in the size of the time horizon. Given the forecast of net users demand on each instant
(epoch) of the time horizon, the algorithm finds the type of operation (loading/unloading) and
the number of bikes (to be loaded/unloaded) for each vehicle that visits the station to minimize
the number of unsatisfied requests, taking into account the limits imposed by the capacity and
the load at the time of the visit. It also finds the number of requests that remain unsatisfied
regardless of the load and capacity of the vehicles. Therefore, the algorithm could be also used to
calibrate the load of the vehicles upon their arrival at a station and to evaluate the effectiveness
of certain visiting times at a station. The problem addressed can be seen as a subproblem to be
solved in a solution approach to a more general repositioning problem. The availability of a very
efficient optimal algorithm for the solution of the subproblem will contribute to the efficiency of
the approach. In this sense our work provides a contribution to the design of solution approaches
to more general models in the class of BRPs.
Literature Review. The design and management of a BSS involve many issues that have
been tackled by the optimization literature (see Laporte et al. [2018], Shui and Szeto [2020],
Vallez et al. [2021]). Among these problems, those regarding the mitigation of spatio-temporal
imbalances in the demand and offer of bikes by the users have received a considerable attention.
Many works consider a static setting, where bike relocation is assumed to take place at night,
when user demand is negligible (see Benchimol et al. [2011], Chemla et al. [2013], Dell’Amico
et al. [2014], Erdoğan et al. [2014]). In this context, the decisions can be decomposed in those
regarding the inventory of the station and those about the routing of the relocating vehicles.
Considering the nighttime-only relocation of bikes can be a limitation in systems experiencing
high fluctuations in user demand. This limitation is overcome in the dynamic setting where the
relocation takes place during the day and therefore decisions can be revised multiple times. In
this setting, the decisions to be taken include the inventory of each station, and the scheduling
and routing of the vehicles performing the relocation must be taken. These decisions have been
tackled both separately (e.g., Regue and Recker [2014]) and in an integrated way (e.g., Zhang
et al. [2017], Ghosh et al. [2017], Zheng et al. [2021]). It must be noted that the dynamic
3