▍1. SAPSO
0-1背包问题是学习算法时一个非常常用的简单问题,可以用多种智能优化算法实现,这里用到了蚁群算法和模拟退火算法还有两种方法的结合三种方法来实现。(0-1 knapsack problem is a simple learning algorithm is a very common problem, and can use a variety of intelligent optimization algorithm, ant colony algorithm and simulated annealing algorithm is used, there are two ways of combining three methods to achieve.)