mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Forward unknown.
This commit is contained in:
parent
3203b73c64
commit
922837b44c
@ -317,6 +317,8 @@ pair<LPResult, Tableau> simplexPhaseI(Tableau _tableau)
|
|||||||
|
|
||||||
LPResult result;
|
LPResult result;
|
||||||
tie(result, _tableau) = simplexEq(move(_tableau));
|
tie(result, _tableau) = simplexEq(move(_tableau));
|
||||||
|
if (result == LPResult::Unknown)
|
||||||
|
return make_pair(LPResult::Unknown, Tableau{});
|
||||||
solAssert(result != LPResult::Infeasible, "");
|
solAssert(result != LPResult::Infeasible, "");
|
||||||
|
|
||||||
vector<rational> optimum = solutionVector(_tableau);
|
vector<rational> optimum = solutionVector(_tableau);
|
||||||
|
Loading…
Reference in New Issue
Block a user