Skip to content

Latest commit

 

History

14 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

CheckTSP

A brute force checker for the travelling salesman problem in Python

Usage

python CheckTSP.py MAP_FILE_NAME

Example

python CheckTSP.py sample.txt

55

CreateTSPMap

Usage

python createmap.py NUMBER_OF_TOWNS MAX_DISTANCE OUTPUT_FILE_NAME

Output File Format

The first line is the number of lines (places to visit) and the following lines must have n + 1 numbers separated by spaces (distance between places). See sample.txt as an example.

Authors

  • Clint Gamlin - Original Python 2 version
  • hingston - Python 3 and improvements

关于

A brute force checker for the travelling salesman problem in Python

Topics

Resources

Stars

1 star

关注者

0 watching

复刻s

发布

贡献者

Languages