Optimal Resource Allocation with Minimum Activation Levels and Fixed Costs