Python wrapper for numerical optimization algorithms