Applying linear programming to your pay structure