-run the optimizer