# README
Nextmv cloud-routing template
The cloud-routing template sets up a vehicle routing problem (VRP) solver that is compatible with our cloud input files. In addition to almost being a drop-in replacement for the cloud endpoint it also demonstrates some of the more advanced router options.
The most important files created are main.go
and several data input files for
different uses cases: fleet management, delivery, distribution and sourcing. By
default the workspace file points to fleet-tiny.json
. In addition there is the
schema.go
file that defines needed data structures and the helper.go
file in
which helper functions are defined, e.g. for data handling.
main.go
is the entry point for the VRP solver. The actual configuration can be
found in solver.go
.
Before you start customizing run the command below to see if everything works as expected:
nextmv sdk run . -- -runner.input.path data/fleet-tiny.json\
-runner.output.path output.json -limits.duration 10s
A file output.json
should have been created with a VRP solution.