Preallocation and Planning Under Stochastic Resource Constraints