mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 01:11:55 +00:00
snap variables to bounds when maximizing terms
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
75b1e8fe27
commit
f336039da3
6 changed files with 80 additions and 69 deletions
|
@ -359,7 +359,14 @@ public:
|
|||
void detect_rows_with_changed_bounds_for_column(unsigned j);
|
||||
|
||||
void detect_rows_with_changed_bounds();
|
||||
inline bool is_base(unsigned j) const {
|
||||
return m_mpq_lar_core_solver.m_r_heading[j] >= 0;
|
||||
}
|
||||
|
||||
bool move_non_basic_columns_to_bounds();
|
||||
|
||||
bool move_non_basic_column_to_bounds(unsigned j);
|
||||
void set_value_for_nbasic_column(unsigned j, const impq & new_val);
|
||||
void update_x_and_inf_costs_for_columns_with_changed_bounds();
|
||||
|
||||
void update_x_and_inf_costs_for_columns_with_changed_bounds_tableau();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue