当前位置:网站首页>Teacher wangshuyao's notes on operations research 06 linear programming and simplex method (geometric significance)
Teacher wangshuyao's notes on operations research 06 linear programming and simplex method (geometric significance)
2022-07-29 06:52:00 【three billion seventy-seven million four hundred and ninety-one】
The first 6 speak Linear programming and simplex method ( Geometric meaning )
The geometric meaning of linear programming
Graphic method
| Dimension of linear programming | Variable | Feasible domain dimension | Image dimension |
|---|---|---|---|
| 1 | x 1 x_1 x1 | 1( Line segment ) | 1 |
| 2 | x 1 、 x 2 x_1、x_2 x1、x2 | 2( Plane ) | 2 |
| 3 | x 1 、 x 2 、 x 3 x_1、x_2、x_3 x1、x2、x3 | 3( Three-dimensional ) | 3 |
| n | x 1 、 x 2 、 … 、 x n x_1、x_2、\dots、x_n x1、x2、…、xn | n(n Dimensional hypercube ) | n |
Graphic method has great limitations , It is best to use , Three dimensional theory can , But it is difficult to operate , Basically not used . therefore , When the dimension is high, you need to use the simplex method .
Simplex method
The core idea of simplex method
- Solve the intersection of all constraint equations , Including vertices of feasible region and vertices of infeasible region .( As long as the constraints are limited , The number of intersections must be limited .)
- Bring the coordinates of all intersections into the objective function , The largest of the corresponding function values is the maximum value , The smallest is the smallest .
limitations : When there are too many intersections , Too much calculation .
Pilot method
Due to the heavy workload of enumeration , Therefore, the pilot method is adopted , That is, select a point first , Then study the surrounding points , If the function value corresponding to the starting point is maximum or minimum , Then it is the optimal solution .
Simplex
Linear geometry with the least number or sides below a certain dimension .
| dimension | Simplex |
|---|---|
| 0 | spot |
| 1 | Line segment |
| 2 | triangle |
| 3 | tetrahedron |
Solution situation
The results of solving linear programming problems are 3 Kind of : Alternative optimal solution ( Multiple optimal solution )、 Unbounded solution and no solution .
If the feasible region is closed, there must be an optimal solution , There may be a unique optimal solution or an infinite number of optimal solutions . If the feasible region is unbounded , You may get an unbounded solution at the unbounded place , There may also be a unique optimal solution or an infinite number of optimal solutions . If you can't draw a feasible region , There is no solution. .
Several theorems
Theorem 1( The teaching material P24): If the linear programming problem has a feasible region , Then its feasible region is a convex set .
Theorem 2( The teaching material P25): Basic feasible solution of linear programming problem X X X Corresponding to feasible region D D D The summit of .
Theorem 3( The teaching material P26): If the feasible region is bounded , The objective function of a linear programming problem must be optimal at the vertex of its feasible region .
summary
For linear programming problems , Because the graphic method will fail when dealing with three-dimensional and above situations , Therefore, we need to use the simplex method . At the same time, the workload of enumeration method is large , Therefore, the pilot method is adopted , That is, select a point first , Then study the surrounding points , If the function value corresponding to the starting point is maximum or minimum , Then it is the optimal solution .
If the feasible region is closed, there must be an optimal solution , There may be a unique optimal solution or an infinite number of optimal solutions . If the feasible region is unbounded , You may get an unbounded solution at the unbounded place , There may also be a unique optimal solution or an infinite number of optimal solutions . If you can't draw a feasible region , There is no solution. .
The feasible region is a convex set .
边栏推荐
猜你喜欢
随机推荐
游戏资产的革命
Execution sequence of finally and return
5G服务化接口和参考点
王树尧老师运筹学课程笔记 04 线性代数基础
【干货备忘】50种Matplotlib科研论文绘图合集,含代码实现
【论文阅读 | cryoET】Gum-Net:快速准确的3D Subtomo图像对齐和平均的无监督几何匹配
AbstractQueuedSynchronizer(AQS)之 ReentrantLock 源码浅读
The core of openresty and cosocket
Analysis of four isolation levels of MySQL things
Embedding understanding + code
SDN拓扑发现原理
吴恩达老师机器学习课程笔记 01 引言
王树尧老师运筹学课程笔记 07 线性规划与单纯形法(标准型、基、基解、基可行解、可行基)
说一下 TCP/IP 协议?以及每层的作用?
Teacher wangshuyao's notes on operations research 02 fundamentals of advanced mathematics
Phantom reference virtual reference code demonstration
【冷冻电镜|论文阅读】子断层平均 M 软件解读:Multi-particle cryo-EM refinement with M
AbstractQueuedSynchronizer(AQS) 之共享锁源码浅读
Case supplement, ATM
10种常见的软件架构模式









