mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 14:13:23 +00:00
optimizing pb
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e2db1418f9
commit
e180cfe256
7 changed files with 247 additions and 314 deletions
|
@ -759,10 +759,8 @@ namespace test_mapi
|
|||
foreach (BoolExpr a in g.Formulas)
|
||||
solver.Assert(a);
|
||||
|
||||
if (solver.Check() != Status.SATISFIABLE) {
|
||||
Console.WriteLine("{0}",solver);
|
||||
if (solver.Check() != Status.SATISFIABLE)
|
||||
throw new TestFailedException();
|
||||
}
|
||||
|
||||
ApplyResult ar = ApplyTactic(ctx, ctx.MkTactic("simplify"), g);
|
||||
if (ar.NumSubgoals == 1 && (ar.Subgoals[0].IsDecidedSat || ar.Subgoals[0].IsDecidedUnsat))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue