GithubHelp home page GithubHelp logo

tspns's Introduction

Traveling Salesman Problem with Neighborhoods on a Sphere

This repository provides benchmark instances of the Traveling Salesman Problem with Neighborhoods on a Sphere (TSPNS) motivated by the Reflectance Object Imagining (RTI). The repository also provides the solutions of the TSPNS based on the transformation and discretization of TSPNS (TSPS-LKH, GTSP-GLKH) and on the direct GSOA method. The solvers are introduced in 'Traveling Salesman Problem with Neighborhoods on a Sphere in Reflectance Transformation Imaging Scenarios' published in Expert Systems With Applications.

@article{deckerova2021traveling,
  title={Traveling Salesman Problem with Neighborhoods on a Sphere in Reflectance Transformation Imaging Scenarios},
  author={Jindri{\v{s}}ka Deckerov{\'a}, Jan Faigl, V\'{i}t Kr\'{a}tk\'{y}},
  journal={Expert Systems With Applications},
  year={2021},
  note={(in review)}
}

TSPNS examples

TSPNS example

How to run provided solvers

The provided codes are in C++11 and utilize CRL (https://github.com/comrob/crl) and GLKH solver (http://webhotel4.ruc.dk/~keld/research/GLKH/) To run the code, first run install.sh to install CRL, GLKH, and necessary libraries (libcairo2-dev, liblog4cxx-dev, libboost-dev, and cache).

Then run example.sh:

make 

./tgsoa \
  --problem=etc/sphere_rand_ol_100x1.tsp

./tgsoa \
  --problem=etc/sphere_rand_ol_100x1.tsp \
  --lkh 1

./tgsoa \
  --problem=etc/sphere_rand_ol_100x1.tsp \
  --glkh 1 \
  --glkh-instance=etc/gtsp/sphere_rand_ol_100x10.gtsp 

All possible configuration flags can be displayed by ./tgsoa -h.

tspns's People

Contributors

faiglj avatar

Watchers

Petr Vana avatar Petr Cizek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.