mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 19:52:29 +00:00 
			
		
		
		
	test tightening with S
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
		
							parent
							
								
									193116bf84
								
							
						
					
					
						commit
						798f0e2e8a
					
				
					 2 changed files with 657 additions and 608 deletions
				
			
		
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							|  | @ -1080,15 +1080,15 @@ namespace lp { | |||
|         } | ||||
|     } | ||||
| 
 | ||||
|     bool lar_solver::has_upper_bound(lpvar var, u_dependency*& ci, mpq& value, bool& is_strict) const { | ||||
|     bool lar_solver::has_upper_bound(lpvar var, u_dependency*& dep, mpq& value, bool& is_strict) const { | ||||
| 
 | ||||
|         if (var >= m_columns.size()) { | ||||
|             // TBD: bounds on terms could also be used, caller may have to track these.
 | ||||
|             return false; | ||||
|         } | ||||
|         const column& ul = m_columns[var]; | ||||
|         ci = ul.upper_bound_witness(); | ||||
|         if (ci != nullptr) { | ||||
|         dep = ul.upper_bound_witness(); | ||||
|         if (dep != nullptr) { | ||||
|             auto& p = m_mpq_lar_core_solver.m_r_upper_bounds()[var]; | ||||
|             value = p.x; | ||||
|             is_strict = p.y.is_neg(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue