mirror of
https://github.com/Z3Prover/z3
synced 2026-05-16 23:25:36 +00:00
Does model construction work properly now?
This commit is contained in:
parent
e6ef0d29c4
commit
2b7204b07c
4 changed files with 204 additions and 22 deletions
|
|
@ -4155,15 +4155,11 @@ nielsen_graph::generate_length_constraints(vector<length_constraint>& constraint
|
|||
// and do not require incremental skipping.
|
||||
IF_VERBOSE(1, verbose_stream() << "solve_sat_path_ints: sat_path length=" << m_sat_path.size() << "\n";);
|
||||
m_solver.push();
|
||||
for (nielsen_edge* e : m_sat_path) {
|
||||
for (auto const& ic : e->side_constraints()) {
|
||||
if (m_sat_node) {
|
||||
for (auto const& ic : m_sat_node->constraints()) {
|
||||
m_solver.assert_expr(ic.fml);
|
||||
}
|
||||
}
|
||||
if (m_sat_node) {
|
||||
for (auto const& ic : m_sat_node->constraints())
|
||||
m_solver.assert_expr(ic.fml);
|
||||
}
|
||||
lbool result = m_solver.check();
|
||||
IF_VERBOSE(1, verbose_stream() << "solve_sat_path_ints result: " << result << "\n";);
|
||||
if (result == l_true) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue