Achieving Optimal Allocation of Resources: An Application of Linear Programming in Agriculture