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