Closed sshin23 closed 2 years ago
Should I assume that Q and R are both sparse in the specialized _build_H
function? Or should I create multiple functions so that Q can be spares while R is dense or vice versa?
@dlcole3 should make it all sparse. We have enforced they have the same type in LQDynamicData
closing it as the current approach preserves the sparsity. Thanks @dlcole3 for the corretion
Currently we do not take into account the sparsity in
Q,R,A,B
. The hessian/Jacobian should respect the sparsity ofQ,R,A,B
given by the user. A specialized_build_H
and_build_J
function should be added via multiple dispatch