Hub location mixin
HubLocationMixin
¶
Provides hub and allocation intelligence for any HLP-based model.
Reads the [AllocationVariable][bilevelpy.models.vars.hlp_vars.AllocationVariable]
from the solution to determine which nodes are selected as hubs and
how non-hub nodes are assigned to them.