Optimize Three basic example of how to optimize a simple function using: hyperopt scipy.optimize (Nedler-Mead) pyswarm