osqp / osqpth

The differentiable OSQP solver layer for PyTorch
Other
59 stars 5 forks source link

Tweak PyTorch Function and call into osqp-python for the derivative. #7

Open bamos opened 4 years ago

bamos commented 4 years ago

Depends on https://github.com/oxfordcontrol/osqp-python/pull/38

\cc @sbarratt @akshayka

Something to discuss here -- if the derivatives are tested in osqp-python, should we just add some light sanity check one here that's not as exhaustive and rely on the tests there? Or should we try to maintain the same checks here and there?