Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对每个位置都有不同的服务时间。如何在时间窗口解决方案中添加这些服务时间?
我已经通过 or-tools/ortools/constraint_solver/samples/cvrptw.py
但想不通
您应该按如下方式构建您的 Transit 矩阵。
Transit(A, B) == ServiceCost(A) + TravelCost(A, B)