Call Change Arranger

Arranges a set of rows into a convenient order to use in call-changes so that the minimum number of calls is required to include all the rows.

Examples

Input

Rows to include: (you need to enter at least four rows to have any useful result, probably you want to have rounds as the first row, there is no need to repeat rounds at the end)

Options

Display the calls?
Calling Up: Calling Down:
(remember to select 'Display the calls?' if you want to see the calls)

Advanced Options


Display Distance matrix?
Display problem in TSPLIB format?