Created
December 29, 2018 21:23
-
-
Save saska-gist/3d75de703013b3b237ecccc59bb83bba to your computer and use it in GitHub Desktop.
A scip model for solving the puzzle at https://www.puzzleprime.com/contests/giveaway/april-giveaway-2018
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A scip model for solving the puzzle at | |
# https://www.puzzleprime.com/contests/giveaway/april-giveaway-2018 | |
var fishbones; | |
var cats; | |
var bowls; | |
var questionmark; | |
subto c1: 1*cats + 6 + 3*fishbones == 12; | |
subto c2: 1*cats + 2*bowls + 1*fishbones == 8; | |
subto c3: 2*cats + 1*bowls + 3 == 11; | |
subto c4: 1*cats + 1*bowls + 4 == questionmark; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment