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