def opt_wrapper(m, **kwargs):
m.optimize(**kwargs)<EOL>return m.optimization_runs[-<NUM_LIT:1>]<EOL>
Thit function just wraps the optimization procedure of a GPy
object so that optimize() pickleable (necessary for multiprocessing).