pub fn extract_active_constraints( g: &[Vec<f64>], h: &[f64], active: &[usize], ) -> (Vec<Vec<f64>>, Vec<f64>)
Extract rows from G and h corresponding to the given active indices.