resource constraints AI