[SciPy-user] optimize, line fit of convex functions