Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KKT] Fix symmetric K3 formulation #345

Merged
merged 1 commit into from
Jun 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions src/KKT/KKTsystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ conditions at the current primal-dual iterate ``(x, s, y, z, ν, w)``.

The associated matrix is
```
[Wₓₓ 0 Aₑ' Aᵢ' -I 0 ] [Δx]
[ 0 0 0 -I 0 -I ] [Δs]
[Aₑ 0 0 0 0 0 ] [Δy]
[Aᵢ -I 0 0 0 0 ] [Δz]
[V 0 0 0 X 0 ] [Δν]
[0 W 0 0 0 S ] [Δw]
[Wₓₓ 0 Aₑ' Aᵢ' V½ 0 ] [Δx]
[0 0 0 -I 0 ] [Δs]
[Aₑ 0 0 0 0 0 ] [Δy]
[Aᵢ -I 0 0 0 0 ] [Δz]
[V½ 0 0 0 -X 0 ] [Δτ]
[0 W½ 0 0 0 -S ] [Δρ]
```
with
* ``Wₓₓ``: Hessian of the Lagrangian.
Expand All @@ -29,6 +29,8 @@ with
* ``S = diag(s)``
* ``V = diag(ν)``
* ``W = diag(w)``
* ``Δτ = -W^{-½}Δν``
amontoison marked this conversation as resolved.
Show resolved Hide resolved
* ``Δρ = -W^{-½}Δw``
"""
abstract type AbstractUnreducedKKTSystem{T, VT, MT, QN} <: AbstractKKTSystem{T, VT, MT, QN} end

Expand All @@ -42,7 +44,7 @@ the two last rows associated to the bounds' duals ``(ν, w)``.
At a primal-dual iterate ``(x, s, y, z)``, the matrix writes
```
[Wₓₓ + Σₓ 0 Aₑ' Aᵢ'] [Δx]
[ 0 Σₛ 0 -I ] [Δs]
[0 Σₛ 0 -I ] [Δs]
[Aₑ 0 0 0 ] [Δy]
[Aᵢ -I 0 0 ] [Δz]
```
Expand Down
Loading