A Mathematical Model for Optimal Incentive Contracts with Multiple Arrangements