MathConstraint-Easy / instances /all_interval_n14__v1_h.json
MathConstraint's picture
Upload folder using huggingface_hub
a9e7957 verified
{
"name": "all_interval_n14__v1_h",
"problem_type": "all_interval",
"params": {
"n": 14
},
"prompt": "Find an all-interval series of size 14. This is a permutation of 0 to 13 such that the absolute differences between consecutive elements are also a permutation of 1 to 13.\n\nReturn a list of 14 integers forming a valid permutation, or state \"UNSATISFIABLE\" if no solution exists.\n\nPartial assignment (fixed values that must be respected):\n- x[6]=3, x[12]=6\n- d[3]=10, d[11]=2\nReturn a complete solution consistent with these fixed assignments.",
"satisfiable": true,
"solution": {
"x": [
0,
13,
1,
12,
2,
11,
3,
10,
4,
9,
5,
8,
6,
7
],
"d": [
13,
12,
11,
10,
9,
8,
7,
6,
5,
4,
3,
2,
1
]
},
"difficulty": {
"solve_time_ms": 993.6,
"search_space": 87178291200,
"num_variables": 27,
"num_constraints": 17,
"num_edges": -1,
"backend": "pycsp",
"solve_tier": "hard",
"solve_pct_global": 69.74,
"solve_pct_type": 45.83
},
"partial_assignment": {
"x": {
"6": 3,
"12": 6
},
"d": {
"3": 10,
"11": 2
}
}
}