3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-05 23:05:46 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-05-14 10:25:42 -07:00
parent 587750b9a3
commit 118dc0f3b4
5 changed files with 62 additions and 20 deletions

View file

@ -0,0 +1,34 @@
/*++
Copyright (c) 2014 Microsoft Corporation
Module Name:
linear_solver.cpp
Author:
Nikolaj Bjorner (nbjorner) 2021-05-14
Jakob Rath 2021-05-14
--*/
#include "math/polysat/linear_solver.h"
namespace polysat {
void linear_solver::push() {}
void linear_solver::pop(unsigned n) {}
void linear_solver::internalize_constraint(constraint& c) {}
void linear_solver::set_value(pvar v, rational const& value) {}
void linear_solver::set_bound(pvar v, rational const& lo, rational const& hi) {}
void linear_solver::activate_constraint(constraint& c) {}
// check integer modular feasibility under current bounds.
lbool linear_solver::check() { return l_undef; }
void linear_solver::unsat_core(unsigned_vector& deps) {}
// current value assigned to (linear) variable according to tableau.
rational linear_solver::value(pvar v) { return rational(0); }
};