COIN-OR::LEMON - Graph Library

source: glpk-cmake/examples/dragon.dat

Last change on this file was 1:c445c931472f, checked in by Alpar Juttner <alpar@…>, 13 years ago

Import glpk-4.45

  • Generated files and doc/notes are removed
File size: 1.4 KB
Line 
1/* dragon.dat, a hard Paint-By-Numbers puzzle */
2
3/* To reduce the solution time the clique cuts may be used. */
4
5data;
6
7param m := 20;
8
9param n := 20;
10
11param row :    1  2  3  4  5 :=
12          1    7  1  .  .  .
13          2    1  1  2  .  .
14          3    2  1  2  .  .
15          4    1  2  2  .  .
16          5    4  2  3  .  .
17          6    3  1  4  .  .
18          7    3  1  3  .  .
19          8    2  1  4  .  .
20          9    2  9  .  .  .
21          10   2  1  5  .  .
22          11   2  7  .  .  .
23          12   14 .  .  .  .
24          13   8  2  .  .  .
25          14   6  2  2  .  .
26          15   2  8  1  3  .
27          16   1  5  5  2  .
28          17   1  3  2  4  1
29          18   3  1  2  4  1
30          19   1  1  3  1  3
31          20   2  1  1  2  . ;
32
33param col :    1  2  3  4  5 :=
34          1    1  1  1  2  .
35          2    3  1  2  1  1
36          3    1  4  2  1  1
37          4    1  3  2  4  .
38          5    1  4  6  1  .
39          6    1  11 1  .  .
40          7    5  1  6  2  .
41          8    14 .  .  .  .
42          9    7  2  .  .  .
43          10   7  2  .  .  .
44          11   6  1  1  .  .
45          12   9  2  .  .  .
46          13   3  1  1  1  .
47          14   3  1  3  .  .
48          15   2  1  3  .  .
49          16   2  1  5  .  .
50          17   3  2  2  .  .
51          18   3  3  2  .  .
52          19   2  3  2  .  .
53          20   2  6  .  .  . ;
54
55end;
Note: See TracBrowser for help on using the repository browser.