lemon-project-template-glpk

view deps/glpk/examples/pbn/dancer.dat @ 11:4fc6ad2fb8a6

Test GLPK in src/main.cc
author Alpar Juttner <alpar@cs.elte.hu>
date Sun, 06 Nov 2011 21:43:29 +0100
parents
children
line source
1 /* dancer.dat */
3 /***********************************************************************
4 * Web Paint-by-Number Puzzle #1 from <www.webpbn.com>.
5 * Copyright (C) 2004 by Jan Wolter. Used by permission.
6 *
7 * Demo Puzzle from Front Page
8 *
9 * created by Jan Wolter
10 * Mar 24, 2004
11 *
12 * Encoded in GNU MathProg by Andrew Makhorin <mao@gnu.org>.
13 ***********************************************************************/
15 data;
17 param m := 10;
19 param n := 5;
21 param row : 1 2 3 :=
22 1 2 . .
23 2 2 1 .
24 3 1 1 .
25 4 3 . .
26 5 1 1 .
27 6 1 1 .
28 7 2 . .
29 8 1 1 .
30 9 1 2 .
31 10 2 . .
32 ;
34 param col : 1 2 3 :=
35 1 2 1 .
36 2 2 1 3
37 3 7 . .
38 4 1 3 .
39 5 2 1 .
40 ;
42 end;