Optimal Resource Allocation: With Practical