A Python package for optimization