Nitty-gritty


Here are the details of the problem. For convenience, we will describe the problem in terms of bus travel.

Sample files

Problem file (.ttp) uk-25.ttp
<problem>
  <map>uk-25</map>
  <schedule>uk-25</schedule>
  <startcity>10</startcity>
  <starttime>480</starttime>
</problem>
Schedule file (.tts) uk-25.tts
<schedule>
<cities> 25 </cities>
<period> 1440 </period>
<entries>
<se> 0 23 894 61 <name>BUS 0</name> </se>
<se> 0 23 460 56 <name>BUS 1</name> </se>
<se> 0 23 458 37 <name>BUS 2</name> </se>
<se> 0 23 760 60 <name>BUS 3</name> </se>
<se> 0 2 60 166 <name>BUS 4</name> </se>
<se> 0 2 538 143 <name>BUS 5</name> </se>
...
<se> 24 19 1342 82 <name>BUS 342</name> </se>
<se> 24 22 219 108 <name>BUS 343</name> </se>
</entries></schedule>

Map file (.ttm) uk-25.ttm
<citylist>
  <city> 
    <name> Jersey</name>
    <location> 391.291  785.553</location>
  </city>
  <city> 
    <name> Baltasound</name>
    <location> 437.461  16.675</location>
  </city>
...
  <city> 
    <name> Guernsey</name>
    <location> 373.987  771.114</location>
  </city>
  <city> 
    <name> Sunderland</name>
    <location> 423.639  406.671</location>
  </city>
</citylist>

Tour file (.ttt) uk-25.ttt
<tour>  238  314  0  333  20  . . . 333  28  97  343  311  </tour>

Solution file (.ttr) uk-25.ttr
<solution>
  <author> Richard Anderson </author>
  <time> 45:10:52 </time>
  <problem> uk-25 </problem>
  <algorithm> Visit All </algorithm>
  <tour>  238  314  0  333  20  . . . 333  28  97  343  311  </tour>
</solution>