中文说明:遗传算法可以求解背包问题,对于最为一般的线性约束不等式,遗传算法理想中可以达到最优值。matlab的遗传算法工具箱,可以使写遗传算法时,使用简单的一句函数,就可以完成一些复制的功能。利用谢菲尔德工具箱中的函数,简单的完成上述工作。
English Description:
Genetic algorithm for solving knapsack problems, for the most general linear constraints of inequality, can achieve the optimum genetic algorithm for ideal values. MATLAB genetic algorithm Toolbox, you can make when writing GA, simple to use a function, you can do some replication functionality. Sheffield function in the Toolbox, simply complete the work described above.