Skip to content

Commit 5d33d27

Browse files
authored
Merge pull request #3069 from ERGO-Code/hipo-qp-fix
Fix bug for QPs
2 parents 9cd8198 + 03e1ad5 commit 5d33d27

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

highs/ipm/hipo/ipm/Solver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ bool Solver::checkTermination() {
10961096
}
10971097

10981098
} else {
1099-
terminate = checkTerminationKkt();
1099+
terminate = model_.qp() ? true : checkTerminationKkt();
11001100
if (terminate) {
11011101
assert(info_.status != kStatusPDFeas);
11021102
logger_.print("=== Primal-dual feasible point found\n");
@@ -1112,7 +1112,7 @@ bool Solver::checkTerminationKkt() {
11121112
if (model_.qp()) {
11131113
// Not yet implemented for QP
11141114
logger_.printInfo("kktCheck skipped for QP\n");
1115-
return true;
1115+
return false;
11161116

11171117
} else {
11181118
// LP check

0 commit comments

Comments
 (0)