mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
move all gomory functionality into gomory class
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d44855f262
commit
c12c9a75e6
3 changed files with 23 additions and 23 deletions
|
@ -261,12 +261,13 @@ bool int_solver::should_gomory_cut() {
|
|||
|
||||
lia_move int_solver::gomory_cut() {
|
||||
TRACE("int_solver", tout << "gomory " << m_number_of_calls << "\n";);
|
||||
if (!should_gomory_cut())
|
||||
return lia_move::undef;
|
||||
|
||||
gomory gc(*this);
|
||||
return gc.cut(m_t, m_k, m_ex, m_upper);
|
||||
|
||||
if (should_gomory_cut()) {
|
||||
return gc(m_t, m_k, m_ex, m_upper);
|
||||
}
|
||||
else {
|
||||
return lia_move::undef;
|
||||
}
|
||||
}
|
||||
|
||||
void int_solver::try_add_term_to_A_for_hnf(unsigned i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue