mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
nits
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
21058c38fd
commit
b573b94f84
8 changed files with 20 additions and 24 deletions
|
@ -51,13 +51,13 @@ namespace opt {
|
|||
}
|
||||
|
||||
lbool context::optimize() {
|
||||
// TBD: add configurtion parameter
|
||||
// TBD: add configuration parameter to select between box and pareto
|
||||
return optimize_box();
|
||||
}
|
||||
|
||||
lbool context::optimize_box() {
|
||||
opt_solver& s = *m_solver.get();
|
||||
opt_solver::scoped_push _sp(s);
|
||||
solver::scoped_push _sp(s);
|
||||
|
||||
for (unsigned i = 0; i < m_hard_constraints.size(); ++i) {
|
||||
s.assert_expr(m_hard_constraints[i].get());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue