default constraint grad_method is ''