def _init_worker(model, loopless, sense):
global _model<EOL>global _loopless<EOL>_model = model<EOL>_model.solver.objective.direction = sense<EOL>_loopless = loopless<EOL>
Initialize a global model object for multiprocessing.