@@ -273,16 +273,16 @@ void PDLPSolver::solve(std::vector<double>& x, std::vector<double>& y) {
273273
274274 const HighsLp& lp = lp_;
275275
276- pdlp_log_file_ = fopen (" HiPDLP.log" , " w" );
277- assert (pdlp_log_file_ );
276+ debug_pdlp_log_file_ = fopen (" HiPDLP.log" , " w" );
277+ assert (debug_pdlp_log_file_ );
278278
279279 // --- 0.Using PowerMethod to estimate the largest eigenvalue ---
280280 const double op_norm_sq = PowerMethod ();
281281 // Set step sizes based on the operator norm to ensure convergence
282282 // A safe choice satisfying eta * omega * ||A||^2 < 1
283283 step_.passLp (&lp_);
284284 step_.passLogOptions (¶ms_.log_options_ );
285- step_.passDebugLogFile (pdlp_log_file_ );
285+ step_.passDebugLogFile (debug_pdlp_log_file_ );
286286 StepSizeConfig step_size =
287287 step_.InitializeStepSizesPowerMethod (lp, op_norm_sq);
288288 const double fixed_eta = 0.99 / sqrt (op_norm_sq);
@@ -329,11 +329,11 @@ void PDLPSolver::solve(std::vector<double>& x, std::vector<double>& y) {
329329 // A single loop handles max iterations, convergence, and restarts.
330330 for (int iter = 0 ; iter < params_.max_iterations ; ++iter) {
331331 const double dummy_beta = 0.0 ;
332- pdlpIterLog (pdlp_log_file_ , iter, dummy_beta);
332+ debugPdlpIterLog (debug_pdlp_log_file_ , iter, dummy_beta);
333333 linalg::Ax (lp, x_current_, Ax_current);
334334 // print norm of Ax
335335 double ax_norm = linalg::vector_norm (Ax_current);
336- pdlpAxNormLog (pdlp_log_file_ , ax_norm);
336+ debugPdlpAxNormLog (debug_pdlp_log_file_ , ax_norm);
337337
338338 linalg::ATy (lp, y_current_, ATy_current);
339339 if (solver_timer.read () > params_.time_limit ) {
@@ -487,7 +487,7 @@ void PDLPSolver::solve(std::vector<double>& x, std::vector<double>& y) {
487487}
488488
489489void PDLPSolver::solveReturn () {
490- if (pdlp_log_file_ ) fclose (pdlp_log_file_ );
490+ if (debug_pdlp_log_file_ ) fclose (debug_pdlp_log_file_ );
491491}
492492
493493void PDLPSolver::Initialize (const HighsLp& lp, std::vector<double >& x,
0 commit comments