Skip to main content

QuadForm

Type Alias QuadForm 

Source
pub type QuadForm = (BTreeMap<(usize, usize), f64>, Vec<(usize, f64)>, f64);
Expand description

Full quadratic read-out: (Hessian, [(var, linear coef), …], constant). The linear and constant parts are the pieces AMPL/Pyomo fold into the nonlinear objective tree (see analyze_quadratic_full).