A Framework for Optimizing Resource Allocation for Health Education Programs