Skip to content

Commit

Permalink
no need to check for looping in values pass
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhforrest committed Dec 14, 2023
1 parent ae94d6e commit 9c7645b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/ClpSimplexPrimal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1123,12 +1123,10 @@ void ClpSimplexPrimal::statusOfProblemInPrimal(int &lastCleaned, int type,
sumDualInfeasibilities_ = 0.0;
}
}
// Check if looping
// Check if looping (can't loop in values pass)
int loop;
if (type != 2) {
if (type != 2 && !ifValuesPass) {
loop = progress->looping();
if (ifValuesPass && loop != 3)
loop = -1;
} else {
loop = -1;
}
Expand Down

0 comments on commit 9c7645b

Please sign in to comment.