Find the best ratio that maximize the benefit considering both rewards and tax deductions