3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-13 22:41:15 +00:00

a simple version of choosing a column for gomory cut

This commit is contained in:
Lev Nachmanson 2023-12-04 15:06:50 -10:00
parent f98b42ae42
commit fc23a498c4
6 changed files with 90 additions and 96 deletions

View file

@ -111,7 +111,7 @@ private:
bool has_upper(unsigned j) const;
unsigned row_of_basic_column(unsigned j) const;
bool cut_indices_are_columns() const;
lia_move local_cut(unsigned num_cuts, std::function<lia_move(void)>& cut_fn);
lia_move local_cut(unsigned num_cuts, std::function<lia_move(lpvar)>& cut_fn);
public:
std::ostream& display_column(std::ostream & out, unsigned j) const;
@ -132,7 +132,8 @@ public:
bool all_columns_are_bounded() const;
lia_move hnf_cut();
int select_int_infeasible_var(bool check_bounded);
int select_int_infeasible_var();
unsigned_vector gomory_select_int_infeasible_vars(unsigned num_cuts);
bool is_gomory_cut_target(lpvar);
};
}