pub type ConstraintFn = fn(&[f64]) -> f64;
Type alias for constraint functions that take a slice of f64 and return f64