Skip to content

Jason2Brownlee/HumanTSPSolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Human TSP Solver

This archive provides an archive of files from the humanTSPsolver experiment hosted on humantspsolver.com circa 2008, developed by Jason Brownlee.

About

The idea of this project is to: (1) Partition instances of the TSP into sub-problems, (2) Use human spatial intelligence to solve sub-problems, and (3) Aggregate contributions into a crowdsourced solution

The site was built to investigate the question:

  • Can human spatial intelligence be harnessed to solve instances of the Travelling Salesman Problem?

The approach taken involves: (1) partitioning TSP instances into sub-problems, (2) allowing users to make contributions in the context of the sub-problems, and (3) aggregating the contributions into a holistic solution. A database of problems is maintained, and contributions are recorded against instances of those problems, where an instances are rotated periodically.

Sub-problems are selected randomly with re-selection of sub-problems. The process involves firstly the selection of a random city in the broader problem, then the selection of a limited number of cities with a minimum distance to the selected origin city.

Contributions are provided by users in the form of edges between cities in presented sub-problems. There is no discrimination of of contributions, meaning that users are free to contribute whatever they feel may be relevant or useful to the problem . Contributions are aggregated and stored as a frequency for each distinct edge in an incidence adjacency list.

The stored contributions provide a summary of those edges that are expected to be useful in solving the broader TSP (far fewer than the possible set of edges). These may be explored by a deterministic or probabilistic algorithm, or by the users themselves to provide a holistic solution to a problem instance.

Technology

The website was developed using an early version of Ruby on Rails an was hosted on an early version of the Heroku service.

The interaction with the fragments of traveling salesman problems was managed via Java applets with a graphical interface.

Partial solutions were collected into a MySQL database.

Screenshot

Screen Shot

Code

Website and Database

A backup of the ruby on rails website and MySQL database was collected before the project was shutdown, circa May 2009.

An earlier backup of the website wade circa December 2008

Java Applets

A backup of the Java applet source code for adding solutions to TSP fragments was made circa December 2008.

Publications

Presentations

These are the presentation slides used by Jason Brownlee to present the humanTSPsolver project to the complex intelligent systems lab, Swinburne University in 2008. The slides review the premise of the project which is that a crowdsource model may be useful in solving very complex problem instances.

Blog Posts

Many blog posts were written and published on neverreadpassively.com on the conception and development of the idea.

Sources

About

Archive of Human TSP Solver (circa 2008)

Topics

Resources

Stars

Watchers

Forks

Contributors