pub fn w( bounds: &Vec<(f64, f64)>, hitting_cost: &impl Fn(i32, FractionalConfig) -> N64, switching_cost: &NormFn<f64>, t: i32, theta: f64, x: FractionalConfig) -> N64