Optimising AIOps using the Hungarian Algorithm, Graph Partitioning and QUBO Formulation
Keywords:
AI resource management, Bin-packing, Combinatorial optimisation, Dynamic programming, Hungarian algorithm, Minimum-cost flow, Optimal transport, Quantum approximate optimisationAbstract
Resource allocation in AI systems poses a persistent operational challenge. The assignment of GPU capacity, memory budgets, annotation labour, and network bandwidth across competing workloads directly affects throughput, latency, and cost efficiency. Classical combinatorial optimisation provides a mature set of tools for addressing these demands, yet practitioners in AI operations rarely encounter a unified account of their applicability, trade-offs, and selection criteria in a single operational framework. This study addresses that gap by examining several combinatorial methods relevant to AI resource management: the Hungarian algorithm for one-to-one assignment, minimum-cost flow for batch routing under capacity constraints, linear and integer programming for GPU scheduling and budget allocation, knapsack and bin-packing formulations for memory and context window fitting, dynamic programming for optimal batching and model partitioning, and graph partitioning and shortest-path methods for distributed model deployment. Quantum approaches, specifically the quantum approximate optimisation algorithm targeting Quadratic Unconstrained Binary Optimisation (QUBO) forms of scheduling problems, are reviewed with the acknowledgement that practical advantage over classical solvers is not yet empirically demonstrated. Data science applications including Hungarian matching for cluster label alignment, optimal transport for distribution comparison, and multi-armed bandit methods for cost-sensitive option selection are also examined. A six-stage practitioner framework is proposed to guide workload characterisation, problem formulation, solver selection, constraint encoding, solution execution, and performance monitoring. Validation of the framework against production AI workloads remains a planned activity and is not claimed as completed. This study serves operations engineers, applied researchers, and AI infrastructure architects seeking a structured, evidence-grounded account of combinatorial optimisation as a practical discipline in AI systems management.
References
H. W. Kuhn, “The Hungarian method for the assignment problem,” Naval Research Logistics Quarterly, vol. 2, no. 1–2, pp. 83–97, Mar. 1955.
J. Munkres, “Algorithms for the assignment and transportation problems,” Journal of the Society for Industrial and Applied Mathematics, vol. 5, no. 1, pp. 32–38, Mar. 1957.
N. Carion, F. Massa, G. Synnaeve, N. Usunier, A. Kirillov, and S. Zagoruyko, “End-to-end object detection with transformers,” Computer Vision, 2020, pp. 213–229.
R. Jonker and A. Volgenant, “A shortest augmenting path algorithm for dense and sparse linear assignment problems,” Computing, vol. 38, pp. 325–340, Dec. 1987.
A. V. Goldberg and R. E. Tarjan, “Finding minimum-cost circulations by successive approximation,” Mathematics of Operations Research, vol. 15, no. 3, Aug. 1990.
D. P. Bertsekas and P. Tseng, “Relaxation methods for minimum cost ordinary and generalized network flow problems,” Operations Research, vol. 36, no. 1, Feb. 1988.
R. E. Bixby, “A brief history of linear and mixed-integer programming computation,” Documenta Mathematica, Extra Volume ISMP, pp. 107–121, 2012.
S. Martello and P. Toth, “A new algorithm for the 0-1 knapsack problem,” Management Science, vol. 34, no. 5, May 1988.
G. B. Dantzig, “Discrete-variable extremum problems,” Operations Research, vol. 5 no. 2, Apr. 1957.
E. G. Coffman, M. R. Garey, and D. S. Johnson, “An application of bin-packing to multiprocessor scheduling,” SIAM Journal on Computing, vol. 7, 1, 1978.
B. W. Kernighan and S. Lin, “ An efficient heuristic procedure for partitioning graphs,” Bell System Techical Journal, vol. 49, no. 2, pp. 291–307, Feb. 1970.
G. Karypis and V. Kumar, “A fast and high quality multilevel scheme for partitioning irregular graphs,” SIAM Journal on Scientific Computing, vol. 20, no. 1, pp. 359–392, 1998.
E. W. Dijkstra, “A note on two problems in connexion with graphs,” Numerische Mathematik, vol. 1, pp. 269–271, Dec. 1959.
R. Bellman, “On the theory of dynamic programming,” PNAS, vol. 38, no. 8, pp. 716-719, Aug. 1952.
M. Cuturi, “Sinkhorn distances: Lightspeed computation of optimal transport distances,” Advances in Neural Information Processing Systems, 2013.
G. Peyré and M. Cuturi, “Computational optimal transport,” Foundations and Trends in Machine Learning, vol. 11, no. 5–6, pp. 355–607, Feb. 2019.
P. Auer, N. Cesa-Bianchi, and P. Fischer, “Finite-time analysis of the multiarmed bandit problem,” Machine Learning, vol. 47, pp. 235–256, 2002.
E. Farhi, J. Goldstone, and S. Gutmann, “A quantum approximate optimization algorithm,” arXiv, Nov. 2014.
J. Dean, et al. “Large scale distributed deep networks,” Advances in Neural Information Processing Systems, 2012.
Y. Huang et al., “GPipe: Efficient Training of giant neural networks using pipeline parallelism,” Proceedings of the 33rd International Conference on Neural Information Processing Systems, Dec. 2019, pp. 103–112.