In practice, the emerging shared electric bicycles battery-swapping systems face weather disturbances and time-window lateness, which can reduce travel efficiency and degrade operational reliability. To facilitate the operation reliability and management robustness, this study builds a scenario-based location–routing optimization model that links station siting with replenishment routing under two weather scenarios, no rain and rain. The first stage selects sites and determines battery-swapping station construction decisions before scenario realization. The second stage reacts through scenario-dependent depot assignment and routing and scheduling decisions. The objective functions are to minimize average cost while restraining tail risk through an explicit worst-case term, yielding an adjustable efficiency–resilience balance. The modeling constraints impose a minimum service level, preserve route feasibility under scenario travel times, and prevent structural shortcuts. An improved genetic algorithm is proposed to solve the model. The algorithm adopts construction encoding and scenario-wise assignment encoding, applies feasibility repair before evaluation, and constructs executable routes during decoding with local improvement. Experiments demonstrate that the proposed method achieves better objective values than benchmark methods and exhibits stable convergence. Case study shows that rain increases transportation and lateness-related costs. The System Resilience Analysis shows that the robust penalty term reduces variable operating loss under rain by 5.33% and cuts the cost shock from no rain to rain by 32.82%, demonstrating improved resilience under adverse weather.
Cao et al. (Tue,) studied this question.