id
stringlengths
19
55
category
stringclasses
4 values
metadata
listlengths
1
4
description
stringlengths
89
2.71k
input_data
stringlengths
0
1.5k
model
stringlengths
477
7.74k
decision_variables
listlengths
1
10
aplai_course__1_thick_as_thieves
aplai_course
[ "#!/usr/bin/python3", "# Source: http://www.hakank.org/minizinc/thick_as_thieves.mzn" ]
Following a robbery at Sparkles the Jeweller’s, Inspector Korner of the Yard interviewed six of the usual suspects. He knew that the getaway car had been barely big enough to hold two, so he reckoned that at least four of them were innocent - but which ones? He also supposed that the innocent ones would tell the truth,...
# Import libraries from cpmpy import * import json # Decision Variables for each suspect representing if they are guilty artie = boolvar(name="Artie") bill = boolvar(name="Bill") crackitt = boolvar(name="Crackitt") dodgy = boolvar(name="Dodgy") edgy = boolvar(name="Edgy") fingers = boolvar(name="Fingers") suspects = [...
[ "dodgy", "fingers", "edgy", "bill", "artie", "crackitt" ]