The source code and dockerfile for the GSW2024 AI Lab.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

61 lines
1.7 KiB

4 weeks ago
  1. /* dragon.dat */
  2. /***********************************************************************
  3. * Hard 20x20 paint-by-numbers puzzle designed by Won Yoon Jo
  4. * from the article "Painting by Numbers" by Robert A. Bosch (2000),
  5. * <http://www.oberlin.edu/~math/faculty/bosch/pbn-page.html>.
  6. *
  7. * Encoded in GNU MathProg by Andrew Makhorin <mao@gnu.org>.
  8. ***********************************************************************/
  9. data;
  10. param m := 20;
  11. param n := 20;
  12. param row : 1 2 3 4 5 :=
  13. 1 7 1 . . .
  14. 2 1 1 2 . .
  15. 3 2 1 2 . .
  16. 4 1 2 2 . .
  17. 5 4 2 3 . .
  18. 6 3 1 4 . .
  19. 7 3 1 3 . .
  20. 8 2 1 4 . .
  21. 9 2 9 . . .
  22. 10 2 1 5 . .
  23. 11 2 7 . . .
  24. 12 14 . . . .
  25. 13 8 2 . . .
  26. 14 6 2 2 . .
  27. 15 2 8 1 3 .
  28. 16 1 5 5 2 .
  29. 17 1 3 2 4 1
  30. 18 3 1 2 4 1
  31. 19 1 1 3 1 3
  32. 20 2 1 1 2 . ;
  33. param col : 1 2 3 4 5 :=
  34. 1 1 1 1 2 .
  35. 2 3 1 2 1 1
  36. 3 1 4 2 1 1
  37. 4 1 3 2 4 .
  38. 5 1 4 6 1 .
  39. 6 1 11 1 . .
  40. 7 5 1 6 2 .
  41. 8 14 . . . .
  42. 9 7 2 . . .
  43. 10 7 2 . . .
  44. 11 6 1 1 . .
  45. 12 9 2 . . .
  46. 13 3 1 1 1 .
  47. 14 3 1 3 . .
  48. 15 2 1 3 . .
  49. 16 2 1 5 . .
  50. 17 3 2 2 . .
  51. 18 3 3 2 . .
  52. 19 2 3 2 . .
  53. 20 2 6 . . . ;
  54. end;