Deakstadieđáhus: Optimal resource allocation