Skip to content

Commit 5f551b1

Browse files
authored
Merge pull request ERGO-Code#1788 from ERGO-Code/qp-hot-start
Replaced primal3.mps with primal1.mps to speed up unit test; Updated FEATURES.md
2 parents f532e65 + 8b75f00 commit 5f551b1

File tree

4 files changed

+3915
-12735
lines changed

4 files changed

+3915
-12735
lines changed

FEATURES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ QP solver logging is now neater and quieter
3535
Any Hessian for the incumbent model is modified with zero entries when adding columns to the model, and rows/columns are removed when columns are deleted from the model.
3636

3737
Minor bug fix in MIP presolve
38+
39+
QP solver will now hot start given a basis and solution
40+
41+

check/TestQpSolver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ TEST_CASE("test-qp-hot-start", "[qpsolver]") {
891891
int(k));
892892
if (k == 1) {
893893
const std::string filename =
894-
std::string(HIGHS_DIR) + "/check/instances/primal3.mps";
894+
std::string(HIGHS_DIR) + "/check/instances/primal1.mps";
895895
REQUIRE(highs.readModel(filename) == HighsStatus::kOk);
896896
} else if (k == 2) {
897897
const std::string filename =
@@ -1004,7 +1004,7 @@ TEST_CASE("test-qp-terminations", "[qpsolver]") {
10041004
REQUIRE(highs.getModelStatus() == HighsModelStatus::kTimeLimit);
10051005
highs.setOptionValue("time_limit", kHighsInf);
10061006

1007-
filename = std::string(HIGHS_DIR) + "/check/instances/primal3.mps";
1007+
filename = std::string(HIGHS_DIR) + "/check/instances/primal1.mps";
10081008
REQUIRE(highs.readModel(filename) == HighsStatus::kOk);
10091009

10101010
highs.setOptionValue("qp_nullspace_limit", 1);

0 commit comments

Comments
 (0)