Combinatorial Allocation Mechanisms in AC Electrical Systems (KNAPSACK PROBLEM)