lemon-project-template-glpk

comparison deps/glpk/examples/pbn/bucks.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:de4712992add
1 /* bucks.dat */
2
3 /***********************************************************************
4 * Web Paint-by-Number Puzzle #27 from <www.webpbn.com>.
5 * Copyright (C) 2004 by Jan Wolter. Used by permission.
6 *
7 * Party at the Right [Political]
8 *
9 * created by Jan Wolter
10 * Apr 6, 2004
11 *
12 * Encoded in GNU MathProg by Andrew Makhorin <mao@gnu.org>.
13 ***********************************************************************/
14
15 data;
16
17 param m := 23;
18
19 param n := 27;
20
21 param row : 1 2 3 4 5 6 7 8 :=
22 1 11 . . . . . . .
23 2 17 . . . . . . .
24 3 3 5 5 3 . . . .
25 4 2 2 2 1 . . . .
26 5 2 1 3 1 3 1 4 .
27 6 3 3 3 3 . . . .
28 7 5 1 3 1 3 1 3 .
29 8 3 2 2 4 . . . .
30 9 5 5 5 5 . . . .
31 10 23 . . . . . . .
32 11 . . . . . . . .
33 12 23 . . . . . . .
34 13 1 1 . . . . . .
35 14 1 1 . . . . . .
36 15 1 2 1 . . . . .
37 16 1 1 1 1 . . . .
38 17 1 1 1 1 . . . .
39 18 1 10 1 2 1 . . .
40 19 1 1 1 1 1 1 3 .
41 20 1 1 1 1 1 1 1 1
42 21 1 1 1 1 1 1 1 .
43 22 1 1 1 1 2 2 . .
44 23 5 5 3 . . . . .
45 ;
46
47 param col : 1 2 3 4 5 6 :=
48 1 4 12 . . . .
49 2 6 1 1 . . .
50 3 8 1 1 . . .
51 4 3 2 2 1 1 .
52 5 2 1 1 2 1 6
53 6 1 1 1 1 . .
54 7 3 1 1 2 1 1
55 8 3 2 3 1 1 .
56 9 10 1 1 . . .
57 10 4 2 2 1 1 .
58 11 3 1 1 2 1 1
59 12 2 1 1 1 . .
60 13 3 1 1 2 1 1
61 14 3 2 3 1 6 .
62 15 10 1 1 . . .
63 16 4 2 2 1 1 .
64 17 3 1 1 2 1 1
65 18 1 1 1 9 . .
66 19 2 1 1 2 1 1
67 20 2 2 3 1 3 .
68 21 8 1 5 . . .
69 22 6 1 1 . . .
70 23 4 9 1 . . .
71 24 1 1 . . . .
72 25 2 1 . . . .
73 26 1 1 . . . .
74 27 4 . . . . .
75 ;
76
77 end;