Giter VIP home page Giter VIP logo

mstsp's Introduction

Multi-solution Traveling Salesman Problem (MSTSP)

1. Introduction

Multi-solution Traveling Salesman Problem (MSTSP) is essentially a TSP, but the one with multiple optimal solutions. This benchmark included 25 MSTSPs. The number of cities ranges from 9 to 66, and the number of optimal solutions ranges from 4 to 196. The algorithms used to solve MSTSPs are required to provide a solution set. These candidate solutions are further evaluated with two indicators, i.e., Fbeta and Diversity Indicator (DI). Fbeta measures the solution quality, and DI measures the solution diversity.

2. Documents

In this directory, there are two folders. The benchmark_MSTSP folder contains MSTSP instances and their optimal solutions. The demo folder provides a demo implemented in MATLAB to show how to evaluate the obtained solutions. The details are listed in the following.

The benchmark_MSTSP folder includes the following files:
<instance_name>.tsp
<instance_name>.solution
in which:
<instance_name>:
is the name of MSTSP instance corresponding to the class, the index and the number of city of the instance. For example, the name of the first instance, which is a simple MSTSP with 9 cities, names simple1_9.tsp
<instance_name>.tsp
The file contains the two-dimensional coordinates of the cities in simple1_9. Every row has two numbers, which are the abscissa and the ordinate. The number of rows is exactly the number of cities.
<instance_name>.solution
The file contains all the optimal solutions of <instance_name>. Every row lists one optimal solution. The first number is the tour length of this tour, and the remaining numbers construct the permutation of this optimal solution. The number of rows represents the number of optimal solutions of <instance_name>.

The demo folder includes the following MATLAB files:
measure_share_dist.m
The file is a MATLAB code to compute the share distance between two solutions.
MSTSP_measure.m
The file is a MALAB code to input obtained solutions and <instance_name> index, and then return their Fbeta and DI.
MSTSP_demo.m
The file is a MATLAB code to demonstrate how to evaluate benchmark suite of MSTSP.

3. How to use

Run the MSTSP_demo.m, and you will see the evaluation results for randomly generated solutions.


* For more information, please visit the website of MSTSP or refer to our published works on MSTSP [1], [2]. Any comments and suggestions are welcome.

[1] T. Huang, Y.-J. Gong and J. Zhang, “Seeking Multiple Solutions of Combinatorial Optimization Problems: A Proof of Principle Study,” in 2018 IEEE Symposium Series on Computational Intelligence (SSCI), 2018. DOI: 10.1109/SSCI.2018.8628856
[2] T. Huang, Y. Gong, S. Kwong, H. Wang and J. Zhang, “A Niching Memetic Algorithm for Multi-Solution Traveling Salesman Problem,” IEEE Transactions on Evolutionary Computation. DOI: 10.1109/TEVC.2019.2936440.

mstsp's People

Contributors

gnauhgnit avatar nimo-ing 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.