Skip to content

Commit 19c16e7

Browse files
committed
call passParams and passLP
1 parent 27a5b63 commit 19c16e7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

highs/pdlp/hipdlp/pdhg.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ void PDLPSolver::PreprocessLp() {
155155
}
156156
}
157157

158+
scaling_.passLp(&processed_lp);
159+
158160
// 7. Convert COO matrix to CSC for the processed_lp
159161
//
160162
// Already achieved by construction
@@ -940,4 +942,6 @@ void PDLPSolver::setParams(const HighsOptions& options, HighsTimer& timer) {
940942
// params_.malitsky_pock_params.initialise(); Not set in parse_options_file
941943
// params_.adaptive_linesearch_params.initialise(); Not set in
942944
// parse_options_file
945+
scaling_.passParams(&params_);
946+
restart_scheme_.passParams(&params_);
943947
}

highs/pdlp/hipdlp/scaling.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @Author: Zhou Yanyu(周妍妤) [email protected]
33
* @Date: 2025-08-05 13:18:18
44
* @LastEditors: Zhou Yanyu(周妍妤) [email protected]
5-
* @LastEditTime: 2025-08-05 15:06:18
5+
* @LastEditTime: 2025-09-11 14:27:37
66
* @FilePath: /cupdlp-CPP/include/scaling.hpp
77
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置
88
* 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE

0 commit comments

Comments
 (0)