基于递归回溯法解决整数线性规划问题的算法思想及求解过程,使用MATLAB软件编写通用程序,实现了求解整数线性规划问题。通过MATLAB中的文件存储功能,对符合要求的整数解可存储在文件中,并舍弃从该解出发的分支,从而得到了符合要求的所有整数解和最优整数解。实验结果表明,该算法达到了局部最优。
Based on recursive backtracking algorithm to solve the problem of integer linear programming thought and the solving process,using MATLAB software to write general program,the solving integer linear programming problem was realized.Through MATLAB files in storage capabilities,to meet the requirements of integer solutions can be stored in files,and to leave the branch from the solution,all integer solutions of meet the requirements and the optimal integer solutions were obtained.The experimental results showed that the algorithm had reached the local optimum.