- 84
- 0
- 约4.25千字
- 约 20页
- 2018-08-29 发布于江苏
- 举报
第五讲 二次规划0-1规划
整数规划 基本理论 MATLAB使用基于线性规划(LP)的分枝定界算法来求解0-1规划问题。该算法通过求解一系列LP松弛问题来求解0-1规划问题。在LP松弛问题中,要求变量取整数值的要求放宽到0《x《1。 该算法完成以下工作: 1)搜索二值整数可行解; 2)搜索树增长时,更新最近找到的最好的二值整数可行点: 3)通过求解一系列线性规划问题来确定没有更好的整数可行解。 PDF P230 bintprog Purpose Solve binary integer programming problems Solves binary integer programming problems of the form f, b, and beq are vectors, A and Aeq are matrices, and the solution x is required to be a binary integer vectorthat is, its entries can only take on the values 0 or 1. x = bintprog(f) x = bintprog(f,A,b) x = bintprog(f,A,b,Aeq,beq) x = bintprog(f,A,b,Aeq,beq,x0) x = bintprog(f,A,b,Aeq,Beq,x0,options) x = bintprog(problem) [x,fval] = bintprog(...) [x,fval,exitflag] = bintprog(...) [x,fval,exitflag,output] = bintprog(...) problem f Linear objective function vector f Aineq Matrix for linear inequality constraints bineq Vector for linear inequality constraints Aeq Matrix for linear equality constraints beq Vector for linear equality constraints x0 Initial point for x solver bintprog options Options structure created with optimset Output Argumentsexitflag Integer identifying the reason the algorithm terminated. The following lists the values of exitflag and the corresponding reasons the algorithm terminated. 1 Function converged to a solution x. 0 Number of iterations exceeded options.MaxIter. -2 The problem is infeasible. -4 Number of searched nodes exceeded options.MaxNodes. -5 Search time exceeded options.MaxTime. -6 Number of iterations the LP-solver performed at a node to solve the LP-relaxation problem exceeded options.MaxRLP. Output Structure containing information about the optimization. The fields of the structure are iterations Number of iterations taken nodes Number of nodes searched Time Execution time of the algorithm algorithm Optimization algorithm used branchStrategy Strategy used to select branch variable—see “Options” on 5 nodeSearchStrategy Strategy used to select next node in search
您可能关注的文档
最近下载
- (全国职业技能比赛:高职)GZ069纺织品检验与贸易赛项理论题库(纺织品检验部分).docx VIP
- 精神科药物不良反应及处理.ppt VIP
- 部队失泄密检讨书5000字.docx VIP
- ZSMC之山智控 K系列说明书简易版 V3.3-中文.doc VIP
- 软件测试面向对象测试技术.ppt VIP
- 米家小米智能门锁 E30使用说明书.pdf
- 華-310-Turns-Ratio-&-Phase-Detector-操作手冊说明书.pdf VIP
- 失泄密检讨书自我反省3000字(二)2024 .pdf VIP
- DB23∕T 3982-2025 结核病寒地营养干预指南.pdf VIP
- 基于生成式AI的语文写作教学策略对学生写作技巧的提升研究教学研究课题报告.docx
原创力文档

文档评论(0)