mirror of
https://github.com/Z3Prover/z3
synced 2025-06-05 21:53:23 +00:00
adding stub check_int_feasibility()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
21bddd94bf
commit
1f425824ff
3 changed files with 13 additions and 1 deletions
|
@ -1380,6 +1380,10 @@ void lar_solver::shrink_explanation_to_minimum(vector<std::pair<mpq, constraint_
|
||||||
quick_xplain::run(explanation, *this);
|
quick_xplain::run(explanation, *this);
|
||||||
lean_assert(this->explanation_is_correct(explanation));
|
lean_assert(this->explanation_is_correct(explanation));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
final_check_status check_int_feasibility() {
|
||||||
|
return final_check_status::GIVEUP;
|
||||||
|
}
|
||||||
} // namespace lean
|
} // namespace lean
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -402,5 +402,6 @@ public:
|
||||||
return m_ext_vars_to_columns.find(ext_var)->second.is_integer();
|
return m_ext_vars_to_columns.find(ext_var)->second.is_integer();
|
||||||
}
|
}
|
||||||
inline bool column_is_real(unsigned j) const { return !column_is_integer(j); }
|
inline bool column_is_real(unsigned j) const { return !column_is_integer(j); }
|
||||||
|
final_check_status check_int_feasibility();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,13 @@ namespace lean {
|
||||||
typedef unsigned var_index;
|
typedef unsigned var_index;
|
||||||
typedef unsigned constraint_index;
|
typedef unsigned constraint_index;
|
||||||
typedef unsigned row_index;
|
typedef unsigned row_index;
|
||||||
|
|
||||||
|
enum class final_check_status {
|
||||||
|
DONE,
|
||||||
|
CONTINUE,
|
||||||
|
GIVEUP
|
||||||
|
};
|
||||||
|
|
||||||
enum class column_type {
|
enum class column_type {
|
||||||
free_column = 0,
|
free_column = 0,
|
||||||
low_bound = 1,
|
low_bound = 1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue