mirror of
https://github.com/Z3Prover/z3
synced 2025-05-08 00:05:46 +00:00
refactor: move gomory functionaly from int_solver to gomory
This commit is contained in:
parent
e28b644a67
commit
4317d134bf
4 changed files with 180 additions and 184 deletions
|
@ -28,8 +28,11 @@ namespace lp {
|
|||
class int_solver& lia;
|
||||
class lar_solver& lra;
|
||||
lia_move cut(lar_term & t, mpq & k, explanation* ex, unsigned basic_inf_int_j, const row_strip<mpq>& row);
|
||||
public:
|
||||
gomory(int_solver& lia);
|
||||
unsigned_vector gomory_select_int_infeasible_vars(unsigned num_cuts);
|
||||
bool is_gomory_cut_target(lpvar j);
|
||||
lia_move get_cut(lpvar j);
|
||||
public:
|
||||
lia_move gomory::get_gomory_cuts(unsigned num_cuts);
|
||||
gomory(int_solver& lia);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue