[SciPy-Dev] PR #196: simplification of optimization wrappers