diff --git a/libsolutil/LP.cpp b/libsolutil/LP.cpp index c662476ed..f1fa71531 100644 --- a/libsolutil/LP.cpp +++ b/libsolutil/LP.cpp @@ -317,6 +317,8 @@ pair simplexPhaseI(Tableau _tableau) LPResult result; tie(result, _tableau) = simplexEq(move(_tableau)); + if (result == LPResult::Unknown) + return make_pair(LPResult::Unknown, Tableau{}); solAssert(result != LPResult::Infeasible, ""); vector optimum = solutionVector(_tableau);