better logging of optimization parameters