| { | |
| "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 | |
| } | |
| } | |
| } | |