Generalized assignment problem
The maximum general assignment problem is a problem in combinatorial optimization. This problem is a generalization of the assignment problem in which both task and agents have a size. Moreover, this size of each task might vary from one agent to the other. This pro
In its most general form, the problem is as follows:
There are a number of agents and a number of tasks. Any agent can be assigned to perform any task, incurring some cost and profit that may vary depending on the agent-task assignment. Moreover, each agent has a budget and the sum of the costs of task assigned to it cannot exceed this budget. It is required to find an assignment in which an agent does not exceed its budget and total profit of the assignment is maximized.
== Special cases ==
In the special case in which all the agents' budgets and all tasks' costs are equal to 1, this problem reduces to the maximum assignment problem. When the costs and profits of all agents-task assignment are equal, this problem reduces to the multiple knapsack problem. If there is a single agent, then, this problem reduces to the knapsack problem.
Definition
In the following, we have n kinds of items, x1 through xn and "m" kinds of bins b1 through bm. Each bin b1 is associated with a budget wi. Each item xj has a value pij and a weight wij. A solution is selection of items subset "U" and an assignment from "U" to the bins. A feasible solution is a solution in which for each bin bi. the weights sum of assigned items is at most wi. The solution's profit is the sum of profits for each item-bin assignment. The goal is to find a maximum profit feasible solution.
The generalized assignment problem is NP-hard, and it is even APX-hard to approximation. Recently it was shown that it is () hard to approximate for every .