Skip to content

Commit

Permalink
Count another location of KKT.solve!() call in the final stats
Browse files Browse the repository at this point in the history
(previously unreported).
  • Loading branch information
pratyai committed Jun 7, 2024
1 parent 8a3cce9 commit 490edf1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/IPM/HSD/step.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ function compute_step!(hsd::HSD{T, Tv}, params::IPMOptions{T}) where{T, Tv<:Abst
hx = tzeros(Tv, n)
hy = tzeros(Tv, m)
ξ_ = @. (dat.c - ((pt.zl / pt.xl) * dat.l) * dat.lflag - ((pt.zu / pt.xu) * dat.u) * dat.uflag)
KKT.solve!(hx, hy, hsd.kkt, dat.b, ξ_)
@timeit hsd.timer "Newton" begin
@timeit hsd.timer "KKT" KKT.solve!(hx, hy, hsd.kkt, dat.b, ξ_)
end

# Recover h0 = ρg + κ / τ - c'hx + b'hy - u'hz
# Some of the summands may take large values,
Expand Down

0 comments on commit 490edf1

Please sign in to comment.