Generalized assignment problem
In applied mathematics, the maximum generalized assignment problem is a problem in combinatorial optimization. This problem is a generalization of the assignment problem in which both tasks and agents have a size. Moreover, the size of each task might vary from one agent to the other. This problem in its most general form 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 tasks assigned to it cannot exceed this budget. It is required to find an assignment in which all agents do not exceed their budget and total profit of the assignment is maximized.
In applied mathematics, the maximum generalized assignment problem is a problem in combinatorial optimization. This problem is a generalization of the assignment problem in which both tasks and agents have a size. Moreover, the size of each task might vary from one agent to the other. This problem in its most general form 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 tasks assigned to it cannot exceed this budget. It is required to find an assignment in which all agents do not exceed their budget and total profit of the assignment is maximized. ==In 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 assignment problem. When the costs and profits of all tasks do not vary between different agents, this problem reduces to the multiple knapsack problem. If there is a single agent, then, this problem reduces to the knapsack problem. ==Explanation of definition== In the following, we have n kinds of items, a_1 through a_n and m kinds of bins b_1 through b_m . Each bin b_i is associated with a budget t_i . For a bin b_i , each item a_j has a profit p_{ij} and a weight w_{ij} . A solution is an assignment from items to bins. A feasible solution is a solution in which for each bin b_i the total weight of assigned items is at most t_i . The solution's profit is the sum of profits for each item-bin assignment. The goal is to find a maximum profit feasible solution. Mathematically the generalized assignment problem can be formulated as an integer program: \begin{align} \text{maximize } & \sum_{i=1}^m\sum_{j=1}^n p_{ij} x_{ij}. \\ \text{subject to } & \sum_{j=1}^n w_{ij} x_{ij} \le t_i & & i=1, \ldots, m; \\ & \sum_{i=1}^m x_{ij} \le 1 & & j=1, \ldots, n; \\ & x_{ij} \in \{0,1\} & & i=1, \ldots, m, \quad j=1, \ldots, n; \end{align} ==Greedy approximation algorithm== For the problem variant in which not every item must be assigned to a bin, there is a family of algorithms for solving the GAP by using a combinatorial translation of any algorithm for the knapsack problem into an approximation algorithm for the GAP. Using any \alpha -approximation algorithm ALG for the knapsack problem, it is possible to construct a ( \alpha + 1 )-approximation for the generalized assignment problem in a greedy manner using a residual profit concept. The algorithm constructs a schedule in iterations, where during iteration j a tentative selection of items to bin b_j is selected. The selection for bin b_j might change as items might be reselected in a later iteration for other bins. The residual profit of an item x_i for bin b_j is p_{ij} if x_i is not selected for any other bin or p_{ij} – p_{ik} if x_i is selected for bin b_k . Formally: We use a vector T to indicate the tentative schedule during the algorithm. Specifically, T[i]=j means the item x_i is scheduled on bin b_j and T[i]=-1 means that item x_i is not scheduled. The residual profit in iteration j is denoted by P_j , where P_j[i]=p_{ij} if item x_i is not scheduled (i.e. T[i]=-1 ) and P_j[i]=p_{ij}-p_{ik} if item x_i is scheduled on bin b_k (i.e. T[i]=k ). Formally: Set T[i]=-1 \text{ for } i = 1\ldots n For j=1,\ldots,m do: Call ALG to find a solution to bin b_j using the residual profit function P_j . Denote the selected items by S_j . Update T using S_j , i.e., T[i]=j for all i \in S_j . ==See also== Assignment problem ==References== ==Further reading==
References
- Özbakir, Lale; Baykasoğlu, Adil; Tapkan, Pınar (2010), Bees algorithm for generalized assignment problem , Applied Mathematics and Computation, vol. 215, Elsevier, pp. 3782– 3795, doi : 10.1016/j.amc.2009.11.018 . Wikipedia revision 1249232303, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1249232303
Cite this reference
MLA "Özbakir, Lale; Baykasoğlu, Adil; Tapkan, Pınar (2010), Bees algorithm for generalized assignment problem , Applied Mathematics and Computation, vol. 215, Elsevier, pp. 3782– 3795, doi : 10.1016/j.amc.2009.11.018 . Wikipedia revision 1249232303, retrieved 2026-11-20." Özbakir, Lale; Baykasoğlu, Adil; Tapkan, Pınar (2010), Bees algorithm for generalized assignment problem , Applied Mathe. 2026-11-19. https://en.wikipedia.org/wiki/Doi_(identifier). Accessed 24 November 2026.
Chicago "Özbakir, Lale; Baykasoğlu, Adil; Tapkan, Pınar (2010), Bees algorithm for generalized assignment problem , Applied Mathematics and Computation, vol. 215, Elsevier, pp. 3782– 3795, doi : 10.1016/j.amc.2009.11.018 . Wikipedia revision 1249232303, retrieved 2026-11-20." Özbakir, Lale; Baykasoğlu, Adil; Tapkan, Pınar (2010), Bees algorithm for generalized assignment problem , Applied Mathe. 2026-11-19. https://en.wikipedia.org/wiki/Doi_(identifier).
APA Özbakir, Lale; Baykasoğlu, Adil; Tapkan, Pınar (2010), Bees algorithm for generalized assignment problem , Applied Mathe. (2026). Özbakir, Lale; Baykasoğlu, Adil; Tapkan, Pınar (2010), Bees algorithm for generalized assignment problem , Applied Mathematics and Computation, vol. 215, Elsevier, pp. 3782– 3795, doi : 10.1016/j.amc.2009.11.018 . Wikipedia revision 1249232303, retrieved 2026-11-20. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Doi_(identifier)
- Fleischer, Lisa; Goemans, Michel X.; Mirrokni, Vahab S.; Sviridenko, Maxim (2006). Tight approximation algorithms for maximum general assignment problems . Proceedings of the seventeenth annual ACM-SIAM symposium on Discrete algorithm - SODA '06. pp. 611– 620. Wikipedia revision 1249232303, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1249232303
Cite this reference
MLA "Fleischer, Lisa; Goemans, Michel X.; Mirrokni, Vahab S.; Sviridenko, Maxim (2006). Tight approximation algorithms for maximum general assignment problems . Proceedings of the seventeenth annual ACM-SIAM symposium on Discrete algorithm - SODA '06. pp. 611– 620. Wikipedia revision 1249232303, retrieved 2026-11-20." Fleischer, Lisa; Goemans, Michel X. 2026-11-19. https://en.wikipedia.org/w/index.php?oldid=1249232303. Accessed 24 November 2026.
Chicago "Fleischer, Lisa; Goemans, Michel X.; Mirrokni, Vahab S.; Sviridenko, Maxim (2006). Tight approximation algorithms for maximum general assignment problems . Proceedings of the seventeenth annual ACM-SIAM symposium on Discrete algorithm - SODA '06. pp. 611– 620. Wikipedia revision 1249232303, retrieved 2026-11-20." Fleischer, Lisa; Goemans, Michel X. 2026-11-19. https://en.wikipedia.org/w/index.php?oldid=1249232303.
APA Fleischer, Lisa; Goemans, Michel X. (2026). Fleischer, Lisa; Goemans, Michel X.; Mirrokni, Vahab S.; Sviridenko, Maxim (2006). Tight approximation algorithms for maximum general assignment problems . Proceedings of the seventeenth annual ACM-SIAM symposium on Discrete algorithm - SODA '06. pp. 611– 620. Wikipedia revision 1249232303, retrieved 2026-11-20. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1249232303
- An efficient approximation for the Generalized Assignment Problem · retrieved 2026-11-19 · rev 1249232303
Cite this reference
MLA "An efficient approximation for the Generalized Assignment Problem." Cohen, Reuven; Katzir, Liran; Raz, Danny (2006). 2026-11-19. https://en.wikipedia.org/wiki/CiteSeerX_(identifier). Accessed 24 November 2026.
Chicago "An efficient approximation for the Generalized Assignment Problem." Cohen, Reuven; Katzir, Liran; Raz, Danny (2006). 2026-11-19. https://en.wikipedia.org/wiki/CiteSeerX_(identifier).
APA Cohen, Reuven; Katzir, Liran; Raz, Danny (2006). (2026). An efficient approximation for the Generalized Assignment Problem. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/CiteSeerX_(identifier)
Cite this article
MLA
"Generalized assignment problem." encyclopegia.org, 2024, https://encyclopegia.org/wiki/generalized-assignment-problem. Accessed 24 November 2026.
Chicago
"Generalized assignment problem." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/generalized-assignment-problem.
APA
encyclopegia.org. (2024). Generalized assignment problem. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/generalized-assignment-problem
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON