FICO
FICO Xpress Optimization Examples Repository
FICO Optimization Community FICO Xpress Optimization Home
Back to examples browserPrevious exampleNext example

Iterative display of tours

Description
This model iteratively displays sets of subtours connecting a set of locations represented as points. Each display iteration checks for interruption through closing of the display window and pauses for inspection until the user hits the 'Continue' button in the display. Animation (motion) of final display.

Further explanation of this example: 'Mosel Language Reference', Chapter 'mmsvg'


Source Files
By clicking on a file name, a preview is opened at the bottom of this page.
routes.mos[download]

Data Files





routes.dat

Routes: [
(1) [ 3962
      [(1) [1 2 1]
       (2) [3 6 7 3]
       (3) [4 15 12 4]
       (4) [5 14 8 5]
       (5) [9 19 16 9]
       (6) [10 20 10]
       (7) [11 13 11]
       (8) [17 18 17]]]
(2) [ 3991
      [(1) [1 2 15 1]
       (2) [3 6 7 3]
       (3) [4 12 4]
       (4) [5 14 8 5]
       (5) [9 19 16 9]
       (6) [10 20 10]
       (7) [11 13 11]
       (8) [17 18 17]]]
(3) [4081
     [(1) [1 2 13 11 1]
      (2) [3 6 7 3]
      (3) [4 15 12 4]
      (4) [5 14 8 5]
      (5) [9 19 16 9]
      (6) [10 20 10]
      (7) [17 18 17]]]
(4) [4214
     [(1) [1 2 13 11 20 10 1]
      (2) [3 6 7 3]
      (3) [4 15 12 4]
      (4) [5 14 8 5]
      (5) [9 19 16 9]
      (6) [17 18 17]]]
(5) [4459
     [(1) [1 13 11 20 10 16 18 17 14 12 4 15 2 1]
      (2) [3 6 7 3]
      (3) [5 8 5]
      (4) [9 19 9]]]
(6) [4490
     [(1) [1 2 13 11 20 10 1]
      (2) [3 6 7 3]
      (3) [4 15 12 4]
      (4) [5 8 14 5]
      (5) [9 19 9]
      (6) [16 17 18 16]]]
(7) [4631
     [(1) [1 10 20 11 13 2 1]
      (2) [3 6 7 3]
      (3) [4 15 12 4]
      (4) [5 14 8 5]
      (5) [9 19 16 17 18 9]]]
(8) [4631
     [(1) [1 10 20 11 13 2 1]
      (2) [3 7 6 3]
      (3) [4 15 12 4]
      (4) [5 14 8 5]
      (5) [9 19 16 17 18 9]]]
(9) [4982
     [(1) [1 3 6 7 15 4 12 14 5 8 17 18 9 19 16 10 20
  11 13 2 1]]]
 ]
POS: [(1) [218 315] 
(2) [236 335] 
(3) [49 447] 
(4) [333 333] 
(5) [434 112] 
(6) [175 434] 
(7) [189 435] 
(8) [441 99] 
(9) [94 159] 
(10) [193 257] 
(11) [256 264] 
(12) [353 339] 
(13) [254 301] 
(14) [440 208] 
(15) [285 388] 
(16) [193 175] 
(17) [324 50] 
(18) [215 51] 
(19) [138 176] 
(20) [204 257] ]

Back to examples browserPrevious exampleNext example