osqp / OSQP.jl

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

Implement DiffOpt interface #119

Open blegat opened 2 years ago

blegat commented 2 years ago

I was glad to see at Bartolomeo's talk at ICCOPT that OSQP will support querying differentiation information. We developed an extension of MOI for this at https://github.com/jump-dev/DiffOpt.jl. At the moment, no solver implements DiffOpt's interface so the DiffOpt.Optimizer uses the solver to compute primal and dual information and then has to solve a linear system to compute these derivative information. If package implements the DiffOpt interface then it would allow querying these informations from OSQP directly without needing this DiffOpt.Optimizer which would be faster as OSQP has already done part of the work needing to get these information when solving the problem.

blegat commented 1 year ago

@vineetbansal Did you start it in a branch that we could take a look at ? Or can we give it a try ?