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