Skip to content

Commit a361132

Browse files
committed
only 2 SpMV in performHalpernPdhgStep
1 parent 3db1045 commit a361132

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

check/TestPdlp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ TEST_CASE("cuda-sandbox", "[pdlp]") {
474474
#endif
475475

476476
TEST_CASE("hi-pdlp-halpern", "[pdlp]") {
477-
std::string model = "neso-2245"; //"afiro";
477+
std::string model = "afiro"; //"afiro";
478478
// shell //stair //25fv47 //fit2p //avgas //neso-2245 //neso-2005
479479
std::string model_file =
480480
// std::string(HIGHS_DIR) + "/srv/" + model + ".mps.gz";

highs/pdlp/hipdlp/pdhg.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -926,8 +926,7 @@ void PDLPSolver::performHalpernPdhgStep(bool is_major) {
926926
y_current_[j] = w * blended + (1.0 - w) * y_anchor_[j];
927927
}
928928

929-
// --- STEP 5: Recompute Ax, ATy for blended current ---
930-
linalg::Ax(lp_, x_current_, Ax_cache_);
929+
// --- STEP 5: Recompute ATy for blended current ---
931930
linalg::ATy(lp_, y_current_, ATy_cache_);
932931
}
933932

0 commit comments

Comments
 (0)