- 5
- 0
- 约4.25千字
- 约 20页
- 2018-08-20 发布于江苏
- 举报
第五讲 二次规划及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
您可能关注的文档
- 第二讲 创新者素质和创新思维.ppt
- 第二讲 司法过程的性质及法律思维的要义.ppt
- 第二讲 维生素和微量元素.ppt
- 第二讲-对话部命题分析与预测.doc
- 第二讲教学设计的理论及实践.ppt
- 第二讲第三部分——中国道教.ppt
- 第二课-多变的价格5.ppt
- 第二课第一节第二框 适度消费及生活质量.ppt
- 第二部分巿场定位.ppt
- 第二部分第一批本科院校3.doc
- 宣贯培训(2026年)《NYT 4512-2025 非洲菊疫病抗性鉴定技术规程》.pptx
- 宣贯培训(2026年)《NYT 4514-2025木薯副产物综合利用导则》.pptx
- 宣贯培训(2026年)《NYT 4513-2025木薯全程机械化生产技术规范》.pptx
- 宣贯培训(2026年)《NYT 4470-2025全株玉米青贮质量分级》.pptx
- 宣贯培训(2026年)《NYT 4468-2025玉米供需平衡表编制规范》.pptx
- 宣贯培训(2026年)《NYT 4469-2025全株玉米青贮质量评定 综合指数法》.pptx
- 宣贯培训(2026年)《NYT 4474-2025东北地区玉米-大豆轮作生产技术规程》.pptx
- 宣贯培训(2026年)《NYT 4472-2025玉米耐盐碱鉴定评价技术规程》.pptx
- 宣贯培训(2026年)《NYT 4473-2025玉米抗旱性鉴定评价技术规程》.pptx
- 宣贯培训(2026年)《NYT 4478-2025甘薯收获技术规程》.pptx
原创力文档

文档评论(0)