3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-06 07:53:59 +00:00

merge and update

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-05-25 14:17:19 -07:00
commit c28f26c17d
5 changed files with 21 additions and 20 deletions

View file

@ -31,6 +31,7 @@
#include "util/lp/quick_xplain.h"
#include "util/lp/conversion_helper.h"
#include "util/lp/int_solver.h"
#include "util/lp/nra_solver.h"
namespace lean {
@ -200,9 +201,7 @@ public:
void set_status(lp_status s);
lp_status find_feasible_solution();
void add_monomial(var_index v, svector<var_index> const& vars);
lp_status find_feasible_solution();
lp_status solve();
@ -414,6 +413,7 @@ public:
const impq & v = m_mpq_lar_core_solver.m_r_x[j];
return impq_is_int(v);
}
inline bool column_is_real(unsigned j) const { return !column_is_integer(j); }
final_check_status check_int_feasibility();
};

View file

@ -121,6 +121,7 @@ namespace nra {
TRACE("arith", tout << "ex: " << idx << "\n";);
}
break;
case l_undef:
break;
}

View file

@ -17,7 +17,7 @@ namespace lean {
namespace nra {
typedef std::unordered_map<lean::var_index, rational> nra_model_t;
class solver {
struct imp;