背包问题
二次无约束二元优化
数学优化
连续背包问题
计算
最优化问题
数学
组合优化
二进制数
维数(图论)
功能(生物学)
模拟退火
二次方程
计算机科学
算法
量子计算机
量子
组合数学
物理
几何学
算术
量子力学
进化生物学
生物
作者
Qiwei Wang,Hongli Yang
标识
DOI:10.57237/j.cst.2023.03.005
摘要
Multidimensional knapsack problem is a classical combinatorial optimization problem, the goal is to find a set of optimal options to satisfy all the constraints. The traditional algorithms for solving multidimensional knapsack problems generally have some disadvantages, such as slow computation speed and exponential increase of computation with the increase of problem dimension. To solve these problems, a QUBO (quadratic unconstrained binary optimization) model is proposed, and the multidimensional knapsack problem is expressed as a quadratic unconstrained binary optimization problem. Binary variables are used to represent the objective function of the multidimensional knapsack problem. The constraints are added to the objective function in the form of quadratic terms by means of penalty terms. The objective function is further transformed into QUBO form. The model is created by PyQUBO, an open source Python library, and solved by quantum annealing algorithm on D-Wave platform. The results show that the QUBO model has a strong ability of mathematical expression, which makes the problem more structured, and is suitable for large-scale problems, dealing with multidimensional knapsack problems with a lot of variables and constraints.
科研通智能强力驱动
Strongly Powered by AbleSci AI