tsp

package
v0.0.0-...-63a78bc Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LIB

func LIB(w io.Writer, n int, weights func(i, j int) int) (err error)

LIB writes to w a the TSP problem with the given integer weights in a TSPLIB compatible format. The number of vertices (also called the dimension) is given by n and the function weights returns the weight of the edge from i to j (which is the same as j to i).

Types

This section is empty.

Jump to

Keyboard shortcuts

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