Skip to content

Commit

Permalink
tweak SMT timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
yanntm committed May 5, 2024
1 parent 84f11c7 commit 0a9e185
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public static ISolver initSolver(org.smtlib.SMT smt, String logic, int timeoutQ,
throw new RuntimeException(e);
}

smt.smtConfig.timeout = timeoutQ;
smt.smtConfig.timeout = timeoutT * 100 ;
smt.smtConfig.timeoutTotal = timeoutT;
Solver engine = Solver.Z3;
ISolver solver = engine.getSolver(smt.smtConfig);
Expand All @@ -183,7 +183,7 @@ public static ISolver initSolver(org.smtlib.SMT smt, String logic, int timeoutQ,
if (err.isError()) {
throw new RuntimeException("Could not set logic" + err);
}
// System.out.println("Starting Z3 with timeout " + timeoutT + " and query timeout " + timeoutQ);
// System.out.println("Starting Z3 with timeout " + smt.smtConfig.timeoutTotal + " s and query timeout " + smt.smtConfig.timeout + " ms");
return solver;
}

Expand Down

0 comments on commit 0a9e185

Please sign in to comment.