mirror of
https://github.com/Z3Prover/z3
synced 2025-06-21 21:33:39 +00:00
branch of an int inf base if the row is not a gomory target
Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
parent
0be5fc5693
commit
11d37d97a1
1 changed files with 0 additions and 10 deletions
|
@ -140,16 +140,6 @@ lia_move int_solver::mk_gomory_cut( unsigned inf_col, const row_strip<mpq> & row
|
||||||
return gc.create_cut();
|
return gc.create_cut();
|
||||||
}
|
}
|
||||||
|
|
||||||
int int_solver::find_free_var_in_gomory_row(const row_strip<mpq>& row) {
|
|
||||||
unsigned j;
|
|
||||||
for (const auto & p : row) {
|
|
||||||
j = p.var();
|
|
||||||
if (!is_base(j) && is_free(j))
|
|
||||||
return static_cast<int>(j);
|
|
||||||
}
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
lia_move int_solver::proceed_with_gomory_cut(unsigned j) {
|
lia_move int_solver::proceed_with_gomory_cut(unsigned j) {
|
||||||
const row_strip<mpq>& row = m_lar_solver->get_row(row_of_basic_column(j));
|
const row_strip<mpq>& row = m_lar_solver->get_row(row_of_basic_column(j));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue