routing-legacy

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

README

Nextmv nextroute template

routing-legacy is a modeling kit for vehicle routing problems (VRP). This template will get you up to speed deploying your own solution.

The most important files created are main.go and input.json.

main.go implements a VRP solver with many real world features already configured. input.json is a sample input file that follows the input definition of our legacy cloud fleet input format.

Before you start customizing run the command below to see if everything works as expected:

nextmv sdk run . -- -runner.input.path input.json\
  -runner.output.path output.json -solve.duration 10s

A file output.json should have been created with a VRP solution.

Next steps

Documentation

Overview

package main holds the implementation of the nextroute template.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL