Hierarchical model predictive control for resource distribution | Synapse