mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +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);
|
||||
lean_assert(this->explanation_is_correct(explanation));
|
||||
}
|
||||
|
||||
final_check_status check_int_feasibility() {
|
||||
return final_check_status::GIVEUP;
|
||||
}
|
||||
} // namespace lean
|
||||
|
||||
|
||||
|
|
|
@ -401,6 +401,7 @@ public:
|
|||
unsigned ext_var = m_columns_to_ext_vars_or_term_indices[j];
|
||||
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 constraint_index;
|
||||
typedef unsigned row_index;
|
||||
|
||||
enum class final_check_status {
|
||||
DONE,
|
||||
CONTINUE,
|
||||
GIVEUP
|
||||
};
|
||||
|
||||
enum class column_type {
|
||||
free_column = 0,
|
||||
low_bound = 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue