Data-Driven Robust Resource Allocation with Monotonic Cost Functions