Implementation of a Self-Organizing Map (SOM) for aproximating a solution to the Traveling Salesman Problem. Written as part of a series of exercises in the course IT3708 Subsymbolic Methods in AI at NTNU.
The problem dataset is specified in TSPLIB format as text files under
/input, and new datasets must be added to
settings.rb before use.
Output is generated as a series of graphs depicting the state of the SOM in each iteration.
ruby ann.rb <task>
<task> is one of those specified in
The implementation is discussed in our assignment report.
Example output from the luxembourg problem:
ruby ann.rb luxembourg