Python Nonlinear Mixed Integer