Skip to content

Commit

Permalink
update scalings on factorization fails in first iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
RSchwan committed Sep 11, 2024
1 parent 29ff07d commit 8d3161f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/piqp/solver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,10 @@ class SolverBase
m_result.info.rho *= 100;
m_result.info.factor_retires++;
m_result.info.reg_limit = std::min(10 * m_result.info.reg_limit, m_settings.eps_abs);

m_kkt.update_scalings(m_result.info.rho, m_result.info.delta,
m_result.s, m_result.s_lb, m_result.s_ub,
m_result.z, m_result.z_lb, m_result.z_ub);
}
else
{
Expand Down

0 comments on commit 8d3161f

Please sign in to comment.