7.4. 以 air distance 模式运行 OptaWeb Vehicle Routing runLocally.sh 脚本
optaweb Vehicle Routing 可以在 air distance 模式下工作,该模式根据两个协调之间的距离计算往返时间。如果您需要尽快启动并运行 OptaWeb Vehicle Routing,且不想使用 OSM (OpenStreetMap)文件,则使用此模式。air distance 模式只有在您需要进行测试的 OptaWeb Vehicle 路由且不需要准确的传输时间时才有用。
先决条件
- optaweb Vehicle Routing 已成功使用 Maven 构建,如 第 6 章 下载并构建 OptaWeb Vehicle Routing 部署文件 所述。
- 可通过互联网访问。
流程
-
将目录更改为
optaweb-vehicle-routing-distribution-7.48.0.Final-redhat-00004/sources。 使用
--air参数运行runLocally.sh脚本来以 air distance 模式启动 OptaWeb Vehicle Routing:./runLocally.sh --air