The ridesharing problem is that given a set of trips, each trip consists of an individual, a vehicle of the individual and some requirements, select a subset of trips and use the vehicles of selected trips to deliver all individuals to their destinations satisfying the requirements. Requirements of trips are specified by parameters including source, destination, vehicle capacity, preferred paths of a driver, detour distance and number of stops a driver is willing to make, and time constraints. We analyze the relations between the time complexity and parameters for two optimization problems: minimizing the number of selected vehicles and minimizing total travel distance of the vehicles. We consider the following conditions: (1) all trips have the same source or same destination, (2) no detour is allowed, (3) each participant has one preferred path, (4) no limit on the number of stops, and (5) all trips have the same departure and same arrival time. It is known that both minimization problems are NP-hard if one of Conditions (1), (2) and (3) is not satisfied. We prove that both problems are NP-hard and further show that it is NP-hard to approximate both problems within a constant factor if Conditions (4) or (5) is not satisfied. We give $\frac{K+2}{2}$-approximation algorithms for minimizing the number of selected vehicles when condition (4) is not satisfied, where $K$ is the largest capacity of all vehicles.
翻译:搭乘问题在于,考虑到一系列旅行,每次旅行由个人、个人车辆和某些要求组成,选择一组旅行,使用选定旅行的车辆将所有个人运送到符合要求的目的地,旅行要求按出处、目的地、车辆容量、司机偏好路线、司机愿意出行的绕行距离和停留次数等参数以及时间限制加以规定,我们分析两个优化问题的时间复杂性和参数之间的关系:尽量减少选定车辆的数量和尽量减少车辆总旅行距离。我们考虑以下条件:(1)所有旅行都有相同的来源或目的地,(2)不容许绕行,(3)每个参加者都有一条首选路线,(4)不限制停留次数,(5)所有旅行都有相同的出发和到达时间。众所周知,如果条件(1)、(2)和(3)不能满足条件(1)、(2)和(3),那么,尽量减少问题就很难解决。我们证明,如果条件(4)或(5)不能满足条件,那么在固定因素内很难接近这两个问题。我们给最起码的车辆数量(4xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx