subpack-glpk
Line | |
---|
1 | /* skid.dat */ |
---|
2 | |
---|
3 | /*********************************************************************** |
---|
4 | * Web Paint-by-Number Puzzle #21 from <www.webpbn.com>. |
---|
5 | * Copyright (C) 2004 by Jan Wolter. Used by permission. |
---|
6 | * |
---|
7 | * Slippery Conditions |
---|
8 | * |
---|
9 | * created by Jan Wolter |
---|
10 | * Apr 4, 2004 |
---|
11 | * |
---|
12 | * Encoded in GNU MathProg by Andrew Makhorin <mao@gnu.org>. |
---|
13 | ***********************************************************************/ |
---|
14 | |
---|
15 | data; |
---|
16 | |
---|
17 | param m := 25; |
---|
18 | |
---|
19 | param n := 14; |
---|
20 | |
---|
21 | param row : 1 2 3 := |
---|
22 | 1 9 . . |
---|
23 | 2 1 1 . |
---|
24 | 3 1 1 1 |
---|
25 | 4 1 3 1 |
---|
26 | 5 13 . . |
---|
27 | 6 13 . . |
---|
28 | 7 13 . . |
---|
29 | 8 13 . . |
---|
30 | 9 2 2 . |
---|
31 | 10 2 2 . |
---|
32 | 11 . . . |
---|
33 | 12 2 2 . |
---|
34 | 13 2 2 . |
---|
35 | 14 2 2 . |
---|
36 | 15 2 2 . |
---|
37 | 16 2 2 . |
---|
38 | 17 2 2 . |
---|
39 | 18 2 2 . |
---|
40 | 19 2 2 . |
---|
41 | 20 2 2 . |
---|
42 | 21 2 2 . |
---|
43 | 22 2 2 . |
---|
44 | 23 2 2 . |
---|
45 | 24 2 2 . |
---|
46 | 25 2 2 . |
---|
47 | ; |
---|
48 | |
---|
49 | param col : 1 2 3 4 5 := |
---|
50 | 1 2 . . . . |
---|
51 | 2 4 6 . . . |
---|
52 | 3 9 4 4 2 . |
---|
53 | 4 1 6 2 6 . |
---|
54 | 5 1 5 2 . . |
---|
55 | 6 1 6 . . . |
---|
56 | 7 1 5 . . . |
---|
57 | 8 1 4 . . . |
---|
58 | 9 1 4 . . . |
---|
59 | 10 1 4 2 . . |
---|
60 | 11 1 4 6 . . |
---|
61 | 12 1 6 4 4 2 |
---|
62 | 13 9 2 6 . . |
---|
63 | 14 4 2 . . . |
---|
64 | ; |
---|
65 | |
---|
66 | end; |
---|
Note: See
TracBrowser
for help on using the repository browser.