lemon-project-template-glpk
diff deps/glpk/examples/pbn/knot.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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/deps/glpk/examples/pbn/knot.dat Sun Nov 06 20:59:10 2011 +0100 1.3 @@ -0,0 +1,95 @@ 1.4 +/* knot.dat */ 1.5 + 1.6 +/*********************************************************************** 1.7 +* Web Paint-by-Number Puzzle #16 from <www.webpbn.com>. 1.8 +* Copyright (C) 2004 by Jan Wolter. Used by permission. 1.9 +* 1.10 +* Probably Not 1.11 +* 1.12 +* created by Jan Wolter 1.13 +* Mar 27, 2004 1.14 +* 1.15 +* Encoded in GNU MathProg by Andrew Makhorin <mao@gnu.org>. 1.16 +***********************************************************************/ 1.17 + 1.18 +data; 1.19 + 1.20 +param m := 34; 1.21 + 1.22 +param n := 34; 1.23 + 1.24 +param row : 1 2 3 4 5 6 7 8 := 1.25 + 1 1 1 . . . . . . 1.26 + 2 2 2 . . . . . . 1.27 + 3 3 3 . . . . . . 1.28 + 4 2 1 1 2 . . . . 1.29 + 5 2 1 1 2 . . . . 1.30 + 6 1 1 1 1 . . . . 1.31 + 7 1 1 1 1 . . . . 1.32 + 8 18 . . . . . . . 1.33 + 9 2 1 1 1 1 2 . . 1.34 + 10 1 1 1 1 1 1 . . 1.35 + 11 1 1 1 1 1 1 . . 1.36 + 12 26 . . . . . . . 1.37 + 13 2 1 1 1 1 1 1 2 1.38 + 14 2 1 1 2 2 1 1 2 1.39 + 15 2 1 1 2 2 1 1 2 1.40 + 16 14 14 . . . . . . 1.41 + 17 1 1 1 1 . . . . 1.42 + 18 1 1 1 1 . . . . 1.43 + 19 14 14 . . . . . . 1.44 + 20 2 1 1 2 2 1 1 2 1.45 + 21 2 1 1 2 2 1 1 2 1.46 + 22 2 1 1 1 1 1 1 2 1.47 + 23 26 . . . . . . . 1.48 + 24 1 1 1 1 1 1 . . 1.49 + 25 1 1 1 1 1 1 . . 1.50 + 26 2 1 1 1 1 2 . . 1.51 + 27 18 . . . . . . . 1.52 + 28 1 1 1 1 . . . . 1.53 + 29 1 1 1 1 . . . . 1.54 + 30 2 1 1 2 . . . . 1.55 + 31 2 1 1 2 . . . . 1.56 + 32 3 3 . . . . . . 1.57 + 33 2 2 . . . . . . 1.58 + 34 1 1 . . . . . . 1.59 +; 1.60 + 1.61 +param col : 1 2 3 4 5 6 7 8 := 1.62 + 1 1 1 . . . . . . 1.63 + 2 2 2 . . . . . . 1.64 + 3 3 3 . . . . . . 1.65 + 4 2 1 1 2 . . . . 1.66 + 5 2 1 1 2 . . . . 1.67 + 6 1 1 1 1 . . . . 1.68 + 7 1 1 1 1 . . . . 1.69 + 8 18 . . . . . . . 1.70 + 9 2 1 1 1 1 2 . . 1.71 + 10 1 1 1 1 1 1 . . 1.72 + 11 1 1 1 1 1 1 . . 1.73 + 12 26 . . . . . . . 1.74 + 13 2 1 1 1 1 1 1 2 1.75 + 14 2 1 1 2 2 1 1 2 1.76 + 15 2 1 1 2 2 1 1 2 1.77 + 16 14 14 . . . . . . 1.78 + 17 1 1 1 1 . . . . 1.79 + 18 1 1 1 1 . . . . 1.80 + 19 14 14 . . . . . . 1.81 + 20 2 1 1 2 2 1 1 2 1.82 + 21 2 1 1 2 2 1 1 2 1.83 + 22 2 1 1 1 1 1 1 2 1.84 + 23 26 . . . . . . . 1.85 + 24 1 1 1 1 1 1 . . 1.86 + 25 1 1 1 1 1 1 . . 1.87 + 26 2 1 1 1 1 2 . . 1.88 + 27 18 . . . . . . . 1.89 + 28 1 1 1 1 . . . . 1.90 + 29 1 1 1 1 . . . . 1.91 + 30 2 1 1 2 . . . . 1.92 + 31 2 1 1 2 . . . . 1.93 + 32 3 3 . . . . . . 1.94 + 33 2 2 . . . . . . 1.95 + 34 1 1 . . . . . . 1.96 +; 1.97 + 1.98 +end;