osqp / osqp-matlab

Matlab interface for OSQP
https://osqp.org/
Apache License 2.0
42 stars 25 forks source link

CPU timings for update step #6

Closed dkouzoup closed 5 years ago

dkouzoup commented 5 years ago

When OSQP is used within an NMPC framework where the dynamics change at each iteration, it would be very useful to return the time required for the update step in the info struct. The setup_time would be an upper bound on this timing but an exact value would be better for benchmarking purposes.

gbanjac commented 5 years ago

The info structure with timings is created in C. Maybe it makes sense to open this issue in the main OSQP repo.

dkouzoup commented 5 years ago

good point, will do