JuliaSmoothOptimizers / QuadraticModels.jl

Data structures for linear and quadratic optimization problems based on NLPModels.jl
Other
16 stars 10 forks source link

Change the QuadraticModel Matrix constructor, add more tests #26

Closed geoffroyleconte closed 3 years ago

geoffroyleconte commented 4 years ago

I finally changed the type of H in the default constructor to SparseMatrixCSC{T, Int}. I think the tril! function is mandatory because if the user inputs a Symmetric{T, SparseMatrixCSC{I, Int}} matrix, it is not possible to know if this matrix was constructed with a lower triangular matrix (maybe I am mistaken).

dpo commented 3 years ago

Sorry I lost track of this.