Commit a4f61528 authored by Kento HASEGAWA's avatar Kento HASEGAWA

Fix a bug on stopping the solver

parent 4f553185
......@@ -48,6 +48,8 @@ def solve(params):
if not stop_flag:
solver.print_cnf(nodes, cnfs, filename=cnf_filepath)
returncode = 0
if not stop_flag:
solution_filepath = f'{basedir}/a.txt'
cmds = f'minisat {cnf_filepath} {solution_filepath}'.split()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment