Stav dette: Optimal resource allocation