osqp / OSQP.jl

Julia interface for OSQP: The Operator Splitting QP Solver
https://osqp.org/
Other
68 stars 25 forks source link

triu with zero offdiag entries #93

Open blegat opened 3 years ago

blegat commented 3 years ago

This check: https://github.com/oxfordcontrol/OSQP.jl/blob/f50490536e41da2fef5f03216223090bd30698f8/src/interface.jl#L115-L118 does not work if there is zero offdiagonal entries which makes OSQP fail, see https://github.com/oxfordcontrol/OSQP.jl/pull/90

imciner2 commented 2 years ago

We should probably just create an UpperTriangular view of P all the time and then utilize that for future processing, that way we don't need that check anymore.