subpack-glpk
Rev | Line | |
---|
[9] | 1 | /* dancer.dat */ |
---|
| 2 | |
---|
| 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 | ***********************************************************************/ |
---|
| 14 | |
---|
| 15 | data; |
---|
| 16 | |
---|
| 17 | param m := 10; |
---|
| 18 | |
---|
| 19 | param n := 5; |
---|
| 20 | |
---|
| 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 | ; |
---|
| 33 | |
---|
| 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 | ; |
---|
| 41 | |
---|
| 42 | end; |
---|
Note: See
TracBrowser
for help on using the repository browser.