Skip to content

Commit

Permalink
misc: rephrase the message about YAFC failing to solve the model (#102)
Browse files Browse the repository at this point in the history
The rewording makes it clear that, because the model could not be
solved, it also could not be updated.

Fixes #96
  • Loading branch information
shpaass authored Apr 11, 2024
2 parents 0e560d2 + a3f87fe commit 36f1f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion YAFCmodel/Model/ProductionTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ public override async Task<string> Solve(ProjectPage page) {
else {
solver.Dispose();
if (result == Solver.ResultStatus.INFEASIBLE) {
return "YAFC tried to solve this model and failed. It then tried to find a deadlock loop, but failed again";
return "YAFC failed to solve the model and to find deadlock loops. As a result, the model was not updated.";
}

if (result == Solver.ResultStatus.ABNORMAL) {
Expand Down

0 comments on commit 36f1f02

Please sign in to comment.