校车调度问题(SBSP)是通过调度使一辆校车服务完一个学校后继续服务其他学校,以减少一个地区所需的校车总数,进而降低校车采购成本和运营成本。目前的SBSP求解方法是将其转化为指派问题或运输问题,使用混合整型规划算法或者简单启发式算法进行求解,但求解性能有局限。本文在单校校车路径规划的基础上,将单校路径抽象为虚拟站点,进而将SBSP转换为带有时间窗的车辆路径问题(VRPTW),设计元启发算法进行求解。使用构造启发式算法获得初始解后,在模拟退火算法框架中通过典型的局部搜索算子搜索邻域解,逐步改善求解质量。搜索算子包括单点移动、两点交换、2-OPT和Cross.Exchange。迭代优化过程中以校车路径数为主要目标,路径长度为次要目标。为避免邻域搜索陷入局部最优,算法以一定的概率接受部分使路径长度增加的解。15个案例实验验证了本算法的有效性,与现有算法相比,能够获得更好的优化目标,适用于大规模的校车调度。
Given school bus trips for each school in a school district, if a school bus can serve multiple trips, the efficiency of school bus service can be improved in terms of the number of buses needed and the total travelcost. The school bus scheduling problem (SBSP), a class of school bus routing problem (SBRP), is concerned with assigning a fleet of buses to serve all the given trips and aims to get optimal bus schedules. Each school has its xed time window within which school bus must arrive at the destination school of the trip. In existing litera- tures, SBSP is usually formulated as a transportation problem (TP) or an assignment problem (AP). However, many existing algorithms for vehicle routing problem (VRP) have not been fully utilized to solve the problem ef- fectively. This paper proposes a meta-heuristic algorithm for large-scale SBSP. Treating a trip as a virtual stop with time window, the problem can be converted to a vehicle routing problem with time windows (VRPTW). Therefore, the SBSP can be solved in a VRP algorithm framework. After a set of feasible solutions are generated using construction heuristic algorithm, a simulated annealing (SA) algorithm is designed to improve the initial so- lutions iteratively. Four general operators for VRP, one-point move, two point move, two-opt move and cross-ex- change move, are used in the neighborhood search. In addition to the SBSP objectives of minimizing the number of the routes and the total travel distance, the sum of squared number of route stops is added as a new objective. This will guide the neighborhood search toward the situation that deleting some routes more easily. For avoiding local optimum, some worsening neighborhood solutions can be accepted with a certain probability. Computation- al tests on 15 instances with a homogeneous fleet show the effectiveness of the proposed approaches. Compared with the existing SBSP solutions, the proposed algorithm can solve large-scale SBSP in a reasonable time and find better solutions u