lemon-project-template-glpk
annotate deps/glpk/examples/pbn/dancer.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 |
rev | line source |
---|---|
alpar@9 | 1 /* dancer.dat */ |
alpar@9 | 2 |
alpar@9 | 3 /*********************************************************************** |
alpar@9 | 4 * Web Paint-by-Number Puzzle #1 from <www.webpbn.com>. |
alpar@9 | 5 * Copyright (C) 2004 by Jan Wolter. Used by permission. |
alpar@9 | 6 * |
alpar@9 | 7 * Demo Puzzle from Front Page |
alpar@9 | 8 * |
alpar@9 | 9 * created by Jan Wolter |
alpar@9 | 10 * Mar 24, 2004 |
alpar@9 | 11 * |
alpar@9 | 12 * Encoded in GNU MathProg by Andrew Makhorin <mao@gnu.org>. |
alpar@9 | 13 ***********************************************************************/ |
alpar@9 | 14 |
alpar@9 | 15 data; |
alpar@9 | 16 |
alpar@9 | 17 param m := 10; |
alpar@9 | 18 |
alpar@9 | 19 param n := 5; |
alpar@9 | 20 |
alpar@9 | 21 param row : 1 2 3 := |
alpar@9 | 22 1 2 . . |
alpar@9 | 23 2 2 1 . |
alpar@9 | 24 3 1 1 . |
alpar@9 | 25 4 3 . . |
alpar@9 | 26 5 1 1 . |
alpar@9 | 27 6 1 1 . |
alpar@9 | 28 7 2 . . |
alpar@9 | 29 8 1 1 . |
alpar@9 | 30 9 1 2 . |
alpar@9 | 31 10 2 . . |
alpar@9 | 32 ; |
alpar@9 | 33 |
alpar@9 | 34 param col : 1 2 3 := |
alpar@9 | 35 1 2 1 . |
alpar@9 | 36 2 2 1 3 |
alpar@9 | 37 3 7 . . |
alpar@9 | 38 4 1 3 . |
alpar@9 | 39 5 2 1 . |
alpar@9 | 40 ; |
alpar@9 | 41 |
alpar@9 | 42 end; |