HF RL Explorer

We need to restructure how the KKT matrix is assembled and updated in the OSQP solver. Currently…

We need to restructure how the KKT matrix is assembled and updated in the OSQP solver. Currently…: a task in LegoFlow-SWE (Harbor dataset). Goal : Build the KKT matrix directly in the desired sparse format (CSC or CSR), using just one allocation for the final matrix. All subsequent updates must be…

The task

**Goal**: Build the KKT matrix **directly** in the desired sparse format (CSC or CSR), using just one allocation for the final matrix. All subsequent updates must be performed efficiently through dedicated functions that rely on index mappings recorded during assembly.

Part of Lego-X/LegoFlow-SWE.