Skip to content

Commit 8689f76

Browse files
goulart-paulPaul Goulart
and
Paul Goulart
authored
Pg/qdldl 0.2 (#151)
* qdldl-0.2 compatability fix * bump QDLDL version Co-authored-by: Paul Goulart <[email protected]>
1 parent 33460b7 commit 8689f76

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ COSMOAccelerators = "^0.1.0"
2828
DataStructures = "^0.17.0, ^0.18.0"
2929
IterTools = "^1"
3030
MathOptInterface = "~0.10.7, 1"
31-
QDLDL = "~0.1.5"
31+
QDLDL = "~0.2"
3232
Reexport = "0.2, ^1"
3333
Requires = "^1"
3434
UnsafeArrays = "0.3, 1"

src/linear_solver/kktsolver.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ end
308308

309309
function update_rho!(s::QdldlKKTSolver{Tv, Ti}, rho::Union{Tv, AbstractVector{Tv}}) where {Tv <: AbstractFloat, Ti <: Integer}
310310
QDLDL.update_diagonal!(s.ldlfact, (s.n+1):(s.n+s.m), (-one(Ti) ./ rho))
311+
refactor!(s.ldlfact)
311312
end
312313

313314
# -------------------------------------

0 commit comments

Comments
 (0)