Optimization Example 1: linear programming example with docplex & cplex in Python. Example 2: minimize objective function with SciPy. Example 3: giapetto linear programming example with PuLP. Example 4: Optimization with SciPy.