Skip to main content

extract_active_constraints

Function extract_active_constraints 

Source
pub fn extract_active_constraints(
    g: &[Vec<f64>],
    h: &[f64],
    active: &[usize],
) -> (Vec<Vec<f64>>, Vec<f64>)
Expand description

Extract rows from G and h corresponding to the given active indices.