diff --git a/src/alpaqa/src/driver/alm-driver.hpp b/src/alpaqa/src/driver/alm-driver.hpp index 6439edd14d..a755d5cd58 100644 --- a/src/alpaqa/src/driver/alm-driver.hpp +++ b/src/alpaqa/src/driver/alm-driver.hpp @@ -113,6 +113,18 @@ SolverResults run_alm_solver(LoadedProblem &problem, Solver &solver, if constexpr (requires { stats.inner.lbfgs_rejected; }) extra.emplace_back("lbfgs_rejected", static_cast(stats.inner.lbfgs_rejected)); + if constexpr (requires { stats.inner.accelerated_step_rejected; }) + extra.emplace_back( + "accelerated_step_rejected", + static_cast(stats.inner.accelerated_step_rejected)); + if constexpr (requires { stats.inner.direction_failures; }) + extra.emplace_back( + "direction_failures", + static_cast(stats.inner.direction_failures)); + if constexpr (requires { stats.inner.direction_update_rejected; }) + extra.emplace_back( + "direction_update_rejected", + static_cast(stats.inner.direction_update_rejected)); return SolverResults{ .status = enum_name(stats.status), .success = stats.status == alpaqa::SolverStatus::Converged,