lemon-project-template-glpk

comparison deps/glpk/examples/pbn/skid.dat @ 9:33de93886c88

Import GLPK 4.47
author Alpar Juttner <alpar@cs.elte.hu>
date Sun, 06 Nov 2011 20:59:10 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:b38dadaffc5a
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;