routing-matrix-input

command
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

README

Nextmv routing matrix input template

routing-matrix-input is a modeling kit for vehicle routing problems (VRP). This template shows how to use a custom matrix that is passed via an input file.

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

main.go implements a VRP solver using a custom measure matrix from the input file. input.json is a sample input file that follows the input definition in main.go.

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 -limits.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 routing template.

Jump to

Keyboard shortcuts

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