mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	add init_model, global m_delta, get_value, get_ivalue to push model maintainance into lar_solver #4740
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									ab199dedf9
								
							
						
					
					
						commit
						ee12e3fb52
					
				
					 5 changed files with 2269 additions and 2211 deletions
				
			
		| 
						 | 
				
			
			@ -1474,6 +1474,7 @@ public:
 | 
			
		|||
            }
 | 
			
		||||
            else {
 | 
			
		||||
                auto I = m_variable_values.find(t2.index());
 | 
			
		||||
                std::cout << (I == E) << "\n";
 | 
			
		||||
                if (I != E)
 | 
			
		||||
                    result += I->second * coeff;
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			@ -1619,7 +1620,7 @@ public:
 | 
			
		|||
        IF_VERBOSE(12, verbose_stream() << "final-check " << lp().get_status() << "\n");
 | 
			
		||||
        lbool is_sat = l_true;
 | 
			
		||||
        SASSERT(lp().ax_is_correct());
 | 
			
		||||
        if (lp().get_status() != lp::lp_status::OPTIMAL) {
 | 
			
		||||
        if (lp().get_status() != lp::lp_status::OPTIMAL || lp().has_changed_columns()) {
 | 
			
		||||
            is_sat = make_feasible();
 | 
			
		||||
        }
 | 
			
		||||
        final_check_status st = FC_DONE;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue