Skip to content

Commit

Permalink
clean up after solve_cube.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesGallicchio committed Jun 9, 2024
1 parent c3ed2e5 commit 867c0af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cube_checking/solve_cube.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/usr/bin/env sh
# Receives the desired cube number as $1

gcc 6hole-cube.c -o cube_gen
./cube_gen $1 vars.out > .tmp_cube_$1
python3 cube_join.py -f 6-30.cnf -c .tmp_cube_$1 -o with_cube_$1.cnf
cadical with_cube_$1.cnf proof_cube_$1.lrat --lrat
cake_lpr with_cube_$1.cnf proof_cube_$1.lrat
cake_lpr with_cube_$1.cnf proof_cube_$1.lrat

rm with_cube_$1.cnf proof_cube_$1.lrat .tmp_cube_$1

0 comments on commit 867c0af

Please sign in to comment.