File size: 918 Bytes
a9e7957 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | {
"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
}
|