mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	always remove the tightened term
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
		
							parent
							
								
									dc7185d0a4
								
							
						
					
					
						commit
						436eefbce2
					
				
					 1 changed files with 5 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1543,10 +1543,13 @@ namespace lp {
 | 
			
		|||
                  // print_bounds(tout);
 | 
			
		||||
            );
 | 
			
		||||
            for (unsigned j : sorted_changed_terms) {
 | 
			
		||||
                m_terms_to_tighten.remove(j);
 | 
			
		||||
                if (ignore_big_nums() && term_has_big_number(lra.get_term(j)))
 | 
			
		||||
                if (ignore_big_nums() && term_has_big_number(lra.get_term(j))) {
 | 
			
		||||
                    m_terms_to_tighten.remove(j);
 | 
			
		||||
                    continue;
 | 
			
		||||
                }
 | 
			
		||||
                auto ret = tighten_bounds_for_term_column(j);
 | 
			
		||||
                m_terms_to_tighten.remove(j);
 | 
			
		||||
                                
 | 
			
		||||
                r = join(ret, r);
 | 
			
		||||
                if (r == lia_move::conflict)
 | 
			
		||||
                    break;
 | 
			
		||||
| 
						 | 
				
			
			@ -1892,7 +1895,6 @@ namespace lp {
 | 
			
		|||
            if (lra.settings().get_cancel_flag())
 | 
			
		||||
                return false;
 | 
			
		||||
            lra.update_column_type_and_bound(j, kind, bound, dep);
 | 
			
		||||
 | 
			
		||||
            lp_status st = lra.find_feasible_solution();
 | 
			
		||||
            if (is_sat(st) || st == lp::lp_status::CANCELLED)
 | 
			
		||||
                return false;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue