mirror of
https://github.com/Z3Prover/z3
synced 2025-07-28 23:17:56 +00:00
a simple version of choosing a column for gomory cut
This commit is contained in:
parent
f98b42ae42
commit
fc23a498c4
6 changed files with 90 additions and 96 deletions
|
@ -532,6 +532,11 @@ public:
|
|||
inline const impq& get_lower_bound(column_index j) const {
|
||||
return m_mpq_lar_core_solver.m_r_solver.m_lower_bounds[j];
|
||||
}
|
||||
|
||||
inline mpq bound_span_x(column_index j) const {
|
||||
return m_mpq_lar_core_solver.m_r_solver.m_upper_bounds[j].x - m_mpq_lar_core_solver.m_r_solver.m_lower_bounds[j].x;
|
||||
}
|
||||
|
||||
bool has_lower_bound(var_index var, u_dependency*& ci, mpq& value, bool& is_strict) const;
|
||||
bool has_upper_bound(var_index var, u_dependency*& ci, mpq& value, bool& is_strict) const;
|
||||
bool has_value(var_index var, mpq& value) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue