当前位置:网站首页>Teacher wangshuyao's notes on operations research course 08 linear programming and simplex method (simplex method)
Teacher wangshuyao's notes on operations research course 08 linear programming and simplex method (simplex method)
2022-07-29 06:53:00 【three billion seventy-seven million four hundred and ninety-one】
The first 8 speak Linear programming and simplex method ( Simplex method )
Simplex method
give an example
See textbook P28 example 2-6.
How to find a base
Observation
Direct observation , And then verify . If the base is not found, replace the sub matrix and re verify .
Generally speaking, the number of possible bases is C n m C_{n}^{m} Cnm, among n n n Is the number of unknown variables , m m m It's a matrix A A A The rank of .
Simplification first approach ( recommend )
Because the principle of base selection is that the simpler the better , Preferably, the identity matrix E E E, Easy to calculate .
Therefore, the coefficient matrix and the free term can be transformed first , It is better to transform the diagonal elements into 1 The submatrix of , Or a submatrix with positive elements on the diagonal , Or at least 0 More submatrixes . One reason is that the simpler the submatrix is , The less computation after that , Second, if the elements on the diagonal of the submatrix are positive , Then the basic solution must be the basic feasible solution . And if the initial constraints are ≤ \le ≤, And the free term is positive , Then a coefficient of 1 Of relaxation variables , It must be found in the coefficient matrix that the elements on the diagonal are 1 The submatrix of .
If there is no or it is not easy to find a base with positive elements on the diagonal , Then you can introduce artificial variables , namely “ Big M Law .
How to determine X ( i ) X^{(i)} X(i) Is it the best solution
The basic idea : By shifting the term of the equation , Use non base variables to represent base variables , Then substitute it into the objective function , Observe the value coefficient of the changed objective function , Analyze whether the current solution is optimal .
A more concise approach : Inspection number ( σ ) (\sigma) (σ) Discrimination .
summary
When solving the equation through the basis , Although the inverse matrix of the base can be used for solving operations , But this method of operation is not convenient for the subsequent discussion of the optimal solution , Therefore, it is still transformed into the form of original equations for analysis and solution . By simplifying and moving items , Let the non base variable be 0 To solve the . Use non base variables to represent base variables , Then substitute it into the objective function , Observe the value coefficient of the changed objective function , Analyze whether the current solution is optimal , And determine whether the base vector needs to be replaced . Then iterate the above process to find the optimal solution .
In the process , It is best to choose the identity matrix as the base , Because the basic solution thus solved must be the basic feasible solution. How to judge X ( i ) X^{(i)} X(i) Whether it is the optimal solution has a more concise method , Inspection number ( σ ) (\sigma) (σ) Discrimination .
边栏推荐
- 王树尧老师运筹学课程笔记 06 线性规划与单纯形法(几何意义)
- 数据单位:位、字节、字、字长
- Teacher wangshuyao wrote the notes of operations research course 00 in the front
- 成长为架构师途中的一些思考
- 最新PyCharm2018破解教程
- Let the computer run only one program setting
- Why does 5g N2 interface control plane use SCTP protocol?
- The latest pycharm2018 cracking tutorial
- Ping principle
- 20个hacker神器
猜你喜欢

CNN-卷积神经网络

CDM—码分复用(简单易懂)

猜数字//第一次使用生成随机数

NLP word segmentation

损失函数——交叉熵损失函数

Hongke shares | how to test and verify complex FPGA designs (1) -- entity or block oriented simulation

Hongke shares | testing and verifying complex FPGA design (2) -- how to perform global oriented simulation in IP core

MySQL 事物四种隔离级别分析

OpenResty的核心与cosocket

CNN convolutional neural network
随机推荐
【冷冻电镜】RELION4.0 pipeline命令总结(自用)
AbstractQueuedSynchronizer(AQS) 之共享锁源码浅读
JMM 内存模型概念
PhantomReference 虚引用代码演示
量子机器学习中的安全性问题
吴恩达老师机器学习课程笔记 01 引言
JVM之垃圾回收机制(GC)
IO流 - File - properties
API for using the new date class of instant
The core of openresty and cosocket
多线程并发下的指令重排问题
Shallow reading of condition object source code
数据库持久化+JDBC数据库连接
Teacher wangshuyao's notes on operations research 02 fundamentals of advanced mathematics
吴恩达老师机器学习课程笔记 05 Octave教程
Security in quantum machine learning
会话推荐中的价格偏好和兴趣偏好共同建模-论文泛读
Teacher wangshuyao's notes on operations research course 10 linear programming and simplex method (discussion on detection number and degradation)
矩阵分解与梯度下降
10道面试常问JVM题