File size: 1,175 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 46 47 48 49 50 51 52 53 54 55 | {
"name": "all_interval_n10__v5_h",
"problem_type": "all_interval",
"params": {
"n": 10
},
"prompt": "Find an all-interval series of size 10. This is a permutation of 0 to 9 such that the absolute differences between consecutive elements are also a permutation of 1 to 9.\n\nReturn a list of 10 integers forming a valid permutation, or state \"UNSATISFIABLE\" if no solution exists.\n\nPartial assignment (fixed values that must be respected):\n- x[0]=0, x[3]=8\n- d[1]=8\nReturn a complete solution consistent with these fixed assignments.",
"satisfiable": true,
"solution": {
"x": [
0,
9,
1,
8,
2,
7,
3,
6,
4,
5
],
"d": [
9,
8,
7,
6,
5,
4,
3,
2,
1
]
},
"difficulty": {
"solve_time_ms": 1020.9,
"search_space": 3628800,
"num_variables": 19,
"num_constraints": 13,
"num_edges": -1,
"backend": "pycsp",
"solve_tier": "hard",
"solve_pct_global": 71.99,
"solve_pct_type": 79.17
},
"partial_assignment": {
"x": {
"0": 0,
"3": 8
},
"d": {
"1": 8
}
}
}
|