21HEADERS = {"X-Api-Key": os.getenv("API_KEY")}
22SOLVER_NAME = os.getenv("SOLVER_IMAGE")
23
24test_problem = "int: i; array[1..2] of var 0..i: x; constraint x[1] < i /\ x[2] < i; solve :: int_search( x, input_order, indomain_min ) maximize x[1] + x[2];" 25test_data = "i = 1000000;"
26test_solvers = ["gecode", "chuffed", "or-tools"]
27test_objective = True
Backslash is present in the literal string but is not a valid escape sequence. If it is intended to be an escape sequence, use the correct escape characters. If it is intended to be a literal backslash, it can either be replaced with with an escaped backslash \\
, or you can add an r
prefix to make it a "raw" string.
filepath = "C:\myfiles\run.py"
filepath = "C:\\myfiles\\run.py" # use `\\` to render one backslash
filepath = r"C:\myfiles\run.py" # use the `r` prefix to avoid unnecessary escapes