mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 12:28:44 +00:00
fixes in gomory cut
Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
parent
34bdea750c
commit
106b677201
|
@ -61,7 +61,7 @@ class gomory::imp {
|
|||
}
|
||||
else {
|
||||
lp_assert(at_upper(j));
|
||||
// the upper terms are inverted - therefore we have -
|
||||
// the upper terms are inverted: therefore we have the minus
|
||||
new_a = - (fj < f0? fj / f0 : one_minus_fj / one_minus_f0);
|
||||
m_k.addmul(new_a, upper_bound(j).x);
|
||||
m_ex.push_justification(column_upper_bound_constraint(j), new_a);
|
||||
|
|
Loading…
Reference in a new issue