pub fn argmin_value_opt<T: Num + Bounded + PartialOrd>( iter: impl Iterator<Item = Option<T>>, ) -> Option<(u32, T)>