File size: 1,110 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
{
  "name": "all_interval_n8__v2_h",
  "problem_type": "all_interval",
  "params": {
    "n": 8
  },
  "prompt": "Find an all-interval series of size 8. This is a permutation of 0 to 7 such that the absolute differences between consecutive elements are also a permutation of 1 to 7.\n\nReturn a list of 8 integers forming a valid permutation, or state \"UNSATISFIABLE\" if no solution exists.\n\nPartial assignment (fixed values that must be respected):\n- x[4]=2\n- d[5]=2\nReturn a complete solution consistent with these fixed assignments.",
  "satisfiable": true,
  "solution": {
    "x": [
      0,
      7,
      1,
      6,
      2,
      5,
      3,
      4
    ],
    "d": [
      7,
      6,
      5,
      4,
      3,
      2,
      1
    ]
  },
  "difficulty": {
    "solve_time_ms": 956.4,
    "search_space": 40320,
    "num_variables": 15,
    "num_constraints": 11,
    "num_edges": -1,
    "backend": "pycsp",
    "solve_tier": "medium",
    "solve_pct_global": 64.1,
    "solve_pct_type": 12.5
  },
  "partial_assignment": {
    "x": {
      "4": 2
    },
    "d": {
      "5": 2
    }
  }
}