routing

command
v0.20.4 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

README

Nextmv routing template

routing 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 in main.go.

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

nextmv run local main.go -- -hop.runner.input.path input.json\
  -hop.runner.output.path output.json -hop.solver.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