mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
refine logging for local search, add handling of <= for opb front-end
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b0a47ca897
commit
a37dfd3ab9
2 changed files with 7 additions and 2 deletions
|
@ -254,6 +254,11 @@ class opb {
|
|||
in.parse_token(";");
|
||||
break;
|
||||
}
|
||||
if (in.parse_token("<=")) {
|
||||
t = arith.mk_le(t, parse_coeff());
|
||||
in.parse_token(";");
|
||||
break;
|
||||
}
|
||||
t = arith.mk_add(t, parse_term());
|
||||
}
|
||||
opt.add_hard_constraint(t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue