Skip to content

Commit

Permalink
Cleanup (#16)
Browse files Browse the repository at this point in the history
* Initial re-writing

* HSD step squeleton

* Clean code for HSD formulation

* Remove old code
  • Loading branch information
mtanneau authored Oct 15, 2018
1 parent bf49d2c commit 75f59b3
Show file tree
Hide file tree
Showing 8 changed files with 771 additions and 972 deletions.
14 changes: 13 additions & 1 deletion src/LinearAlgebra/LinearAlgebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,19 @@ module TLPLinearAlgebra
using LinearAlgebra
using SparseArrays

export factor_normaleq
export factor_normaleq, factor_normaleq!, symbolic_cholesky

"""
symbolic_cholesky
Compute Cholesky factorization of A*A'
"""
function symbolic_cholesky(A::AbstractMatrix{T}) where {T<:Real}

F = factor_normaleq(A, ones(size(A, 2)))
return F

end

"""
factor_normal_eqn(A, d)
Expand Down
3 changes: 2 additions & 1 deletion src/Tulip.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import Base: RefValue
include("LinearAlgebra/LinearAlgebra.jl")
import .TLPLinearAlgebra:
factor_normaleq,
factor_normaleq!
factor_normaleq!,
symbolic_cholesky

# package code goes here
include("env.jl")
Expand Down
Loading

0 comments on commit 75f59b3

Please sign in to comment.