We give a deterministic exact algorithm for single-depot capacitated vehicle routing with $n$ customers, interchangeable vehicles, and one capacity constraint. It returns optimal routes or reports infeasibility in $2^n\operatorname{poly}(L_{\mathrm{in}})$ time and space, where $L_{\mathrm{in}}$ is the binary input length. Demands, vehicle capacity $Q$, and directed arc costs may be arbitrary nonnegative integers, and the fleet size may be limited or unlimited. The capacity-indexed dynamic program has a factor linear in $Q$, and bounded-weight subset convolution has a factor linear in the largest arc cost. Our algorithm exploits the fact that covers of a fixed customer set by exactly $b$ routes have the same total unused capacity. Removing a route with at least the average unused capacity allows many customer sets to share one path computation. If $Q>0$ and every demand fits in one vehicle, the bound improves to $O^*(2^{n-(1-\log_3 2)W})$, where $W$ is total demand divided by $Q$. We also give an $O^*(2.70172^n)$ algorithm for adding a feasible route to an arbitrary table of source costs, with extensions to explicitly listed heterogeneous fleets and any fixed number of capacity constraints.
翻译:暂无翻译