MathConstraint-Easy / instances /all_interval_n9__v4_nh.json
MathConstraint's picture
Upload folder using huggingface_hub
a9e7957 verified
{
"name": "all_interval_n9__v4_nh",
"problem_type": "all_interval",
"params": {
"n": 9
},
"prompt": "Find an all-interval series of size 9. This is a permutation of 0 to 8 such that the absolute differences between consecutive elements are also a permutation of 1 to 8.\n\nReturn a list of 9 integers forming a valid permutation, or state \"UNSATISFIABLE\" if no solution exists.",
"satisfiable": true,
"solution": {
"x": [
0,
8,
1,
7,
2,
6,
3,
5,
4
],
"d": [
8,
7,
6,
5,
4,
3,
2,
1
]
},
"difficulty": {
"solve_time_ms": 1016.2,
"search_space": 362880,
"num_variables": 17,
"num_constraints": 12,
"num_edges": -1,
"backend": "pycsp",
"solve_tier": "hard",
"solve_pct_global": 71.24,
"solve_pct_type": 62.5
},
"partial_assignment": null
}