3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

check_feasible is called after column is added for fixed variable

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-11-03 00:02:19 -08:00
parent 2ead7c77ee
commit 752f08c9d6

View file

@ -914,7 +914,7 @@ namespace arith {
IF_VERBOSE(12, verbose_stream() << "final-check " << lp().get_status() << "\n");
SASSERT(lp().ax_is_correct());
if (lp().get_status() != lp::lp_status::OPTIMAL || lp().has_changed_columns()) {
if (lp().get_status() != lp::lp_status::OPTIMAL) {
switch (make_feasible()) {
case l_false:
get_infeasibility_explanation_and_set_conflict();