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:
parent
f98b42ae42
commit
fc23a498c4
6 changed files with 90 additions and 96 deletions
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue