Can't use objective function in benchmark script, use grad_and_obj