路线优化 [英] Route Optimization
问题描述
我们正在代码中实施指导经理。
此前我们还使用了方向管理员,但使用自定义代码处理了路线的绘图。
我的问题是我们写了自定义代码执行路由优化。例如
如果点击优化复选框 该路线将如下绘制
如果未选中优化,它将按以下顺序绘制路线
所以现在使用这个新的Direction Manager是否包含任何选项,其中管理器将优化航点并且不需要添加任何自定义代码。
航路点优化目前在路线服务中不可用,但可以计算距离矩阵并将其传递到旅行的Salesmen算法中,以优先优化航点的顺序。有一个.NET工具包,它在这里提供所有这些
: https://github.com/Microsoft/BingMapsRESTToolkit
或者,您可能还想查看Azure Maps平台。他们的路由服务支持路点优化。 https://azure.com/maps
We are implementing direction manager in our code.
Earlier also we used direction manager but handled plotting of route using custom code.
My question is we had written custom code to perform route-optimization. Eg
If Optimization check-box is clicked the route will plot as follows
If Optimization is unchecked it will plot a route in the following sequence
So now with this new Direction Manager is there any option included where Optimization of waypoint will be handled by Manager and no need to add any custom code.
Waypoint optimization is not available in the routing service currently, but a distance matrix can be calculated and passed into a travelling Salesmen algorithm to optimize the order of the waypoints first. There is a .NET toolkit which provides all this here: https://github.com/Microsoft/BingMapsRESTToolkit
Alternatively, you might also want to take a look at the Azure Maps platform. Their routing service supports waypoint optimizations. https://azure.com/maps
这篇关于路线优化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!