Subset Selection for Hybrid Task Scheduling with General Cost Constraints