3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

don't add viable premises on decisions

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-11-25 20:19:58 +01:00
parent a4e29ecd7e
commit fc6e127cca
4 changed files with 13 additions and 10 deletions

View file

@ -18,8 +18,7 @@ namespace polysat {
public:
scoped_solver(std::string name): solver(lim), m_name(name) {
std::cout << "\n\n\n" << std::string(78, '#') << "\n";
std::cout << "\nSTART: " << m_name << "\n";
LOG("\n\n\n" << std::string(78, '#') << "\n\nSTART: " << m_name << "\n");
params_ref p;
p.set_uint("max_conflicts", 10);
updt_params(p);
@ -27,11 +26,10 @@ namespace polysat {
void check() {
m_last_result = check_sat();
std::cout << m_name << ": " << m_last_result << "\n";
LOG(m_name << ": " << m_last_result << "\n");
statistics st;
collect_statistics(st);
std::cout << st << "\n";
std::cout << *this << "\n";
LOG(st << "\n" << *this << "\n");
}
void expect_unsat() {
@ -1068,6 +1066,9 @@ namespace polysat {
void tst_polysat() {
polysat::test_l5();
return;
polysat::test_ineq_basic6();
// polysat::test_monot_bounds(8);